Contents of /trunk/extras/nmap/nmap-4.76-r1.smage2
Parent Directory | Revision Log
Revision 2826 -
(show annotations)
(download)
Sat Jul 11 12:07:08 2009 UTC (15 years, 2 months ago) by niro
File size: 928 byte(s)
Sat Jul 11 12:07:08 2009 UTC (15 years, 2 months ago) by niro
File size: 928 byte(s)
-fixed UP2DATE
1 | # $Id$ |
2 | |
3 | PNAME="nmap" |
4 | PVER="4.76" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="A very good portscanner and security audit tool." |
11 | HOMEPAGE="http://www.insecure.org/nmap/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= dev-libs/libpcre-7 |
15 | >= dev-libs/openssl-0.9.8" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mbuild |
21 | |
22 | SRC_URI=( |
23 | http://download.insecure.org/nmap/dist/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | # exclude beta and rc versions |
28 | UP2DATE="updatecmd 'http://download.insecure.org/nmap/dist/?C=M;O=A' | grep ${PNAME}-[0-9] | grep -v '[RC|BETA]' | lasttarball" |
29 | |
30 | src_compile() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | # the gui comes now with an extra package |
35 | mconfigure --without-zenmap --with-openssl || die |
36 | mmake || die |
37 | } |
38 | |
39 | src_install() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mmake DESTDIR=${BINDIR} nmapdatadir=/usr/share/nmap install || die |
44 | minstalldocs CHANGELOG COPYING* HACKING docs/README docs/*.txt || die |
45 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |