Browse Source

port to Solaris 10

master
parent
commit
a61737f27e
  1. 39
      nmap/nmap.patch
  2. 4
      nmap/nmap.spec

39
nmap/nmap.patch

@ -0,0 +1,39 @@
Index: configure
--- configure.orig 2003-10-31 09:57:22.000000000 +0100
+++ configure 2003-10-31 10:00:48.000000000 +0100
@@ -2716,7 +2716,7 @@
_ACEOF
;;
- *-solaris2.1*)
+ *-solaris2.1 | *-solaris2.1.*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
@@ -2726,7 +2726,7 @@
_ACEOF
;;
- *-solaris2.2*)
+ *-solaris2.2 | *-solaris2.2.*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
@@ -2736,7 +2736,7 @@
_ACEOF
;;
- *-solaris2.3*)
+ *-solaris2.3 | *-solaris2.3.*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
@@ -2746,7 +2746,7 @@
_ACEOF
;;
- *-solaris2.4*)
+ *-solaris2.4 | *-solaris2.4.*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF

4
nmap/nmap.spec

@ -33,10 +33,11 @@ Distribution: OpenPKG [BASE]
Group: Network
License: GPL
Version: 3.48
Release: 20031006
Release: 20031031
# list of sources
Source0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
Patch0: nmap.patch
# build information
Prefix: %{l_prefix}
@ -59,6 +60,7 @@ AutoReqProv: no
%prep
%setup -q
%patch -p0
%{l_shtool} subst \
-e 's;/usr/local/;%{l_prefix}/;g' \
-e 's;$LIBS -lnsock;-lnsock $LIBS;g' \

Loading…
Cancel
Save