diff options
author | Christian Andreetta <satya@gentoo.org> | 2004-11-06 12:35:34 +0000 |
---|---|---|
committer | Christian Andreetta <satya@gentoo.org> | 2004-11-06 12:35:34 +0000 |
commit | 84c79be317e039d55ec6a7e8f39712215447ff0b (patch) | |
tree | da81aec0166e30e08558c1a8c05f326c08010849 /www-servers/skunkweb | |
parent | s/qtkde-helper/uim-kdehelper/ (Manifest recommit) (diff) | |
download | gentoo-2-84c79be317e039d55ec6a7e8f39712215447ff0b.tar.gz gentoo-2-84c79be317e039d55ec6a7e8f39712215447ff0b.tar.bz2 gentoo-2-84c79be317e039d55ec6a7e8f39712215447ff0b.zip |
minor initscript change. Package moved from dev-python to www-servers
Diffstat (limited to 'www-servers/skunkweb')
-rw-r--r-- | www-servers/skunkweb/ChangeLog | 49 | ||||
-rw-r--r-- | www-servers/skunkweb/Manifest | 9 | ||||
-rw-r--r-- | www-servers/skunkweb/metadata.xml | 12 | ||||
-rw-r--r-- | www-servers/skunkweb/skunkweb-3.4.0.ebuild | 83 | ||||
-rw-r--r-- | www-servers/skunkweb/skunkweb-3.4_beta5-r1.ebuild | 85 | ||||
-rw-r--r-- | www-servers/skunkweb/skunkweb-3.4_beta5.ebuild | 78 |
6 files changed, 316 insertions, 0 deletions
diff --git a/www-servers/skunkweb/ChangeLog b/www-servers/skunkweb/ChangeLog new file mode 100644 index 000000000000..139a8dded80a --- /dev/null +++ b/www-servers/skunkweb/ChangeLog @@ -0,0 +1,49 @@ +# ChangeLog for dev-python/skunkweb +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/ChangeLog,v 1.1 2004/11/06 12:35:34 satya Exp $ + +*skunkweb-3.4_beta5-r1 (06 Nov 2004) + + 06 Nov 2004; Christian Andreetta <satya@gentoo.org> +metadata.xml, + +skunkweb-3.4.0.ebuild, +skunkweb-3.4_beta5-r1.ebuild, + +skunkweb-3.4_beta5.ebuild: + minor initscript change. Package moved from dev-python to www-servers + +*skunkweb-3.4.0 (08 Oct 2004) + + 08 Oct 2004; Rob Cakebread <pythonhead@gentoo.org> files/skunkweb-init, + +skunkweb-3.4.0.ebuild: + Version bump. bug# 63686 Thanks Jacob Smullyan <smulloni@smullyan.org> + + 28 Sep 2004; Sven Wegener <swegener@gentoo.org> files/skunkweb-init: + Gentoo Technologies, Inc. -> Gentoo Foundation + +*skunkweb-3.4_beta5-r1 (06 Sep 2004) + + 06 Sep 2004; Christian Andreetta <satya@gentoo.org> + +skunkweb-3.4_beta5-r1.ebuild: + some install paths fixes (apache2, logs, /var/lib) + + 03 Sep 2004; Christian Andreetta <satya@gentoo.org> metadata.xml, + +files/skunkweb-init, skunkweb-3.4_beta5.ebuild: + initscript added + + 28 Jul 2004; Alastair Tse <liquidx@gentoo.org> skunkweb-3.4_beta5.ebuild: + fix enewuser enewgroup issues (#58526) + + 07 May 2004; Bryan �stergaard <kloeri@gentoo.org> skunkweb-3.4_beta5.ebuild: + Fix IUSE. + + 10 Apr 2004; Bryan �stergaard <kloeri@gentoo.org> skunkweb-3.4_beta5.ebuild: + Stable on x86. + + 25 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> + skunkweb-3.4_beta5.ebuild: + don't use deprecated ? : use syntax + +*skunkweb-3.4_beta5 (24 Oct 2003) + + 24 Oct 2003; Rob Cakebread <pythonhead@gentoo.org> metadata.xml, + skunkweb-3.4_beta5.ebuild: + Initial commit. Thank you Jacob Smullyan <smulloni@smullyan.org> (Bug #26450) + diff --git a/www-servers/skunkweb/Manifest b/www-servers/skunkweb/Manifest new file mode 100644 index 000000000000..883903ed4f08 --- /dev/null +++ b/www-servers/skunkweb/Manifest @@ -0,0 +1,9 @@ +MD5 b71c1146c21ffe63a6f7c4cf9a48e338 skunkweb-3.4_beta5-r1.ebuild 2611 +MD5 eeded26c9431b624f0e2d2dcaf7531a6 skunkweb-3.4.0.ebuild 2510 +MD5 70788249e1358029c424b5a81b2c76d5 ChangeLog 1497 +MD5 8ed4fe3b3e2b2cde0b1eb44f5767d209 metadata.xml 536 +MD5 545fd5a4bbb9939e5c9100b9e8797163 skunkweb-3.4_beta5.ebuild 2232 +MD5 f649daf3fb435a3f6edc0307de265e57 files/digest-skunkweb-3.4.0 67 +MD5 7b64a3573923c0702e02e652e57f9f79 files/skunkweb-init 524 +MD5 33defac2f69099260dac7f1a043b2643 files/digest-skunkweb-3.4_beta5 67 +MD5 33defac2f69099260dac7f1a043b2643 files/digest-skunkweb-3.4_beta5-r1 67 diff --git a/www-servers/skunkweb/metadata.xml b/www-servers/skunkweb/metadata.xml new file mode 100644 index 000000000000..452b8e7f7d24 --- /dev/null +++ b/www-servers/skunkweb/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<maintainer> + <email>satya@gentoo.org</email> + <name>Christian Andreetta</name> +</maintainer> +<longdescription> +SkunkWeb is a multi-process application server written in python, extensively using 'pickle' for caching. Ships with its own web server, or can be deployed with apache and mod-python. Includes server-side form management libraries (docs in cvs). +</longdescription> +</pkgmetadata> diff --git a/www-servers/skunkweb/skunkweb-3.4.0.ebuild b/www-servers/skunkweb/skunkweb-3.4.0.ebuild new file mode 100644 index 000000000000..522325871b5c --- /dev/null +++ b/www-servers/skunkweb/skunkweb-3.4.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/skunkweb-3.4.0.ebuild,v 1.1 2004/11/06 12:35:34 satya Exp $ + +inherit eutils + +DESCRIPTION="robust Python web application server" +HOMEPAGE="http://skunkweb.sourceforge.net/" +MY_P=${P/_beta/b} +S=${WORKDIR}/${MY_P} +SRC_URI="mirror://sourceforge/skunkweb/${MY_P}.tar.gz" +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="apache1 apache2 doc" +DEPEND=">=dev-lang/python-2.2 + >=dev-python/egenix-mx-base-2.0.4 + apache2? ( >=net-www/apache-2.0.47 ) + !apache2? ( apache1? ( <=net-www/apache-2 ) )" + +pkg_setup() { + enewgroup skunkweb + enewuser skunkweb -1 /bin/false /usr/share/skunkweb skunkweb +} + +src_compile() { + local myconf + if use apache2; then + myconf="${myconf} --with-apxs=/usr/sbin/apxs2" + else + if use apache1; then + myconf="${myconf} --with-apxs=/usr/sbin/apxs" + else + myconf="${myconf} --without-mod_skunkweb" + fi + fi + econf \ + --with-user=skunkweb \ + --with-group=skunkweb \ + --localstatedir=/var/lib/skunkweb \ + --bindir=/usr/bin \ + --libdir=/usr/lib/skunkweb \ + --sysconfdir=/etc/skunkweb \ + --prefix=/usr/share/skunkweb \ + --with-cache=/var/lib/skunkweb/cache \ + --with-docdir=/usr/share/doc/${P} \ + --with-logdir=/var/log/skunkweb \ + --with-python=/usr/bin/python \ + ${myconf} || die "configure failed" + + emake || die +} + +src_install() { + INSTALLING="yes" + make DESTDIR=${D} APXSFLAGS="-c" install || die + if use apache2; then + exeinto /usr/lib/apache2-extramodules + doexe SkunkWeb/mod_skunkweb/.libs/mod_skunkweb.so + insinto /etc/apache2/conf/modules.d + newins SkunkWeb/mod_skunkweb/httpd_conf.stub mod_skunkweb.conf + else + if use apache1; then + exeinto /usr/lib/apache-extramodules + doexe SkunkWeb/mod_skunkweb/mod_skunkweb.so + insinto /etc/apache/conf/addon-modules + newins SkunkWeb/mod_skunkweb/httpd_conf.stub mod_skunkweb.conf + fi + fi + # dirs -------------------------------------------------------------- + mkdir -p ${D}/var/{lib,log}/${PN} + chown skunkweb:skunkweb ${D}/var/{lib,log}/${PN} + mkdir -p ${D}/var/lib/${PN}/run + # init -------------------------------------------------------------- + exeinto /etc/init.d; newexe ${FILESDIR}/skunkweb-init skunkweb + # docs -------------------------------------------------------------- + dodoc README ChangeLog NEWS HACKING ACKS INSTALL + if use doc; then + dodir /usr/share/doc/${PF} + cp docs/paper-letter/*.pdf ${D}/usr/share/doc/${PF} + + fi +} diff --git a/www-servers/skunkweb/skunkweb-3.4_beta5-r1.ebuild b/www-servers/skunkweb/skunkweb-3.4_beta5-r1.ebuild new file mode 100644 index 000000000000..0d62b710c898 --- /dev/null +++ b/www-servers/skunkweb/skunkweb-3.4_beta5-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/skunkweb-3.4_beta5-r1.ebuild,v 1.1 2004/11/06 12:35:34 satya Exp $ + +inherit eutils + +DESCRIPTION="robust Python web application server" +HOMEPAGE="http://skunkweb.sourceforge.net/" +#NEWP=`echo ${P} | sed -e 's|_beta|b|'` +NEWP=${P/_beta/b} +S=${WORKDIR}/${NEWP} +SRC_URI="mirror://sourceforge/skunkweb/${NEWP}.tar.gz" +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="apache1 apache2 doc" +DEPEND=">=dev-lang/python-2.2 + >=dev-python/egenix-mx-base-2.0.4 + apache2? ( >=net-www/apache-2.0.47 ) + !apache2? ( apache1? ( <=net-www/apache-2 ) )" + +pkg_setup() { + enewgroup skunkweb + enewuser skunkweb -1 /bin/false /usr/share/skunkweb skunkweb +} + +src_compile() { + local myconf + if use apache2; then + myconf="${myconf} --with-apxs=/usr/sbin/apxs2" + else + if use apache1; then + myconf="${myconf} --with-apxs=/usr/sbin/apxs" + else + myconf="${myconf} --without-mod_skunkweb" + fi + fi + econf \ + --with-user=skunkweb \ + --with-group=skunkweb \ + --localstatedir=/var/lib/skunkweb \ + --bindir=/usr/bin \ + --libdir=/usr/lib/skunkweb \ + --sysconfdir=/etc/skunkweb \ + --prefix=/usr/share/skunkweb \ + --with-cache=/var/lib/skunkweb/cache \ + --with-docdir=/usr/share/doc/${P} \ + --with-logdir=/var/log/skunkweb \ + --with-python=/usr/bin/python \ + ${myconf} || die "configure failed" + + emake || die +} + +src_install() { + INSTALLING="yes" + make DESTDIR=${D} APXSFLAGS="-c" install || die + if use apache2; then + exeinto /usr/lib/apache2-extramodules + doexe SkunkWeb/mod_skunkweb/.libs/mod_skunkweb.so + insinto /etc/apache2/conf/modules.d + newins SkunkWeb/mod_skunkweb/httpd_conf.stub mod_skunkweb.conf + else + if use apache1; then + exeinto /usr/lib/apache-extramodules + doexe SkunkWeb/mod_skunkweb/mod_skunkweb.so + insinto /etc/apache/conf/addon-modules + newins SkunkWeb/mod_skunkweb/httpd_conf.stub mod_skunkweb.conf + fi + fi + # dirs -------------------------------------------------------------- + mkdir -p ${D}/var/{lib,log}/${PN} + chown skunkweb:skunkweb ${D}/var/{lib,log}/${PN} + mkdir -p ${D}/var/lib/${PN}/run + # init -------------------------------------------------------------- + exeinto /etc/init.d; newexe ${FILESDIR}/skunkweb-init skunkweb + # docs -------------------------------------------------------------- + dodoc README ChangeLog NEWS HACKING ACKS INSTALL + if use doc; then + cd ${S}/doc + dodir /usr/share/doc/${PF} + #cp docs/paper-letter/*.pdf ${D}/usr/share/doc/${PF} + cp docs/paper-a4/*.pdf ${D}/usr/share/doc/${PF} + fi +} diff --git a/www-servers/skunkweb/skunkweb-3.4_beta5.ebuild b/www-servers/skunkweb/skunkweb-3.4_beta5.ebuild new file mode 100644 index 000000000000..732d0341d3b2 --- /dev/null +++ b/www-servers/skunkweb/skunkweb-3.4_beta5.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/skunkweb-3.4_beta5.ebuild,v 1.1 2004/11/06 12:35:34 satya Exp $ + +inherit eutils + +DESCRIPTION="robust Python web application server" +HOMEPAGE="http://skunkweb.sourceforge.net/" +#NEWP=`echo ${P} | sed -e 's|_beta|b|'` +NEWP=${P/_beta/b} +S=${WORKDIR}/${NEWP} +SRC_URI="mirror://sourceforge/skunkweb/${NEWP}.tar.gz" +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="x86" +IUSE="apache1 apache2 doc" +DEPEND=">=dev-lang/python-2.2 + >=dev-python/egenix-mx-base-2.0.4 + apache2? ( >=net-www/apache-2.0.47 ) + !apache2? ( apache1? ( <=net-www/apache-2 ) )" + +pkg_setup() { + enewgroup skunkweb + enewuser skunkweb -1 /bin/false /usr/share/skunkweb skunkweb +} + +src_compile() { + local myconf + if use apache2; then + myconf="${myconf} --with-apxs=/usr/sbin/apxs2" + else + if use apache1; then + myconf="${myconf} --with-apxs=/usr/sbin/apxs" + else + myconf="${myconf} --without-mod_skunkweb" + fi + fi + ./configure \ + --with-user=skunkweb \ + --with-group=skunkweb \ + --localstatedir=/var/lib/skunkweb \ + --bindir=/usr/bin \ + --libdir=/usr/lib/skunkweb \ + --sysconfdir=/etc/skunkweb \ + --prefix=/usr/share/skunkweb \ + --with-cache=/var/lib/skunkweb/cache \ + --with-docdir=/usr/share/doc/${P} \ + --with-logdir=/var/log/skunkweb \ + --with-python=/usr/bin/python \ + ${myconf} || die "configure failed" + + emake || die +} + +src_install() { + INSTALLING="yes" + make DESTDIR=${D} APXSFLAGS="-c" install || die + if use apache2; then + exeinto /usr/lib/apache2-extramodules + doexe SkunkWeb/mod_skunkweb/.libs/mod_skunkweb.so + insinto /etc/apache/conf/addon-modules + newins SkunkWeb/mod_skunkweb/http_conf.stub mod_skunkweb.conf + else + if use apache1; then + exeinto /usr/lib/apache-extramodules + doexe SkunkWeb/mod_skunkweb/mod_skunkweb.so + insinto /etc/apache/conf/addon-modules + newins SkunkWeb/mod_skunkweb/http_conf.stub mod_skunkweb.conf + fi + fi + exeinto /etc/init.d; newexe ${FILESDIR}/skunkweb-init skunkweb + dodoc README ChangeLog NEWS HACKING ACKS INSTALL + if use doc; then + cd ${S}/doc + dodir /usr/share/doc/${PF} + cp docs/paper-letter/*.pdf ${D}/usr/share/doc/${PF} + fi +} |