summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-09-17 16:52:53 +0000
committerJon Hood <squinky86@gentoo.org>2004-09-17 16:52:53 +0000
commit1b2ab6f970060187deb14beef043f26b64a6af23 (patch)
treeffab42c7f110ad95642eddd8d72951575ec74b04 /net-p2p/perlgcache
parentignore global classpath (diff)
downloadhistorical-1b2ab6f970060187deb14beef043f26b64a6af23.tar.gz
historical-1b2ab6f970060187deb14beef043f26b64a6af23.tar.bz2
historical-1b2ab6f970060187deb14beef043f26b64a6af23.zip
Initial import, #64188.
Diffstat (limited to 'net-p2p/perlgcache')
-rw-r--r--net-p2p/perlgcache/ChangeLog10
-rw-r--r--net-p2p/perlgcache/Manifest2
-rw-r--r--net-p2p/perlgcache/files/digest-perlgcache-0.7.91
-rw-r--r--net-p2p/perlgcache/files/postinstall-en.txt10
-rw-r--r--net-p2p/perlgcache/metadata.xml10
-rw-r--r--net-p2p/perlgcache/perlgcache-0.7.9.ebuild45
6 files changed, 78 insertions, 0 deletions
diff --git a/net-p2p/perlgcache/ChangeLog b/net-p2p/perlgcache/ChangeLog
new file mode 100644
index 000000000000..cf44c0583cf6
--- /dev/null
+++ b/net-p2p/perlgcache/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*perlgcache-0.7.9 (17 Sep 2004)
+
+ 17 Sep 2004; Jon Hood <squinky86@gentoo.org> +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
new file mode 100644
index 000000000000..ea6cff171ea1
--- /dev/null
+++ b/net-p2p/perlgcache/Manifest
@@ -0,0 +1,2 @@
+MD5 ef6265cf5098a057800c657e42a711a3 perlgcache-0.7.9.ebuild 1248
+MD5 373539db89cbc3c2b82563eaf33558b0 files/digest-perlgcache-0.7.9 67
diff --git a/net-p2p/perlgcache/files/digest-perlgcache-0.7.9 b/net-p2p/perlgcache/files/digest-perlgcache-0.7.9
new file mode 100644
index 000000000000..510da3540dea
--- /dev/null
+++ b/net-p2p/perlgcache/files/digest-perlgcache-0.7.9
@@ -0,0 +1 @@
+MD5 8a45babe13d12de5c56a852f0f5f9931 perlgcache-0.7.9.tar.gz 13518
diff --git a/net-p2p/perlgcache/files/postinstall-en.txt b/net-p2p/perlgcache/files/postinstall-en.txt
new file mode 100644
index 000000000000..49f1919bbfc3
--- /dev/null
+++ b/net-p2p/perlgcache/files/postinstall-en.txt
@@ -0,0 +1,10 @@
+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://gwebcache.squinky.gotdns.com/
+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/metadata.xml b/net-p2p/perlgcache/metadata.xml
new file mode 100644
index 000000000000..30aca20a6a4f
--- /dev/null
+++ b/net-p2p/perlgcache/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+<herd>web-apps</herd>
+<maintainer>
+ <email>squinky86@gentoo.org</email>
+ <name>Jon Hood</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-p2p/perlgcache/perlgcache-0.7.9.ebuild b/net-p2p/perlgcache/perlgcache-0.7.9.ebuild
new file mode 100644
index 000000000000..7a672960fe67
--- /dev/null
+++ b/net-p2p/perlgcache/perlgcache-0.7.9.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.7.9.ebuild,v 1.1 2004/09/17 16:51:49 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
+}