summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-03 17:29:50 +0200
committerDavid Seifert <soap@gentoo.org>2020-10-03 17:29:50 +0200
commit9debbf90feae5dde7a8bbb7e14af0eadeffc3042 (patch)
treeef5d8a69041bb1cbb054341aea3fdb9f9ce4ea80 /net-analyzer/darkstat
parentacct-user/darkstat: Add user for net-analyzer/darkstat (diff)
downloadgentoo-9debbf90feae5dde7a8bbb7e14af0eadeffc3042.tar.gz
gentoo-9debbf90feae5dde7a8bbb7e14af0eadeffc3042.tar.bz2
gentoo-9debbf90feae5dde7a8bbb7e14af0eadeffc3042.zip
net-analyzer/darkstat: [QA] Port to GLEP 81
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer/darkstat')
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild (renamed from net-analyzer/darkstat/darkstat-3.0.719.ebuild)10
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.719-r3.ebuild (renamed from net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild)8
-rw-r--r--net-analyzer/darkstat/darkstat-9999999.ebuild8
3 files changed, 10 insertions, 16 deletions
diff --git a/net-analyzer/darkstat/darkstat-3.0.719.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild
index eb3e78e31c6c..041df6e159de 100644
--- a/net-analyzer/darkstat/darkstat-3.0.719.ebuild
+++ b/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools user
+
+inherit autotools
DESCRIPTION="Network traffic analyzer with cute web interface"
HOMEPAGE="https://unix4lyfe.org/darkstat/"
@@ -13,6 +14,7 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
DEPEND="
+ acct-user/darkstat
dev-libs/libbsd
net-libs/libpcap
sys-libs/zlib
@@ -50,10 +52,6 @@ src_install() {
chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}"
}
-pkg_preinst() {
- enewuser darkstat
-}
-
pkg_postinst() {
# Workaround bug #141619
DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat`
diff --git a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r3.ebuild
index dd21a625d201..d67ebb1e93f5 100644
--- a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild
+++ b/net-analyzer/darkstat/darkstat-3.0.719-r3.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools user
+
+inherit autotools
DESCRIPTION="Network traffic analyzer with cute web interface"
HOMEPAGE="https://unix4lyfe.org/darkstat/"
@@ -13,6 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="
+ acct-user/darkstat
dev-libs/libbsd
net-libs/libpcap
sys-libs/zlib
@@ -54,10 +56,6 @@ src_install() {
chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}"
}
-pkg_preinst() {
- enewuser darkstat
-}
-
pkg_postinst() {
# Workaround bug #141619
DARKSTAT_CHROOT_DIR=$(
diff --git a/net-analyzer/darkstat/darkstat-9999999.ebuild b/net-analyzer/darkstat/darkstat-9999999.ebuild
index 294f80c7140d..4ca39eb748e3 100644
--- a/net-analyzer/darkstat/darkstat-9999999.ebuild
+++ b/net-analyzer/darkstat/darkstat-9999999.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools git-r3 user
+
+inherit autotools git-r3
DESCRIPTION="Network traffic analyzer with cute web interface"
HOMEPAGE="https://unix4lyfe.org/darkstat/"
@@ -16,6 +17,7 @@ BDEPEND="
app-editors/vim-core
"
DEPEND="
+ acct-user/darkstat
dev-libs/libbsd
net-libs/libpcap
sys-libs/zlib
@@ -57,10 +59,6 @@ src_install() {
chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}"
}
-pkg_preinst() {
- enewuser darkstat
-}
-
pkg_postinst() {
# Workaround bug #141619
DARKSTAT_CHROOT_DIR=$(