summaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 01:38:55 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 01:38:55 +0000
commita3174f48453c8c239eeb08b1cf581686ba51fe09 (patch)
tree24d60aed54ef7fb1d7af4e6956671eef5e8722ea /security/nmap
parentnew port: net/tsocks (diff)
add patches from Marius Strobls
PR: ports/57646 Submitted by: Marius Strobls Approved by: liver Eikemeier <eikemeier@fillmore-labs.com>
Notes
Notes: svn path=/head/; revision=90581
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile1
-rw-r--r--security/nmap/files/patch-nbase::configure9
-rw-r--r--security/nmap/files/patch-nsock::src::configure19
3 files changed, 29 insertions, 0 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index f5e9e63fa26a..cb87b6e9e404 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= nmap
PORTVERSION= 3.48
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= http://download.insecure.org/nmap/dist/ \
http://www.mirrors.wiretapped.net/security/network-mapping/nmap/
diff --git a/security/nmap/files/patch-nbase::configure b/security/nmap/files/patch-nbase::configure
index c6b8cc5ac31e..d28009eefd07 100644
--- a/security/nmap/files/patch-nbase::configure
+++ b/security/nmap/files/patch-nbase::configure
@@ -9,3 +9,12 @@
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -5908,7 +5908,7 @@
+ ;;
+ *)
+ specialssldir="$with_openssl"
+- CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
++ CFLAGS="-I$with_openssl/include $CFLAGS"
+ ;;
+ esac
+
diff --git a/security/nmap/files/patch-nsock::src::configure b/security/nmap/files/patch-nsock::src::configure
new file mode 100644
index 000000000000..4b7f94b9b870
--- /dev/null
+++ b/security/nmap/files/patch-nsock::src::configure
@@ -0,0 +1,19 @@
+--- nsock/src/configure.orig Tue Oct 7 07:23:06 2003
++++ nsock/src/configure Tue Oct 7 07:27:33 2003
+@@ -1287,7 +1287,6 @@
+ fi
+ if test -d /usr/local/include; then
+ CFLAGS="$CFLAGS -I/usr/local/include"
+- CXXFLAGS="$CFLAGS -I/usr/local/include"
+ fi
+ fi
+
+@@ -3207,7 +3206,7 @@
+ ;;
+ *)
+ specialssldir="$with_openssl"
+- CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
++ CFLAGS="-I$with_openssl/include $CFLAGS"
+ ;;
+ esac
+