summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-17 22:14:46 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-17 22:14:46 +0000
commit5fe06bda6bf34ba91ffd475746ed1c42025f2372 (patch)
tree09a0f008e79e69346fdf6bb467956f08d3cfd1fa /net-analyzer
parentTake maintainership (diff)
downloadgentoo-2-5fe06bda6bf34ba91ffd475746ed1c42025f2372.tar.gz
gentoo-2-5fe06bda6bf34ba91ffd475746ed1c42025f2372.tar.bz2
gentoo-2-5fe06bda6bf34ba91ffd475746ed1c42025f2372.zip
net-analyzer/ike-scan: Fix bufferoverflow, #277556; bump to EAPI=4
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ike-scan/ChangeLog7
-rw-r--r--net-analyzer/ike-scan/ike-scan-1.9.ebuild21
2 files changed, 19 insertions, 9 deletions
diff --git a/net-analyzer/ike-scan/ChangeLog b/net-analyzer/ike-scan/ChangeLog
index ae1b16431fd7..22904d38adac 100644
--- a/net-analyzer/ike-scan/ChangeLog
+++ b/net-analyzer/ike-scan/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/ike-scan
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ike-scan/ChangeLog,v 1.11 2011/08/20 20:17:41 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ike-scan/ChangeLog,v 1.12 2012/06/17 22:14:46 jlec Exp $
+
+ 17 Jun 2012; Justin Lecher <jlec@gentoo.org> ike-scan-1.9.ebuild:
+ Fix bufferoverflow, #277556; bump to EAPI=4
20 Aug 2011; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Remove useless maintainer tag.
diff --git a/net-analyzer/ike-scan/ike-scan-1.9.ebuild b/net-analyzer/ike-scan/ike-scan-1.9.ebuild
index 39844c29ba62..0f44c41ecfa4 100644
--- a/net-analyzer/ike-scan/ike-scan-1.9.ebuild
+++ b/net-analyzer/ike-scan/ike-scan-1.9.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ike-scan/ike-scan-1.9.ebuild,v 1.4 2009/09/23 18:20:03 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ike-scan/ike-scan-1.9.ebuild,v 1.5 2012/06/17 22:14:46 jlec Exp $
+
+EAPI=4
DESCRIPTION="A utility for finding, fingerprinting and testing IKE VPN servers"
HOMEPAGE="http://www.nta-monitor.com/ike-scan/"
@@ -12,16 +14,21 @@ KEYWORDS="~amd64 ~ppc x86"
IUSE="ssl"
DEPEND="ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed \
+ -e "/MAXLINE/s:255:511:g" \
+ -i ike-scan.h || die
+}
-src_compile() {
+src_configure() {
# --disable-lookup prevents ike-scan from phoning home
# for more information, please see bug 157507
- econf $(use_with ssl openssl) --disable-lookup || die
- emake || die
+ econf $(use_with ssl openssl) --disable-lookup
}
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc ChangeLog NEWS README TODO
+ default
dodoc udp-backoff-fingerprinting-paper.txt
}