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.35.ebuild
Date: Sat, 28 Aug 2010 20:01:22
Message-Id: 20100828200118.291D820051@flycatcher.gentoo.org
1 spock 10/08/28 20:01:18
2
3 Modified: ChangeLog
4 Added: nmap-5.35.ebuild
5 Log:
6 Version bump (bug #334559).
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.236 net-analyzer/nmap/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.236&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.236&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.235&r2=1.236
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v
19 retrieving revision 1.235
20 retrieving revision 1.236
21 diff -u -r1.235 -r1.236
22 --- ChangeLog 13 Aug 2010 03:56:16 -0000 1.235
23 +++ ChangeLog 28 Aug 2010 20:01:18 -0000 1.236
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.235 2010/08/13 03:56:16 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.236 2010/08/28 20:01:18 spock Exp $
29 +
30 +*nmap-5.35 (28 Aug 2010)
31 +
32 + 28 Aug 2010; MichaƂ Januszewski <spock@g.o> +nmap-5.35.ebuild:
33 + Version bump (bug #334559).
34
35 13 Aug 2010; Jeremy Olexa <darkside@g.o> nmap-5.21-r1.ebuild:
36 arm stable, bug 330439
37
38
39
40 1.1 net-analyzer/nmap/nmap-5.35.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-5.35.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nmap/nmap-5.35.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nmap-5.35.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.35.ebuild,v 1.1 2010/08/28 20:01:18 spock Exp $
50
51 EAPI="3"
52 PYTHON_DEPEND="2"
53
54 inherit eutils flag-o-matic python
55
56 MY_P=${P/_beta/BETA}
57 MY_P="${MY_P}DC1"
58
59 DESCRIPTION="A utility for network exploration or security auditing"
60 HOMEPAGE="http://nmap.org/"
61 SRC_URI="http://nmap.org/dist/${MY_P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
66 IUSE="gtk lua ssl"
67
68 DEPEND="dev-libs/libpcre
69 net-libs/libpcap
70 gtk? ( >=x11-libs/gtk+-2.6
71 >=dev-python/pygtk-2.6
72 || ( >=dev-lang/python-2.5[sqlite]
73 >=dev-python/pysqlite-2 )
74 )
75 lua? ( >=dev-lang/lua-5.1.4-r1[deprecated] )
76 ssl? ( dev-libs/openssl )"
77
78 S="${WORKDIR}/${MY_P}"
79
80 pkg_setup() {
81 python_set_active_version 2
82 }
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${PN}-4.75-include.patch
86 epatch "${FILESDIR}"/${PN}-4.75-nolua.patch
87 epatch "${FILESDIR}"/${PN}-5.10_beta1-string.patch
88 epatch "${FILESDIR}"/${PN}-5.21-python.patch
89 epatch "${FILESDIR}"/${PN}-5.21-openssl-1.patch
90 sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in
91 }
92
93 src_configure() {
94 # The bundled libdnet is incompatible with the version available in the
95 # tree, so we cannot use the system library here.
96 econf --with-libdnet=included \
97 $(use_with gtk zenmap) \
98 $(use_with lua liblua) \
99 $(use_with ssl openssl)
100 }
101
102 src_install() {
103 LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir="${EPREFIX}"/usr/share/nmap install || die
104 dodoc CHANGELOG HACKING docs/README docs/*.txt || die
105
106 use gtk && doicon "${FILESDIR}/nmap-logo-64.png"
107 }