From: Christian Andreetta Date: Sat, 6 Nov 2004 12:35:34 +0000 (+0000) Subject: minor initscript change. Package moved from dev-python to www-servers X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a1ca52b9a78cae6d86a72a4999b927e514abbc5;p=gentoo.git minor initscript change. Package moved from dev-python to www-servers --- 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 +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 files/skunkweb-init, + +skunkweb-3.4.0.ebuild: + Version bump. bug# 63686 Thanks Jacob Smullyan + + 28 Sep 2004; Sven Wegener files/skunkweb-init: + Gentoo Technologies, Inc. -> Gentoo Foundation + +*skunkweb-3.4_beta5-r1 (06 Sep 2004) + + 06 Sep 2004; Christian Andreetta + +skunkweb-3.4_beta5-r1.ebuild: + some install paths fixes (apache2, logs, /var/lib) + + 03 Sep 2004; Christian Andreetta metadata.xml, + +files/skunkweb-init, skunkweb-3.4_beta5.ebuild: + initscript added + + 28 Jul 2004; Alastair Tse skunkweb-3.4_beta5.ebuild: + fix enewuser enewgroup issues (#58526) + + 07 May 2004; Bryan Østergaard skunkweb-3.4_beta5.ebuild: + Fix IUSE. + + 10 Apr 2004; Bryan Østergaard skunkweb-3.4_beta5.ebuild: + Stable on x86. + + 25 Mar 2004; Michael Sterrett + skunkweb-3.4_beta5.ebuild: + don't use deprecated ? : use syntax + +*skunkweb-3.4_beta5 (24 Oct 2003) + + 24 Oct 2003; Rob Cakebread metadata.xml, + skunkweb-3.4_beta5.ebuild: + Initial commit. Thank you Jacob Smullyan (Bug #26450) + diff --git a/www-servers/skunkweb/Manifest b/www-servers/skunkweb/Manifest new file mode 100644 index 000000000000..f1482fb83efe --- /dev/null +++ b/www-servers/skunkweb/Manifest @@ -0,0 +1,9 @@ +MD5 67df3a6fb7b14011a6787552c9acfc93 skunkweb-3.4_beta5-r1.ebuild 2612 +MD5 45b4b9dc6e377c1933652d815ae8ff1d skunkweb-3.4.0.ebuild 2506 +MD5 36e85dfdc4e3b737dcecfb481a37dd50 ChangeLog 1764 +MD5 8ed4fe3b3e2b2cde0b1eb44f5767d209 metadata.xml 536 +MD5 ec86d300c3ad032e0f6106e3bf130f66 skunkweb-3.4_beta5.ebuild 2233 +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 @@ + + + +python + + satya@gentoo.org + Christian Andreetta + + +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). + + 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 +}