Nmap Development mailing list archives

Nmap 3.48 ./configure --with-openssl=DIR option fix patch


From: Fyodor <fyodor () insecure org>
Date: Mon, 6 Oct 2003 13:12:12 -0700

This will be in the next version of Nmap, but I'm sending it here in
case anyone else encounters the problem:

----- Forwarded message from Rob Foehl <rwf () loonybin net> -----

Date: Mon, 6 Oct 2003 15:38:11 -0400 (EDT)
From: Rob Foehl <rwf () loonybin net>
To: fyodor () insecure org
Subject: nmap 3.48 openssl patch

Attached is a quick fix for broken CFLAGS= in the configure scripts for
nbase/ and nsock/src/, looks like at least one other person already
reported this...

-Rob
diff -uNr nmap-3.48-orig/nbase/configure nmap-3.48/nbase/configure
--- nmap-3.48-orig/nbase/configure      Fri Oct  3 04:33:24 2003
+++ nmap-3.48/nbase/configure   Mon Oct  6 15:28:47 2003
@@ -5908,7 +5908,7 @@
     ;;
   *)
     specialssldir="$with_openssl"
-    CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
+    CFLAGS="-I$with_openssl/include $CFLAGS"
     ;;
   esac
 
diff -uNr nmap-3.48-orig/nbase/configure.ac nmap-3.48/nbase/configure.ac
--- nmap-3.48-orig/nbase/configure.ac   Fri Oct  3 04:32:15 2003
+++ nmap-3.48/nbase/configure.ac        Mon Oct  6 15:28:17 2003
@@ -212,7 +212,7 @@
     ;;
   *)
     specialssldir="$with_openssl"
-    CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
+    CFLAGS="-I$with_openssl/include $CFLAGS"
     ;;
   esac]
 )
diff -uNr nmap-3.48-orig/nsock/src/configure nmap-3.48/nsock/src/configure
--- nmap-3.48-orig/nsock/src/configure  Fri Oct  3 04:26:00 2003
+++ nmap-3.48/nsock/src/configure       Mon Oct  6 15:29:43 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
 
diff -uNr nmap-3.48-orig/nsock/src/configure.ac nmap-3.48/nsock/src/configure.ac
--- nmap-3.48-orig/nsock/src/configure.ac       Fri Oct  3 04:24:49 2003
+++ nmap-3.48/nsock/src/configure.ac    Mon Oct  6 15:29:26 2003
@@ -23,7 +23,6 @@
      fi
    if test -d /usr/local/include; then
      CFLAGS="$CFLAGS -I/usr/local/include"
-     CXXFLAGS="$CFLAGS -I/usr/local/include"
    fi
 fi
 
@@ -94,7 +93,7 @@
     ;;
   *)
     specialssldir="$with_openssl"
-    CXXFLAGS="-I$with_openssl/include $CXXFLAGS"
+    CFLAGS="-I$with_openssl/include $CFLAGS"
     ;;
   esac]
 )


----- End forwarded message -----

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: