1 |
commit: 9debbf90feae5dde7a8bbb7e14af0eadeffc3042 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 15:29:50 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 15:29:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9debbf90 |
7 |
|
8 |
net-analyzer/darkstat: [QA] Port to GLEP 81 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
.../{darkstat-3.0.719.ebuild => darkstat-3.0.719-r2.ebuild} | 10 ++++------ |
14 |
.../{darkstat-3.0.719-r1.ebuild => darkstat-3.0.719-r3.ebuild} | 8 +++----- |
15 |
net-analyzer/darkstat/darkstat-9999999.ebuild | 8 +++----- |
16 |
3 files changed, 10 insertions(+), 16 deletions(-) |
17 |
|
18 |
diff --git a/net-analyzer/darkstat/darkstat-3.0.719.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild |
19 |
similarity index 94% |
20 |
rename from net-analyzer/darkstat/darkstat-3.0.719.ebuild |
21 |
rename to net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild |
22 |
index eb3e78e31c6..041df6e159d 100644 |
23 |
--- a/net-analyzer/darkstat/darkstat-3.0.719.ebuild |
24 |
+++ b/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild |
25 |
@@ -1,8 +1,9 @@ |
26 |
-# Copyright 1999-2018 Gentoo Foundation |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI=6 |
31 |
-inherit autotools user |
32 |
+ |
33 |
+inherit autotools |
34 |
|
35 |
DESCRIPTION="Network traffic analyzer with cute web interface" |
36 |
HOMEPAGE="https://unix4lyfe.org/darkstat/" |
37 |
@@ -13,6 +14,7 @@ SLOT="0" |
38 |
KEYWORDS="amd64 ppc x86" |
39 |
|
40 |
DEPEND=" |
41 |
+ acct-user/darkstat |
42 |
dev-libs/libbsd |
43 |
net-libs/libpcap |
44 |
sys-libs/zlib |
45 |
@@ -50,10 +52,6 @@ src_install() { |
46 |
chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}" |
47 |
} |
48 |
|
49 |
-pkg_preinst() { |
50 |
- enewuser darkstat |
51 |
-} |
52 |
- |
53 |
pkg_postinst() { |
54 |
# Workaround bug #141619 |
55 |
DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat` |
56 |
|
57 |
diff --git a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r3.ebuild |
58 |
similarity index 96% |
59 |
rename from net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild |
60 |
rename to net-analyzer/darkstat/darkstat-3.0.719-r3.ebuild |
61 |
index dd21a625d20..d67ebb1e93f 100644 |
62 |
--- a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild |
63 |
+++ b/net-analyzer/darkstat/darkstat-3.0.719-r3.ebuild |
64 |
@@ -2,7 +2,8 @@ |
65 |
# Distributed under the terms of the GNU General Public License v2 |
66 |
|
67 |
EAPI=7 |
68 |
-inherit autotools user |
69 |
+ |
70 |
+inherit autotools |
71 |
|
72 |
DESCRIPTION="Network traffic analyzer with cute web interface" |
73 |
HOMEPAGE="https://unix4lyfe.org/darkstat/" |
74 |
@@ -13,6 +14,7 @@ SLOT="0" |
75 |
KEYWORDS="~amd64 ~ppc ~x86" |
76 |
|
77 |
DEPEND=" |
78 |
+ acct-user/darkstat |
79 |
dev-libs/libbsd |
80 |
net-libs/libpcap |
81 |
sys-libs/zlib |
82 |
@@ -54,10 +56,6 @@ src_install() { |
83 |
chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}" |
84 |
} |
85 |
|
86 |
-pkg_preinst() { |
87 |
- enewuser darkstat |
88 |
-} |
89 |
- |
90 |
pkg_postinst() { |
91 |
# Workaround bug #141619 |
92 |
DARKSTAT_CHROOT_DIR=$( |
93 |
|
94 |
diff --git a/net-analyzer/darkstat/darkstat-9999999.ebuild b/net-analyzer/darkstat/darkstat-9999999.ebuild |
95 |
index 294f80c7140..4ca39eb748e 100644 |
96 |
--- a/net-analyzer/darkstat/darkstat-9999999.ebuild |
97 |
+++ b/net-analyzer/darkstat/darkstat-9999999.ebuild |
98 |
@@ -2,7 +2,8 @@ |
99 |
# Distributed under the terms of the GNU General Public License v2 |
100 |
|
101 |
EAPI=7 |
102 |
-inherit autotools git-r3 user |
103 |
+ |
104 |
+inherit autotools git-r3 |
105 |
|
106 |
DESCRIPTION="Network traffic analyzer with cute web interface" |
107 |
HOMEPAGE="https://unix4lyfe.org/darkstat/" |
108 |
@@ -16,6 +17,7 @@ BDEPEND=" |
109 |
app-editors/vim-core |
110 |
" |
111 |
DEPEND=" |
112 |
+ acct-user/darkstat |
113 |
dev-libs/libbsd |
114 |
net-libs/libpcap |
115 |
sys-libs/zlib |
116 |
@@ -57,10 +59,6 @@ src_install() { |
117 |
chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}" |
118 |
} |
119 |
|
120 |
-pkg_preinst() { |
121 |
- enewuser darkstat |
122 |
-} |
123 |
- |
124 |
pkg_postinst() { |
125 |
# Workaround bug #141619 |
126 |
DARKSTAT_CHROOT_DIR=$( |