diff options
author | Jon Hood <squinky86@gentoo.org> | 2005-02-02 02:42:07 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2005-02-02 02:42:07 +0000 |
commit | aa871801e48b2620acbbf23529d8ae216859f6fe (patch) | |
tree | bf1c9212c6708af00773f7582e74534b04384da9 /net-p2p/ghostwhitecrab | |
parent | Removed old vulnerable ebuilds. (diff) | |
download | gentoo-2-aa871801e48b2620acbbf23529d8ae216859f6fe.tar.gz gentoo-2-aa871801e48b2620acbbf23529d8ae216859f6fe.tar.bz2 gentoo-2-aa871801e48b2620acbbf23529d8ae216859f6fe.zip |
Stable x86 and hppa and new testing version.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-p2p/ghostwhitecrab')
-rw-r--r-- | net-p2p/ghostwhitecrab/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/ghostwhitecrab/Manifest | 12 | ||||
-rw-r--r-- | net-p2p/ghostwhitecrab/files/digest-ghostwhitecrab-0.9.2 | 1 | ||||
-rw-r--r-- | net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild | 6 | ||||
-rw-r--r-- | net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.2.ebuild | 74 |
5 files changed, 88 insertions, 15 deletions
diff --git a/net-p2p/ghostwhitecrab/ChangeLog b/net-p2p/ghostwhitecrab/ChangeLog index 28ed849ce161..b8e349607a32 100644 --- a/net-p2p/ghostwhitecrab/ChangeLog +++ b/net-p2p/ghostwhitecrab/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/ghostwhitecrab -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ghostwhitecrab/ChangeLog,v 1.2 2004/11/30 19:38:12 squinky86 Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ghostwhitecrab/ChangeLog,v 1.3 2005/02/02 02:42:07 squinky86 Exp $ + +*ghostwhitecrab-0.9.2 (01 Feb 2005) + + 01 Feb 2005; Jon Hood <squinky86@gentoo.org> ghostwhitecrab-0.9.1.ebuild, + +ghostwhitecrab-0.9.2.ebuild: + Stable x86 and hppa and new testing version. 30 Nov 2004; Jon Hood <squinky86@gentoo.org> ghostwhitecrab-0.9.1.ebuild: Marked ~hppa. diff --git a/net-p2p/ghostwhitecrab/Manifest b/net-p2p/ghostwhitecrab/Manifest index 604d0d484bbb..0d58df711f62 100644 --- a/net-p2p/ghostwhitecrab/Manifest +++ b/net-p2p/ghostwhitecrab/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 44481b2c76352b6c7e08a9d7ad7bebec ghostwhitecrab-0.9.2.ebuild 2108 MD5 49a5439ba3ba3928e454cc772f4c1ae6 ChangeLog 494 MD5 da6649c6cd52477de0db1ccff6d5401b metadata.xml 247 MD5 44481b2c76352b6c7e08a9d7ad7bebec ghostwhitecrab-0.9.1.ebuild 2108 MD5 0d3ad4300c554fadb5508ce8b8bb8dd4 files/digest-ghostwhitecrab-0.9.1 62 +MD5 a9e738d59f14eec1811b20f18bff7668 files/digest-ghostwhitecrab-0.9.2 62 MD5 c03b01a8867a131e348d42fbeffde6f5 files/gwc.init 522 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBrMxdcAgAdbxYsnERApfcAJ0SNhVdebohN4zuMSa+JsmVMVLiywCfZuZV -xbtFCbkAp+myJ7EIX1Kl7bg= -=as2X ------END PGP SIGNATURE----- diff --git a/net-p2p/ghostwhitecrab/files/digest-ghostwhitecrab-0.9.2 b/net-p2p/ghostwhitecrab/files/digest-ghostwhitecrab-0.9.2 new file mode 100644 index 000000000000..16520f639ca9 --- /dev/null +++ b/net-p2p/ghostwhitecrab/files/digest-ghostwhitecrab-0.9.2 @@ -0,0 +1 @@ +MD5 464e04e22e3c9cf037a7dcc4bf2735ab gwc-0.9.2.tar.bz2 115749 diff --git a/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild b/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild index 43718059e57c..ae4cc09cdc92 100644 --- a/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild +++ b/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild,v 1.4 2004/11/30 19:38:12 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.1.ebuild,v 1.5 2005/02/02 02:42:07 squinky86 Exp $ inherit eutils @@ -14,7 +14,7 @@ HOMEPAGE="http://www.ghostwhitecrab.com/crab/" SRC_URI="http://www.ghostwhitecrab.com/crab/${MY_P}.tar.bz2" LICENSE="as-is FDL-1.1" SLOT="0" -KEYWORDS="~x86 ~hppa" +KEYWORDS="x86 hppa" DEPEND=">=sys-apps/sed-4 sys-libs/zlib diff --git a/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.2.ebuild b/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.2.ebuild new file mode 100644 index 000000000000..856092ce6e95 --- /dev/null +++ b/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.2.ebuild,v 1.1 2005/02/02 02:42:07 squinky86 Exp $ + +inherit eutils + +IUSE="" + +MY_P="gwc-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="stand-alone gwebcache daemon" +HOMEPAGE="http://www.ghostwhitecrab.com/crab/" +SRC_URI="http://www.ghostwhitecrab.com/crab/${MY_P}.tar.bz2" +LICENSE="as-is FDL-1.1" +SLOT="0" +KEYWORDS="~x86 ~hppa" + +DEPEND=">=sys-apps/sed-4 + sys-libs/zlib + virtual/libc" +RDEPEND="" + +pkg_setup() { + enewgroup gwc + enewuser gwc -1 /bin/bash /dev/null gwc +} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's:#User:User:g' examples/example.conf + sed -i -e 's:#Group:Group:g' examples/example.conf + sed -i -e 's:/var/db/gwc:/usr/share/gwc:g' examples/example.conf + sed -i -e 's:#data_template\t\t/path/to/data_template:data_template\t\t/usr/share/gwc/data_template:g' examples/example.conf + sed -i -e 's:#base_template\t\t/path/to/base_template:base_template\t\t/usr/share/gwc/base_template:g' examples/example.conf + sed -i -e 's:sleep 1::g' config.sh +} + +src_compile() { + ./config.sh || die + emake || die +} + +src_install() { + dobin src/gwc + dodir /etc/${PN} + insinto /etc/${PN} + newins examples/example.conf gwc.conf + dodir /usr/share/gwc + touch ${D}/usr/share/gwc/peer_cache + touch ${D}/usr/share/gwc/urls.good + touch ${D}/usr/share/gwc/urls.bad + insinto /usr/share/gwc + newins examples/data_html.template data_template + newins examples/base_html.template base_template + chown -R gwc:gwc ${D}/usr/share/gwc + dodir /var/log/gwc + touch ${D}/var/log/gwc/main.log + touch ${D}/var/log/gwc/access.log + touch ${D}/var/log/gwc/dns.log + touch ${D}/var/log/gwc/checks.log + chown -R gwc:gwc ${D}/var/log/gwc + exeinto /etc/init.d + newexe ${FILESDIR}/gwc.init gwc + dohtml doc/*.html doc/*.css doc/specs/*.html + dodoc doc/specs/*.txt examples/* +} + +pkg_postinst() { + einfo "Please set the \"Location\" of your cache in /etc/${PN}/gwc.conf" + einfo "and submit your cache to:" + einfo "\thttp://dev.gentoo.org/~squinky86/gcache.html" +} |