Gentoo Archives: gentoo-commits

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.21.ebuild
Date: Fri, 29 Jan 2010 23:20:42
Message-Id: E1Nb08k-0001gq-LO@stork.gentoo.org
1 spock 10/01/29 23:20:38
2
3 Modified: ChangeLog
4 Added: nmap-5.21.ebuild
5 Log:
6 Version bump (bug #302511).
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.216 net-analyzer/nmap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.216&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.216&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.215&r2=1.216
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v
19 retrieving revision 1.215
20 retrieving revision 1.216
21 diff -u -r1.215 -r1.216
22 --- ChangeLog 23 Jan 2010 09:07:14 -0000 1.215
23 +++ ChangeLog 29 Jan 2010 23:20:38 -0000 1.216
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/nmap
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.215 2010/01/23 09:07:14 spock Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.216 2010/01/29 23:20:38 spock Exp $
29 +
30 +*nmap-5.21 (29 Jan 2010)
31 +
32 + 29 Jan 2010; Michał Januszewski <spock@g.o> +nmap-5.21.ebuild:
33 + Version bump (bug #302511).
34
35 23 Jan 2010; Michał Januszewski <spock@g.o> nmap-5.20.ebuild,
36 +files/nmap-5.20-nolua.patch:
37
38
39
40 1.1 net-analyzer/nmap/nmap-5.21.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-5.21.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-5.21.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nmap-5.21.ebuild
46 ===================================================================
47 # Copyright 1999-2010 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.21.ebuild,v 1.1 2010/01/29 23:20:38 spock Exp $
50
51 EAPI="2"
52
53 inherit eutils flag-o-matic
54
55 MY_P=${P/_beta/BETA}
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 epatch "${FILESDIR}/${PN}-5.10_beta1-string.patch"
82 sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in
83 }
84
85 src_configure() {
86 # The bundled libdnet is incompatible with the version available in the
87 # tree, so we cannot use the system library here.
88 econf --with-libdnet=included \
89 $(use_with gtk zenmap) \
90 $(use_with lua liblua) \
91 $(use_with ssl openssl)
92 }
93
94 src_install() {
95 LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir=/usr/share/nmap install || die
96 dodoc CHANGELOG HACKING docs/README docs/*.txt || die
97
98 use gtk && doicon "${FILESDIR}/nmap-logo-64.png"
99 }