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.52.ebuild
Date: Sun, 06 Jan 2008 14:41:34
Message-Id: E1JBWgt-00058g-7k@stork.gentoo.org
1 spock 08/01/06 14:41:31
2
3 Modified: ChangeLog
4 Added: nmap-4.52.ebuild
5 Log:
6 Version bump (bug #204555).
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.151 net-analyzer/nmap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.151&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.151&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.150&r2=1.151
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v
19 retrieving revision 1.150
20 retrieving revision 1.151
21 diff -u -r1.150 -r1.151
22 --- ChangeLog 16 Dec 2007 10:00:11 -0000 1.150
23 +++ ChangeLog 6 Jan 2008 14:41:30 -0000 1.151
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/nmap
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.150 2007/12/16 10:00:11 spock Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.151 2008/01/06 14:41:30 spock Exp $
30 +
31 +*nmap-4.52 (06 Jan 2008)
32 +
33 + 06 Jan 2008; Michał Januszewski <spock@g.o> +nmap-4.52.ebuild:
34 + Version bump (bug #204555).
35
36 16 Dec 2007; Michał Januszewski <spock@g.o> nmap-4.50.ebuild:
37 Update dependencies as suggested in bug #202424 and restore the hppa keyword.
38
39
40
41 1.1 net-analyzer/nmap/nmap-4.52.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.52.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.52.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nmap-4.52.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.52.ebuild,v 1.1 2008/01/06 14:41:30 spock Exp $
51
52 inherit eutils flag-o-matic
53
54 DESCRIPTION="A utility for network exploration or security auditing"
55 HOMEPAGE="http://www.insecure.org/nmap/"
56 SRC_URI="http://download.insecure.org/nmap/dist/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="gtk ssl"
62
63 DEPEND="dev-libs/libpcre
64 net-libs/libpcap
65 gtk? ( >=x11-libs/gtk+-2.6
66 >=dev-python/pygtk-2.6
67 || ( >=dev-lang/python-2.5
68 >=dev-python/pysqlite-2 )
69 )
70 ssl? ( dev-libs/openssl )"
71
72 pkg_setup() {
73 if use gtk && has_version ">=dev-lang/python-2.5" &&
74 ! has_version ">=dev-python/pysqlite-2" &&
75 ! built_with_use dev-lang/python sqlite ; then
76 eerror "In order to use the nmap GUI you have to either emerge dev-lang/python"
77 eerror "with the 'sqlite' USE flag, or install dev-python/pysqlite-2*."
78 die "sqlite support missing"
79 fi
80 }
81
82 src_compile() {
83 use ppc-macos && filter-flags -fstrict-aliasing -O2
84 econf \
85 --with-libdnet=included \
86 $(use_with gtk zenmap) \
87 $(use_with ssl openssl) || die
88 emake -j1 || die
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" -j1 nmapdatadir=/usr/share/nmap install || die
93 dodoc CHANGELOG HACKING docs/README docs/*.txt || die
94
95 use gtk && doicon "${FILESDIR}/nmap-logo-64.png"
96 }
97
98
99
100 --
101 gentoo-commits@l.g.o mailing list