summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/nmap/patches/patch-ab')
-rw-r--r--net/nmap/patches/patch-ab57
1 files changed, 36 insertions, 21 deletions
diff --git a/net/nmap/patches/patch-ab b/net/nmap/patches/patch-ab
index 17a63918fc5..8123882f641 100644
--- a/net/nmap/patches/patch-ab
+++ b/net/nmap/patches/patch-ab
@@ -1,22 +1,37 @@
-$NetBSD: patch-ab,v 1.3 2000/04/29 17:32:19 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2001/08/24 11:05:36 abs Exp $
---- nmap-services.orig Thu Apr 27 21:02:53 2000
-+++ nmap-services Sat Apr 29 18:11:57 2000
-@@ -1724,7 +1724,7 @@
- dls-monitor 2048/udp #
- nfs 2049/tcp # networked file system
- nfs 2049/udp # networked file system
--distrib-netassholes 2064/tcp # A group of lamers working on a silly closed-source client for solving the RSA cryptographic challenge. This is the keyblock proxy port.
-+distrib-net-kbproxy 2064/tcp # keyblock proxy port for distributed.net-clients
- dlsrpn 2065/tcp # Data Link Switch Read Port Number
- dlsrpn 2065/udp # Data Link Switch Read Port Number
- dlswpn 2067/tcp # Data Link Switch Write Port Number
-@@ -1781,7 +1781,7 @@
- deslogind 3006/tcp #
- cfs 3049/tcp # cryptographic file system (nfs) (proposed)
- cfs 3049/udp # cryptographic file system (nfs)
--distrib-net-proxy 3064/tcp # Stupid closed source distributed.net project proxy port
-+distrib-net-proxy 3064/tcp # distributed.net project proxy port
- sj3 3086/tcp # SJ3 (kanji input)
- squid-http 3128/tcp #
- squid-ipc 3130/udp #
+--- configure.orig Tue May 9 07:27:48 2000
++++ configure
+@@ -525,8 +525,9 @@
+
+
+ libpcapdir=libpcap-possiblymodified
+-
+-
++if [ `uname -s` = NetBSD ] ;then
++ libpcapdir=.
++fi
+
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+@@ -1507,6 +1508,9 @@
+ extern char pcap_version[];
+ int main() {
+ int major, minor;
++#ifdef __NetBSD__
++ exit(0); /*fool it*/
++#endif
+ sscanf(pcap_version,"%d.%d", &major, &minor);
+ if (major > 0)
+ exit(0);
+@@ -2793,6 +2797,10 @@
+ done
+
+ for ac_config_dir in $libpcapdir nmapfe ; do
++
++ if [ `uname -s` = NetBSD -a $ac_config_dir = $libpcapdir ] ;then
++ continue
++ fi
+
+ # Do not complain, so a configure script can configure whichever
+ # parts of a large source tree are present.