From: Jon Hood Date: Mon, 5 Jun 2006 18:43:41 +0000 (+0000) Subject: Removing cgi-based gwebcaches in favor of ghostwhitecrab. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8166d74b79acf8a6efa8bd7a0d12a19aab555ca2;p=gentoo.git Removing cgi-based gwebcaches in favor of ghostwhitecrab. --- diff --git a/net-p2p/gwebcache/ChangeLog b/net-p2p/gwebcache/ChangeLog deleted file mode 100644 index 32548e101fd9..000000000000 --- a/net-p2p/gwebcache/ChangeLog +++ /dev/null @@ -1,23 +0,0 @@ -# ChangeLog for net-p2p/gwebcache -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gwebcache/ChangeLog,v 1.5 2006/02/13 15:01:52 mcummings Exp $ - - 13 Feb 2006; Michael Cummings - gwebcache-1.0.0.ebuild: - Virtuals for perl-core - - 24 May 2005; Michael Cummings gwebcache-1.0.0.ebuild: - dev-perl/CGI => perl-core/CGI - - 18 Oct 2004; Jon Hood gwebcache-1.0.0.ebuild: - Stable on x86. - - 17 Oct 2004; David Holm gwebcache-1.0.0.ebuild: - Added to ~ppc. - -*gwebcache-1.0.0 (17 Sep 2004) - - 17 Sep 2004; Jon Hood +metadata.xml, - +files/postinstall-en.txt, +gwebcache-1.0.0.ebuild: - Initial import, #64188. - diff --git a/net-p2p/gwebcache/Manifest b/net-p2p/gwebcache/Manifest deleted file mode 100644 index a50d14e536ce..000000000000 --- a/net-p2p/gwebcache/Manifest +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 da16218c381cd919ac53a99df880dbb2 ChangeLog 780 -MD5 0cd4b01600e827495b84be5d7ba95116 files/digest-gwebcache-1.0.0 63 -MD5 e76dbeb5689d27e85fde516ee00303c0 files/postinstall-en.txt 454 -MD5 2484d324372cbcac07897d10d2751e89 gwebcache-1.0.0.ebuild 1234 -MD5 5b95ed1786140d40c2868e30edaeb589 metadata.xml 182 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFD8J9WtG5z4I8BtQoRAuoUAKCIHiW4qMeusRyzcYj+zNB/1eQ97gCdFaVq -6w+fPij17dsnr/ElT+tJ5UU= -=atF4 ------END PGP SIGNATURE----- diff --git a/net-p2p/gwebcache/files/digest-gwebcache-1.0.0 b/net-p2p/gwebcache/files/digest-gwebcache-1.0.0 deleted file mode 100644 index 93cf9dd75d78..000000000000 --- a/net-p2p/gwebcache/files/digest-gwebcache-1.0.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 270352c5c12acb9acfaef76925efccbb gwebcache-1.0.0.zip 13948 diff --git a/net-p2p/gwebcache/files/postinstall-en.txt b/net-p2p/gwebcache/files/postinstall-en.txt deleted file mode 100644 index 82664babbe4e..000000000000 --- a/net-p2p/gwebcache/files/postinstall-en.txt +++ /dev/null @@ -1,10 +0,0 @@ -It is strongly recommended that you use a vhost for this -package so that it is easier to remove when you chose to. -Only use this package if you know what you're getting into! -Once you have ${PN} set up, enter its url into: - http://dev.gentoo.org/~squinky86/gcache.html -so that the other servers can index it. - -WARNING: THIS PACKAGE IS KNOWN TO GET MANY HITS PER SECOND! -It is recommended that you install this package only on -machines faster than 1 GHz. diff --git a/net-p2p/gwebcache/gwebcache-1.0.0.ebuild b/net-p2p/gwebcache/gwebcache-1.0.0.ebuild deleted file mode 100644 index 292ae6ea9974..000000000000 --- a/net-p2p/gwebcache/gwebcache-1.0.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gwebcache/gwebcache-1.0.0.ebuild,v 1.5 2006/02/13 15:01:52 mcummings Exp $ - -inherit webapp - -DESCRIPTION="web-based distributed host caching system for the gnutella network" -HOMEPAGE="http://www.gnucleus.com/gwebcache/" -SRC_URI="http://www.gnucleus.com/gwebcache/dist/${P}.zip" -LICENSE="GPL-2" -IUSE="" -KEYWORDS="x86 ~ppc" - -DEPEND=">=app-arch/unzip-5.42-r1" -RDEPEND=">=net-www/apache-1.3.24-r1 - >=dev-lang/perl-5.6.0 - >=virtual/perl-CGI-2.93" - -pkg_preinst() { - webapp_src_preinst - ewarn "Only install this package if you know what you're doing!" - ewarn "YOU HAVE BEEN WARNED: while using this package benefits the" - ewarn "gnutella network, it will cause many gnutella users to" - ewarn "connect to your web server, requiring many system resources." -} - -src_install() { - webapp_src_preinst - dodoc license.txt - dodir ${MY_CGIBINDIR}/${PN} - cp ./g* ${D}/${MY_CGIBINDIR}/${PN} - chmod +x ${D}/${MY_CGIBINDIR}/${PN}/gcache.cgi - chmod 666 ${D}/${MY_CGIBINDIR}/${PN}/gdata.dat* ${D}/${MY_CGIBINDIR}/${PN}/gstatlog.txt - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - webapp_src_install -} diff --git a/net-p2p/gwebcache/metadata.xml b/net-p2p/gwebcache/metadata.xml deleted file mode 100644 index e4a6cc5a3630..000000000000 --- a/net-p2p/gwebcache/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -net-p2p -web-apps - diff --git a/net-p2p/perlgcache/ChangeLog b/net-p2p/perlgcache/ChangeLog deleted file mode 100644 index 2efb3c54f5b0..000000000000 --- a/net-p2p/perlgcache/ChangeLog +++ /dev/null @@ -1,42 +0,0 @@ -# ChangeLog for net-p2p/perlgcache -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/ChangeLog,v 1.8 2006/02/13 15:02:15 mcummings Exp $ - - 13 Feb 2006; Michael Cummings - perlgcache-0.8.3.ebuild: - Virtuals for some perl-core deps - - 24 May 2005; Michael Cummings - perlgcache-0.8.3.ebuild: - dev-perl/CGI => perl-core/CGI - - 23 Nov 2004; Jon Hood -perlgcache-0.7.9.ebuild, - -perlgcache-0.8.2-r1.ebuild, perlgcache-0.8.3.ebuild: - Stable on x86, remove old versions. - - 17 Oct 2004; David Holm perlgcache-0.8.3.ebuild: - Added to ~ppc. - -*perlgcache-0.8.3 (12 Oct 2004) - - 12 Oct 2004; Jon Hood +perlgcache-0.8.3.ebuild: - Version bump, url validation update. - -*perlgcache-0.8.2-r1 (11 Oct 2004) - - 11 Oct 2004; Jon Hood +perlgcache-0.8.2-r1.ebuild, - -perlgcache-0.8.2.ebuild: - Fix configuration. - -*perlgcache-0.8.2 (07 Oct 2004) - - 07 Oct 2004; Jon Hood +files/reconfig, - perlgcache-0.7.9.ebuild, +perlgcache-0.8.2.ebuild: - Version bump, mark 0.7.9 stable on x86. Fix reconfig hook. - -*perlgcache-0.7.9 (17 Sep 2004) - - 17 Sep 2004; Jon Hood +metadata.xml, - +files/postinstall-en.txt, +perlgcache-0.7.9.ebuild: - Initial import, #64188. - diff --git a/net-p2p/perlgcache/Manifest b/net-p2p/perlgcache/Manifest deleted file mode 100644 index c7bd1bd124fb..000000000000 --- a/net-p2p/perlgcache/Manifest +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 44267ff775ec928f8cd0eb2693dbf783 ChangeLog 1398 -MD5 2454ac0b46f189f9a4d746fe34949edf files/digest-perlgcache-0.8.3 67 -MD5 e76dbeb5689d27e85fde516ee00303c0 files/postinstall-en.txt 454 -MD5 9f9a481a1206db66657e42007c45728c files/reconfig 278 -MD5 5b95ed1786140d40c2868e30edaeb589 metadata.xml 182 -MD5 1023aa1760bcb7bf16f09bdb3fdbd6f3 perlgcache-0.8.3.ebuild 1453 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFD8J9ttG5z4I8BtQoRAkWEAJ9IW+6gyvr7G4OaFKQJLz08ft4bbQCff2NS -IEilRdoWb+NdU8WEYx3lw0Y= -=YRhw ------END PGP SIGNATURE----- diff --git a/net-p2p/perlgcache/files/digest-perlgcache-0.8.3 b/net-p2p/perlgcache/files/digest-perlgcache-0.8.3 deleted file mode 100644 index 14ba908dec6d..000000000000 --- a/net-p2p/perlgcache/files/digest-perlgcache-0.8.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 edd8acc93baf9b09070912bce3b3b791 perlgcache-0.8.3.tar.gz 15341 diff --git a/net-p2p/perlgcache/files/postinstall-en.txt b/net-p2p/perlgcache/files/postinstall-en.txt deleted file mode 100644 index 82664babbe4e..000000000000 --- a/net-p2p/perlgcache/files/postinstall-en.txt +++ /dev/null @@ -1,10 +0,0 @@ -It is strongly recommended that you use a vhost for this -package so that it is easier to remove when you chose to. -Only use this package if you know what you're getting into! -Once you have ${PN} set up, enter its url into: - http://dev.gentoo.org/~squinky86/gcache.html -so that the other servers can index it. - -WARNING: THIS PACKAGE IS KNOWN TO GET MANY HITS PER SECOND! -It is recommended that you install this package only on -machines faster than 1 GHz. diff --git a/net-p2p/perlgcache/files/reconfig b/net-p2p/perlgcache/files/reconfig deleted file mode 100644 index 119548776bee..000000000000 --- a/net-p2p/perlgcache/files/reconfig +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -function die () -{ - echo - echo "***" - echo "*** Fatal error: $*" - echo "***" - exit 1 -} - -if [ $1 = "start" -o $1 = "install" ]; then - cd "${MY_INSTALLDIR}" || die - if ( test -e data ); then - chmod 666 data - else - echo "Error: unable to find data directory." - fi -fi diff --git a/net-p2p/perlgcache/metadata.xml b/net-p2p/perlgcache/metadata.xml deleted file mode 100644 index e4a6cc5a3630..000000000000 --- a/net-p2p/perlgcache/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -net-p2p -web-apps - diff --git a/net-p2p/perlgcache/perlgcache-0.8.3.ebuild b/net-p2p/perlgcache/perlgcache-0.8.3.ebuild deleted file mode 100644 index b6d4f9b84ffb..000000000000 --- a/net-p2p/perlgcache/perlgcache-0.8.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/perlgcache-0.8.3.ebuild,v 1.5 2006/02/13 15:02:15 mcummings Exp $ - -inherit webapp - -DESCRIPTION="web-based distributed host caching system for the gnutella network" -HOMEPAGE="http://www.jonatkins.com/perlgcache/" -SRC_URI="http://www.jonatkins.com/perlgcache/${P}.tar.gz" -LICENSE="as-is" -IUSE="" -KEYWORDS="x86 ~ppc" - -DEPEND=">=sys-apps/sed-4" -RDEPEND=">=net-www/apache-1.3.24-r1 - >=dev-lang/perl-5.6.0 - >=virtual/perl-CGI-2.93" - -S=${WORKDIR} - -pkg_preinst() { - webapp_src_preinst - ewarn "Only install this package if you know what you're doing!" - ewarn "YOU HAVE BEEN WARNED: while using this package benefits the" - ewarn "gnutella network, it will cause many gnutella users to" - ewarn "connect to your web server, requiring many system resources." -} - -src_unpack() { - unpack ${A} - cd ${S} - sed -i -e 's:\#\$config{prefix} = \"data\":\$config{prefix} = \"data/data\":g' perlgcache.conf -} - -src_install() { - webapp_src_preinst - dodir ${MY_CGIBINDIR}/${PN} - dodir ${MY_CGIBINDIR}/${PN}/data - cp ./perlgcache.cgi ${D}/${MY_CGIBINDIR}/${PN} - cp ./perlgcache.conf ${D}/${MY_CGIBINDIR}/${PN} - chmod +x ${D}/${MY_CGIBINDIR}/${PN}/perlgcache.cgi - keepdir ${D}/${MY_CGIBINDIR}/${PN}/data - webapp_hook_script ${FILESDIR}/reconfig - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - webapp_src_install -} diff --git a/net-p2p/phpgnucacheii/ChangeLog b/net-p2p/phpgnucacheii/ChangeLog deleted file mode 100644 index 95a65004c65b..000000000000 --- a/net-p2p/phpgnucacheii/ChangeLog +++ /dev/null @@ -1,29 +0,0 @@ -# ChangeLog for net-p2p/phpgnucacheii -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/phpgnucacheii/ChangeLog,v 1.7 2006/01/08 17:23:48 rl03 Exp $ - - 08 Jan 2006; Renat Lumpau phpgnucacheii-2.1.1.ebuild: - Fixed emerge --config wrt bug #109482. - - 11 Sep 2005; Renat Lumpau phpgnucacheii-2.1.1.ebuild: - Fixed php dep wrt bug #102850. - - 24 Aug 2005; metadata.xml: - Removed squinky86@gentoo.org from metadata - - 24 Aug 2005; phpgnucacheii-2.1.1.ebuild: - Using -pPR instead -a option in cp, bug #103487 - - 18 Oct 2004; Jon Hood phpgnucacheii-2.1.1.ebuild: - Stable on x86. - - 17 Oct 2004; David Holm phpgnucacheii-2.1.1.ebuild: - Added to ~ppc. - -*phpgnucacheii-2.1.1 (17 Sep 2004) - - 17 Sep 2004; Jon Hood +files/confightaccess, - +files/expert.phpgnucacheii.schema, +files/postinstall-en.txt, - +phpgnucacheii-2.1.1.ebuild, +metadata.xml: - Initial import, #64188. - diff --git a/net-p2p/phpgnucacheii/Manifest b/net-p2p/phpgnucacheii/Manifest deleted file mode 100644 index 2a370bbed87f..000000000000 --- a/net-p2p/phpgnucacheii/Manifest +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 10cce0a4d1178a62aa4e003c65da6bdc ChangeLog 1080 -MD5 a1751e1f10a3b96b05d0401c97e72008 files/confightaccess 14 -MD5 edf2f90308c3d97bfe06c91e632ea318 files/digest-phpgnucacheii-2.1.1 70 -MD5 f62bdc2cf590a0c0995eae3b7c437f63 files/expert.phpgnucacheii.schema 1009 -MD5 e76dbeb5689d27e85fde516ee00303c0 files/postinstall-en.txt 454 -MD5 5b95ed1786140d40c2868e30edaeb589 metadata.xml 182 -MD5 2b79b74f54f4e6e5c8b32a002910e0ad phpgnucacheii-2.1.1.ebuild 2207 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDwUquEzitwsaoONoRAqBlAKDAK1BIL919scpoR2Bv4FpJZ7KtHQCfU++D -VpviA/ul6CmVRfvycNVOcDI= -=2Nzk ------END PGP SIGNATURE----- diff --git a/net-p2p/phpgnucacheii/files/confightaccess b/net-p2p/phpgnucacheii/files/confightaccess deleted file mode 100644 index 3a4288278871..000000000000 --- a/net-p2p/phpgnucacheii/files/confightaccess +++ /dev/null @@ -1 +0,0 @@ -Deny from all diff --git a/net-p2p/phpgnucacheii/files/digest-phpgnucacheii-2.1.1 b/net-p2p/phpgnucacheii/files/digest-phpgnucacheii-2.1.1 deleted file mode 100644 index 5b8122d3c6d0..000000000000 --- a/net-p2p/phpgnucacheii/files/digest-phpgnucacheii-2.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 55435f794e346479c4bfddef4c72613d phpgnucacheii-2.1.1.tar.gz 22656 diff --git a/net-p2p/phpgnucacheii/files/expert.phpgnucacheii.schema b/net-p2p/phpgnucacheii/files/expert.phpgnucacheii.schema deleted file mode 100644 index ac01b9bf3228..000000000000 --- a/net-p2p/phpgnucacheii/files/expert.phpgnucacheii.schema +++ /dev/null @@ -1,34 +0,0 @@ -CREATE TABLE `stats` ( - `sid` int(11) NOT NULL auto_increment, - `up_req` tinyint(4) default NULL, - `client` char(4) default NULL, - `c_ver` char(16) default NULL, - `time` datetime default NULL, - `c_total` bigint(20) default NULL, - `total` bigint(20) default NULL, - PRIMARY KEY (`sid`), - KEY `client_s` (`client`,`c_ver`), - KEY `time_s` (`time`), - KEY `total_s` (`c_total`,`total`) -) TYPE=MyISAM DELAY_KEY_WRITE=1; - - -CREATE TABLE `host` ( - `hid` int(11) NOT NULL auto_increment, - `ip` char(21) default NULL, - `url` char(255) default NULL, - `submitted` datetime NOT NULL default '0000-00-00 00:00:00', - `network` char(20) NOT NULL default '', - PRIMARY KEY (`hid`), - KEY `host_ip` (`ip`), - KEY `host_url` (`url`), - KEY `host_date` (`submitted`), - KEY `host_net` (`network`) -) TYPE=MyISAM DELAY_KEY_WRITE=1; - -CREATE TABLE `clients` ( - `client` char(4) NOT NULL, - `description` varchar(255) NOT NULL, - `url` varchar(255) NOT NULL, - PRIMARY KEY (`client`) -) TYPE=MyISAM DELAY_KEY_WRITE=1; diff --git a/net-p2p/phpgnucacheii/files/postinstall-en.txt b/net-p2p/phpgnucacheii/files/postinstall-en.txt deleted file mode 100644 index 82664babbe4e..000000000000 --- a/net-p2p/phpgnucacheii/files/postinstall-en.txt +++ /dev/null @@ -1,10 +0,0 @@ -It is strongly recommended that you use a vhost for this -package so that it is easier to remove when you chose to. -Only use this package if you know what you're getting into! -Once you have ${PN} set up, enter its url into: - http://dev.gentoo.org/~squinky86/gcache.html -so that the other servers can index it. - -WARNING: THIS PACKAGE IS KNOWN TO GET MANY HITS PER SECOND! -It is recommended that you install this package only on -machines faster than 1 GHz. diff --git a/net-p2p/phpgnucacheii/metadata.xml b/net-p2p/phpgnucacheii/metadata.xml deleted file mode 100644 index e4a6cc5a3630..000000000000 --- a/net-p2p/phpgnucacheii/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -net-p2p -web-apps - diff --git a/net-p2p/phpgnucacheii/phpgnucacheii-2.1.1.ebuild b/net-p2p/phpgnucacheii/phpgnucacheii-2.1.1.ebuild deleted file mode 100644 index 32a64672c4d3..000000000000 --- a/net-p2p/phpgnucacheii/phpgnucacheii-2.1.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/phpgnucacheii/phpgnucacheii-2.1.1.ebuild,v 1.6 2006/01/08 17:23:48 rl03 Exp $ - -inherit webapp - -DESCRIPTION="web-based distributed host caching system for the gnutella network" -HOMEPAGE="http://gwcii.sourceforge.net/" -SRC_URI="mirror://sourceforge/gwcii/${P}.tar.gz" -LICENSE="GPL-2" -IUSE="" -KEYWORDS="x86 ~ppc" - -S=${WORKDIR}/${PN} - -RDEPEND=">=net-www/apache-1.3.24-r1 - virtual/httpd-php - >=dev-db/mysql-4" - -pkg_preinst() { - webapp_src_preinst - ewarn "Only install this package if you know what you're doing!" - ewarn "YOU HAVE BEEN WARNED: while using this package benefits the" - ewarn "gnutella network, it will cause many gnutella users to" - ewarn "connect to your web server, requiring many system resources." -} - -src_install() { - webapp_src_preinst - cp -pPR gwcii.php expert.phpgnucacheii.schema phpgnucacheii.schema config "${D}/${MY_HTDOCSDIR}" - cp ${FILESDIR}/confightaccess ${D}/${MY_HTDOCSDIR}/config/.htaccess - webapp_configfile ${MY_HTDOCSDIR}/config/.htaccess - dodoc README CHANGELOG - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - einfo "To set up the mysql tables for this package, please run:" - einfo "\temerge --config ${PF}" -} - -pkg_config() { - echo - einfo "Creating database for your cache..." - echo -n "Please enter your mysql root password (will be displayed): " - read mysql_root - einfo "Creating the \"gcache\" database..." - /usr/bin/mysqladmin -p$mysql_root -u root create gcache - /usr/bin/mysql -p$mysql_root -u root gcache < ${FILESDIR}/expert.phpgnucacheii.schema - echo -n "Please enter your username that you want to connect to the database with: " - read user - echo -n "Please enter the password that you want to use for your database: " - read password - einfo "Granting permisions on database using 'GRANT ALL ON gcache.* TO $user IDENTIFIED BY '$password';'" - echo "GRANT ALL ON gcache.* TO $user@localhost IDENTIFIED BY '$password';" | /usr/bin/mysql -p$mysql_root -u root gcache - ewarn "You must now edit the config/config.inc file to connect to the database." -}