diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-06-21 07:06:08 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-06-21 07:06:08 +0000 |
commit | 036a36e1389791c02addbb5077ae7eab95cb8291 (patch) | |
tree | 44c8462aaa341d7a042cdfe773c64bce44200b89 /net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild | |
parent | media-libs/sdl-gui removal per bug #334779 (diff) | |
download | gentoo-2-036a36e1389791c02addbb5077ae7eab95cb8291.tar.gz gentoo-2-036a36e1389791c02addbb5077ae7eab95cb8291.tar.bz2 gentoo-2-036a36e1389791c02addbb5077ae7eab95cb8291.zip |
net-p2p/ghostwhitecrab removal per bug #322361
Diffstat (limited to 'net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild')
-rw-r--r-- | net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild b/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild deleted file mode 100644 index fb934dd7d43f..000000000000 --- a/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ghostwhitecrab/ghostwhitecrab-0.9.9.ebuild,v 1.7 2008/11/27 11:05:31 armin76 Exp $ - -inherit eutils versionator - -IUSE="ipv6 threads zlib" - -MY_PN="gwc" -MY_P="${MY_PN}-${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="amd64 hppa x86" - -DEPEND="!app-misc/geneweb" -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:~gwc/db:/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:#listen_address\t\t:listen_address\t\t:g' examples/example.conf - sed -i -e 's:~gwc/logs:/var/log/gwc:g' examples/example.conf - sed -i -e 's:~gwc/cores:/var/log/gwc:g' examples/example.conf - sed -i -e 's:sleep 1::g' config.sh -} - -src_compile() { - # this is not a standard configure script, so can't use the standard - # use_* functions - local myconf - use threads && myconf="--use-threads ${myconf}" - use ipv6 || myconf="--disable-ipv6 ${myconf}" - use zlib || myconf="--disable-zlib ${myconf}" - ./config.sh ${myconf} || 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" - newinitd "${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://gcachescan.jonatkins.com/" -} |