ike-scan: push the latest outdated version

This commit is contained in:
blshkv 2018-06-20 15:58:57 +08:00
parent eac9906a0c
commit e89228bc97
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 39 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST ike-scan-1.9.4.tar.gz 1360202 BLAKE2B abe206b22a23a6d4eaa2218204657d6c47f22ac8009df1f1e7918fbb55575033f237462ed57ba89aee8bed28e47a4dacf69e443dac5cd3b506842e26e71f97e9 SHA512 d7dde6d3d76a2e3ddeb9ed1f0dee3e2c3a13d4afa57ebb8ff19f6af094f7334b464509cee6ffc385d2703bcf9bc1c503bc604506279518f692f82c8f12f146be
DIST ike-scan-1.9.4_p20170805.zip 1395358 BLAKE2B 807f947e82c62be21a0faf3dde0043c171fcbda806893678c27daffb16ad2473d5dce912c5060a0857d6aa5b24bfc9e17f7cd44c6efc98550272031a3fe39e8a SHA512 d18c21de181320d5b94cdaa512570305c2fccb2eb8bbfb4a8c73bf077a065af253434af4eac9e4199945407ed8e4e2acf7c3e870474cfb5f9c1ab2cb04d7a892

View file

@ -0,0 +1,38 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="A utility for finding, fingerprinting and testing IKE VPN servers"
HOMEPAGE="http://www.nta-monitor.com/wiki/index.php/Ike-scan_Documentation"
SRC_URI="https://github.com/royhills/ike-scan/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ssl"
DEPEND="ssl? ( dev-libs/openssl:0 )"
RDEPEND="${DEPEND}"
src_prepare() {
# Fix buffer overflow, bug #277556
sed \
-e "/MAXLINE/s:255:511:g" \
-i ike-scan.h || die
eautoreconf
eapply_user
}
src_configure() {
# --disable-lookup prevents ike-scan from phoning home
# for more information, please see bug 157507
econf $(use_with ssl openssl) --disable-lookup
}
src_install() {
default
dodoc udp-backoff-fingerprinting-paper.txt
}