1 |
commit: fbac8c974a7b0b0d017e3cc9a676a0f3ea88981d |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 29 05:44:20 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 29 05:44:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbac8c97 |
7 |
|
8 |
net-analyzer/gnu-netcat: EAPI bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild | 32 ++++++++++++++++++++++ |
13 |
1 file changed, 32 insertions(+) |
14 |
|
15 |
diff --git a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..f71fcffaaa0 |
18 |
--- /dev/null |
19 |
+++ b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild |
20 |
@@ -0,0 +1,32 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+inherit flag-o-matic |
26 |
+ |
27 |
+DESCRIPTION="the GNU network swiss army knife" |
28 |
+HOMEPAGE="http://netcat.sourceforge.net/" |
29 |
+SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
34 |
+IUSE="debug nls" |
35 |
+ |
36 |
+PATCHES=( |
37 |
+ "${FILESDIR}"/${PN}-LC_CTYPE.patch |
38 |
+ "${FILESDIR}"/${PN}-close.patch |
39 |
+ "${FILESDIR}"/${PN}-flagcount.patch |
40 |
+) |
41 |
+DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
42 |
+S=${WORKDIR}/netcat-${PV} |
43 |
+ |
44 |
+src_configure() { |
45 |
+ use debug && append-flags -DDEBUG |
46 |
+ econf $(use_enable nls) |
47 |
+} |
48 |
+ |
49 |
+src_install() { |
50 |
+ default |
51 |
+ rm "${ED}"usr/bin/nc || die |
52 |
+} |