From 6f724cf0df0d5bec8ceab3f3c75fb417f5e746f5 Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Mon, 5 Jun 2006 17:33:50 +0000 Subject: [PATCH] Version bump Package-Manager: portage-2.1_rc3-r1 --- net-www/mod_scgi/Manifest | 64 ++++------ .../mod_scgi/files/digest-mod_scgi-1.2_alpha1 | 1 - .../files/digest-mod_scgi-1.2_alpha1-r1 | 1 - .../files/digest-mod_scgi-1.2_alpha1-r2 | 1 - .../mod_scgi/files/digest-mod_scgi-1.2_alpha2 | 1 - .../mod_scgi/mod_scgi-1.2_alpha1-r1.ebuild | 100 ---------------- .../mod_scgi/mod_scgi-1.2_alpha1-r2.ebuild | 112 ------------------ net-www/mod_scgi/mod_scgi-1.2_alpha1.ebuild | 37 ------ net-www/mod_scgi/mod_scgi-1.2_alpha2.ebuild | 112 ------------------ 9 files changed, 26 insertions(+), 403 deletions(-) delete mode 100644 net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1 delete mode 100644 net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r1 delete mode 100644 net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r2 delete mode 100644 net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha2 delete mode 100644 net-www/mod_scgi/mod_scgi-1.2_alpha1-r1.ebuild delete mode 100644 net-www/mod_scgi/mod_scgi-1.2_alpha1-r2.ebuild delete mode 100644 net-www/mod_scgi/mod_scgi-1.2_alpha1.ebuild delete mode 100644 net-www/mod_scgi/mod_scgi-1.2_alpha2.ebuild diff --git a/net-www/mod_scgi/Manifest b/net-www/mod_scgi/Manifest index 3d0e82783a53..d82631b8a2f5 100644 --- a/net-www/mod_scgi/Manifest +++ b/net-www/mod_scgi/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 1.2/20_mod_scgi.conf 1245 RMD160 dcfb96c7bf2ee45f83b6cc75243eaa623d739e5b SHA1 dc78baa7563ade3e81b5f1df1c60508108a92073 SHA256 ec1496bcfc41fc2708678119833fdbcf89b525c4cf3356afc3d60d829efd34f1 MD5 c9efe9ec123cff4add21c35d7bbcdeb9 files/1.2/20_mod_scgi.conf 1245 RMD160 dcfb96c7bf2ee45f83b6cc75243eaa623d739e5b files/1.2/20_mod_scgi.conf 1245 @@ -6,49 +9,34 @@ AUX 20_mod_scgi.conf 1243 RMD160 c4c4b422f79a700b81d93866a97a09b53d57fac1 SHA1 1 MD5 98c270edf79608cb914cbc7d6ffea7b0 files/20_mod_scgi.conf 1243 RMD160 c4c4b422f79a700b81d93866a97a09b53d57fac1 files/20_mod_scgi.conf 1243 SHA256 00e199a57b4865f02ed8ae28675bea779f07a730383dbd01aba3a1a323cbe3a7 files/20_mod_scgi.conf 1243 -DIST scgi-1.2.tar.gz 19098 -DIST scgi-1.2a1.tar.gz 17778 -DIST scgi-1.2a2.tar.gz 17713 +DIST scgi-1.10.tar.gz 21179 RMD160 513ca63058ee2c7f9d080142a0f04c6f6ac656c3 SHA1 418e911bd2f2f86e0084e56c187baa717546f5ef SHA256 3cad8c19ea988ecdc55fd873df1fe138a3662d9218bd9d2d17399e785dde9821 +DIST scgi-1.2.tar.gz 19098 RMD160 857f2fbaa60b829fc752ed56d75228702406a830 SHA1 61aca70cf65393291f135e23df500a433e5d1b4b SHA256 fb71e839b7f22c79b8808c02591c51cc3c6cce597f074f987626c3651bd21f14 +EBUILD mod_scgi-1.10.ebuild 1024 RMD160 658415aab50f583efb497db1de06e94c4611b3f8 SHA1 4cd9cac0ed56aa8690d1af73e3c9cea84493f06b SHA256 46d814009d97a83bd4fe6c82ace60fc9ef4cb0f3cf1fc71e3d868791d67dda46 +MD5 18d86f0358724b811885003bccb8f37f mod_scgi-1.10.ebuild 1024 +RMD160 658415aab50f583efb497db1de06e94c4611b3f8 mod_scgi-1.10.ebuild 1024 +SHA256 46d814009d97a83bd4fe6c82ace60fc9ef4cb0f3cf1fc71e3d868791d67dda46 mod_scgi-1.10.ebuild 1024 EBUILD mod_scgi-1.2.ebuild 1031 RMD160 5d7d385e36c1e39133e8d3ea9ea80654a6a32cb7 SHA1 23b2ab2c54261bb3c5090f5b08d952bc9f3dbda8 SHA256 e6cd645fdf4e4928666feb25f97d459e30529aafb179455aa0a9af11b558b81e MD5 69e8827faefd54e80068e8d7c2573c1a mod_scgi-1.2.ebuild 1031 RMD160 5d7d385e36c1e39133e8d3ea9ea80654a6a32cb7 mod_scgi-1.2.ebuild 1031 SHA256 e6cd645fdf4e4928666feb25f97d459e30529aafb179455aa0a9af11b558b81e mod_scgi-1.2.ebuild 1031 -EBUILD mod_scgi-1.2_alpha1-r1.ebuild 2990 RMD160 2fcaa88b7750e58fc04e6f5c3ef4d60e7c79210e SHA1 e4c15a9bb7a6803fbbe7dd25a231c8ab85d2692e SHA256 0d90f3563d937ee71d9b4b2477284d22721a79916e295876be328e9291a88ae0 -MD5 99a5294d5f067977521b6148d7b32a47 mod_scgi-1.2_alpha1-r1.ebuild 2990 -RMD160 2fcaa88b7750e58fc04e6f5c3ef4d60e7c79210e mod_scgi-1.2_alpha1-r1.ebuild 2990 -SHA256 0d90f3563d937ee71d9b4b2477284d22721a79916e295876be328e9291a88ae0 mod_scgi-1.2_alpha1-r1.ebuild 2990 -EBUILD mod_scgi-1.2_alpha1-r2.ebuild 3231 RMD160 0c25b7798ce7b3476963db641ae6965c90268bb9 SHA1 66708b97b46bc34163a216da5a14c6a1b43ecca0 SHA256 c3194e653940acbaa5f844c9f2799dfee815235a66027136136d388268f4aebc -MD5 7dbf15dbd3ded2df96b44e629de48e24 mod_scgi-1.2_alpha1-r2.ebuild 3231 -RMD160 0c25b7798ce7b3476963db641ae6965c90268bb9 mod_scgi-1.2_alpha1-r2.ebuild 3231 -SHA256 c3194e653940acbaa5f844c9f2799dfee815235a66027136136d388268f4aebc mod_scgi-1.2_alpha1-r2.ebuild 3231 -EBUILD mod_scgi-1.2_alpha1.ebuild 1122 RMD160 1c74344b93d923e5669638a76fc1679c6f76aae0 SHA1 e5f3ac804cec8b0e751cc5b15eb9479d8d92d8ab SHA256 a2c04c449bd1f6530457283fbe1e4dca76218f025c3cf9917172d69146b34e5d -MD5 548bca4f2f846aea8479ed4a59227db2 mod_scgi-1.2_alpha1.ebuild 1122 -RMD160 1c74344b93d923e5669638a76fc1679c6f76aae0 mod_scgi-1.2_alpha1.ebuild 1122 -SHA256 a2c04c449bd1f6530457283fbe1e4dca76218f025c3cf9917172d69146b34e5d mod_scgi-1.2_alpha1.ebuild 1122 -EBUILD mod_scgi-1.2_alpha2.ebuild 3235 RMD160 d27f17ddb6d63ce9c3ff6f1f18fd48763682c0e7 SHA1 fe292db906383422ab5d9aca75d97827cfddd46c SHA256 112b4668181b24fdcf121b5873f34ab856bf0aef76bf16a5ff67e35cda1befe1 -MD5 d5dbfda0fedc8029d0428c03d8a4a096 mod_scgi-1.2_alpha2.ebuild 3235 -RMD160 d27f17ddb6d63ce9c3ff6f1f18fd48763682c0e7 mod_scgi-1.2_alpha2.ebuild 3235 -SHA256 112b4668181b24fdcf121b5873f34ab856bf0aef76bf16a5ff67e35cda1befe1 mod_scgi-1.2_alpha2.ebuild 3235 -MISC ChangeLog 2260 RMD160 f41239cc27031ff0afd12a8222822eab566d89f0 SHA1 62a04612fadab8271ba35c64f1b9cf77149daf2b SHA256 b22265736887298a3b7e77da19bf9ef0af9ffde59b7968ab804401434284c2c7 -MD5 7eae921c8978e0e42c510225dc86ea64 ChangeLog 2260 -RMD160 f41239cc27031ff0afd12a8222822eab566d89f0 ChangeLog 2260 -SHA256 b22265736887298a3b7e77da19bf9ef0af9ffde59b7968ab804401434284c2c7 ChangeLog 2260 +MISC ChangeLog 2505 RMD160 a400c485840cdb172611db6562c75bd52efb59e9 SHA1 9333092fa42f29164b53b8b3a89e0a0fa95f7a55 SHA256 7103b54bd2eaf55bb04617da70a1efe4bef9074115161ae3553511c40fb306f7 +MD5 a771aea974c85255e9835b1b8b6d0570 ChangeLog 2505 +RMD160 a400c485840cdb172611db6562c75bd52efb59e9 ChangeLog 2505 +SHA256 7103b54bd2eaf55bb04617da70a1efe4bef9074115161ae3553511c40fb306f7 ChangeLog 2505 MISC metadata.xml 226 RMD160 d11ce73e47adf4b3d91309ec6489fded2f4d4e0e SHA1 fe9f7ce6f2281683065abb3255c8b731665c82ac SHA256 376a327f91f69eb96f0c1b05cc1481dd7017a0570f631a03b1f6d14d58215ca8 MD5 7272d8b6d09e3e301b6a08aa9c912eb0 metadata.xml 226 RMD160 d11ce73e47adf4b3d91309ec6489fded2f4d4e0e metadata.xml 226 SHA256 376a327f91f69eb96f0c1b05cc1481dd7017a0570f631a03b1f6d14d58215ca8 metadata.xml 226 -MD5 7092d8881e1387d40515b82e1c4e9afb files/digest-mod_scgi-1.2 59 -RMD160 50818c94ff0b85bcdeef0755e1a60daea8999e9a files/digest-mod_scgi-1.2 59 -SHA256 19af184dbca3db86b2573aab7086a61bc9c7db3f870c6a553e107a6c02f8ab72 files/digest-mod_scgi-1.2 59 -MD5 fe6e3027503038b59f1e9b4ee2cb3baa files/digest-mod_scgi-1.2_alpha1 61 -RMD160 1668d52b7cceece0482fb5c9d8485a69ffc2387d files/digest-mod_scgi-1.2_alpha1 61 -SHA256 891504cc11218a20c4f123cc8cc62f9eba5251cce9ad8bc25ac22e9bec8d7cd7 files/digest-mod_scgi-1.2_alpha1 61 -MD5 fe6e3027503038b59f1e9b4ee2cb3baa files/digest-mod_scgi-1.2_alpha1-r1 61 -RMD160 1668d52b7cceece0482fb5c9d8485a69ffc2387d files/digest-mod_scgi-1.2_alpha1-r1 61 -SHA256 891504cc11218a20c4f123cc8cc62f9eba5251cce9ad8bc25ac22e9bec8d7cd7 files/digest-mod_scgi-1.2_alpha1-r1 61 -MD5 fe6e3027503038b59f1e9b4ee2cb3baa files/digest-mod_scgi-1.2_alpha1-r2 61 -RMD160 1668d52b7cceece0482fb5c9d8485a69ffc2387d files/digest-mod_scgi-1.2_alpha1-r2 61 -SHA256 891504cc11218a20c4f123cc8cc62f9eba5251cce9ad8bc25ac22e9bec8d7cd7 files/digest-mod_scgi-1.2_alpha1-r2 61 -MD5 7ec590d1ee6da7b63a722808c6758ee7 files/digest-mod_scgi-1.2_alpha2 61 -RMD160 8462d5b889390be03949dc7d7db468800f3a89fb files/digest-mod_scgi-1.2_alpha2 61 -SHA256 c3adee1a7566902412aaae33edf25fcd522e8368ade7e8432751643c06db0456 files/digest-mod_scgi-1.2_alpha2 61 +MD5 27198bbec4cea88bbdd30d243243a31c files/digest-mod_scgi-1.10 226 +RMD160 2b37fe5aa484525298f52a0b38f2ada61c2ac517 files/digest-mod_scgi-1.10 226 +SHA256 63822f7dcac76f3e57243ded34b073f17e54579e5fcd297844d56696058330a1 files/digest-mod_scgi-1.10 226 +MD5 0cb772895b4e04c4610e87d963cbc1b6 files/digest-mod_scgi-1.2 223 +RMD160 892652e7a81addcecaa1d9da555126dbcd46d3cf files/digest-mod_scgi-1.2 223 +SHA256 e864dc0efff956e10e2ef7e15c0d75df7c07bec8deb4affaa4acc8946e2470ab files/digest-mod_scgi-1.2 223 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFEhGr5mPFBzbX68WERApJUAJ9rl0hKK3HO+vuE5dUQjHmcnTnnjACfb3vt ++b5zEu3/AMbLQBhXTWCnjN8= +=xi2K +-----END PGP SIGNATURE----- diff --git a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1 b/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1 deleted file mode 100644 index 818dbd4658ba..000000000000 --- a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1 +++ /dev/null @@ -1 +0,0 @@ -MD5 2bb8b05c3f771c25778c808ab0960580 scgi-1.2a1.tar.gz 17778 diff --git a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r1 b/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r1 deleted file mode 100644 index 818dbd4658ba..000000000000 --- a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 2bb8b05c3f771c25778c808ab0960580 scgi-1.2a1.tar.gz 17778 diff --git a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r2 b/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r2 deleted file mode 100644 index 818dbd4658ba..000000000000 --- a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha1-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 2bb8b05c3f771c25778c808ab0960580 scgi-1.2a1.tar.gz 17778 diff --git a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha2 b/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha2 deleted file mode 100644 index a7f1d9545edd..000000000000 --- a/net-www/mod_scgi/files/digest-mod_scgi-1.2_alpha2 +++ /dev/null @@ -1 +0,0 @@ -MD5 7ed218368a2dadaf8773cef944faa0bf scgi-1.2a2.tar.gz 17713 diff --git a/net-www/mod_scgi/mod_scgi-1.2_alpha1-r1.ebuild b/net-www/mod_scgi/mod_scgi-1.2_alpha1-r1.ebuild deleted file mode 100644 index 8620174b6f85..000000000000 --- a/net-www/mod_scgi/mod_scgi-1.2_alpha1-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_scgi/mod_scgi-1.2_alpha1-r1.ebuild,v 1.6 2005/09/29 02:35:36 vericgar Exp $ - -detectapache() { - # DO NOT REPLICATE THIS IN ANY OTHER PACKAGE WITHOUT PORTAGE DEVS PERMISSION - # IT IS BROKEN AND A TEMPORARY MEASURE! - # YOU'VE BEEN WARNED. - if [[ ${EBUILD_PHASE/depend} != ${EBUILD_PHASE} ]]; then - APACHEVER=1 - return - fi - local domsg= - [ -n "$1" ] && domsg=1 - HAVE_APACHE1= - HAVE_APACHE2= - has_version '=net-www/apache-1*' && HAVE_APACHE1=1 - has_version '=net-www/apache-2*' && HAVE_APACHE2=1 - - [ -n "${HAVE_APACHE1}" ] && APACHEVER=1 - [ -n "${HAVE_APACHE2}" ] && APACHEVER=2 - [ -n "${HAVE_APACHE1}" ] && [ -n "${HAVE_APACHE2}" ] && APACHEVER='both' - - case "${APACHEVER}" in - 1) [ -n "${domsg}" ] && einfo 'Apache1 only detected' ;; - 2) [ -n "${domsg}" ] && einfo 'Apache2 only detected';; - both) - if use apache2; then - [ -n "${domsg}" ] && einfo "Multiple Apache versions detected, using Apache2 (USE=apache2)" - APACHEVER=2 - else - [ -n "${domsg}" ] && einfo 'Multiple Apache versions detected, using Apache1 (USE=-apache2)' - APACHEVER=1 - fi ;; - *) if [ -n "${domsg}" ]; then - MSG="Unknown Apache version!"; eerror $MSG ; die $MSG - else - APACHEVER=0 - fi; ;; - esac -} -detectapache -SLOT="${APACHEVER}" -[ "${APACHEVER}" -eq '2' ] && USE_APACHE2='2' || USE_APACHE2='' - -MY_PN=${PN/mod_} -MY_PV=${PV/_alpha/a} -MY_P=${MY_PN}-${MY_PV} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Apache module for a Replacement for the CGI protocol that is similar to FastCGI" -HOMEPAGE="http://www.mems-exchange.org/software/scgi/" -SRC_URI="http://www.mems-exchange.org/software/files/${MY_PN}/${MY_P}.tar.gz" -LICENSE="CNRI" -KEYWORDS="~x86" -IUSE="apache2" -DEPEND="${DEPEND} - www-apps/scgi - net-www/apache - apache2? ( >=net-www/apache-2 )" - -src_compile() { - detectapache true - cd apache${APACHEVER} - make || die "apache${APACHEVER} mod_scgi make failed" -} - -src_install() { - detectapache - newdoc apache1/README README.apache1 - newdoc apache2/README README.apache2 - dodoc README PKG-INFO LICENSE.txt CHANGES - exeinto /usr/lib/apache${APACHEVER}-extramodules - doexe apache${APACHEVER}/.libs/${PN}.so - insinto /etc/apache${APACHEVER}/conf/modules.d - doins ${FILESDIR}/20_mod_scgi.conf -} - -pkg_postinst() { - detectapache - if [ -n "${USE_APACHE2}" ] ; then - einfo "Add '-D SCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" - else - einfo "1. Execute the command:" - einfo " \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" - einfo "2. Edit /etc/conf.d/apache and add \"-D SCGI\" to APACHE_OPTS" - fi -} - -pkg_config() { - detectapache - if [ -n "${USE_APACHE2}" ] ; then - einfo "Add '-D SCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" - else - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/mod_scgi.so mod_scgi.c scgi_module \ - before=perl define=SCGI addconf=conf/modules.d/20_mod_scgi.conf - :; - fi -} diff --git a/net-www/mod_scgi/mod_scgi-1.2_alpha1-r2.ebuild b/net-www/mod_scgi/mod_scgi-1.2_alpha1-r2.ebuild deleted file mode 100644 index a43bbdf86f6b..000000000000 --- a/net-www/mod_scgi/mod_scgi-1.2_alpha1-r2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_scgi/mod_scgi-1.2_alpha1-r2.ebuild,v 1.8 2006/03/18 11:32:27 kloeri Exp $ - -detectapache() { - # DO NOT REPLICATE THIS IN ANY OTHER PACKAGE WITHOUT PORTAGE DEVS PERMISSION - # IT IS BROKEN AND A TEMPORARY MEASURE! - # YOU'VE BEEN WARNED. - if [[ ${EBUILD_PHASE/depend} != ${EBUILD_PHASE} ]]; then - APACHEVER=1 - return - fi - local domsg= - [ -n "$1" ] && domsg=1 - HAVE_APACHE1= - HAVE_APACHE2= - has_version '=net-www/apache-1*' && HAVE_APACHE1=1 - has_version '=net-www/apache-2*' && HAVE_APACHE2=1 - - [ -n "${HAVE_APACHE1}" ] && APACHEVER=1 - [ -n "${HAVE_APACHE2}" ] && APACHEVER=2 - [ -n "${HAVE_APACHE1}" ] && [ -n "${HAVE_APACHE2}" ] && APACHEVER='both' - - case "${APACHEVER}" in - 1) [ -n "${domsg}" ] && einfo 'Apache1 only detected' ;; - 2) [ -n "${domsg}" ] && einfo 'Apache2 only detected';; - both) - if use apache2; then - [ -n "${domsg}" ] && einfo "Multiple Apache versions detected, using Apache2 (USE=apache2)" - APACHEVER=2 - else - [ -n "${domsg}" ] && einfo 'Multiple Apache versions detected, using Apache1 (USE=-apache2)' - APACHEVER=1 - fi ;; - *) if [ -n "${domsg}" ]; then - MSG="Unknown Apache version!"; eerror $MSG ; die $MSG - else - APACHEVER=0 - fi; ;; - esac -} -detectapache -SLOT="${APACHEVER}" -[ "${APACHEVER}" -eq '2' ] && USE_APACHE2='2' || USE_APACHE2='' - -MY_PN=${PN/mod_} -MY_PV=${PV/_alpha/a} -MY_P=${MY_PN}-${MY_PV} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Apache module for a Replacement for the CGI protocol that is similar to FastCGI" -URI_BASE="http://www.mems-exchange.org/software" -HOMEPAGE="${URI_BASE}/scgi/" -SRC_URI="${URI_BASE}/files/${MY_PN}/${MY_P}.tar.gz" -LICENSE="CNRI" -KEYWORDS="~x86" -IUSE="apache2" -DEPEND="${DEPEND} - www-apps/scgi - net-www/apache - apache2? ( >=net-www/apache-2 )" - -src_unpack() { - unpack ${A} - einfo "Fixing module name" - for f in ${S}/apache[12]/Makefile; do - sed -e 's/\(apxs[2]*\)/\1 -n mod_scgi/g' -i ${f} - done - for f in ${S}/apache[12]/mod_scgi.c; do - sed -e 's/scgi_module/mod_scgi/g' -i ${f} - done -} - -src_compile() { - detectapache true - cd apache${APACHEVER} - make || die "apache${APACHEVER} mod_scgi make failed" -} - -src_install() { - detectapache - newdoc apache1/README README.apache1 - newdoc apache2/README README.apache2 - dodoc README PKG-INFO LICENSE.txt CHANGES - exeinto /usr/lib/apache${APACHEVER}-extramodules - doexe apache${APACHEVER}/.libs/${PN}.so - insinto /etc/apache${APACHEVER}/conf/modules.d - doins ${FILESDIR}/20_mod_scgi.conf -} - -pkg_postinst() { - detectapache - if [ -n "${USE_APACHE2}" ] ; then - einfo "Add '-D SCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" - else - einfo "1. Execute the command:" - einfo " \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" - einfo "2. Edit /etc/conf.d/apache and add \"-D SCGI\" to APACHE_OPTS" - fi -} - -pkg_config() { - detectapache - if [ -n "${USE_APACHE2}" ] ; then - einfo "Add '-D SCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" - else - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/mod_scgi.so mod_scgi.c scgi_module \ - before=perl define=SCGI addconf=conf/modules.d/20_mod_scgi.conf - :; - fi -} diff --git a/net-www/mod_scgi/mod_scgi-1.2_alpha1.ebuild b/net-www/mod_scgi/mod_scgi-1.2_alpha1.ebuild deleted file mode 100644 index 12960fad13b3..000000000000 --- a/net-www/mod_scgi/mod_scgi-1.2_alpha1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_scgi/mod_scgi-1.2_alpha1.ebuild,v 1.7 2005/01/09 00:20:51 hollow Exp $ - -apachedir='1' -apache='' -use apache2 && apache=2 apachedir=2 - -P0=${P/mod_/} -MY_P=${P0/_alpha/a} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Apache module for a Replacement for the CGI protocol that is similar to FastCGI" -HOMEPAGE="http://www.mems-exchange.org/software/scgi/" -SRC_URI="http://www.mems-exchange.org/software/files/${PN}/${MY_P}.tar.gz" -LICENSE="CNRI" -SLOT="${apachedir}" -KEYWORDS="~x86" -IUSE="apache2" -DEPEND="${DEPEND} - www-apps/scgi - net-www/apache - apache2? ( >=net-www/apache-2 )" - -src_compile() { - cd apache${apachedir} - make || die "apache${apachedir} mod_scgi make failed" -} - -src_install() { - newdoc apache1/README README.apache1 - newdoc apache2/README README.apache2 - dodoc README PKG-INFO LICENSE.txt CHANGES - exeinto /usr/lib/apache${apache}-extramodules - doexe apache${apachedir}/.libs/${PN}.so - insinto /etc/apache${apache}/conf/modules.d - doins ${FILESDIR}/20_mod_scgi.conf -} diff --git a/net-www/mod_scgi/mod_scgi-1.2_alpha2.ebuild b/net-www/mod_scgi/mod_scgi-1.2_alpha2.ebuild deleted file mode 100644 index 1e7c60090abc..000000000000 --- a/net-www/mod_scgi/mod_scgi-1.2_alpha2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_scgi/mod_scgi-1.2_alpha2.ebuild,v 1.7 2005/09/29 02:35:36 vericgar Exp $ - -detectapache() { - # DO NOT REPLICATE THIS IN ANY OTHER PACKAGE WITHOUT PORTAGE DEVS PERMISSION - # IT IS BROKEN AND A TEMPORARY MEASURE! - # YOU'VE BEEN WARNED. - if [[ ${EBUILD_PHASE/depend} != ${EBUILD_PHASE} ]]; then - APACHEVER=1 - return - fi - local domsg= - [ -n "$1" ] && domsg=1 - HAVE_APACHE1= - HAVE_APACHE2= - has_version '=net-www/apache-1*' && HAVE_APACHE1=1 - has_version '=net-www/apache-2*' && HAVE_APACHE2=1 - - [ -n "${HAVE_APACHE1}" ] && APACHEVER=1 - [ -n "${HAVE_APACHE2}" ] && APACHEVER=2 - [ -n "${HAVE_APACHE1}" ] && [ -n "${HAVE_APACHE2}" ] && APACHEVER='both' - - case "${APACHEVER}" in - 1) [ -n "${domsg}" ] && einfo 'Apache1 only detected' ;; - 2) [ -n "${domsg}" ] && einfo 'Apache2 only detected';; - both) - if use apache2; then - [ -n "${domsg}" ] && einfo "Multiple Apache versions detected, using Apache2 (USE=apache2)" - APACHEVER=2 - else - [ -n "${domsg}" ] && einfo 'Multiple Apache versions detected, using Apache1 (USE=-apache2)' - APACHEVER=1 - fi ;; - *) if [ -n "${domsg}" ]; then - MSG="Unknown Apache version!"; eerror $MSG ; die $MSG - else - APACHEVER=0 - fi; ;; - esac -} -detectapache -SLOT="${APACHEVER}" -[ "${APACHEVER}" -eq '2' ] && USE_APACHE2='2' || USE_APACHE2='' - -MY_PN=${PN/mod_} -MY_PV=${PV/_alpha/a} -MY_P=${MY_PN}-${MY_PV} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Apache module for a Replacement for the CGI protocol that is similar to FastCGI" -URI_BASE="http://www.mems-exchange.org/software" -HOMEPAGE="${URI_BASE}/scgi/" -SRC_URI="${URI_BASE}/files/${MY_PN}/${MY_P}.tar.gz" -LICENSE="CNRI" -KEYWORDS="~x86 ~ppc" -IUSE="apache2" -DEPEND="${DEPEND} - www-apps/scgi - net-www/apache - apache2? ( >=net-www/apache-2 )" - -src_unpack() { - unpack ${A} - einfo "Fixing module name" - for f in ${S}/apache[12]/Makefile; do - sed -e 's/\(apxs[2]*\)/\1 -n mod_scgi/g' -i ${f} - done - for f in ${S}/apache[12]/mod_scgi.c; do - sed -e 's/scgi_module/mod_scgi/g' -i ${f} - done -} - -src_compile() { - detectapache true - cd apache${APACHEVER} - make || die "apache${APACHEVER} mod_scgi make failed" -} - -src_install() { - detectapache - newdoc apache1/README README.apache1 - newdoc apache2/README README.apache2 - dodoc README PKG-INFO LICENSE.txt CHANGES - exeinto /usr/lib/apache${APACHEVER}-extramodules - doexe apache${APACHEVER}/.libs/${PN}.so - insinto /etc/apache${APACHEVER}/conf/modules.d - doins ${FILESDIR}/20_mod_scgi.conf -} - -pkg_postinst() { - detectapache - if [ -n "${USE_APACHE2}" ] ; then - einfo "Add '-D SCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" - else - einfo "1. Execute the command:" - einfo " \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" - einfo "2. Edit /etc/conf.d/apache and add \"-D SCGI\" to APACHE_OPTS" - fi -} - -pkg_config() { - detectapache - if [ -n "${USE_APACHE2}" ] ; then - einfo "Add '-D SCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" - else - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/mod_scgi.so mod_scgi.c scgi_module \ - before=perl define=SCGI addconf=conf/modules.d/20_mod_scgi.conf - :; - fi -} -- 2.26.2