Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/argus/
Date: Sat, 03 Oct 2020 15:30:10
Message-Id: 1601738966.291dd7efa20bb83c0241a82005e32fc518c2542f.soap@gentoo
1 commit: 291dd7efa20bb83c0241a82005e32fc518c2542f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 15:29:26 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 15:29:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291dd7ef
7
8 net-analyzer/argus: [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 ...gus-3.0.8.2-r1.ebuild => argus-3.0.8.2-r3.ebuild} | 11 ++++-------
14 ...gus-3.0.8.2-r2.ebuild => argus-3.0.8.2-r4.ebuild} | 20 ++++++--------------
15 ...{argus-3.0.8.3.ebuild => argus-3.0.8.3-r1.ebuild} | 20 ++++++--------------
16 3 files changed, 16 insertions(+), 35 deletions(-)
17
18 diff --git a/net-analyzer/argus/argus-3.0.8.2-r1.ebuild b/net-analyzer/argus/argus-3.0.8.2-r3.ebuild
19 similarity index 94%
20 rename from net-analyzer/argus/argus-3.0.8.2-r1.ebuild
21 rename to net-analyzer/argus/argus-3.0.8.2-r3.ebuild
22 index 2e662864e3e..a0f30622374 100644
23 --- a/net-analyzer/argus/argus-3.0.8.2-r1.ebuild
24 +++ b/net-analyzer/argus/argus-3.0.8.2-r3.ebuild
25 @@ -2,7 +2,8 @@
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=5
29 -inherit autotools eutils user
30 +
31 +inherit autotools epatch
32
33 DESCRIPTION="network Audit Record Generation and Utilization System"
34 HOMEPAGE="https://www.qosient.com/argus/"
35 @@ -14,6 +15,8 @@ KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
36 IUSE="debug +libtirpc sasl tcpd"
37
38 RDEPEND="
39 + acct-group/argus
40 + acct-user/argus
41 net-libs/libnsl:=
42 net-libs/libpcap
43 sys-libs/zlib
44 @@ -22,7 +25,6 @@ RDEPEND="
45 sasl? ( dev-libs/cyrus-sasl )
46 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
47 "
48 -
49 DEPEND="
50 ${RDEPEND}
51 >=sys-devel/bison-1.28
52 @@ -76,11 +78,6 @@ src_install() {
53 keepdir /var/lib/argus
54 }
55
56 -pkg_preinst() {
57 - enewgroup argus
58 - enewuser argus -1 -1 /var/lib/argus argus
59 -}
60 -
61 pkg_postinst() {
62 elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite"
63 elog "possible that the init script will fail to work."
64
65 diff --git a/net-analyzer/argus/argus-3.0.8.2-r2.ebuild b/net-analyzer/argus/argus-3.0.8.2-r4.ebuild
66 similarity index 90%
67 rename from net-analyzer/argus/argus-3.0.8.2-r2.ebuild
68 rename to net-analyzer/argus/argus-3.0.8.2-r4.ebuild
69 index 807aab798e0..3ca4a4b18ff 100644
70 --- a/net-analyzer/argus/argus-3.0.8.2-r2.ebuild
71 +++ b/net-analyzer/argus/argus-3.0.8.2-r4.ebuild
72 @@ -2,7 +2,8 @@
73 # Distributed under the terms of the GNU General Public License v2
74
75 EAPI=7
76 -inherit autotools user
77 +
78 +inherit autotools
79
80 DESCRIPTION="network Audit Record Generation and Utilization System"
81 HOMEPAGE="https://openargus.org/"
82 @@ -14,6 +15,8 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
83 IUSE="debug +libtirpc sasl tcpd"
84
85 RDEPEND="
86 + acct-group/argus
87 + acct-user/argus
88 net-libs/libnsl:=
89 net-libs/libpcap
90 sys-libs/zlib
91 @@ -22,9 +25,8 @@ RDEPEND="
92 sasl? ( dev-libs/cyrus-sasl )
93 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
94 "
95 -
96 -DEPEND="
97 - ${RDEPEND}
98 +DEPEND="${RDEPEND}"
99 +BDEPEND="
100 >=sys-devel/bison-1.28
101 >=sys-devel/flex-2.4.6
102 "
103 @@ -37,11 +39,6 @@ PATCHES=(
104 )
105 S=${WORKDIR}/${P/_rc/.rc.}
106
107 -pkg_setup() {
108 - enewgroup argus
109 - enewuser argus -1 -1 /var/lib/argus argus
110 -}
111 -
112 src_prepare() {
113 find . -type f -execdir chmod +w {} \; #561360
114 sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \
115 @@ -82,11 +79,6 @@ src_install() {
116 keepdir /var/lib/argus
117 }
118
119 -pkg_preinst() {
120 - enewgroup argus
121 - enewuser argus -1 -1 /var/lib/argus argus
122 -}
123 -
124 pkg_postinst() {
125 elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite"
126 elog "possible that the init script will fail to work."
127
128 diff --git a/net-analyzer/argus/argus-3.0.8.3.ebuild b/net-analyzer/argus/argus-3.0.8.3-r1.ebuild
129 similarity index 90%
130 rename from net-analyzer/argus/argus-3.0.8.3.ebuild
131 rename to net-analyzer/argus/argus-3.0.8.3-r1.ebuild
132 index 8092871dded..bc999ce3908 100644
133 --- a/net-analyzer/argus/argus-3.0.8.3.ebuild
134 +++ b/net-analyzer/argus/argus-3.0.8.3-r1.ebuild
135 @@ -2,7 +2,8 @@
136 # Distributed under the terms of the GNU General Public License v2
137
138 EAPI=7
139 -inherit autotools user
140 +
141 +inherit autotools
142
143 DESCRIPTION="network Audit Record Generation and Utilization System"
144 HOMEPAGE="https://openargus.org/"
145 @@ -14,6 +15,8 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
146 IUSE="debug sasl tcpd"
147
148 RDEPEND="
149 + acct-group/argus
150 + acct-user/argus
151 net-libs/libnsl:=
152 net-libs/libpcap
153 net-libs/libtirpc
154 @@ -21,9 +24,8 @@ RDEPEND="
155 sasl? ( dev-libs/cyrus-sasl )
156 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
157 "
158 -
159 -DEPEND="
160 - ${RDEPEND}
161 +DEPEND="${RDEPEND}"
162 +BDEPEND="
163 >=sys-devel/bison-1.28
164 >=sys-devel/flex-2.4.6
165 "
166 @@ -36,11 +38,6 @@ PATCHES=(
167 )
168 S=${WORKDIR}/${P/_rc/.rc.}
169
170 -pkg_setup() {
171 - enewgroup argus
172 - enewuser argus -1 -1 /var/lib/argus argus
173 -}
174 -
175 src_prepare() {
176 find . -type f -execdir chmod +w {} \; #561360
177 sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \
178 @@ -84,11 +81,6 @@ src_install() {
179 keepdir /var/lib/argus
180 }
181
182 -pkg_preinst() {
183 - enewgroup argus
184 - enewuser argus -1 -1 /var/lib/argus argus
185 -}
186 -
187 pkg_postinst() {
188 elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite"
189 elog "possible that the init script will fail to work."