[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/, net-analyzer/scanssh/files/
commit: 7baeb1155a0e822fc67d778e15f2064a67cfb8dc Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jun 21 18:52:40 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jun 21 18:52:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7baeb115 net-analyzer/scanssh: add 2.1.3.1 Signed-off-by: Arthur Zamarin gentoo.org> net-analyzer/scanssh/Manifest | 1 + .../scanssh/files/scanssh-2.1.3-libdir.diff| 191 + net-analyzer/scanssh/scanssh-2.1.3.1.ebuild| 50 ++ 3 files changed, 242 insertions(+) diff --git a/net-analyzer/scanssh/Manifest b/net-analyzer/scanssh/Manifest index 7ff0d095f83b..fce19ea97a2f 100644 --- a/net-analyzer/scanssh/Manifest +++ b/net-analyzer/scanssh/Manifest @@ -1 +1,2 @@ DIST scanssh-2.1.2.tar.gz 147470 BLAKE2B 4cb31a27dd925f071bcb958fc72bef7b7f0455b7d718a15536dae40cee969739628da64a3972e2c5cc9813ef24c5634ca019571783ea20df87c7df80f32da876 SHA512 af4e705c43156b907d6864b12f5832bb4e43d0ff284e34e96b32bbe7986299954d1175880ffe7588f91a939d140b45592fc72dc2bf397f140aed929dbe44a453 +DIST scanssh-2.1.3.1.tar.gz 147954 BLAKE2B a263eda2d49159e715bb8d2190fc78f8e41d5f3a56e0bf67b70ed716eb787c09cff0ea9e759b5aa62096f75de01d2d5b5980aa66a7c5b14635d835fd3b7c6f07 SHA512 970cbb03aa44fcef62aa03132335e6ecedb083cee98a360b3d781efc8c2d3c169f70c17837b1faaf9ceaa2691a7c619174a9bb185146af50188eaceda5d14adb diff --git a/net-analyzer/scanssh/files/scanssh-2.1.3-libdir.diff b/net-analyzer/scanssh/files/scanssh-2.1.3-libdir.diff new file mode 100644 index ..c34159b3fca7 --- /dev/null +++ b/net-analyzer/scanssh/files/scanssh-2.1.3-libdir.diff @@ -0,0 +1,191 @@ +--- a/configure.ac b/configure.ac +@@ -20,8 +20,8 @@ AC_PROG_CC + AC_PROG_INSTALL + + dnl XXX - Solaris sux. +-AC_CHECK_LIB(socket, socket) +-AC_CHECK_LIB(nsl, gethostbyname) ++AC_SEARCH_LIBS(socket, socket) ++AC_SEARCH_LIBS(gethostbyname, nsl) + + dnl XXX - we need WinPcap developer's pack under Cygwin for win32 + +@@ -33,11 +33,11 @@ case $host_os in + if test -d /usr/include/mingw ; then + CPPFLAGS="$CPPFLAGS -mno-cygwin" + CFLAGS="$CFLAGS -mno-cygwin" +- AC_DEFINE(WIN32_LEAN_AND_MEAN, 1, ++ AC_DEFINE(WIN32_LEAN_AND_MEAN, 1, + [Define for faster code generation.]) + AC_CHECK_LIB(ws2_32, main) + AC_CHECK_LIB(iphlpapi, main) +- AC_DEFINE(snprintf, _snprintf, ++ AC_DEFINE(snprintf, _snprintf, + [Use MingW32's internal snprintf]) + else + AC_MSG_ERROR([need MingW32 package to build under Cygwin]) +@@ -84,92 +84,9 @@ if test $neederr = yes; then +AC_LIBOBJ(err) + fi + +-dnl Checks for libpcap +-AC_MSG_CHECKING(for libpcap) +-AC_ARG_WITH(libpcap, +-[ --with-libpcap=DIR use libpcap build directory], +-[ case "$withval" in +- yes|no) +- AC_MSG_RESULT(no) +- ;; +- *) +- AC_MSG_RESULT($withval) +- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then +-owd=`pwd` +-if cd $withval; then withval=`pwd`; cd $owd; fi +- PCAPINC="-I$withval -I$withval/bpf" +- PCAPLIB="-L$withval -lpcap" +- else +-AC_MSG_ERROR(pcap.h or libpcap.a not found in $withval) +- fi +- ;; +- esac ], +-[ if test -f ${prefix}/include/pcap.h; then +- PCAPINC="-I${prefix}/include" +- PCAPLIB="-L${prefix}/lib -lpcap" +- elif test -f /usr/include/pcap/pcap.h; then +- PCAPINC="-I/usr/include/pcap" +- PCAPLIB="-lpcap" +- elif test -f /usr/include/pcap.h; then +- PCAPLIB="-lpcap" +- else +- AC_MSG_RESULT(no) +- AC_MSG_ERROR(libpcap not found) +- fi +- AC_MSG_RESULT(yes) ] +-) + AC_SUBST(PCAPINC) + AC_SUBST(PCAPLIB) + +-dnl Checks for (installed) libdnet +-AC_ARG_WITH(libdnet, +-[ --with-libdnet=DIR use libdnet in DIR], +-[ case "$withval" in +- yes|no) +- AC_MSG_ERROR(Please specify directory containing dnet-config when using --with-libdnet) +- ;; +- *) +- AC_MSG_CHECKING(for libdnet) +- AC_MSG_RESULT($withval) +- if test -f $withval/src/libdnet.a; then +- DNETINC="-I$withval/include" +- DNETLIB="-L$withval/src -ldnet `$withval/dnet-config --libs`" +- elif test -x $withval/bin/dnet-config; then +- DNETINC="`$withval/bin/dnet-config --cflags`" +- DNETLIB="`$withval/bin/dnet-config --libs`" +- else +-AC_MSG_RESULT(no) +-AC_MSG_ERROR(dnet-config not found in $withval/bin) +- fi +- ;; +- esac +- AC_MSG_RESULT(yes) ], +-[ dnl This is the default case so let's just use AC_PATH_PROG! --CPK. +- AC_PATH_PROG(dnetconfig, dnet-config, "no") +- if test "$dnetconfig" = "no"; then +- AC_MSG_ERROR(dnet-config not found) +- else +- DNETINC="`$dnetconfig --cflags`" +- DNETLIB="`$dnetconfig --libs`" +- fi] +-) +- +-dnl We still need to check whether it's dnet or dumbnet as +-dnl for example on Debian. We test b
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: a7c163a966ec817a17fe8ae740ef50981015b8a8 Author: Alex Fan yahoo com> AuthorDate: Tue Jul 13 05:14:17 2021 + Commit: Yixun Lan gentoo org> CommitDate: Fri Jul 16 01:15:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c163a9 net-analyzer/scanssh: add ~riscv keyword Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alex Fan yahoo.com> Signed-off-by: Yixun Lan gentoo.org> net-analyzer/scanssh/scanssh-2.1.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-analyzer/scanssh/scanssh-2.1.2.ebuild b/net-analyzer/scanssh/scanssh-2.1.2.ebuild index 54e6704..02520623012 100644 --- a/net-analyzer/scanssh/scanssh-2.1.2.ebuild +++ b/net-analyzer/scanssh/scanssh-2.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~hppa ppc ~ppc64 sparc x86" +KEYWORDS="amd64 ~hppa ppc ~ppc64 ~riscv sparc x86" DEPEND=" dev-libs/libdnet
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: bf46b618831866a592276295d89e4023c00ae0d1 Author: Aaron Bauman gentoo org> AuthorDate: Wed Dec 2 17:22:41 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Wed Dec 2 17:22:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf46b618 net-analyzer/scanssh: drop old Signed-off-by: Aaron Bauman gentoo.org> net-analyzer/scanssh/Manifest | 1 - net-analyzer/scanssh/scanssh-2.1-r2.ebuild | 50 -- net-analyzer/scanssh/scanssh-2.1.ebuild| 34 3 files changed, 85 deletions(-) diff --git a/net-analyzer/scanssh/Manifest b/net-analyzer/scanssh/Manifest index b8290cc75d1..7ff0d095f83 100644 --- a/net-analyzer/scanssh/Manifest +++ b/net-analyzer/scanssh/Manifest @@ -1,2 +1 @@ DIST scanssh-2.1.2.tar.gz 147470 BLAKE2B 4cb31a27dd925f071bcb958fc72bef7b7f0455b7d718a15536dae40cee969739628da64a3972e2c5cc9813ef24c5634ca019571783ea20df87c7df80f32da876 SHA512 af4e705c43156b907d6864b12f5832bb4e43d0ff284e34e96b32bbe7986299954d1175880ffe7588f91a939d140b45592fc72dc2bf397f140aed929dbe44a453 -DIST scanssh-2.1.tar.gz 111481 BLAKE2B 08ba8439cd02d597647f865fed68ef9eb32d63726f8d14bebe3b58a067b56eee70e01a1a7911ce69cf4466c0863d92d5d22e0202bb1cc60426ac283855438079 SHA512 1ddff6f8e51735bab28032c8d7cbb641ff0cd19a404a27ab489589ef1e30e3721dd486854eb4fef15368cc53f10c9c2650ffaf7fa7f767dc2202fcc5540ae59c diff --git a/net-analyzer/scanssh/scanssh-2.1-r2.ebuild b/net-analyzer/scanssh/scanssh-2.1-r2.ebuild deleted file mode 100644 index 954e6059dec..000 --- a/net-analyzer/scanssh/scanssh-2.1-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="network scanner that gathers info on SSH protocols and versions" -HOMEPAGE="https://monkey.org/~provos/scanssh/"; -SRC_URI="https://monkey.org/~provos/${P}.tar.gz"; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" - -DEPEND=" - dev-libs/libdnet - dev-libs/libevent:= - net-libs/libpcap -" -RDEPEND=" - ${DEPEND} -" -PATCHES=( - "${FILESDIR}"/${PN}-2.0-fix-warnings.diff - "${FILESDIR}"/${PN}-2.0-libdir.diff -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - DNETINC='' \ - DNETLIB=-ldnet \ - EVENTINC='' \ - EVENTLIB=-levent \ - PCAPINC='' \ - PCAPLIB=-lpcap -} - -src_compile() { - emake CFLAGS="${CFLAGS}" -} - -src_install() { - dobin scanssh - doman scanssh.1 -} diff --git a/net-analyzer/scanssh/scanssh-2.1.ebuild b/net-analyzer/scanssh/scanssh-2.1.ebuild deleted file mode 100644 index d154e29437a..000 --- a/net-analyzer/scanssh/scanssh-2.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils - -DESCRIPTION="network scanner that gathers info on SSH protocols and versions" -HOMEPAGE="https://monkey.org/~provos/scanssh/"; -SRC_URI="https://monkey.org/~provos/${P}.tar.gz"; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 hppa ppc ~ppc64 sparc x86" - -DEPEND=" - dev-libs/libdnet - dev-libs/libevent - net-libs/libpcap -" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.0-fix-warnings.diff - touch configure -} - -src_compile() { - emake CFLAGS="${CFLAGS}" -} - -src_install() { - dobin scanssh - doman scanssh.1 -}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: c56577ab1302268d7ba90f5406b74b0e46ed099d Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 27 08:38:07 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 27 08:38:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56577ab net-analyzer/scanssh: amd64 stable wrt bug #757042 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-analyzer/scanssh/scanssh-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/scanssh/scanssh-2.1.2.ebuild b/net-analyzer/scanssh/scanssh-2.1.2.ebuild index 2473c725d2f..54e6704 100644 --- a/net-analyzer/scanssh/scanssh-2.1.2.ebuild +++ b/net-analyzer/scanssh/scanssh-2.1.2.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~hppa ppc ~ppc64 sparc x86" +KEYWORDS="amd64 ~hppa ppc ~ppc64 sparc x86" DEPEND=" dev-libs/libdnet
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: 4cd1d25aff8fae48327b7973781abaa0eceedef5 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 27 08:06:14 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 27 08:06:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd1d25a net-analyzer/scanssh: ppc stable wrt bug #757042 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> net-analyzer/scanssh/scanssh-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/scanssh/scanssh-2.1.2.ebuild b/net-analyzer/scanssh/scanssh-2.1.2.ebuild index fd7d0b05080..2473c725d2f 100644 --- a/net-analyzer/scanssh/scanssh-2.1.2.ebuild +++ b/net-analyzer/scanssh/scanssh-2.1.2.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 sparc x86" +KEYWORDS="~amd64 ~hppa ppc ~ppc64 sparc x86" DEPEND=" dev-libs/libdnet
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: b7c84ff8de4c803e88dc776fba33ed701b84c130 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 27 07:56:19 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 27 07:56:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c84ff8 net-analyzer/scanssh: sparc stable wrt bug #757042 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> net-analyzer/scanssh/scanssh-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/scanssh/scanssh-2.1.2.ebuild b/net-analyzer/scanssh/scanssh-2.1.2.ebuild index 9b87615c2ee..fd7d0b05080 100644 --- a/net-analyzer/scanssh/scanssh-2.1.2.ebuild +++ b/net-analyzer/scanssh/scanssh-2.1.2.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 sparc x86" DEPEND=" dev-libs/libdnet
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: 7cfcff34d43eb8955961e61ecc4d9f7a00abb529 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Nov 26 23:41:14 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Nov 26 23:44:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cfcff34 net-analyzer/scanssh: x86 stable (bug #757042) Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> net-analyzer/scanssh/scanssh-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/scanssh/scanssh-2.1.2.ebuild b/net-analyzer/scanssh/scanssh-2.1.2.ebuild index 2e596b229bd..9b87615c2ee 100644 --- a/net-analyzer/scanssh/scanssh-2.1.2.ebuild +++ b/net-analyzer/scanssh/scanssh-2.1.2.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc x86" DEPEND=" dev-libs/libdnet
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: d6c9ce3966fb7eb89372953f374fb9a7c45b7975 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Sep 3 06:16:28 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Thu Sep 3 07:31:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c9ce39 net-analyzer/scanssh: Version 2.1.2 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/scanssh/Manifest | 1 + net-analyzer/scanssh/scanssh-2.1.2.ebuild | 50 +++ 2 files changed, 51 insertions(+) diff --git a/net-analyzer/scanssh/Manifest b/net-analyzer/scanssh/Manifest index c1452b7f009..b8290cc75d1 100644 --- a/net-analyzer/scanssh/Manifest +++ b/net-analyzer/scanssh/Manifest @@ -1 +1,2 @@ +DIST scanssh-2.1.2.tar.gz 147470 BLAKE2B 4cb31a27dd925f071bcb958fc72bef7b7f0455b7d718a15536dae40cee969739628da64a3972e2c5cc9813ef24c5634ca019571783ea20df87c7df80f32da876 SHA512 af4e705c43156b907d6864b12f5832bb4e43d0ff284e34e96b32bbe7986299954d1175880ffe7588f91a939d140b45592fc72dc2bf397f140aed929dbe44a453 DIST scanssh-2.1.tar.gz 111481 BLAKE2B 08ba8439cd02d597647f865fed68ef9eb32d63726f8d14bebe3b58a067b56eee70e01a1a7911ce69cf4466c0863d92d5d22e0202bb1cc60426ac283855438079 SHA512 1ddff6f8e51735bab28032c8d7cbb641ff0cd19a404a27ab489589ef1e30e3721dd486854eb4fef15368cc53f10c9c2650ffaf7fa7f767dc2202fcc5540ae59c diff --git a/net-analyzer/scanssh/scanssh-2.1.2.ebuild b/net-analyzer/scanssh/scanssh-2.1.2.ebuild new file mode 100644 index 000..2e596b229bd --- /dev/null +++ b/net-analyzer/scanssh/scanssh-2.1.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="network scanner that gathers info on SSH protocols and versions" +HOMEPAGE="https://github.com/ofalk/scanssh/"; +SRC_URI="https://github.com/ofalk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + dev-libs/libdnet + dev-libs/libevent:= + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-2.0-fix-warnings.diff + "${FILESDIR}"/${PN}-2.0-libdir.diff +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + DNETINC='' \ + DNETLIB=-ldnet \ + EVENTINC='' \ + EVENTLIB=-levent \ + PCAPINC='' \ + PCAPLIB=-lpcap +} + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + +src_install() { + dobin scanssh + doman scanssh.1 +}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/files/, net-analyzer/scanssh/
commit: ce597f4ec51eca5cf22fb914e45c770cf2f57f8c Author: Jeroen Roovers gentoo org> AuthorDate: Tue Jul 7 08:20:34 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Jul 7 08:21:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce597f4e net-analyzer/scanssh: Fix libdir checks Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://bugs.gentoo.org/731178 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/scanssh/files/scanssh-2.0-libdir.diff | 177 + ...scanssh-2.1-r1.ebuild => scanssh-2.1-r2.ebuild} | 16 +- 2 files changed, 191 insertions(+), 2 deletions(-) diff --git a/net-analyzer/scanssh/files/scanssh-2.0-libdir.diff b/net-analyzer/scanssh/files/scanssh-2.0-libdir.diff new file mode 100644 index 000..23cb3c72271 --- /dev/null +++ b/net-analyzer/scanssh/files/scanssh-2.0-libdir.diff @@ -0,0 +1,177 @@ +--- a/configure.in b/configure.in +@@ -20,8 +20,8 @@ + AC_PROG_INSTALL + + dnl XXX - Solaris sux. +-AC_CHECK_LIB(socket, socket) +-AC_CHECK_LIB(nsl, gethostbyname) ++AC_SEARCH_LIBS(socket, socket) ++AC_SEARCH_LIBS(gethostbyname, nsl) + + dnl XXX - we need WinPcap developer's pack under Cygwin for win32 + AC_CYGWIN +@@ -77,92 +77,9 @@ +AC_LIBOBJ(err) + fi + +-dnl Checks for libpcap +-AC_MSG_CHECKING(for libpcap) +-AC_ARG_WITH(libpcap, +-[ --with-libpcap=DIR use libpcap build directory], +-[ case "$withval" in +- yes|no) +- AC_MSG_RESULT(no) +- ;; +- *) +- AC_MSG_RESULT($withval) +- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then +-owd=`pwd` +-if cd $withval; then withval=`pwd`; cd $owd; fi +- PCAPINC="-I$withval -I$withval/bpf" +- PCAPLIB="-L$withval -lpcap" +- else +-AC_ERROR(pcap.h or libpcap.a not found in $withval) +- fi +- ;; +- esac ], +-[ if test -f ${prefix}/include/pcap.h; then +- PCAPINC="-I${prefix}/include" +- PCAPLIB="-L${prefix}/lib -lpcap" +- elif test -f /usr/include/pcap/pcap.h; then +- PCAPINC="-I/usr/include/pcap" +- PCAPLIB="-lpcap" +- elif test -f /usr/include/pcap.h; then +- PCAPLIB="-lpcap" +- else +- AC_MSG_RESULT(no) +- AC_ERROR(libpcap not found) +- fi +- AC_MSG_RESULT(yes) ] +-) + AC_SUBST(PCAPINC) + AC_SUBST(PCAPLIB) + +-dnl Checks for (installed) libdnet +-AC_ARG_WITH(libdnet, +-[ --with-libdnet=DIR use libdnet in DIR], +-[ case "$withval" in +- yes|no) +- AC_ERROR([Please specify directory containing dnet-config when using --with-libdnet]) +- ;; +- *) +- AC_MSG_CHECKING(for libdnet) +- AC_MSG_RESULT($withval) +- if test -f $withval/src/libdnet.a; then +- DNETINC="-I$withval/include" +- DNETLIB="-L$withval/src -ldnet `$withval/dnet-config --libs`" +- elif test -x $withval/bin/dnet-config; then +- DNETINC="`$withval/bin/dnet-config --cflags`" +- DNETLIB="`$withval/bin/dnet-config --libs`" +- else +-AC_MSG_RESULT(no) +-AC_ERROR(dnet-config not found in $withval/bin) +- fi +- ;; +- esac +- AC_MSG_RESULT(yes) ], +-[ dnl This is the default case so let's just use AC_PATH_PROG! --CPK. +- AC_PATH_PROG(dnetconfig, dnet-config, "no") +- if test "$dnetconfig" = "no"; then +- AC_ERROR(dnet-config not found) +- else +- DNETINC="`$dnetconfig --cflags`" +- DNETLIB="`$dnetconfig --libs`" +- fi] +-) +- +-dnl We still need to check whether it's dnet or dumbnet as +-dnl for example on Debian. We test by looking at the content +-dnl of DNETLIB and derive from the library name what version +-dnl we're dealing with. If we find a libdumbnet, we prefix +-dnl compat/libdnet to our inclusion path. It provides a dnet.h +-dnl that transparently includes dumbnet.h for those systems. --CPK. +-AC_MSG_CHECKING([whether libdnet is a libdumbnet]) +-if test `echo $DNETLIB | sed -e '/dumb/=;d'`; then +- AC_MSG_RESULT(yes) +- AC_DEFINE(HAVE_DUMBNET, 1, +- [Define if our libdnet is a libdumbnet]) +- DNETCOMPAT="compat/libdnet" +-else +- AC_MSG_RESULT(no) +-fi +- + AC_SUBST(DNETCOMPAT) + AC_SUBST(DNETINC) + AC_SUBST(DNETLIB) +@@ -173,6 +90,7 @@ + else + CFLAGS="-I$DNETCOMPAT $DNETINC" + fi ++save_LIBS=$LIBS + LIBS=$DNETLIB + + AC_MSG_CHECKING(for working addr_pton in libdnet) +@@ -190,61 +108,10 @@ + exit(a1.addr_bits != 0); + }, AC_MSG_RESULT(yes), AC_WARNING(your version of libdnet is buggy - working around it), AC_MSG_RESULT(yes)) + +-dnl Checks for libevent +-AC_MSG_CHECKING(for libevent) +-AC_ARG_WITH(libevent, +-[ --with-libevent=DIR use libevent build directory], +-[ case "$withval" in +- yes|no) +- AC_MSG_RESULT(no) +- ;; +- *) +- AC_MSG_RESULT($withval) +- if test -f $withval/event.h -a -f $withval/libevent.a; then +-owd=`pwd` +-if cd $withval; then withval=`pwd`; cd $owd; fi +-EVENTINC="-I$withval" +-EVENTLIB="-L$withval -levent" +- else +-AC_ERROR(event.h or l
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/scanssh/
commit: 4a5a9b29d67e0cbaed0aae501767abd6d61f2d60 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Aug 6 20:16:49 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Aug 6 20:17:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5a9b29 net-analyzer/scanssh: Set sub-SLOT dependency on dev-libs/libevent Package-Manager: Portage-2.3.71, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=691574 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/scanssh/scanssh-2.1-r1.ebuild | 38 ++ 1 file changed, 38 insertions(+) diff --git a/net-analyzer/scanssh/scanssh-2.1-r1.ebuild b/net-analyzer/scanssh/scanssh-2.1-r1.ebuild new file mode 100644 index 000..0aa7c1f944a --- /dev/null +++ b/net-analyzer/scanssh/scanssh-2.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="network scanner that gathers info on SSH protocols and versions" +HOMEPAGE="https://monkey.org/~provos/scanssh/"; +SRC_URI="https://monkey.org/~provos/${P}.tar.gz"; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + dev-libs/libdnet + dev-libs/libevent:= + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-2.0-fix-warnings.diff +) + +src_prepare() { + default + touch configure +} + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + +src_install() { + dobin scanssh + doman scanssh.1 +}