summaryrefslogtreecommitdiff
path: root/net-p2p/bitflu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
commitb49088575eb777ced2551f484da86317332d6087 (patch)
treebf9a151cf2d61956340d555659ffc098ee1da466 /net-p2p/bitflu
parent514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff)
gentoo resync : 24.07.2021
Diffstat (limited to 'net-p2p/bitflu')
-rw-r--r--net-p2p/bitflu/Manifest2
-rw-r--r--net-p2p/bitflu/bitflu-1.52-r1.ebuild (renamed from net-p2p/bitflu/bitflu-1.52.ebuild)33
2 files changed, 12 insertions, 23 deletions
diff --git a/net-p2p/bitflu/Manifest b/net-p2p/bitflu/Manifest
index 20489056cb7f..4cfc7f71a45d 100644
--- a/net-p2p/bitflu/Manifest
+++ b/net-p2p/bitflu/Manifest
@@ -1,5 +1,5 @@
AUX bitflu.config 1685 BLAKE2B 0f8e815101b473d877dcf427088672989fe1a069949b3e3600efa95a02643c6729190ac361d51c84d8678a4c1ea007a57ecd44dba0cd592e18efe94e8cfeea5c SHA512 c0ed5b1f27f871b80cbfc9148bdc1d9d73a03361587bb2e69df77062335110d841f3e4debdaf16cf8e2d3e2fdd91581f89d09ae58b11608541d57528aec2fa69
AUX bitflu.initd 887 BLAKE2B b2ca0e185376cd29c2eb8653441cc4b17c0b6ef47a0cda406fafb12fd5099e1e2429eb71c299498f6fcc6ce1bcc2e3858c49bf5615aabe3bf67954dc3548b0e0 SHA512 46a11d59198eb428418fe018cd5e95149e385b3c4b642106cb294ecf6ff8576ba3a5de038ec6a71bb7de894680f55b5a38931d101e5d5ee589c0764c9de609ba
DIST bitflu-1.52.tgz 162308 BLAKE2B 0f9e0c7121b9d36d8a071b6e6a88f1649202bddcd50935433f75bc077cd43df780d250405495b6da107575b56db81cb2f2a8acc13b674021e59e01596523d93f SHA512 fff6d253b57e43a2e5a917e508a864304c19d5c12e965abb74905bee1ecea10f79a3f3b7d7d0c8112bedabe2d42288171397bd03136a1f37c439039971659ebe
-EBUILD bitflu-1.52.ebuild 1802 BLAKE2B a922eb97505c6c13d7cdd3b9977364bd329944976ce9d971a202e89ef16d22ee4211ad0ee0dbdee148e9976e8922e3b279e94621ceeef2aacd8d9c1a82befa5e SHA512 d9eea0047caef028816a5b6cd1785f56981d5957efd5c1ef0d0ef8c6e4ef79c7c5edc26974273f716791105d446a55f88f8a430768af09c37cc1e9768154e71b
+EBUILD bitflu-1.52-r1.ebuild 1637 BLAKE2B 0c9fc3d62041f9b9173b3be2f07b3c993a8532add83d9b39881ed4cd0b96a5bd29926f6e9f1a2c192c7cc5bfd07aee62efb5499ffdc419fb07a6c4c11ac526af SHA512 8d23e3da221de1fa1e8a97bf2c400ee3a5ff13fd7f2414e56c46af2ba16e96018c294b5011fc6e0ad7736b824c244a15e616706c6b353b5e96c6cee8f08710e2
MISC metadata.xml 466 BLAKE2B ecc2313218094e45e9027403e1ad7c1b8dd4c2a4a6ff9f5c2b836c1456a23d8e1fe957f2d0edaa00d0cae6cacabce9315ee3eda7fc899b9f069495113ee1733f SHA512 09b471a3ce2088c69698afaedb48b37cdd305f94eea72e402965b090b29d691bde743da8c6891ba6fa880a2b4e37f3c9ea7e3012cf7c68493dac34726417335b
diff --git a/net-p2p/bitflu/bitflu-1.52.ebuild b/net-p2p/bitflu/bitflu-1.52-r1.ebuild
index 93668715d823..f6d0d7367da5 100644
--- a/net-p2p/bitflu/bitflu-1.52.ebuild
+++ b/net-p2p/bitflu/bitflu-1.52-r1.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit user
+EAPI=7
DESCRIPTION="BitTorrent client, written in Perl and is designed to run as a daemon"
HOMEPAGE="http://bitflu.workaround.ch"
@@ -12,26 +10,22 @@ SRC_URI="http://bitflu.workaround.ch/bitflu/${P}.tgz"
LICENSE="Artistic-2 GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
DEPEND="
+ acct-group/bitflu
+ acct-user/bitflu
dev-perl/Danga-Socket
- dev-perl/Sys-Syscall"
+ 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() {
+ local PLUGINS="/usr/lib/bitflu"
+ local CONFDIR="/etc/bitflu"
+ local LOGDIR="/var/log/bitflu"
+
# executable daemon
dosbin bitflu.pl
@@ -39,11 +33,6 @@ src_install() {
insinto "${PLUGINS}"
doins -r plugins
- # working dir
- dodir "${HOMEDIR}"
- fowners bitflu:bitflu "${HOMEDIR}"
- fperms 775 "${HOMEDIR}"
-
# config file
insinto "${CONFDIR}"
fowners bitflu:bitflu "${CONFDIR}"
@@ -53,7 +42,7 @@ src_install() {
fperms 664 "${CONFDIR}"/bitflu.config
# log file
- dodir "${LOGDIR}"
+ keepdir "${LOGDIR}"
fowners bitflu:bitflu "${LOGDIR}"
fperms 775 "${LOGDIR}"