1 |
commit: 5cb31a34447ba8c29a6dbf4061b702bb904493f2 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 13 19:06:50 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 13 19:07:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb31a34 |
7 |
|
8 |
net-analyzer/ike-scan: add libressl support |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
net-analyzer/ike-scan/ike-scan-1.9-r2.ebuild | 38 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/net-analyzer/ike-scan/ike-scan-1.9-r2.ebuild b/net-analyzer/ike-scan/ike-scan-1.9-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..143c316 |
18 |
--- /dev/null |
19 |
+++ b/net-analyzer/ike-scan/ike-scan-1.9-r2.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+DESCRIPTION="A utility for finding, fingerprinting and testing IKE VPN servers" |
28 |
+HOMEPAGE="http://www.nta-monitor.com/ike-scan/" |
29 |
+SRC_URI="http://www.nta-monitor.com/ike-scan/download/${P}.tar.gz" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~ppc ~x86" |
34 |
+IUSE="libressl ssl" |
35 |
+ |
36 |
+DEPEND="ssl? ( |
37 |
+ !libressl? ( dev-libs/openssl:0= ) |
38 |
+ libressl? ( dev-libs/libressl:0= ) |
39 |
+)" |
40 |
+RDEPEND="${DEPEND}" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ # Fix buffer overflow, bug #277556 |
44 |
+ sed \ |
45 |
+ -e "/MAXLINE/s:255:511:g" \ |
46 |
+ -i ike-scan.h || die |
47 |
+} |
48 |
+ |
49 |
+src_configure() { |
50 |
+ # --disable-lookup prevents ike-scan from phoning home |
51 |
+ # for more information, please see bug 157507 |
52 |
+ econf $(use_with ssl openssl) --disable-lookup |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ default |
57 |
+ dodoc udp-backoff-fingerprinting-paper.txt |
58 |
+} |