commit: d5887ac54304e99aad208eb95b2303a31643c4dd Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> AuthorDate: Fri Jan 30 20:13:18 2026 +0000 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Fri Jan 30 20:32:21 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5887ac5
net-analyzer/scanssh: add 2.1.3.1_p20260130 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> Closes: https://bugs.gentoo.org/945121 net-analyzer/scanssh/Manifest | 1 + .../scanssh/scanssh-2.1.3.1_p20260130.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-analyzer/scanssh/Manifest b/net-analyzer/scanssh/Manifest index c1e82f737fa8..c8ef4f3a55c8 100644 --- a/net-analyzer/scanssh/Manifest +++ b/net-analyzer/scanssh/Manifest @@ -1 +1,2 @@ DIST scanssh-2.1.3.1.tar.gz 147954 BLAKE2B a263eda2d49159e715bb8d2190fc78f8e41d5f3a56e0bf67b70ed716eb787c09cff0ea9e759b5aa62096f75de01d2d5b5980aa66a7c5b14635d835fd3b7c6f07 SHA512 970cbb03aa44fcef62aa03132335e6ecedb083cee98a360b3d781efc8c2d3c169f70c17837b1faaf9ceaa2691a7c619174a9bb185146af50188eaceda5d14adb +DIST scanssh-2.1.3.1_p20260130.gh.tar.gz 148075 BLAKE2B e312903bc49cdfecb3983d0d68835f25d8479c0e850b7fb0a3f5960823cc9ffb31e9fdc730ae6baee1054e9906beb09a724825a2c3ada8a2d637137d221f5271 SHA512 30366abb057f71639e3cbc9f762c24d74d36e21f4941fc6a23c2cabf4513786c962a8a3cb96f4a66e0e2e699a3454342902f5eafa6f9e420a75ce6349ee75de1 diff --git a/net-analyzer/scanssh/scanssh-2.1.3.1_p20260130.ebuild b/net-analyzer/scanssh/scanssh-2.1.3.1_p20260130.ebuild new file mode 100644 index 000000000000..3f592ea278bd --- /dev/null +++ b/net-analyzer/scanssh/scanssh-2.1.3.1_p20260130.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="network scanner that gathers info on SSH protocols and versions" +HOMEPAGE="https://github.com/ofalk/scanssh/" +HASH="14a7b8faa7a876b132fa8e8d1d092b429604038e" +SRC_URI="https://github.com/ofalk/scanssh/archive/${HASH}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${HASH}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc ~ppc64 ~riscv ~sparc x86" + +DEPEND=" + dev-libs/libdnet + dev-libs/libevent:= + net-libs/libpcap +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.3-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 +}
