aboutsummaryrefslogtreecommitdiffstats
path: root/security/nmap
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-09-26 20:05:12 +0800
committererwin <erwin@FreeBSD.org>2003-09-26 20:05:12 +0800
commit0813d0c2a3377cc68b5b816b822c2ab39df3ef74 (patch)
tree79c7c20a114b31bb8b6a61922bc82062c4da97ec /security/nmap
parente7a147fc9ca3a3fd93095a91fd3e1a3959e29299 (diff)
downloadfreebsd-ports-gnome-0813d0c2a3377cc68b5b816b822c2ab39df3ef74.tar.gz
freebsd-ports-gnome-0813d0c2a3377cc68b5b816b822c2ab39df3ef74.tar.zst
freebsd-ports-gnome-0813d0c2a3377cc68b5b816b822c2ab39df3ef74.zip
add patches forgotten in previous commit
Submitted by: maintainer Pointy hat to: leeym
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/files/patch-configure112
-rw-r--r--security/nmap/files/patch-nbase::configure20
-rw-r--r--security/nmap/files/patch-nsock::src::configure67
3 files changed, 199 insertions, 0 deletions
diff --git a/security/nmap/files/patch-configure b/security/nmap/files/patch-configure
new file mode 100644
index 000000000000..d7fcf9719220
--- /dev/null
+++ b/security/nmap/files/patch-configure
@@ -0,0 +1,112 @@
+--- configure.orig Sat Sep 20 09:06:56 2003
++++ configure Wed Sep 24 23:09:21 2003
+@@ -1302,7 +1302,7 @@
+ fi
+ if test -d /usr/local/include; then
+ CFLAGS="$CFLAGS -I/usr/local/include"
+- CXXFLAGS="$CFLAGS -I/usr/local/include"
++ CXXFLAGS="$CXXFLAGS -I/usr/local/include"
+ fi
+ fi
+
+@@ -3299,7 +3299,7 @@
+
+
+
+-for ac_header in string.h getopt.h strings.h memory.h sys/param.h sys/sockio.h bstring.h sys/time.h pwd.h unistd.h
++for ac_header in string.h strings.h memory.h sys/param.h sys/sockio.h bstring.h sys/time.h pwd.h unistd.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -4319,7 +4319,7 @@
+ ;;
+ *)
+ specialssldir="$with_openssl"
+- CXXFLAGS="$CXXFLAGS -I$with_openssl/include"
++ CPPFLAGS="$CPPFLAGS -I$with_openssl/include"
+ LDFLAGS="$LDFLAGS -L$with_openssl/lib"
+ ;;
+ esac
+@@ -5105,10 +5105,10 @@
+
+ ;;
+ *)
+- _cppflags=$CXXFLAGS
++ _cppflags=$CPPFLAGS
+ _ldflags=$LDFLAGS
+
+- CXXFLAGS="-I$with_libpcap/include $CXXFLAGS"
++ CPPFLAGS="-I$with_libpcap/include $CPPFLAGS"
+ LDFLAGS="-L$with_libpcap/lib $LDFLAGS"
+
+ if test "${ac_cv_header_pcap_h+set}" = set; then
+@@ -5307,7 +5307,7 @@
+
+
+ LDFLAGS=$_ldflags
+- CXXFLAGS=$_cppflags
++ CPPFLAGS=$_cppflags
+ ;;
+ esac
+
+@@ -5323,10 +5323,10 @@
+
+ if test $have_libpcap = yes; then
+ if test "${LIBPCAP_INC+set}" = "set"; then
+- _cflags=$CXXFLAGS
++ _cppflags=$CPPFLAGS
+ _ldflags=$LDFLAGS
+
+- CXXFLAGS="-I$LIBPCAP_INC $CXXFLAGS"
++ CPPFLAGS="-I$LIBPCAP_INC $CPPFLAGS"
+ LDFLAGS="-L$LIBPCAP_LIB $LDFLAGS"
+ fi
+
+@@ -5336,6 +5336,8 @@
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6; have_libpcap=no
+ else
++ ac_check_lib_save_LIBS=$LIBS
++LIBS="-lpcap $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -5391,6 +5393,7 @@
+ echo "${ECHO_T}no" >&6; have_libpcap=no
+ fi
+ rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+ fi
+
+@@ -5406,10 +5409,10 @@
+ else
+ if test "${LIBPCAP_INC+set}" = "set"; then
+ LDFLAGS="-L$libpcapdir $_ldflags"
+- CXXFLAGS="$_cflags -I$libpcapdir"
++ CPPFLAGS="$_cppflags -I$libpcapdir"
+ else
+ LDFLAGS="-L$libpcapdir $LDFLAGS"
+- CXXFLAGS="$CXXFLAGS -I$libpcapdir"
++ CPPFLAGS="$CPPFLAGS -I$libpcapdir"
+ fi
+ PCAP_DEPENDS='$(LIBPCAPDIR)/libpcap.a'
+ PCAP_CLEAN="pcap_clean"
+@@ -5433,7 +5436,7 @@
+ yes)
+ ;;
+ *)
+- CXXFLAGS="-I$with_libpcre/include $CXXFLAGS"
++ CPPFLAGS="-I$with_libpcre/include $CPPFLAGS"
+ LDFLAGS="-L$with_libpcre/lib $LDFLAGS"
+ have_pcre=yes
+ ;;
+@@ -5844,7 +5847,7 @@
+
+ subdirs="$subdirs libpcre "
+
+- CXXFLAGS="-I$LIBPCREDIR $CXXFLAGS"
++ CPPFLAGS="-I$LIBPCREDIR $CPPFLAGS"
+ LIBPCRE_LIB="$LIBPCREDIR"
+ LIBS="$LIBS $LIBPCRE_LIB/libpcre.a"
+ PCRE_DEPENDS="$LIBPCRE_LIB/libpcre.a"
diff --git a/security/nmap/files/patch-nbase::configure b/security/nmap/files/patch-nbase::configure
new file mode 100644
index 000000000000..cba582838ba5
--- /dev/null
+++ b/security/nmap/files/patch-nbase::configure
@@ -0,0 +1,20 @@
+--- nbase/configure.orig Sat Sep 20 11:13:26 2003
++++ nbase/configure Wed Sep 24 23:10:21 2003
+@@ -2971,7 +2971,7 @@
+
+
+
+-for ac_header in string.h getopt.h strings.h memory.h sys/param.h sys/time.h unistd.h bstring.h errno.h sys/types.h sys/socket.h netinet/in.h sys/sockio.h rpc/types.h netdb.h pwd.h arpa/inet.h sys/resource.h sys/stat.h sys/wait.h libiberty.h fcntl.h
++for ac_header in string.h strings.h memory.h sys/param.h sys/time.h unistd.h bstring.h errno.h sys/types.h sys/socket.h netinet/in.h sys/sockio.h rpc/types.h netdb.h pwd.h arpa/inet.h sys/resource.h sys/stat.h sys/wait.h libiberty.h fcntl.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -5905,7 +5905,7 @@
+ ;;
+ *)
+ specialssldir="$with_openssl"
+- CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
++ CPPFLAGS="-I$with_openssl/include $CPPFLAGS"
+ ;;
+ 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..b34c66b31d42
--- /dev/null
+++ b/security/nmap/files/patch-nsock::src::configure
@@ -0,0 +1,67 @@
+--- nsock/src/configure.orig Sat Sep 20 09:07:00 2003
++++ nsock/src/configure Wed Sep 24 22:05:32 2003
+@@ -3169,27 +3169,6 @@
+
+
+
+-# Check whether --with-libnbase or --without-libnbase was given.
+-if test "${with_libnbase+set}" = set; then
+- withval="$with_libnbase"
+- case "$with_libnbase" in
+- yes)
+- ;;
+- *)
+- NBASEDIR="$with_libnbase"
+- ;;
+- esac
+-else
+- NBASEDIR="../../nbase"
+-
+-fi;
+-
+-LDFLAGS="$LDFLAGS -L$NBASEDIR"
+-CFLAGS="$CFLAGS -I$NBASEDIR"
+-LIBS="$LIBS -lnbase"
+-
+-
+-
+ # First we test whether they specified openssl desires explicitly
+ use_openssl="yes"
+ specialssldir=""
+@@ -3206,7 +3185,7 @@
+ ;;
+ *)
+ specialssldir="$with_openssl"
+- CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
++ CPPFLAGS="-I$with_openssl/include $CPPFLAGS"
+ ;;
+ esac
+
+@@ -3856,6 +3835,27 @@
+ _ACEOF
+
+ fi
++
++
++# Check whether --with-libnbase or --without-libnbase was given.
++if test "${with_libnbase+set}" = set; then
++ withval="$with_libnbase"
++ case "$with_libnbase" in
++ yes)
++ ;;
++ *)
++ NBASEDIR="$with_libnbase"
++ ;;
++ esac
++else
++ NBASEDIR="../../nbase"
++
++fi;
++
++LDFLAGS="$LDFLAGS -L$NBASEDIR"
++CFLAGS="$CFLAGS -I$NBASEDIR"
++LIBS="$LIBS -lnbase"
++
+
+
+ echo "$as_me:$LINENO: checking struct ip" >&5