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-4.62.ebuild
Date: Wed, 07 May 2008 19:31:31
Message-Id: E1JtpMO-0006uD-P0@stork.gentoo.org
1 spock 08/05/07 19:31:28
2
3 Modified: ChangeLog
4 Added: nmap-4.62.ebuild
5 Log:
6 Version bump (bug #220449).
7 (Portage version: 2.1.5_rc7)
8
9 Revision Changes Path
10 1.171 net-analyzer/nmap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.171&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.171&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.170&r2=1.171
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v
19 retrieving revision 1.170
20 retrieving revision 1.171
21 diff -u -r1.170 -r1.171
22 --- ChangeLog 2 May 2008 15:08:25 -0000 1.170
23 +++ ChangeLog 7 May 2008 19:31:28 -0000 1.171
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/nmap
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.170 2008/05/02 15:08:25 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.171 2008/05/07 19:31:28 spock Exp $
29 +
30 +*nmap-4.62 (07 May 2008)
31 +
32 + 07 May 2008; Michał Januszewski <spock@g.o> +nmap-4.62.ebuild:
33 + Version bump (bug #220449).
34
35 02 May 2008; Raúl Porcel <armin76@g.o> nmap-4.60.ebuild:
36 alpha/ia64/sparc/x86 stable
37
38
39
40 1.1 net-analyzer/nmap/nmap-4.62.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.62.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.62.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nmap-4.62.ebuild
46 ===================================================================
47 # Copyright 1999-2008 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.62.ebuild,v 1.1 2008/05/07 19:31:28 spock Exp $
50
51 inherit eutils flag-o-matic
52
53 DESCRIPTION="A utility for network exploration or security auditing"
54 HOMEPAGE="http://nmap.org/"
55 SRC_URI="http://download.insecure.org/nmap/dist/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="gtk lua ssl"
61
62 DEPEND="dev-libs/libpcre
63 net-libs/libpcap
64 gtk? ( >=x11-libs/gtk+-2.6
65 >=dev-python/pygtk-2.6
66 || ( >=dev-lang/python-2.5
67 >=dev-python/pysqlite-2 )
68 )
69 ssl? ( dev-libs/openssl )"
70
71 pkg_setup() {
72 if use gtk && has_version ">=dev-lang/python-2.5" &&
73 ! has_version ">=dev-python/pysqlite-2" &&
74 ! built_with_use dev-lang/python sqlite ; then
75 eerror "In order to use the nmap GUI you have to either emerge dev-lang/python"
76 eerror "with the 'sqlite' USE flag, or install dev-python/pysqlite-2*."
77 die "sqlite support missing"
78 fi
79 }
80
81 src_compile() {
82 local myconf=""
83
84 if use lua ; then
85 if has_version ">=dev-lang/lua-5.1.3-r1" &&
86 built_with_use dev-lang/lua deprecated ; then
87 myconf="--with-liblua"
88 else
89 myconf="--with-liblua=included"
90 fi
91 else
92 myconf="--without-liblua"
93 fi
94
95 econf \
96 --with-libdnet=included \
97 "${myconf}" \
98 $(use_with gtk zenmap) \
99 $(use_with ssl openssl) || die
100 emake -j1 || die
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" -j1 nmapdatadir=/usr/share/nmap install || die
105 dodoc CHANGELOG HACKING docs/README docs/*.txt || die
106
107 use gtk && doicon "${FILESDIR}/nmap-logo-64.png"
108 }
109
110
111
112 --
113 gentoo-commits@l.g.o mailing list