aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-10-13 13:52:54 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-10-13 13:52:54 +0000
commit7365946a23d2de03e520e32fe9099983ad6f4d8a (patch)
tree1cc61e70df0f1c7b67b119c9ceb3246b034ef8ca /security
parent4073c2a82974db3eff0f6cc85c752bea7b343ecb (diff)
downloadports-7365946a23d2de03e520e32fe9099983ad6f4d8a.tar.gz
ports-7365946a23d2de03e520e32fe9099983ad6f4d8a.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/nmap/Makefile19
-rw-r--r--security/nmap/distinfo4
2 files changed, 15 insertions, 8 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index f149fdcfa9de..92929914d447 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -9,15 +9,18 @@ PORTNAME?= nmap
PORTVERSION= ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/[^a-z0-9+]+/./g}
CATEGORIES= security ipv6
MASTER_SITES= http://download.insecure.org/nmap/dist/ \
- http://www.mirrors.wiretapped.net/security/network-mapping/nmap/
+ http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ \
+ http://ftp.iasi.roedu.net/mirrors/download.insecure.org/nmap/dist/ \
+ http://shadow.cc.columbia.edu/pub/software/nmap/
DISTNAME= nmap-${DISTVERSION} # needed for security/nmapfe
MAINTAINER= eik@FreeBSD.org
COMMENT?= Port scanning utility for large networks
-DISTVERSION= 3.70
+DISTVERSION= 3.71-PRE1
USE_BZIP2= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-localdirs
@@ -46,18 +49,22 @@ CONFIGURE_ARGS+= --without-nmapfe
ALL_TARGET= nmap
INSTALL_TARGET= install-nmap
+post-configure:
+ @${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile
+
post-install:
@for lang in de.ISO8859-1=german es.ISO8859-1=spanish fr.ISO8859-1=french it.ISO8859-15=italian \
lt.ISO8859-13=lithuanian pt.ISO8859-1=portuguese ru.KOI8-R=russian; do \
llang="`expr $${lang} : '\([^=]*\)'`"; \
elang="`expr $${lang} : '.*=\([^=]*\)'`"; \
- ${MKDIR} ${MAN1PREFIX}/man/$${llang}/man1; \
- ${INSTALL_MAN} ${WRKSRC}/docs/nmap_$${elang}.1 ${MAN1PREFIX}/man/$${llang}/man1/nmap.1; \
+ ${MKDIR} ${DESTDIR}${MAN1PREFIX}/man/$${llang}/man1; \
+ ${INSTALL_MAN} ${WRKSRC}/docs/nmap_$${elang}.1 \
+ ${DESTDIR}${MAN1PREFIX}/man/$${llang}/man1/nmap.1; \
done
.ifndef NOPORTDOCS
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DESTDIR}${DOCSDIR}
@for doc in CHANGELOG HACKING docs/nmap.dtd; do \
- ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DESTDIR}${DOCSDIR}; \
done
.endif
diff --git a/security/nmap/distinfo b/security/nmap/distinfo
index 5a847d6bec0f..2fe952e8367e 100644
--- a/security/nmap/distinfo
+++ b/security/nmap/distinfo
@@ -1,2 +1,2 @@
-MD5 (nmap-3.70.tar.bz2) = b9a92e48324cd393edaef773b294f36b
-SIZE (nmap-3.70.tar.bz2) = 1435675
+MD5 (nmap-3.71-PRE1.tar.bz2) = 06dcf92f0dfa9dbb9efaa4d361e202fa
+SIZE (nmap-3.71-PRE1.tar.bz2) = 1438166