1 |
commit: 1ca97a4604c4cf7b0264c516823cce1b83b9a018 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 17 22:39:55 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 17 22:41:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca97a46 |
7 |
|
8 |
net-misc/lldpd: drop versions |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
net-misc/lldpd/files/lldpd-1.0.10-glibc-2.33.patch | 12 --- |
13 |
net-misc/lldpd/files/lldpd-1.0.13-glibc-2.33.patch | 19 ---- |
14 |
.../lldpd/files/lldpd-1.0.13-r2-glibc-2.33.patch | 50 ---------- |
15 |
net-misc/lldpd/lldpd-1.0.10-r1.ebuild | 105 -------------------- |
16 |
net-misc/lldpd/lldpd-1.0.11-r1.ebuild | 105 -------------------- |
17 |
net-misc/lldpd/lldpd-1.0.12-r1.ebuild | 105 -------------------- |
18 |
net-misc/lldpd/lldpd-1.0.13-r1.ebuild | 105 -------------------- |
19 |
net-misc/lldpd/lldpd-1.0.13-r2.ebuild | 106 --------------------- |
20 |
net-misc/lldpd/lldpd-1.0.7-r1.ebuild | 101 -------------------- |
21 |
net-misc/lldpd/lldpd-1.0.9-r1.ebuild | 101 -------------------- |
22 |
10 files changed, 809 deletions(-) |
23 |
|
24 |
diff --git a/net-misc/lldpd/files/lldpd-1.0.10-glibc-2.33.patch b/net-misc/lldpd/files/lldpd-1.0.10-glibc-2.33.patch |
25 |
deleted file mode 100644 |
26 |
index 876a9ce31cd5..000000000000 |
27 |
--- a/net-misc/lldpd/files/lldpd-1.0.10-glibc-2.33.patch |
28 |
+++ /dev/null |
29 |
@@ -1,12 +0,0 @@ |
30 |
-diff --git a/src/daemon/priv-seccomp.c b/src/daemon/priv-seccomp.c |
31 |
-index 6d2736a..533f6fe 100644 |
32 |
---- a/src/daemon/priv-seccomp.c |
33 |
-+++ b/src/daemon/priv-seccomp.c |
34 |
-@@ -180,6 +180,7 @@ priv_seccomp_init(int remote, int child) |
35 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(mmap), 0)) < 0 || |
36 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(munmap), 0)) < 0 || |
37 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fstat), 0)) < 0 || |
38 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(newfstatat), 0)) < 0 || |
39 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(connect), 0)) < 0 || |
40 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(futex), 0)) < 0 || |
41 |
- |
42 |
|
43 |
diff --git a/net-misc/lldpd/files/lldpd-1.0.13-glibc-2.33.patch b/net-misc/lldpd/files/lldpd-1.0.13-glibc-2.33.patch |
44 |
deleted file mode 100644 |
45 |
index 68f3592ec9b6..000000000000 |
46 |
--- a/net-misc/lldpd/files/lldpd-1.0.13-glibc-2.33.patch |
47 |
+++ /dev/null |
48 |
@@ -1,19 +0,0 @@ |
49 |
-https://bugs.gentoo.org/827736 |
50 |
-https://github.com/lldpd/lldpd/commit/e57bf5ea66a70ff87bba5c39c0e10c071b4af824 |
51 |
- |
52 |
-From: Benedikt Neuffer <benedikt.neuffer@×××.edu> |
53 |
-Date: Sat, 27 Nov 2021 17:07:50 +0100 |
54 |
-Subject: [PATCH] linux: add missing SECCOMP rules |
55 |
- |
56 |
-Signed-off-by: Benedikt Neuffer <benedikt.neuffer@×××.edu> |
57 |
---- a/src/daemon/priv-seccomp.c |
58 |
-+++ b/src/daemon/priv-seccomp.c |
59 |
-@@ -176,6 +176,8 @@ priv_seccomp_init(int remote, int child) |
60 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(sendmmsg), 0)) < 0 || |
61 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(clock_gettime), 0)) < 0 || |
62 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(gettimeofday), 0)) < 0 || |
63 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(newfstatat), 0)) < 0 || |
64 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(pread64), 0)) < 0 || |
65 |
- /* The following are for resolving addresses */ |
66 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(mmap), 0)) < 0 || |
67 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(munmap), 0)) < 0 || |
68 |
|
69 |
diff --git a/net-misc/lldpd/files/lldpd-1.0.13-r2-glibc-2.33.patch b/net-misc/lldpd/files/lldpd-1.0.13-r2-glibc-2.33.patch |
70 |
deleted file mode 100644 |
71 |
index 62f8cdc2e62b..000000000000 |
72 |
--- a/net-misc/lldpd/files/lldpd-1.0.13-r2-glibc-2.33.patch |
73 |
+++ /dev/null |
74 |
@@ -1,50 +0,0 @@ |
75 |
-https://github.com/lldpd/lldpd/commit/0ea4b1a5e0e9c35d960145d25166e92a9990227f |
76 |
-https://github.com/lldpd/lldpd/commit/1def824404cfcab9f64b687da1cb7a4b4b51bbe0 |
77 |
- |
78 |
-From: Antonio Quartulli <a@××××××××.cc> |
79 |
-Date: Sun, 9 Jan 2022 15:24:55 +0100 |
80 |
-Subject: [PATCH] linux: add access syscall to seccomp rules |
81 |
- |
82 |
-Signed-off-by: Antonio Quartulli <a@××××××××.cc> |
83 |
---- a/src/daemon/priv-seccomp.c |
84 |
-+++ b/src/daemon/priv-seccomp.c |
85 |
-@@ -178,6 +178,7 @@ priv_seccomp_init(int remote, int child) |
86 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(gettimeofday), 0)) < 0 || |
87 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(newfstatat), 0)) < 0 || |
88 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(pread64), 0)) < 0 || |
89 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(access), 0)) < 0 || |
90 |
- /* The following are for resolving addresses */ |
91 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(mmap), 0)) < 0 || |
92 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(munmap), 0)) < 0 || |
93 |
- |
94 |
-From: David Sastre Medina <d.sastre.medina@×××××.com> |
95 |
-Date: Tue, 11 Jan 2022 14:55:05 +0100 |
96 |
-Subject: [PATCH] daemon: add additional syscalls to SECCOMP filter when |
97 |
- running in the foreground |
98 |
- |
99 |
-Running lldpd in the foreground as follows: |
100 |
- |
101 |
-strace -c /usr/sbin/lldpd -d -cfse -D -C lldpd-peer -I lldpd-peer \ |
102 |
- -S lldpd-system-name -m 192.168.50.6 |
103 |
- |
104 |
-Requires additional syscalls to be filtered (non relevant syscalls removed): |
105 |
- |
106 |
-% time seconds usecs/call calls errors syscall |
107 |
------- ----------- ----------- --------- --------- ---------------- |
108 |
- 0.47 0.000026 6 4 ppoll |
109 |
- 0.33 0.000018 3 5 rt_sigprocmask |
110 |
- 0.27 0.000015 3 4 getsockopt |
111 |
------- ----------- ----------- --------- --------- ---------------- |
112 |
-100.00 0.005520 8 637 22 total |
113 |
---- a/src/daemon/priv-seccomp.c |
114 |
-+++ b/src/daemon/priv-seccomp.c |
115 |
-@@ -179,6 +179,9 @@ priv_seccomp_init(int remote, int child) |
116 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(newfstatat), 0)) < 0 || |
117 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(pread64), 0)) < 0 || |
118 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(access), 0)) < 0 || |
119 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(rt_sigprocmask), 0)) < 0 || |
120 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(getsockopt), 0)) < 0 || |
121 |
-+ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(ppoll), 0)) < 0 || |
122 |
- /* The following are for resolving addresses */ |
123 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(mmap), 0)) < 0 || |
124 |
- (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(munmap), 0)) < 0 || |
125 |
|
126 |
diff --git a/net-misc/lldpd/lldpd-1.0.10-r1.ebuild b/net-misc/lldpd/lldpd-1.0.10-r1.ebuild |
127 |
deleted file mode 100644 |
128 |
index ac13394b280f..000000000000 |
129 |
--- a/net-misc/lldpd/lldpd-1.0.10-r1.ebuild |
130 |
+++ /dev/null |
131 |
@@ -1,105 +0,0 @@ |
132 |
-# Copyright 1999-2022 Gentoo Authors |
133 |
-# Distributed under the terms of the GNU General Public License v2 |
134 |
- |
135 |
-EAPI=7 |
136 |
- |
137 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
138 |
- |
139 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
140 |
-HOMEPAGE="https://lldpd.github.io/" |
141 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
142 |
- |
143 |
-LICENSE="ISC" |
144 |
-SLOT="0/4.9.0" |
145 |
-KEYWORDS="~amd64 ~x86" |
146 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
147 |
- seccomp sonmp snmp static-libs test readline xml" |
148 |
-RESTRICT="!test? ( test )" |
149 |
- |
150 |
-RDEPEND=" |
151 |
- acct-group/lldpd |
152 |
- acct-user/lldpd |
153 |
- dev-libs/libbsd |
154 |
- >=dev-libs/libevent-2.1.11:= |
155 |
- sys-libs/readline:0= |
156 |
- seccomp? ( sys-libs/libseccomp:= ) |
157 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
158 |
- xml? ( dev-libs/libxml2:= ) |
159 |
-" |
160 |
-DEPEND="${RDEPEND} |
161 |
- test? ( dev-libs/check ) |
162 |
-" |
163 |
-BDEPEND="virtual/pkgconfig |
164 |
- doc? ( |
165 |
- graph? ( app-doc/doxygen[dot] ) |
166 |
- !graph? ( app-doc/doxygen ) |
167 |
- ) |
168 |
-" |
169 |
- |
170 |
-REQUIRED_USE="graph? ( doc )" |
171 |
- |
172 |
-PATCHES=( |
173 |
- "${FILESDIR}/lldpd-1.0.10-glibc-2.33.patch" |
174 |
-) |
175 |
- |
176 |
-src_prepare() { |
177 |
- default |
178 |
- |
179 |
- eautoreconf |
180 |
- elibtoolize |
181 |
-} |
182 |
- |
183 |
-src_configure() { |
184 |
- econf \ |
185 |
- --without-embedded-libevent \ |
186 |
- --with-privsep-user=${PN} \ |
187 |
- --with-privsep-group=${PN} \ |
188 |
- --with-privsep-chroot=/run/${PN} \ |
189 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
190 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
191 |
- $(use_enable cdp) \ |
192 |
- $(use_enable doc doxygen-man) \ |
193 |
- $(use_enable doc doxygen-pdf) \ |
194 |
- $(use_enable doc doxygen-html) \ |
195 |
- $(use_enable dot1) \ |
196 |
- $(use_enable dot3) \ |
197 |
- $(use_enable edp) \ |
198 |
- $(use_enable fdp) \ |
199 |
- $(use_enable graph doxygen-dot) \ |
200 |
- $(use_enable lldpmed) \ |
201 |
- $(use_enable old-kernel oldies) \ |
202 |
- $(use_enable sonmp) \ |
203 |
- $(use_enable static-libs static) \ |
204 |
- $(use_with readline) \ |
205 |
- $(use_enable sanitizers) \ |
206 |
- $(use_with seccomp) \ |
207 |
- $(use_with snmp) \ |
208 |
- $(use_with xml) |
209 |
-} |
210 |
- |
211 |
-src_compile() { |
212 |
- emake |
213 |
- use doc && emake doxygen-doc |
214 |
-} |
215 |
- |
216 |
-src_install() { |
217 |
- emake DESTDIR="${D}" install |
218 |
- find "${D}" -name '*.la' -delete || die |
219 |
- |
220 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
221 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
222 |
- newbashcomp src/client/completion/lldpcli lldpcli |
223 |
- |
224 |
- use doc && dodoc -r doxygen/html |
225 |
- |
226 |
- insinto /etc |
227 |
- doins "${FILESDIR}/lldpd.conf" |
228 |
- keepdir /etc/${PN}.d |
229 |
- |
230 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
231 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
232 |
-} |
233 |
- |
234 |
-pkg_postinst() { |
235 |
- tmpfiles_process ${PN}.conf |
236 |
-} |
237 |
|
238 |
diff --git a/net-misc/lldpd/lldpd-1.0.11-r1.ebuild b/net-misc/lldpd/lldpd-1.0.11-r1.ebuild |
239 |
deleted file mode 100644 |
240 |
index 141fd8ee4ac3..000000000000 |
241 |
--- a/net-misc/lldpd/lldpd-1.0.11-r1.ebuild |
242 |
+++ /dev/null |
243 |
@@ -1,105 +0,0 @@ |
244 |
-# Copyright 1999-2022 Gentoo Authors |
245 |
-# Distributed under the terms of the GNU General Public License v2 |
246 |
- |
247 |
-EAPI=7 |
248 |
- |
249 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
250 |
- |
251 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
252 |
-HOMEPAGE="https://lldpd.github.io/" |
253 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
254 |
- |
255 |
-LICENSE="ISC" |
256 |
-SLOT="0/4.9.0" |
257 |
-KEYWORDS="amd64 x86" |
258 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
259 |
- seccomp sonmp snmp static-libs test readline xml" |
260 |
-RESTRICT="!test? ( test )" |
261 |
- |
262 |
-RDEPEND=" |
263 |
- acct-group/lldpd |
264 |
- acct-user/lldpd |
265 |
- dev-libs/libbsd |
266 |
- >=dev-libs/libevent-2.1.11:= |
267 |
- sys-libs/readline:0= |
268 |
- seccomp? ( sys-libs/libseccomp:= ) |
269 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
270 |
- xml? ( dev-libs/libxml2:= ) |
271 |
-" |
272 |
-DEPEND="${RDEPEND} |
273 |
- test? ( dev-libs/check ) |
274 |
-" |
275 |
-BDEPEND="virtual/pkgconfig |
276 |
- doc? ( |
277 |
- graph? ( app-doc/doxygen[dot] ) |
278 |
- !graph? ( app-doc/doxygen ) |
279 |
- ) |
280 |
-" |
281 |
- |
282 |
-REQUIRED_USE="graph? ( doc )" |
283 |
- |
284 |
-PATCHES=( |
285 |
- "${FILESDIR}/lldpd-1.0.10-glibc-2.33.patch" |
286 |
-) |
287 |
- |
288 |
-src_prepare() { |
289 |
- default |
290 |
- |
291 |
- eautoreconf |
292 |
- elibtoolize |
293 |
-} |
294 |
- |
295 |
-src_configure() { |
296 |
- econf \ |
297 |
- --without-embedded-libevent \ |
298 |
- --with-privsep-user=${PN} \ |
299 |
- --with-privsep-group=${PN} \ |
300 |
- --with-privsep-chroot=/run/${PN} \ |
301 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
302 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
303 |
- $(use_enable cdp) \ |
304 |
- $(use_enable doc doxygen-man) \ |
305 |
- $(use_enable doc doxygen-pdf) \ |
306 |
- $(use_enable doc doxygen-html) \ |
307 |
- $(use_enable dot1) \ |
308 |
- $(use_enable dot3) \ |
309 |
- $(use_enable edp) \ |
310 |
- $(use_enable fdp) \ |
311 |
- $(use_enable graph doxygen-dot) \ |
312 |
- $(use_enable lldpmed) \ |
313 |
- $(use_enable old-kernel oldies) \ |
314 |
- $(use_enable sonmp) \ |
315 |
- $(use_enable static-libs static) \ |
316 |
- $(use_with readline) \ |
317 |
- $(use_enable sanitizers) \ |
318 |
- $(use_with seccomp) \ |
319 |
- $(use_with snmp) \ |
320 |
- $(use_with xml) |
321 |
-} |
322 |
- |
323 |
-src_compile() { |
324 |
- emake |
325 |
- use doc && emake doxygen-doc |
326 |
-} |
327 |
- |
328 |
-src_install() { |
329 |
- emake DESTDIR="${D}" install |
330 |
- find "${D}" -name '*.la' -delete || die |
331 |
- |
332 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
333 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
334 |
- newbashcomp src/client/completion/lldpcli lldpcli |
335 |
- |
336 |
- use doc && dodoc -r doxygen/html |
337 |
- |
338 |
- insinto /etc |
339 |
- doins "${FILESDIR}/lldpd.conf" |
340 |
- keepdir /etc/${PN}.d |
341 |
- |
342 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
343 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
344 |
-} |
345 |
- |
346 |
-pkg_postinst() { |
347 |
- tmpfiles_process ${PN}.conf |
348 |
-} |
349 |
|
350 |
diff --git a/net-misc/lldpd/lldpd-1.0.12-r1.ebuild b/net-misc/lldpd/lldpd-1.0.12-r1.ebuild |
351 |
deleted file mode 100644 |
352 |
index ab5b19cd63ee..000000000000 |
353 |
--- a/net-misc/lldpd/lldpd-1.0.12-r1.ebuild |
354 |
+++ /dev/null |
355 |
@@ -1,105 +0,0 @@ |
356 |
-# Copyright 1999-2022 Gentoo Authors |
357 |
-# Distributed under the terms of the GNU General Public License v2 |
358 |
- |
359 |
-EAPI=7 |
360 |
- |
361 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
362 |
- |
363 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
364 |
-HOMEPAGE="https://lldpd.github.io/" |
365 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
366 |
- |
367 |
-LICENSE="ISC" |
368 |
-SLOT="0/4.9.0" |
369 |
-KEYWORDS="amd64 ~x86" |
370 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
371 |
- seccomp sonmp snmp static-libs test readline xml" |
372 |
-RESTRICT="!test? ( test )" |
373 |
- |
374 |
-RDEPEND=" |
375 |
- acct-group/lldpd |
376 |
- acct-user/lldpd |
377 |
- dev-libs/libbsd |
378 |
- >=dev-libs/libevent-2.1.11:= |
379 |
- sys-libs/readline:0= |
380 |
- seccomp? ( sys-libs/libseccomp:= ) |
381 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
382 |
- xml? ( dev-libs/libxml2:= ) |
383 |
-" |
384 |
-DEPEND="${RDEPEND} |
385 |
- test? ( dev-libs/check ) |
386 |
-" |
387 |
-BDEPEND="virtual/pkgconfig |
388 |
- doc? ( |
389 |
- graph? ( app-doc/doxygen[dot] ) |
390 |
- !graph? ( app-doc/doxygen ) |
391 |
- ) |
392 |
-" |
393 |
- |
394 |
-REQUIRED_USE="graph? ( doc )" |
395 |
- |
396 |
-PATCHES=( |
397 |
- "${FILESDIR}/${PN}-1.0.13-glibc-2.33.patch" |
398 |
-) |
399 |
- |
400 |
-src_prepare() { |
401 |
- default |
402 |
- |
403 |
- eautoreconf |
404 |
- elibtoolize |
405 |
-} |
406 |
- |
407 |
-src_configure() { |
408 |
- econf \ |
409 |
- --without-embedded-libevent \ |
410 |
- --with-privsep-user=${PN} \ |
411 |
- --with-privsep-group=${PN} \ |
412 |
- --with-privsep-chroot=/run/${PN} \ |
413 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
414 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
415 |
- $(use_enable cdp) \ |
416 |
- $(use_enable doc doxygen-man) \ |
417 |
- $(use_enable doc doxygen-pdf) \ |
418 |
- $(use_enable doc doxygen-html) \ |
419 |
- $(use_enable dot1) \ |
420 |
- $(use_enable dot3) \ |
421 |
- $(use_enable edp) \ |
422 |
- $(use_enable fdp) \ |
423 |
- $(use_enable graph doxygen-dot) \ |
424 |
- $(use_enable lldpmed) \ |
425 |
- $(use_enable old-kernel oldies) \ |
426 |
- $(use_enable sonmp) \ |
427 |
- $(use_enable static-libs static) \ |
428 |
- $(use_with readline) \ |
429 |
- $(use_enable sanitizers) \ |
430 |
- $(use_with seccomp) \ |
431 |
- $(use_with snmp) \ |
432 |
- $(use_with xml) |
433 |
-} |
434 |
- |
435 |
-src_compile() { |
436 |
- emake |
437 |
- use doc && emake doxygen-doc |
438 |
-} |
439 |
- |
440 |
-src_install() { |
441 |
- emake DESTDIR="${D}" install |
442 |
- find "${D}" -name '*.la' -delete || die |
443 |
- |
444 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
445 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
446 |
- newbashcomp src/client/completion/lldpcli lldpcli |
447 |
- |
448 |
- use doc && dodoc -r doxygen/html |
449 |
- |
450 |
- insinto /etc |
451 |
- doins "${FILESDIR}/lldpd.conf" |
452 |
- keepdir /etc/${PN}.d |
453 |
- |
454 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
455 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
456 |
-} |
457 |
- |
458 |
-pkg_postinst() { |
459 |
- tmpfiles_process ${PN}.conf |
460 |
-} |
461 |
|
462 |
diff --git a/net-misc/lldpd/lldpd-1.0.13-r1.ebuild b/net-misc/lldpd/lldpd-1.0.13-r1.ebuild |
463 |
deleted file mode 100644 |
464 |
index 2c150aae8d94..000000000000 |
465 |
--- a/net-misc/lldpd/lldpd-1.0.13-r1.ebuild |
466 |
+++ /dev/null |
467 |
@@ -1,105 +0,0 @@ |
468 |
-# Copyright 1999-2022 Gentoo Authors |
469 |
-# Distributed under the terms of the GNU General Public License v2 |
470 |
- |
471 |
-EAPI=7 |
472 |
- |
473 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
474 |
- |
475 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
476 |
-HOMEPAGE="https://lldpd.github.io/" |
477 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
478 |
- |
479 |
-LICENSE="ISC" |
480 |
-SLOT="0/4.9.0" |
481 |
-KEYWORDS="~amd64 ~x86" |
482 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
483 |
- seccomp sonmp snmp static-libs test readline xml" |
484 |
-RESTRICT="!test? ( test )" |
485 |
- |
486 |
-RDEPEND=" |
487 |
- acct-group/lldpd |
488 |
- acct-user/lldpd |
489 |
- dev-libs/libbsd |
490 |
- >=dev-libs/libevent-2.1.11:= |
491 |
- sys-libs/readline:0= |
492 |
- seccomp? ( sys-libs/libseccomp:= ) |
493 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
494 |
- xml? ( dev-libs/libxml2:= ) |
495 |
-" |
496 |
-DEPEND="${RDEPEND} |
497 |
- test? ( dev-libs/check ) |
498 |
-" |
499 |
-BDEPEND="virtual/pkgconfig |
500 |
- doc? ( |
501 |
- graph? ( app-doc/doxygen[dot] ) |
502 |
- !graph? ( app-doc/doxygen ) |
503 |
- ) |
504 |
-" |
505 |
- |
506 |
-REQUIRED_USE="graph? ( doc )" |
507 |
- |
508 |
-PATCHES=( |
509 |
- # Can drop this on next release; upstream. |
510 |
- "${FILESDIR}/${P}-glibc-2.33.patch" |
511 |
-) |
512 |
- |
513 |
-src_prepare() { |
514 |
- default |
515 |
- |
516 |
- eautoreconf |
517 |
-} |
518 |
- |
519 |
-src_configure() { |
520 |
- econf \ |
521 |
- --without-embedded-libevent \ |
522 |
- --with-privsep-user=${PN} \ |
523 |
- --with-privsep-group=${PN} \ |
524 |
- --with-privsep-chroot=/run/${PN} \ |
525 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
526 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
527 |
- $(use_enable cdp) \ |
528 |
- $(use_enable doc doxygen-man) \ |
529 |
- $(use_enable doc doxygen-pdf) \ |
530 |
- $(use_enable doc doxygen-html) \ |
531 |
- $(use_enable dot1) \ |
532 |
- $(use_enable dot3) \ |
533 |
- $(use_enable edp) \ |
534 |
- $(use_enable fdp) \ |
535 |
- $(use_enable graph doxygen-dot) \ |
536 |
- $(use_enable lldpmed) \ |
537 |
- $(use_enable old-kernel oldies) \ |
538 |
- $(use_enable sonmp) \ |
539 |
- $(use_enable static-libs static) \ |
540 |
- $(use_with readline) \ |
541 |
- $(use_enable sanitizers) \ |
542 |
- $(use_with seccomp) \ |
543 |
- $(use_with snmp) \ |
544 |
- $(use_with xml) |
545 |
-} |
546 |
- |
547 |
-src_compile() { |
548 |
- emake |
549 |
- use doc && emake doxygen-doc |
550 |
-} |
551 |
- |
552 |
-src_install() { |
553 |
- emake DESTDIR="${D}" install |
554 |
- find "${D}" -name '*.la' -delete || die |
555 |
- |
556 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
557 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
558 |
- newbashcomp src/client/completion/lldpcli lldpcli |
559 |
- |
560 |
- use doc && dodoc -r doxygen/html |
561 |
- |
562 |
- insinto /etc |
563 |
- doins "${FILESDIR}/lldpd.conf" |
564 |
- keepdir /etc/${PN}.d |
565 |
- |
566 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
567 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
568 |
-} |
569 |
- |
570 |
-pkg_postinst() { |
571 |
- tmpfiles_process ${PN}.conf |
572 |
-} |
573 |
|
574 |
diff --git a/net-misc/lldpd/lldpd-1.0.13-r2.ebuild b/net-misc/lldpd/lldpd-1.0.13-r2.ebuild |
575 |
deleted file mode 100644 |
576 |
index 0d977a8c72aa..000000000000 |
577 |
--- a/net-misc/lldpd/lldpd-1.0.13-r2.ebuild |
578 |
+++ /dev/null |
579 |
@@ -1,106 +0,0 @@ |
580 |
-# Copyright 1999-2022 Gentoo Authors |
581 |
-# Distributed under the terms of the GNU General Public License v2 |
582 |
- |
583 |
-EAPI=7 |
584 |
- |
585 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
586 |
- |
587 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
588 |
-HOMEPAGE="https://lldpd.github.io/" |
589 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
590 |
- |
591 |
-LICENSE="ISC" |
592 |
-SLOT="0/4.9.0" |
593 |
-KEYWORDS="~amd64 ~x86" |
594 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
595 |
- seccomp sonmp snmp static-libs test readline xml" |
596 |
-RESTRICT="!test? ( test )" |
597 |
- |
598 |
-RDEPEND=" |
599 |
- acct-group/lldpd |
600 |
- acct-user/lldpd |
601 |
- dev-libs/libbsd |
602 |
- >=dev-libs/libevent-2.1.11:= |
603 |
- sys-libs/readline:0= |
604 |
- seccomp? ( sys-libs/libseccomp:= ) |
605 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
606 |
- xml? ( dev-libs/libxml2:= ) |
607 |
-" |
608 |
-DEPEND="${RDEPEND} |
609 |
- test? ( dev-libs/check ) |
610 |
-" |
611 |
-BDEPEND="virtual/pkgconfig |
612 |
- doc? ( |
613 |
- graph? ( app-doc/doxygen[dot] ) |
614 |
- !graph? ( app-doc/doxygen ) |
615 |
- ) |
616 |
-" |
617 |
- |
618 |
-REQUIRED_USE="graph? ( doc )" |
619 |
- |
620 |
-PATCHES=( |
621 |
- # Can drop both of these on next release; upstream. |
622 |
- "${FILESDIR}/${P}-glibc-2.33.patch" |
623 |
- "${FILESDIR}/${P}-r2-glibc-2.33.patch" |
624 |
-) |
625 |
- |
626 |
-src_prepare() { |
627 |
- default |
628 |
- |
629 |
- eautoreconf |
630 |
-} |
631 |
- |
632 |
-src_configure() { |
633 |
- econf \ |
634 |
- --without-embedded-libevent \ |
635 |
- --with-privsep-user=${PN} \ |
636 |
- --with-privsep-group=${PN} \ |
637 |
- --with-privsep-chroot=/run/${PN} \ |
638 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
639 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
640 |
- $(use_enable cdp) \ |
641 |
- $(use_enable doc doxygen-man) \ |
642 |
- $(use_enable doc doxygen-pdf) \ |
643 |
- $(use_enable doc doxygen-html) \ |
644 |
- $(use_enable dot1) \ |
645 |
- $(use_enable dot3) \ |
646 |
- $(use_enable edp) \ |
647 |
- $(use_enable fdp) \ |
648 |
- $(use_enable graph doxygen-dot) \ |
649 |
- $(use_enable lldpmed) \ |
650 |
- $(use_enable old-kernel oldies) \ |
651 |
- $(use_enable sonmp) \ |
652 |
- $(use_enable static-libs static) \ |
653 |
- $(use_with readline) \ |
654 |
- $(use_enable sanitizers) \ |
655 |
- $(use_with seccomp) \ |
656 |
- $(use_with snmp) \ |
657 |
- $(use_with xml) |
658 |
-} |
659 |
- |
660 |
-src_compile() { |
661 |
- emake |
662 |
- use doc && emake doxygen-doc |
663 |
-} |
664 |
- |
665 |
-src_install() { |
666 |
- emake DESTDIR="${D}" install |
667 |
- find "${D}" -name '*.la' -delete || die |
668 |
- |
669 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
670 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
671 |
- newbashcomp src/client/completion/lldpcli lldpcli |
672 |
- |
673 |
- use doc && dodoc -r doxygen/html |
674 |
- |
675 |
- insinto /etc |
676 |
- doins "${FILESDIR}/lldpd.conf" |
677 |
- keepdir /etc/${PN}.d |
678 |
- |
679 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
680 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
681 |
-} |
682 |
- |
683 |
-pkg_postinst() { |
684 |
- tmpfiles_process ${PN}.conf |
685 |
-} |
686 |
|
687 |
diff --git a/net-misc/lldpd/lldpd-1.0.7-r1.ebuild b/net-misc/lldpd/lldpd-1.0.7-r1.ebuild |
688 |
deleted file mode 100644 |
689 |
index 85d06cae202c..000000000000 |
690 |
--- a/net-misc/lldpd/lldpd-1.0.7-r1.ebuild |
691 |
+++ /dev/null |
692 |
@@ -1,101 +0,0 @@ |
693 |
-# Copyright 1999-2022 Gentoo Authors |
694 |
-# Distributed under the terms of the GNU General Public License v2 |
695 |
- |
696 |
-EAPI=7 |
697 |
- |
698 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
699 |
- |
700 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
701 |
-HOMEPAGE="https://lldpd.github.io/" |
702 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
703 |
- |
704 |
-LICENSE="ISC" |
705 |
-SLOT="0/4.9.0" |
706 |
-KEYWORDS="amd64 x86" |
707 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
708 |
- seccomp sonmp snmp static-libs test readline xml" |
709 |
-RESTRICT="!test? ( test )" |
710 |
- |
711 |
-RDEPEND=" |
712 |
- acct-group/lldpd |
713 |
- acct-user/lldpd |
714 |
- dev-libs/libbsd |
715 |
- >=dev-libs/libevent-2.1.11:= |
716 |
- sys-libs/readline:0= |
717 |
- seccomp? ( sys-libs/libseccomp:= ) |
718 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
719 |
- xml? ( dev-libs/libxml2:= ) |
720 |
-" |
721 |
-DEPEND="${RDEPEND} |
722 |
- test? ( dev-libs/check ) |
723 |
-" |
724 |
-BDEPEND="virtual/pkgconfig |
725 |
- doc? ( |
726 |
- graph? ( app-doc/doxygen[dot] ) |
727 |
- !graph? ( app-doc/doxygen ) |
728 |
- ) |
729 |
-" |
730 |
- |
731 |
-REQUIRED_USE="graph? ( doc )" |
732 |
- |
733 |
-src_prepare() { |
734 |
- default |
735 |
- |
736 |
- eautoreconf |
737 |
- elibtoolize |
738 |
-} |
739 |
- |
740 |
-src_configure() { |
741 |
- econf \ |
742 |
- --without-embedded-libevent \ |
743 |
- --with-privsep-user=${PN} \ |
744 |
- --with-privsep-group=${PN} \ |
745 |
- --with-privsep-chroot=/run/${PN} \ |
746 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
747 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
748 |
- $(use_enable cdp) \ |
749 |
- $(use_enable doc doxygen-man) \ |
750 |
- $(use_enable doc doxygen-pdf) \ |
751 |
- $(use_enable doc doxygen-html) \ |
752 |
- $(use_enable dot1) \ |
753 |
- $(use_enable dot3) \ |
754 |
- $(use_enable edp) \ |
755 |
- $(use_enable fdp) \ |
756 |
- $(use_enable graph doxygen-dot) \ |
757 |
- $(use_enable lldpmed) \ |
758 |
- $(use_enable old-kernel oldies) \ |
759 |
- $(use_enable sonmp) \ |
760 |
- $(use_enable static-libs static) \ |
761 |
- $(use_with readline) \ |
762 |
- $(use_enable sanitizers) \ |
763 |
- $(use_with seccomp) \ |
764 |
- $(use_with snmp) \ |
765 |
- $(use_with xml) |
766 |
-} |
767 |
- |
768 |
-src_compile() { |
769 |
- emake |
770 |
- use doc && emake doxygen-doc |
771 |
-} |
772 |
- |
773 |
-src_install() { |
774 |
- emake DESTDIR="${D}" install |
775 |
- find "${D}" -name '*.la' -delete || die |
776 |
- |
777 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
778 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
779 |
- newbashcomp src/client/completion/lldpcli lldpcli |
780 |
- |
781 |
- use doc && dodoc -r doxygen/html |
782 |
- |
783 |
- insinto /etc |
784 |
- doins "${FILESDIR}/lldpd.conf" |
785 |
- keepdir /etc/${PN}.d |
786 |
- |
787 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
788 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
789 |
-} |
790 |
- |
791 |
-pkg_postinst() { |
792 |
- tmpfiles_process ${PN}.conf |
793 |
-} |
794 |
|
795 |
diff --git a/net-misc/lldpd/lldpd-1.0.9-r1.ebuild b/net-misc/lldpd/lldpd-1.0.9-r1.ebuild |
796 |
deleted file mode 100644 |
797 |
index 371194f50d2f..000000000000 |
798 |
--- a/net-misc/lldpd/lldpd-1.0.9-r1.ebuild |
799 |
+++ /dev/null |
800 |
@@ -1,101 +0,0 @@ |
801 |
-# Copyright 1999-2022 Gentoo Authors |
802 |
-# Distributed under the terms of the GNU General Public License v2 |
803 |
- |
804 |
-EAPI=7 |
805 |
- |
806 |
-inherit systemd bash-completion-r1 autotools tmpfiles |
807 |
- |
808 |
-DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
809 |
-HOMEPAGE="https://lldpd.github.io/" |
810 |
-SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
811 |
- |
812 |
-LICENSE="ISC" |
813 |
-SLOT="0/4.9.0" |
814 |
-KEYWORDS="~amd64 ~x86" |
815 |
-IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers |
816 |
- seccomp sonmp snmp static-libs test readline xml" |
817 |
-RESTRICT="!test? ( test )" |
818 |
- |
819 |
-RDEPEND=" |
820 |
- acct-group/lldpd |
821 |
- acct-user/lldpd |
822 |
- dev-libs/libbsd |
823 |
- >=dev-libs/libevent-2.1.11:= |
824 |
- sys-libs/readline:0= |
825 |
- seccomp? ( sys-libs/libseccomp:= ) |
826 |
- snmp? ( net-analyzer/net-snmp:=[extensible(+)] ) |
827 |
- xml? ( dev-libs/libxml2:= ) |
828 |
-" |
829 |
-DEPEND="${RDEPEND} |
830 |
- test? ( dev-libs/check ) |
831 |
-" |
832 |
-BDEPEND="virtual/pkgconfig |
833 |
- doc? ( |
834 |
- graph? ( app-doc/doxygen[dot] ) |
835 |
- !graph? ( app-doc/doxygen ) |
836 |
- ) |
837 |
-" |
838 |
- |
839 |
-REQUIRED_USE="graph? ( doc )" |
840 |
- |
841 |
-src_prepare() { |
842 |
- default |
843 |
- |
844 |
- eautoreconf |
845 |
- elibtoolize |
846 |
-} |
847 |
- |
848 |
-src_configure() { |
849 |
- econf \ |
850 |
- --without-embedded-libevent \ |
851 |
- --with-privsep-user=${PN} \ |
852 |
- --with-privsep-group=${PN} \ |
853 |
- --with-privsep-chroot=/run/${PN} \ |
854 |
- --with-lldpd-ctl-socket=/run/${PN}.socket \ |
855 |
- --with-lldpd-pid-file=/run/${PN}.pid \ |
856 |
- $(use_enable cdp) \ |
857 |
- $(use_enable doc doxygen-man) \ |
858 |
- $(use_enable doc doxygen-pdf) \ |
859 |
- $(use_enable doc doxygen-html) \ |
860 |
- $(use_enable dot1) \ |
861 |
- $(use_enable dot3) \ |
862 |
- $(use_enable edp) \ |
863 |
- $(use_enable fdp) \ |
864 |
- $(use_enable graph doxygen-dot) \ |
865 |
- $(use_enable lldpmed) \ |
866 |
- $(use_enable old-kernel oldies) \ |
867 |
- $(use_enable sonmp) \ |
868 |
- $(use_enable static-libs static) \ |
869 |
- $(use_with readline) \ |
870 |
- $(use_enable sanitizers) \ |
871 |
- $(use_with seccomp) \ |
872 |
- $(use_with snmp) \ |
873 |
- $(use_with xml) |
874 |
-} |
875 |
- |
876 |
-src_compile() { |
877 |
- emake |
878 |
- use doc && emake doxygen-doc |
879 |
-} |
880 |
- |
881 |
-src_install() { |
882 |
- emake DESTDIR="${D}" install |
883 |
- find "${D}" -name '*.la' -delete || die |
884 |
- |
885 |
- newinitd "${FILESDIR}"/${PN}-initd-5 ${PN} |
886 |
- newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
887 |
- newbashcomp src/client/completion/lldpcli lldpcli |
888 |
- |
889 |
- use doc && dodoc -r doxygen/html |
890 |
- |
891 |
- insinto /etc |
892 |
- doins "${FILESDIR}/lldpd.conf" |
893 |
- keepdir /etc/${PN}.d |
894 |
- |
895 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
896 |
- newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf |
897 |
-} |
898 |
- |
899 |
-pkg_postinst() { |
900 |
- tmpfiles_process ${PN}.conf |
901 |
-} |