Magellan Linux

Contents of /trunk/extras/nmap/nmap-4.68-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 854 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/nmap/nmap-4.68-r1.smage2,v 1.1 2008/08/17 15:25:21 niro Exp $
2
3 PNAME="nmap"
4 PVER="4.68"
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 src_compile()
28 {
29 cd ${SRCDIR}
30
31 # the gui comes now with an extra package
32 mconfigure --without-zenmap --with-openssl || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 cd ${SRCDIR}
39
40 mmake DESTDIR=${BINDIR} nmapdatadir=/usr/share/nmap install || die
41 minstalldocs CHANGELOG COPYING* HACKING docs/README docs/*.txt || die
42 }

Properties

Name Value
svn:keywords Id