summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-18 21:24:39 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-20 21:03:00 +0200
commitb2954b216b72bafabf7c5361adc9c2c87d86799e (patch)
tree2fc77b2f6aac1d1069093c7ba5a0fd7e47a1ee79 /net-p2p/bitflu
parentnet-p2p/bitflu: migrate to GLEP 81 (diff)
downloadgentoo-b2954b216b72bafabf7c5361adc9c2c87d86799e.tar.gz
gentoo-b2954b216b72bafabf7c5361adc9c2c87d86799e.tar.bz2
gentoo-b2954b216b72bafabf7c5361adc9c2c87d86799e.zip
net-p2p/bitflu: drop old version
Closes: https://bugs.gentoo.org/781443 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-p2p/bitflu')
-rw-r--r--net-p2p/bitflu/bitflu-1.52.ebuild74
1 files changed, 0 insertions, 74 deletions
diff --git a/net-p2p/bitflu/bitflu-1.52.ebuild b/net-p2p/bitflu/bitflu-1.52.ebuild
deleted file mode 100644
index 93668715d823..000000000000
--- a/net-p2p/bitflu/bitflu-1.52.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit user
-
-DESCRIPTION="BitTorrent client, written in Perl and is designed to run as a daemon"
-HOMEPAGE="http://bitflu.workaround.ch"
-SRC_URI="http://bitflu.workaround.ch/bitflu/${P}.tgz"
-
-LICENSE="Artistic-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="
- dev-perl/Danga-Socket
- dev-perl/Sys-Syscall"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- enewgroup bitflu
- enewuser bitflu -1 -1 /var/lib/bitflu bitflu
-}
-
-src_compile() { :; }
-
-PLUGINS="/usr/lib/bitflu"
-HOMEDIR="/var/lib/bitflu"
-CONFDIR="/etc/bitflu"
-LOGDIR="/var/log/bitflu"
-
-src_install() {
- # executable daemon
- dosbin bitflu.pl
-
- # plugins
- insinto "${PLUGINS}"
- doins -r plugins
-
- # working dir
- dodir "${HOMEDIR}"
- fowners bitflu:bitflu "${HOMEDIR}"
- fperms 775 "${HOMEDIR}"
-
- # config file
- insinto "${CONFDIR}"
- fowners bitflu:bitflu "${CONFDIR}"
- fperms 775 "${CONFDIR}"
- doins "${FILESDIR}"/bitflu.config
- fowners bitflu:bitflu "${CONFDIR}"/bitflu.config
- fperms 664 "${CONFDIR}"/bitflu.config
-
- # log file
- dodir "${LOGDIR}"
- fowners bitflu:bitflu "${LOGDIR}"
- fperms 775 "${LOGDIR}"
-
- # docs
- dodoc bitflu.config.example ChangeLog.txt CONTRIBUTING README_IPv6.txt \
- README.txt Documentation/bitflu-internals.txt
-
- newinitd "${FILESDIR}"/bitflu.initd bitflu
-}
-
-pkg_postinst() {
- ewarn "Note: At startup, or at the user's request, ${PN} (re)reads its"
- ewarn "configuration file and overwrites it with its own sanitized"
- ewarn "version. A backup is created in the configuration directory,"
- ewarn "/etc/${PN}, but that file will subseqently be overwritten if"
- ewarn "a further backup is made. You may want to keep your own backup."
- ewarn "A prestine example with comments may be found in /usr/share/doc/${P}."
-}