Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nmap: ChangeLog nmap-4.90_rc1.ebuild
Date: Sat, 27 Jun 2009 09:03:53
Message-Id: E1MKTp9-0004gT-4S@stork.gentoo.org
1 patrick 09/06/27 09:03:51
2
3 Modified: ChangeLog
4 Added: nmap-4.90_rc1.ebuild
5 Log:
6 Bump to 4.90_rc1, fixes #275563
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.201 net-analyzer/nmap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.201&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.201&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.200&r2=1.201
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v
19 retrieving revision 1.200
20 retrieving revision 1.201
21 diff -u -r1.200 -r1.201
22 --- ChangeLog 2 Jun 2009 16:07:13 -0000 1.200
23 +++ ChangeLog 27 Jun 2009 09:03:51 -0000 1.201
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.200 2009/06/02 16:07:13 spock Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.201 2009/06/27 09:03:51 patrick Exp $
29 +
30 +*nmap-4.90_rc1 (27 Jun 2009)
31 +
32 + 27 Jun 2009; Patrick Lauer <patrick@g.o> +nmap-4.90_rc1.ebuild:
33 + Bump to 4.90_rc1, fixes #275563
34
35 02 Jun 2009; MichaƂ Januszewski <spock@g.o>
36 nmap-4.85_beta9.ebuild:
37
38
39
40 1.1 net-analyzer/nmap/nmap-4.90_rc1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.90_rc1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.90_rc1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nmap-4.90_rc1.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-4.90_rc1.ebuild,v 1.1 2009/06/27 09:03:51 patrick 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 ssl? ( dev-libs/openssl )"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_prepare() {
78 epatch "${FILESDIR}/${PN}-4.75-include.patch"
79 epatch "${FILESDIR}/${PN}-4.75-nolua.patch"
80 sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in
81 }
82
83 src_configure() {
84 local myconf=""
85
86 if use lua ; then
87 if has_version ">=dev-lang/lua-5.1.3-r1" &&
88 built_with_use dev-lang/lua deprecated ; then
89 myconf="--with-liblua"
90 else
91 myconf="--with-liblua=included"
92 fi
93 else
94 myconf="--without-liblua"
95 fi
96
97 econf \
98 --with-libdnet=included \
99 "${myconf}" \
100 $(use_with gtk zenmap) \
101 $(use_with ssl openssl) || die
102 }
103
104 src_install() {
105 LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir=/usr/share/nmap install || die
106 dodoc CHANGELOG HACKING docs/README docs/*.txt || die
107
108 use gtk && doicon "${FILESDIR}/nmap-logo-64.png"
109 }