mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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>
This commit is contained in:
+4
-6
@@ -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`
|
||||
+3
-5
@@ -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=$(
|
||||
@@ -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=$(
|
||||
|
||||
Reference in New Issue
Block a user