Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/synscan/, net-analyzer/synscan/files/
Date: Tue, 29 Nov 2022 00:00:02
Message-Id: 1669679974.d7b3bf2ee1c173f694d93bf46155576349fbcf4c.ionen@gentoo
1 commit: d7b3bf2ee1c173f694d93bf46155576349fbcf4c
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 23:44:53 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 23:59:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b3bf2e
7
8 net-analyzer/synscan: EAPI7->8, fix w/ lld
9
10 Closes: https://bugs.gentoo.org/875017
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 net-analyzer/synscan/files/synscan-5.02-lld.patch | 9 +++++++++
14 net-analyzer/synscan/synscan-5.02.ebuild | 10 +++++-----
15 2 files changed, 14 insertions(+), 5 deletions(-)
16
17 diff --git a/net-analyzer/synscan/files/synscan-5.02-lld.patch b/net-analyzer/synscan/files/synscan-5.02-lld.patch
18 new file mode 100644
19 index 000000000000..612e91599984
20 --- /dev/null
21 +++ b/net-analyzer/synscan/files/synscan-5.02-lld.patch
22 @@ -0,0 +1,9 @@
23 +lld does not ignore erroneous libdirs (ideally should use pkg-config)
24 +https://bugs.gentoo.org/875017
25 +--- a/configure.in
26 ++++ b/configure.in
27 +@@ -60,3 +60,3 @@
28 + CFLAGS="$CFLAGS -I${prefix}/include"
29 +- LIBS="$LIBS -L${prefix}/lib -lpcap"
30 ++ LIBS="$LIBS -lpcap"
31 + elif test -f /usr/include/pcap/pcap.h; then
32
33 diff --git a/net-analyzer/synscan/synscan-5.02.ebuild b/net-analyzer/synscan/synscan-5.02.ebuild
34 index d8b2dba2efc9..5d38f8710526 100644
35 --- a/net-analyzer/synscan/synscan-5.02.ebuild
36 +++ b/net-analyzer/synscan/synscan-5.02.ebuild
37 @@ -1,15 +1,15 @@
38 # Copyright 1999-2022 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 -EAPI=7
42 +EAPI=8
43
44 inherit autotools
45
46 -DESCRIPTION="A fast asynchronous half-open TCP portscanner"
47 +DESCRIPTION="Fast asynchronous half-open TCP portscanner"
48 HOMEPAGE="http://www.digit-labs.org/files/tools/synscan/"
49 -SRC_URI="http://www.digit-labs.org/files/tools/${PN}/releases/${P}.tar.gz"
50 +SRC_URI="http://www.digit-labs.org/files/tools/synscan/releases/${P}.tar.gz"
51
52 -LICENSE="GPL-2"
53 +LICENSE="GPL-2+"
54 SLOT="0"
55 KEYWORDS="amd64 x86 ~x64-macos"
56
57 @@ -18,12 +18,12 @@ DEPEND="${RDEPEND}"
58
59 PATCHES=(
60 "${FILESDIR}"/${P}-destdir.patch
61 + "${FILESDIR}"/${P}-lld.patch
62 )
63
64 src_prepare() {
65 default
66
67 - mv configure.{in,ac} || die
68 eautoreconf
69 }