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.68.ebuild
Date: Tue, 01 Jul 2008 19:27:01
Message-Id: E1KDlV8-0008JZ-LJ@stork.gentoo.org
1 spock 08/07/01 19:26:54
2
3 Modified: ChangeLog
4 Added: nmap-4.68.ebuild
5 Log:
6 Version bump (bug #230385).
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc8 x86_64)
8
9 Revision Changes Path
10 1.174 net-analyzer/nmap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.174&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.174&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.173&r2=1.174
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v
19 retrieving revision 1.173
20 retrieving revision 1.174
21 diff -u -r1.173 -r1.174
22 --- ChangeLog 9 Jun 2008 19:31:17 -0000 1.173
23 +++ ChangeLog 1 Jul 2008 19:26:54 -0000 1.174
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.173 2008/06/09 19:31:17 spock Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.174 2008/07/01 19:26:54 spock Exp $
29 +
30 +*nmap-4.68 (01 Jul 2008)
31 +
32 + 01 Jul 2008; MichaƂ Januszewski <spock@g.o> +nmap-4.68.ebuild:
33 + Version bump (bug #230385).
34
35 *nmap-4.65 (09 Jun 2008)
36
37
38
39
40 1.1 net-analyzer/nmap/nmap-4.68.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.68.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.68.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nmap-4.68.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.68.ebuild,v 1.1 2008/07/01 19:26:54 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