summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-25 17:30:55 +0000
committerjoerg <joerg>2006-01-25 17:30:55 +0000
commit8c532fdc958538b52b88d8630e36011a47830892 (patch)
treea7335ad78de9296079e8079fed2f370f6ea36662
parent52f1340749b16c004517152e059152f53880ea38 (diff)
downloadpkgsrc-8c532fdc958538b52b88d8630e36011a47830892.tar.gz
Just use ed as NIC for DragonFly as well. This code should really be
changed to have a proper ethernet check, not some magic name logic.
-rw-r--r--net/sniffit/distinfo4
-rw-r--r--net/sniffit/patches/patch-ab33
2 files changed, 23 insertions, 14 deletions
diff --git a/net/sniffit/distinfo b/net/sniffit/distinfo
index e93332532a1..614b333d8e9 100644
--- a/net/sniffit/distinfo
+++ b/net/sniffit/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.9 2006/01/08 11:02:10 wiz Exp $
+$NetBSD: distinfo,v 1.10 2006/01/25 17:30:55 joerg Exp $
SHA1 (sniffit.0.3.5.tar.gz) = df9183fca2eec29a56bcfdc68a983c4e7d57bf9d
RMD160 (sniffit.0.3.5.tar.gz) = 9508f357c6fe74a9147a735fd0eb419b9a1124eb
Size (sniffit.0.3.5.tar.gz) = 197255 bytes
-SHA1 (patch-ab) = 52ac607b99f30887b56de804eb8d8ee65f45b974
+SHA1 (patch-ab) = c8a384acf35ff0e51c2851e8eec7ee36d53a09bd
SHA1 (patch-ac) = 05ab42b3499edd550de6f1bb667adce34e26a503
SHA1 (patch-ad) = 302391b40bbfe6f218136778738572109be3ce6b
SHA1 (patch-ae) = c430e434309135189de7b3e61e4d0a1e63e50426
diff --git a/net/sniffit/patches/patch-ab b/net/sniffit/patches/patch-ab
index 528fb1880ef..96832403966 100644
--- a/net/sniffit/patches/patch-ab
+++ b/net/sniffit/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2004/03/13 20:51:01 snj Exp $
+$NetBSD: patch-ab,v 1.4 2006/01/25 17:30:55 joerg Exp $
---- configure.orig Fri Apr 18 02:33:57 1997
-+++ configure Sat Mar 13 12:28:20 2004
-@@ -996,7 +996,7 @@
+--- configure.orig 1997-04-18 09:33:57.000000000 +0000
++++ configure
+@@ -996,7 +996,7 @@ cat >> confdefs.h <<EOF
EOF
@@ -11,18 +11,27 @@ $NetBSD: patch-ab,v 1.3 2004/03/13 20:51:01 snj Exp $
echo "unisigned short is NOT 4 bytes... quiting"
exit
fi
-@@ -1299,6 +1299,14 @@
- freebsd*)
+@@ -1296,7 +1296,7 @@ EOF
+ OS_OPT=
+
+ ;;
+-freebsd*)
++freebsd* | dragonfly*)
cat >> confdefs.h <<\EOF
#define FREEBSD 1
+ EOF
+@@ -1304,6 +1304,14 @@ EOF
+ OS_OPT=
+
+ ;;
++netbsd*)
++ cat >> confdefs.h <<\EOF
++#define NETBSD 1
+EOF
+
+ OS_OPT=
+
+ ;;
-+netbsd*)
-+ cat >> confdefs.h <<\EOF
-+#define NETBSD 1
- EOF
-
- OS_OPT=
+ *)
+ echo "NOT A SUPPORTED SYSTEM / OR SYSTEM NOT RECOGNISED"
+ echo "Contact <Coder@reptile.rug.ac.be> if you feel it might be a bug."