net-analyzer/ike-scan: Version 1.9.4
authorJeroen Roovers <jer@gentoo.org>
Sun, 19 Apr 2020 08:58:56 +0000 (10:58 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 19 Apr 2020 09:19:47 +0000 (11:19 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/ike-scan/Manifest
net-analyzer/ike-scan/ike-scan-1.9.4.ebuild [new file with mode: 0644]

index d046cffe840883600ecfb04c50807ce6e6c6e70c..09ba0e037879d21f18042c8be1b6eba612ca6d97 100644 (file)
@@ -1 +1,2 @@
+DIST ike-scan-1.9.4.tar.gz 1360202 BLAKE2B abe206b22a23a6d4eaa2218204657d6c47f22ac8009df1f1e7918fbb55575033f237462ed57ba89aee8bed28e47a4dacf69e443dac5cd3b506842e26e71f97e9 SHA512 d7dde6d3d76a2e3ddeb9ed1f0dee3e2c3a13d4afa57ebb8ff19f6af094f7334b464509cee6ffc385d2703bcf9bc1c503bc604506279518f692f82c8f12f146be
 DIST ike-scan-1.9.tar.gz 1412689 BLAKE2B 97a18ca35a80b66859e2ab99de916041eb9c9d869f96bbd799be88079b84022dcc2ecb5df2cecefff793192333da915957adc6b0c3d4bb376397941d4a731323 SHA512 c586ad4d485f04398c2800af5ced1392eee0f7f7d7d117602be45134a47442b38c4fa23fbbf137af5a37298b471a6bcdd6e94559dde695d06e96dd39f0681906
diff --git a/net-analyzer/ike-scan/ike-scan-1.9.4.ebuild b/net-analyzer/ike-scan/ike-scan-1.9.4.ebuild
new file mode 100644 (file)
index 0000000..8fbaa0e
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="A utility for finding, fingerprinting and testing IKE VPN servers"
+HOMEPAGE="https://github.com/royhills/ike-scan/"
+SRC_URI="https://github.com/royhills/ike-scan/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="libressl ssl"
+
+DEPEND="
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )
+"
+RDEPEND="
+       ${DEPEND}
+"
+
+src_prepare() {
+       # Fix buffer overflow, bug #277556
+       sed \
+               -e "/MAXLINE/s:255:511:g" \
+               -i ike-scan.h || die
+
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_with ssl openssl)
+}
+
+src_install() {
+       default
+       dodoc udp-backoff-fingerprinting-paper.txt
+}