diff options
author | 2016-03-21 03:08:32 +1100 | |
---|---|---|
committer | 2016-03-21 03:12:36 +1100 | |
commit | 7ad2bf50acb4b50b7248e72c8a090ba9af98ad75 (patch) | |
tree | 7ddb5bed9c8831627f2d11dca10e5dc6a0c12619 /net-p2p/gift | |
parent | app-cdr/disc-cover: remove old (diff) | |
download | gentoo-7ad2bf50acb4b50b7248e72c8a090ba9af98ad75.tar.gz gentoo-7ad2bf50acb4b50b7248e72c8a090ba9af98ad75.tar.bz2 gentoo-7ad2bf50acb4b50b7248e72c8a090ba9af98ad75.zip |
net-p2p: removed last-rited gift* packages
Diffstat (limited to 'net-p2p/gift')
-rw-r--r-- | net-p2p/gift/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/gift/files/gift.confd | 22 | ||||
-rw-r--r-- | net-p2p/gift/files/gift.initd | 35 | ||||
-rw-r--r-- | net-p2p/gift/gift-0.11.8.1-r1.ebuild | 64 | ||||
-rw-r--r-- | net-p2p/gift/metadata.xml | 14 |
5 files changed, 0 insertions, 136 deletions
diff --git a/net-p2p/gift/Manifest b/net-p2p/gift/Manifest deleted file mode 100644 index 95aa6eef018e..000000000000 --- a/net-p2p/gift/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gift-0.11.8.1.tar.bz2 541446 SHA256 7b22e6d36482119a0d2dfd3e911a208439be32f554919536629b4c7c22ea5882 SHA512 5c1e47d3cd77a7331321c7f94486636bb8b6ec69e51e707fbf7706c45f645b8c0831b191ef24da70a850a75a53a4d71d03739dbba7da3e3e34a402cba02aaac8 WHIRLPOOL 8a1a4487361580aad77c82d6aef34b365ea7817c92fe6de03d4dbda681b0672a71a5ebbdd16adf03ab822b77cf9024a52275541a01181162ef333d56bd80b073 diff --git a/net-p2p/gift/files/gift.confd b/net-p2p/gift/files/gift.confd deleted file mode 100644 index be9036eedcd4..000000000000 --- a/net-p2p/gift/files/gift.confd +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# /etc/conf.d/gift -# Config file for gift control script - -# Change the following vars only if you know -# what you're doing, there's no checking for -# invalid data yet! - -# owner of giFTd process (don't change, must be existing) -USER="p2p" - -# directory with configuration -LOCAL_DIR="/usr/share/giFT" - -# logfile (/dev/null for nowhere) -LOG="/var/log/giftd.log" - -# nice level, 0<x<19, more nice -> less cpuspeed consumed -NICE="19" diff --git a/net-p2p/gift/files/gift.initd b/net-p2p/gift/files/gift.initd deleted file mode 100644 index 193cb23adf21..000000000000 --- a/net-p2p/gift/files/gift.initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need net -} - -start() { - ebegin "Starting giFTd" - start-stop-daemon --quiet --start -c ${USER} --make-pidfile \ - --pidfile /var/run/giftd.pid --exec /usr/bin/giftd \ - --nicelevel ${NICE} -- \ - --local-dir=${LOCAL_DIR} &>${LOG} & - result=$? - sleep 1 - [ -z "`pgrep -u ${USER} giftd`" ] && result=1 - if [ $result -eq 1 ]; then - eerror "Failed to start gift. Check ${LOG} for more information" - fi; - eend $result -} - -stop() { - ebegin "Stopping giFTd - please wait" - start-stop-daemon --stop --quiet --pidfile /var/run/giftd.pid - eend $? -} - -restart() { - svc_stop - sleep 10 - svc_start -} diff --git a/net-p2p/gift/gift-0.11.8.1-r1.ebuild b/net-p2p/gift/gift-0.11.8.1-r1.ebuild deleted file mode 100644 index a51fe1f3f0d0..000000000000 --- a/net-p2p/gift/gift-0.11.8.1-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils libtool user - -DESCRIPTION="A OpenFT, Gnutella and FastTrack p2p network daemon" -HOMEPAGE="http://gift.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" -IUSE="ares fasttrack gnutella imagemagick openft vorbis" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ~ppc sparc x86 ~x86-fbsd" - -DEPEND=">=sys-libs/zlib-1.1.4 - sys-apps/file - imagemagick? ( >=media-gfx/imagemagick-5.5.7.15 ) - vorbis? ( >=media-libs/libvorbis-1 )" -PDEPEND="ares? ( net-p2p/gift-ares ) - fasttrack? ( net-p2p/gift-fasttrack ) - gnutella? ( net-p2p/gift-gnutella ) - openft? ( net-p2p/gift-openft )" - -GIFTUSER="p2p" - -pkg_preinst() { - # Add a new user - enewuser ${GIFTUSER} -1 /bin/bash /home/p2p users -} - -src_compile() { - econf --enable-libmagic \ - `use_enable imagemagick` \ - `use_enable vorbis libvorbis` || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die "Install failed" - - # init scripts for users who want a central server - newconfd ${FILESDIR}/gift.confd gift - newinitd ${FILESDIR}/gift.initd gift - - touch ${D}/usr/share/giFT/giftd.log - chown ${GIFTUSER}:root ${D}/usr/share/giFT/giftd.log -} - -pkg_postinst() { - elog "Configure gift in /usr/share/giFT/ or run gift-setup" - elog "as normal user and make:" - elog 'cp -R $HOME/.giFT/* /usr/share/giFT/' - elog "chown -R p2p:root /usr/share/giFT/*" - elog "(be carefull while specyfing directories in gift-setup;" - elog "keep in mind that giFT will run as process of user " - elog 'specified in /etc/conf.d/gift with his $HOME directory)' - echo - elog "Also, if you will be using the giFT init script, you" - elog "will need to create /usr/share/giFT/giftd.conf" - elog "This method is only recommended for users with a" - elog "central giFT server." - echo -} diff --git a/net-p2p/gift/metadata.xml b/net-p2p/gift/metadata.xml deleted file mode 100644 index c1f068fb467e..000000000000 --- a/net-p2p/gift/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="ares">pull in Ares plugin</flag> - <flag name="fasttrack">pull in FastTrack plugin</flag> - <flag name="gnutella">pull in Gnutella plugin</flag> - <flag name="openft">pull in OpenFT plugin</flag> - </use> - <upstream> - <remote-id type="sourceforge">gift</remote-id> - </upstream> -</pkgmetadata> |