1 |
commit: 918b215b922378b2e1c6f29afb3ae83417cb213d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 09:07:24 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 10:20:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=918b215b |
7 |
|
8 |
net-libs/libnetfilter_log: port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../libnetfilter_log/libnetfilter_log-1.0.1.ebuild | 18 +++++++++++------- |
14 |
1 file changed, 11 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libnetfilter_log/libnetfilter_log-1.0.1.ebuild b/net-libs/libnetfilter_log/libnetfilter_log-1.0.1.ebuild |
17 |
index f167de5d796..97c5799a684 100644 |
18 |
--- a/net-libs/libnetfilter_log/libnetfilter_log-1.0.1.ebuild |
19 |
+++ b/net-libs/libnetfilter_log/libnetfilter_log-1.0.1.ebuild |
20 |
@@ -1,24 +1,28 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
-inherit linux-info autotools-utils |
27 |
+EAPI=7 |
28 |
|
29 |
-DESCRIPTION="interface to packets that have been logged by the kernel packet filter" |
30 |
+inherit linux-info |
31 |
+ |
32 |
+DESCRIPTION="Interface to packets that have been logged by the kernel packet filter" |
33 |
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_log/" |
34 |
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" |
35 |
|
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
KEYWORDS="amd64 ~ia64 ppc ~sparc x86" |
39 |
-IUSE="static-libs" |
40 |
|
41 |
+BDEPEND="virtual/pkgconfig" |
42 |
RDEPEND=">=net-libs/libnfnetlink-1.0.0" |
43 |
-DEPEND="${RDEPEND} |
44 |
- virtual/pkgconfig" |
45 |
+DEPEND="${RDEPEND}" |
46 |
|
47 |
CONFIG_CHECK="~NETFILTER_NETLINK_LOG" |
48 |
|
49 |
+src_configure() { |
50 |
+ econf --disable-static |
51 |
+} |
52 |
+ |
53 |
pkg_setup() { |
54 |
linux-info_pkg_setup |
55 |
kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version" |