From: | "Michael Januszewski (spock)" <spock@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/nmap: ChangeLog nmap-5.00-r2.ebuild |
Date: | Sat, 26 Sep 2009 22:01:08 |
Message-Id: | E1MrfKE-0000BG-Ej@stork.gentoo.org |
1 | spock 09/09/26 22:01:06 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nmap-5.00-r2.ebuild |
5 | Log: |
6 | Do not allow usage of the bundled liblua (see bug #280772 for more info). |
7 | (Portage version: 2.2_rc42/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.204 net-analyzer/nmap/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.204&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.204&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.203&r2=1.204 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v |
19 | retrieving revision 1.203 |
20 | retrieving revision 1.204 |
21 | diff -u -r1.203 -r1.204 |
22 | --- ChangeLog 26 Sep 2009 10:39:33 -0000 1.203 |
23 | +++ ChangeLog 26 Sep 2009 22:01:06 -0000 1.204 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for net-analyzer/nmap |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.203 2009/09/26 10:39:33 spock Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.204 2009/09/26 22:01:06 spock Exp $ |
29 | + |
30 | +*nmap-5.00-r2 (26 Sep 2009) |
31 | + |
32 | + 26 Sep 2009; MichaĆ Januszewski <spock@g.o> +nmap-5.00-r2.ebuild: |
33 | + Do not allow usage of the bundled liblua (see bug #280772 for more info). |
34 | |
35 | *nmap-5.00-r1 (26 Sep 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 net-analyzer/nmap/nmap-5.00-r2.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-5.00-r2.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-5.00-r2.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: nmap-5.00-r2.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-5.00-r2.ebuild,v 1.1 2009/09/26 22:01:06 spock Exp $ |
50 | |
51 | EAPI="2" |
52 | |
53 | inherit eutils flag-o-matic |
54 | |
55 | MY_P=${P//_rc1/RC1} |
56 | |
57 | DESCRIPTION="A utility for network exploration or security auditing" |
58 | HOMEPAGE="http://nmap.org/" |
59 | SRC_URI="http://download.insecure.org/nmap/dist/${MY_P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="gtk lua ssl" |
65 | |
66 | DEPEND="dev-libs/libpcre |
67 | net-libs/libpcap |
68 | gtk? ( >=x11-libs/gtk+-2.6 |
69 | >=dev-python/pygtk-2.6 |
70 | || ( >=dev-lang/python-2.5[sqlite] |
71 | >=dev-python/pysqlite-2 ) |
72 | ) |
73 | lua? ( >=dev-lang/lua-5.1.4-r1[deprecated] ) |
74 | ssl? ( dev-libs/openssl )" |
75 | |
76 | S="${WORKDIR}/${MY_P}" |
77 | |
78 | src_prepare() { |
79 | epatch "${FILESDIR}/${PN}-4.75-include.patch" |
80 | epatch "${FILESDIR}/${PN}-4.75-nolua.patch" |
81 | sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in |
82 | } |
83 | |
84 | src_configure() { |
85 | # The bundled libdnet is incompatible with the version available in the |
86 | # tree, so we cannot use the system library here. |
87 | econf --with-libdnet=included \ |
88 | $(use_with gtk zenmap) \ |
89 | $(use_with lua liblua) \ |
90 | $(use_with ssl openssl) || die |
91 | } |
92 | |
93 | src_install() { |
94 | LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir=/usr/share/nmap install || die |
95 | dodoc CHANGELOG HACKING docs/README docs/*.txt || die |
96 | |
97 | use gtk && doicon "${FILESDIR}/nmap-logo-64.png" |
98 | } |