summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-10-08 04:46:09 +0000
committerJon Hood <squinky86@gentoo.org>2004-10-08 04:46:09 +0000
commit6b488d62dd9e1da0c4c5b0af7e2ea7450e4c25be (patch)
tree7f530ca87c7ee19d7957d310b4d46ffb3c5e1382 /net-p2p/perlgcache
parentAdded to ~sparc. (Manifest recommit) (diff)
downloadgentoo-2-6b488d62dd9e1da0c4c5b0af7e2ea7450e4c25be.tar.gz
gentoo-2-6b488d62dd9e1da0c4c5b0af7e2ea7450e4c25be.tar.bz2
gentoo-2-6b488d62dd9e1da0c4c5b0af7e2ea7450e4c25be.zip
version bump for stable and testing branches
Diffstat (limited to 'net-p2p/perlgcache')
-rw-r--r--net-p2p/perlgcache/ChangeLog8
-rw-r--r--net-p2p/perlgcache/Manifest12
-rw-r--r--net-p2p/perlgcache/files/digest-perlgcache-0.8.21
-rw-r--r--net-p2p/perlgcache/files/reconfig19
-rw-r--r--net-p2p/perlgcache/perlgcache-0.7.9.ebuild4
-rw-r--r--net-p2p/perlgcache/perlgcache-0.8.2.ebuild45
6 files changed, 76 insertions, 13 deletions
diff --git a/net-p2p/perlgcache/ChangeLog b/net-p2p/perlgcache/ChangeLog
index cf44c0583cf6..ce48b68cbc82 100644
--- a/net-p2p/perlgcache/ChangeLog
+++ b/net-p2p/perlgcache/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/perlgcache
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/ChangeLog,v 1.1 2004/09/17 16:51:49 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/ChangeLog,v 1.2 2004/10/08 04:46:09 squinky86 Exp $
+
+*perlgcache-0.8.2 (07 Oct 2004)
+
+ 07 Oct 2004; Jon Hood <squinky86@gentoo.org> +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)
diff --git a/net-p2p/perlgcache/Manifest b/net-p2p/perlgcache/Manifest
index d556e984407b..ae5c7f2412fe 100644
--- a/net-p2p/perlgcache/Manifest
+++ b/net-p2p/perlgcache/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 468ba83ca8190750c0278cf13d3d981e perlgcache-0.7.9.ebuild 1355
+MD5 468ba83ca8190750c0278cf13d3d981e perlgcache-0.8.2.ebuild 1355
MD5 4cb55e69c52010dd2ebd1fa2dbbf6b41 ChangeLog 389
MD5 38f5d2fc5324ff4b77d0473e67408a9e metadata.xml 269
MD5 e76dbeb5689d27e85fde516ee00303c0 files/postinstall-en.txt 454
MD5 373539db89cbc3c2b82563eaf33558b0 files/digest-perlgcache-0.7.9 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBVw6tcAgAdbxYsnERAo6DAJwPXSSN9CU9+fB4exEWa9IKzp7BywCcCnAu
-c0vuThta70G+MlYZ9G6g/pE=
-=Aq+5
------END PGP SIGNATURE-----
+MD5 748575edff7131da6bdf2137a65914c1 files/digest-perlgcache-0.8.2 67
diff --git a/net-p2p/perlgcache/files/digest-perlgcache-0.8.2 b/net-p2p/perlgcache/files/digest-perlgcache-0.8.2
new file mode 100644
index 000000000000..906ba11547a6
--- /dev/null
+++ b/net-p2p/perlgcache/files/digest-perlgcache-0.8.2
@@ -0,0 +1 @@
+MD5 a037360539c28bd9aeda0a2cdc63a809 perlgcache-0.8.2.tar.gz 15271
diff --git a/net-p2p/perlgcache/files/reconfig b/net-p2p/perlgcache/files/reconfig
new file mode 100644
index 000000000000..119548776bee
--- /dev/null
+++ b/net-p2p/perlgcache/files/reconfig
@@ -0,0 +1,19 @@
+#!/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/perlgcache-0.7.9.ebuild b/net-p2p/perlgcache/perlgcache-0.7.9.ebuild
index 7a672960fe67..348d3c01410f 100644
--- a/net-p2p/perlgcache/perlgcache-0.7.9.ebuild
+++ b/net-p2p/perlgcache/perlgcache-0.7.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/perlgcache-0.7.9.ebuild,v 1.1 2004/09/17 16:51:49 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/perlgcache-0.7.9.ebuild,v 1.2 2004/10/08 04:46:09 squinky86 Exp $
inherit webapp
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.jonatkins.com/perlgcache/"
SRC_URI="http://www.jonatkins.com/perlgcache/${P}.tar.gz"
LICENSE="as-is"
IUSE=""
-KEYWORDS="~x86"
+KEYWORDS="x86"
DEPEND=">=sys-apps/sed-4"
RDEPEND=">=net-www/apache-1.3.24-r1
diff --git a/net-p2p/perlgcache/perlgcache-0.8.2.ebuild b/net-p2p/perlgcache/perlgcache-0.8.2.ebuild
new file mode 100644
index 000000000000..e864c4d07bd6
--- /dev/null
+++ b/net-p2p/perlgcache/perlgcache-0.8.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/perlgcache/perlgcache-0.8.2.ebuild,v 1.1 2004/10/08 04:46:09 squinky86 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"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=">=net-www/apache-1.3.24-r1
+ >=dev-lang/perl-5.6.0
+ >=dev-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:\"data\":\"data/data\":g' perlgcache.cgi
+}
+
+src_install() {
+ webapp_src_preinst
+ dodir ${MY_CGIBINDIR}/${PN}
+ dodir ${MY_CGIBINDIR}/${PN}/data
+ cp ./perlgcache.cgi ${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
+}