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.85_beta8.ebuild |
Date: | Sat, 25 Apr 2009 07:15:08 |
Message-Id: | E1Lxc6L-0006S4-PM@stork.gentoo.org |
1 | spock 09/04/25 07:15:05 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nmap-4.85_beta8.ebuild |
5 | Log: |
6 | Version bump (bug #267122). |
7 | (Portage version: 2.1.6.11/cvs/Linux x86_64, RepoMan options: --force) |
8 | |
9 | Revision Changes Path |
10 | 1.197 net-analyzer/nmap/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.197&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?rev=1.197&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/ChangeLog?r1=1.196&r2=1.197 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v |
19 | retrieving revision 1.196 |
20 | retrieving revision 1.197 |
21 | diff -u -r1.196 -r1.197 |
22 | --- ChangeLog 18 Apr 2009 15:05:19 -0000 1.196 |
23 | +++ ChangeLog 25 Apr 2009 07:15:05 -0000 1.197 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-analyzer/nmap |
26 | # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.196 2009/04/18 15:05:19 spock Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.197 2009/04/25 07:15:05 spock Exp $ |
29 | + |
30 | +*nmap-4.85_beta8 (25 Apr 2009) |
31 | + |
32 | + 25 Apr 2009; Michał Januszewski <spock@g.o> |
33 | + +nmap-4.85_beta8.ebuild: |
34 | + Version bump (bug #267122). |
35 | |
36 | 18 Apr 2009; Michał Januszewski <spock@g.o> |
37 | -files/nmap-4.01-nostrip.patch, -files/nmap-4.20-osscan.patch, |
38 | |
39 | |
40 | |
41 | 1.1 net-analyzer/nmap/nmap-4.85_beta8.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.85_beta8.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nmap/nmap-4.85_beta8.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: nmap-4.85_beta8.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 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.85_beta8.ebuild,v 1.1 2009/04/25 07:15:05 spock Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit eutils flag-o-matic |
55 | |
56 | MY_P=${P//_beta/BETA} |
57 | |
58 | DESCRIPTION="A utility for network exploration or security auditing" |
59 | HOMEPAGE="http://nmap.org/" |
60 | SRC_URI="http://download.insecure.org/nmap/dist/${MY_P}.tar.bz2" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
65 | IUSE="gtk lua ssl" |
66 | |
67 | DEPEND="dev-libs/libpcre |
68 | net-libs/libpcap |
69 | gtk? ( >=x11-libs/gtk+-2.6 |
70 | >=dev-python/pygtk-2.6 |
71 | || ( >=dev-lang/python-2.5[sqlite] |
72 | >=dev-python/pysqlite-2 ) |
73 | ) |
74 | ssl? ( dev-libs/openssl )" |
75 | |
76 | S="${WORKDIR}/${MY_P}" |
77 | |
78 | src_unpack() { |
79 | unpack ${A} |
80 | cd "${S}" |
81 | epatch "${FILESDIR}/${PN}-4.75-include.patch" |
82 | epatch "${FILESDIR}/${PN}-4.75-nolua.patch" |
83 | sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in |
84 | } |
85 | |
86 | src_configure() { |
87 | local myconf="" |
88 | |
89 | if use lua ; then |
90 | if has_version ">=dev-lang/lua-5.1.3-r1" && |
91 | built_with_use dev-lang/lua deprecated ; then |
92 | myconf="--with-liblua" |
93 | else |
94 | myconf="--with-liblua=included" |
95 | fi |
96 | else |
97 | myconf="--without-liblua" |
98 | fi |
99 | |
100 | econf \ |
101 | --with-libdnet=included \ |
102 | "${myconf}" \ |
103 | $(use_with gtk zenmap) \ |
104 | $(use_with ssl openssl) || die |
105 | } |
106 | |
107 | src_install() { |
108 | LC_ALL=C emake DESTDIR="${D}" -j1 nmapdatadir=/usr/share/nmap install || die |
109 | dodoc CHANGELOG HACKING docs/README docs/*.txt || die |
110 | |
111 | use gtk && doicon "${FILESDIR}/nmap-logo-64.png" |
112 | } |