1 |
jer 14/04/28 14:34:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nmap-6.46.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.307 net-analyzer/nmap/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.307&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.307&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.306&r2=1.307 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v |
20 |
retrieving revision 1.306 |
21 |
retrieving revision 1.307 |
22 |
diff -u -r1.306 -r1.307 |
23 |
--- ChangeLog 1 Dec 2013 20:36:20 -0000 1.306 |
24 |
+++ ChangeLog 28 Apr 2014 14:34:28 -0000 1.307 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-analyzer/nmap |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.306 2013/12/01 20:36:20 zerochaos Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.307 2014/04/28 14:34:28 jer Exp $ |
31 |
+ |
32 |
+*nmap-6.46 (28 Apr 2014) |
33 |
+ |
34 |
+ 28 Apr 2014; Jeroen Roovers <jer@g.o> +nmap-6.46.ebuild, |
35 |
+ +files/nmap-6.46-uninstaller.patch: |
36 |
+ Version bump. |
37 |
|
38 |
01 Dec 2013; Rick Farina <zerochaos@g.o> nmap-6.25.ebuild, |
39 |
nmap-6.40-r1.ebuild, nmap-6.40.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-analyzer/nmap/nmap-6.46.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.46.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-6.46.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nmap-6.46.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.46.ebuild,v 1.1 2014/04/28 14:34:28 jer Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=( python2_{6,7} ) |
57 |
PYTHON_REQ_USE="sqlite" |
58 |
inherit eutils flag-o-matic python-single-r1 toolchain-funcs |
59 |
|
60 |
MY_P=${P/_beta/BETA} |
61 |
|
62 |
DESCRIPTION="A utility for network exploration or security auditing" |
63 |
HOMEPAGE="http://nmap.org/" |
64 |
SRC_URI=" |
65 |
http://nmap.org/dist/${MY_P}.tar.bz2 |
66 |
http://dev.gentoo.org/~jer/nmap-logo-64.png |
67 |
" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
72 |
|
73 |
IUSE="ipv6 +lua ncat ndiff nls nmap-update nping ssl zenmap" |
74 |
NMAP_LINGUAS=( de es fr hr hu id it ja pl pt_BR pt_PT ro ru sk zh ) |
75 |
IUSE+=" ${NMAP_LINGUAS[@]/#/linguas_}" |
76 |
|
77 |
NMAP_PYTHON_DEPEND=" |
78 |
|| ( ${PYTHON_DEPS} ) |
79 |
" |
80 |
RDEPEND=" |
81 |
dev-libs/libpcre |
82 |
net-libs/libpcap[ipv6?] |
83 |
zenmap? ( |
84 |
dev-python/pygtk:2 |
85 |
${NMAP_PYTHON_DEPEND} |
86 |
) |
87 |
lua? ( >=dev-lang/lua-5.2[deprecated] ) |
88 |
ndiff? ( ${NMAP_PYTHON_DEPEND} ) |
89 |
nls? ( virtual/libintl ) |
90 |
nmap-update? ( dev-libs/apr dev-vcs/subversion ) |
91 |
ssl? ( dev-libs/openssl ) |
92 |
" |
93 |
DEPEND=" |
94 |
${RDEPEND} |
95 |
nls? ( sys-devel/gettext ) |
96 |
" |
97 |
|
98 |
S="${WORKDIR}/${MY_P}" |
99 |
|
100 |
src_unpack() { |
101 |
# prevent unpacking the logo |
102 |
unpack ${MY_P}.tar.bz2 |
103 |
} |
104 |
|
105 |
src_prepare() { |
106 |
epatch \ |
107 |
"${FILESDIR}"/${PN}-4.75-nolua.patch \ |
108 |
"${FILESDIR}"/${PN}-5.10_beta1-string.patch \ |
109 |
"${FILESDIR}"/${PN}-5.21-python.patch \ |
110 |
"${FILESDIR}"/${PN}-6.01-make.patch \ |
111 |
"${FILESDIR}"/${PN}-6.25-liblua-ar.patch \ |
112 |
"${FILESDIR}"/${PN}-6.46-uninstaller.patch |
113 |
|
114 |
sed -i \ |
115 |
-e 's/-m 755 -s ncat/-m 755 ncat/' \ |
116 |
ncat/Makefile.in || die |
117 |
|
118 |
if use nls; then |
119 |
local lingua='' |
120 |
for lingua in ${NMAP_LINGUAS}; do |
121 |
if ! use linguas_${lingua}; then |
122 |
rm -rf zenmap/share/zenmap/locale/${lingua} |
123 |
rm -f zenmap/share/zenmap/locale/${lingua}.po |
124 |
fi |
125 |
done |
126 |
else |
127 |
# configure/make ignores --disable-nls |
128 |
for lingua in ${NMAP_LINGUAS}; do |
129 |
rm -rf zenmap/share/zenmap/locale/${lingua} |
130 |
rm -f zenmap/share/zenmap/locale/${lingua}.po |
131 |
done |
132 |
fi |
133 |
|
134 |
sed -i \ |
135 |
-e '/^ALL_LINGUAS =/{s|$| id|g;s|jp|ja|g}' \ |
136 |
Makefile.in || die |
137 |
|
138 |
# Fix desktop files wrt bug #432714 |
139 |
sed -i \ |
140 |
-e '/^Encoding/d' \ |
141 |
-e 's|^Categories=.*|Categories=Network;System;Security;|g' \ |
142 |
zenmap/install_scripts/unix/zenmap-root.desktop \ |
143 |
zenmap/install_scripts/unix/zenmap.desktop || die |
144 |
|
145 |
epatch_user |
146 |
} |
147 |
|
148 |
src_configure() { |
149 |
# The bundled libdnet is incompatible with the version available in the |
150 |
# tree, so we cannot use the system library here. |
151 |
econf \ |
152 |
$(use_enable ipv6) \ |
153 |
$(use_enable nls) \ |
154 |
$(use_with zenmap) \ |
155 |
$(usex lua --with-liblua=/usr --without-liblua) \ |
156 |
$(use_with ncat) \ |
157 |
$(use_with ndiff) \ |
158 |
$(use_with nmap-update) \ |
159 |
$(use_with nping) \ |
160 |
$(use_with ssl openssl) \ |
161 |
--with-libdnet=included \ |
162 |
--with-pcre=/usr |
163 |
} |
164 |
|
165 |
src_compile() { |
166 |
emake \ |
167 |
AR=$(tc-getAR) \ |
168 |
RANLIB=$(tc-getRANLIB ) |
169 |
} |
170 |
|
171 |
src_install() { |
172 |
LC_ALL=C emake -j1 \ |
173 |
DESTDIR="${D}" \ |
174 |
STRIP=: \ |
175 |
nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
176 |
install |
177 |
if use nmap-update;then |
178 |
LC_ALL=C emake -j1 \ |
179 |
-C nmap-update \ |
180 |
DESTDIR="${D}" \ |
181 |
STRIP=: \ |
182 |
nmapdatadir="${EPREFIX}"/usr/share/nmap \ |
183 |
install |
184 |
fi |
185 |
|
186 |
dodoc CHANGELOG HACKING docs/README docs/*.txt |
187 |
|
188 |
use zenmap && doicon "${DISTDIR}/nmap-logo-64.png" |
189 |
} |