diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-12-31 13:16:08 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-12-31 13:16:08 +0100 |
commit | 64d54ed90b72626a9a9bfe21815cf0190158ed3a (patch) | |
tree | f10a3928824f8480c648e3f67a87f91c6ef3e2fc /net-p2p | |
parent | Remove hardmasked package (diff) | |
download | gentoo-64d54ed90b72626a9a9bfe21815cf0190158ed3a.tar.gz gentoo-64d54ed90b72626a9a9bfe21815cf0190158ed3a.tar.bz2 gentoo-64d54ed90b72626a9a9bfe21815cf0190158ed3a.zip |
Remove hardmasked for removal packages
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/btpd/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/btpd/btpd-0.15.ebuild | 30 | ||||
-rw-r--r-- | net-p2p/btpd/files/confd_btpd | 5 | ||||
-rw-r--r-- | net-p2p/btpd/files/initd_btpd | 79 | ||||
-rw-r--r-- | net-p2p/btpd/metadata.xml | 10 |
5 files changed, 0 insertions, 125 deletions
diff --git a/net-p2p/btpd/Manifest b/net-p2p/btpd/Manifest deleted file mode 100644 index 016222cdb7ad..000000000000 --- a/net-p2p/btpd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST btpd-0.15.tar.gz 144706 SHA256 c2229244c3cb370ac95560e2e9ff7f5d094612ee2b2a1e36237ec7f27707db9d SHA512 3edcc8098ccdaaa6d4e2535d537aa540216b7e36467d06806583606c7cb6583ae1503d271c0275e4ae4c1f7a1e206d349879a710f8253f3a1f48c2badc002c25 WHIRLPOOL 8146bfc30d4c163cdd11fa6f60e7830164cdd08641fb493e290c73449670efada30fbcbaf4ddce2f63102b9aa217a37fcfc52dca867975d2046d945a0e586e89 diff --git a/net-p2p/btpd/btpd-0.15.ebuild b/net-p2p/btpd/btpd-0.15.ebuild deleted file mode 100644 index 13c60546bdf9..000000000000 --- a/net-p2p/btpd/btpd-0.15.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="BitTorrent client consisting of a daemon and client" -HOMEPAGE="http://www.murmeldjur.se/btpd/" -SRC_URI="http://www.murmeldjur.se/btpd/${P}.tar.gz http://people.su.se/~rnyberg/btpd/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="net-misc/curl - dev-libs/openssl" -DEPEND="${RDEPEND}" - -# for the init.d script; this should probably be fixed not to require -# this so that it can work on G/FBSD too. -RDEPEND="${RDEPEND} - virtual/shadow" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - newinitd "${FILESDIR}/initd_btpd" btpd || die - newconfd "${FILESDIR}/confd_btpd" btpd || die - - dodoc CHANGES COPYRIGHT README || die -} diff --git a/net-p2p/btpd/files/confd_btpd b/net-p2p/btpd/files/confd_btpd deleted file mode 100644 index a7318f64d092..000000000000 --- a/net-p2p/btpd/files/confd_btpd +++ /dev/null @@ -1,5 +0,0 @@ -# owner of btpd process (must be existing) -#BTPDUSER="p2p" - -# Extra arguments for btpd -#BTPDEXTRARGS="-p 43729" diff --git a/net-p2p/btpd/files/initd_btpd b/net-p2p/btpd/files/initd_btpd deleted file mode 100644 index 02505e95252c..000000000000 --- a/net-p2p/btpd/files/initd_btpd +++ /dev/null @@ -1,79 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -BTPDUSERHOME=`getent passwd ${BTPDUSER} | cut -d : -f 6` -BTPDHOME=${BTPDUSERHOME}/.btpd -BTPDSTARTUPLOG=${BTPDHOME}/startup.log - -depend() { - need net -} - -checkconfig() { - if [ -z ${BTPDUSER} ]; then - - eerror "Must edit /etc/conf.d/btpd first." - return 1 - - elif [ -z "`getent passwd ${BTPDUSER}`" ]; then - - eerror "Check /etc/conf.d/btpd's \${BTPDUSER}. '${BTPDUSER}' doesn't exist." - return 1 - fi -} - -start() { - - ebegin "Starting BitTorrent Protocol Daemon" - checkconfig || return 1 - - if pgrep -u ${BTPDUSER} btpd >/dev/null; then - eerror "An instance of btpd is already running" - return 1 - else - su ${BTPDUSER} -c "btpd ${BTPDEXTRARGS}" - - sleep 2 - - if ! pgrep -u ${BTPDUSER} btpd > /dev/null; then - eerror "BitTorrent Protocol Daemon couldn't be started ! Check logfile: ${BTPDSTARTUPLOG}" - return 1 - fi - fi - - eend $? -} - -stop() { - checkconfig || return 1 - - local retries=0 - - ebegin "Stopping BitTorrent Protocol Daemon" - while [ -n "`pgrep -u ${BTPDUSER} btpd`" ] && [ ${retries} -lt 4 ]; do - if test ${retries} -eq 0; then - su ${BTPDUSER} -c "btcli kill" - else - kill -9 "`pgrep -u ${BTPDUSER} btpd`" - fi - - sleep 1 - retries=$(( $retries + 1 )) - done - - if [ ${retries} -lt 4 ]; then - return 0 - else - eerror "Unable to stop btpd" - return 1 - fi - - eend $? -} - -restart() { - svc_stop - sleep 3 - svc_start -} diff --git a/net-p2p/btpd/metadata.xml b/net-p2p/btpd/metadata.xml deleted file mode 100644 index 5050ab751732..000000000000 --- a/net-p2p/btpd/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>net-p2p</herd> - <herd>proxy-maintainers</herd> - <maintainer> - <email>ricardo.cordeiro@iscte.pt</email> - <name> Ricardo Cordeiro</name> - </maintainer> -</pkgmetadata> |