summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-13 08:20:18 +0000
committerjmc <jmc@pkgsrc.org>2002-03-13 08:20:18 +0000
commitf9cf2febd09b73eb5096223841b7a845baa8b450 (patch)
tree493fa928cc8adc77973705b244d03e5e0ffe9646
parent5bdb9e242ccac6ce957582b2b695fa1ddb45437d (diff)
downloadpkgsrc-f9cf2febd09b73eb5096223841b7a845baa8b450.tar.gz
Add powerpc/macppc support
-rw-r--r--net/sniffit/distinfo6
-rw-r--r--net/sniffit/patches/patch-ac13
-rw-r--r--net/sniffit/patches/patch-af13
-rw-r--r--net/sniffit/patches/patch-ag13
-rw-r--r--net/snort/distinfo3
-rw-r--r--net/snort/patches/patch-ab13
6 files changed, 54 insertions, 7 deletions
diff --git a/net/sniffit/distinfo b/net/sniffit/distinfo
index ec4a364487e..7f3ee71fdc4 100644
--- a/net/sniffit/distinfo
+++ b/net/sniffit/distinfo
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 11:23:33 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/03/13 08:20:18 jmc Exp $
SHA1 (sniffit.0.3.5.tar.gz) = df9183fca2eec29a56bcfdc68a983c4e7d57bf9d
Size (sniffit.0.3.5.tar.gz) = 197255 bytes
SHA1 (patch-aa) = 843011bc1b0679485e4df9fec2d2443ba1ef73e0
SHA1 (patch-ab) = d9fcd1c88c53c1d41cfda040bbcc012ee05e1d44
-SHA1 (patch-ac) = 1a7e8e2835af961b8259f353cf9e286d1934bf16
+SHA1 (patch-ac) = fb3540b6e8bff7cf6ff5d21ecc277941b4ea86d8
SHA1 (patch-ad) = 302391b40bbfe6f218136778738572109be3ce6b
SHA1 (patch-ae) = c430e434309135189de7b3e61e4d0a1e63e50426
+SHA1 (patch-af) = 5a04841e252c6c1efed40892c3b09d33543c5990
+SHA1 (patch-ag) = 57cf49cd17f9be37178725bd93d8b6bbb1475236
diff --git a/net/sniffit/patches/patch-ac b/net/sniffit/patches/patch-ac
index c93310bf918..dceeae09e73 100644
--- a/net/sniffit/patches/patch-ac
+++ b/net/sniffit/patches/patch-ac
@@ -1,8 +1,9 @@
-$NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.5 2002/03/13 08:20:19 jmc Exp $
---- sn_data.h.orig Fri Apr 18 05:33:58 1997
-+++ sn_data.h Tue Oct 10 21:56:57 2000
-@@ -26,4 +26,22 @@
+--- sn_data.h.orig Fri Apr 18 09:33:58 1997
++++ sn_data.h Wed Mar 13 08:17:30 2002
+@@ -25,6 +25,27 @@
+ char *ETH_DEV[]={"ed"};
#endif
+#ifdef NETBSD
@@ -18,6 +19,9 @@ $NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $
+#elif defined(mips)
+#define ETH_DEV_NR 8
+char *ETH_DEV[]={"awi","ep","mbe","le","ne","sm","tlp","wi"};
++#elif defined(__powerpc__)
++#define ETH_DEV_NR 17
++char *ETH_DEV[]={"de", "fpa", "ep", "epic", "ex", "fxp", "lmc", "ne", "rtk", "sip", "tlp", "gm", "bm", "mc", "mbe", "awi", "wi"};
+#else
+#error Unknown network devices for this NetBSD architecture.
+#endif
@@ -25,3 +29,4 @@ $NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $
+
#ifdef BSDI
#define ETH_DEV_NR 1
+ char *ETH_DEV[]={"ef"};
diff --git a/net/sniffit/patches/patch-af b/net/sniffit/patches/patch-af
new file mode 100644
index 00000000000..41cf7ba7890
--- /dev/null
+++ b/net/sniffit/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2002/03/13 08:20:19 jmc Exp $
+
+--- config.sub.orig Wed Mar 13 08:08:36 2002
++++ config.sub Wed Mar 13 08:08:58 2002
+@@ -177,7 +177,7 @@
+ | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
+ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
+ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
+- | mips64el-* | mips64orion-* | mips64orionel-* | f301-*)
++ | mips64el-* | mips64orion-* | mips64orionel-* | f301-* | macppc-*)
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
diff --git a/net/sniffit/patches/patch-ag b/net/sniffit/patches/patch-ag
new file mode 100644
index 00000000000..e4bb8ffc545
--- /dev/null
+++ b/net/sniffit/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2002/03/13 08:20:19 jmc Exp $
+
+--- libpcap-0.3/config.sub.orig Wed Mar 13 08:09:22 2002
++++ libpcap-0.3/config.sub Wed Mar 13 08:09:34 2002
+@@ -177,7 +177,7 @@
+ | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
+ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
+ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
+- | mips64el-* | mips64orion-* | mips64orionel-* | f301-*)
++ | mips64el-* | mips64orion-* | mips64orionel-* | f301-* | macppc-*)
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
diff --git a/net/snort/distinfo b/net/snort/distinfo
index 2f06483ba1f..bb45d03eb02 100644
--- a/net/snort/distinfo
+++ b/net/snort/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2001/12/02 14:43:49 kleink Exp $
+$NetBSD: distinfo,v 1.9 2002/03/13 08:28:23 jmc Exp $
SHA1 (snort-1.8.3.tar.gz) = c1cc80b5495efeceb6fb07f2dfa6aa813ddf2051
Size (snort-1.8.3.tar.gz) = 1706939 bytes
SHA1 (patch-aa) = 289c515c2eaf62dcba44bea668dc60a0abd57d51
+SHA1 (patch-ab) = 6518ad8c2b5202ec3567f31cabf23253353b837a
diff --git a/net/snort/patches/patch-ab b/net/snort/patches/patch-ab
new file mode 100644
index 00000000000..9f29d17abc6
--- /dev/null
+++ b/net/snort/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/03/13 08:28:24 jmc Exp $
+
+--- config.sub.orig Wed Mar 13 08:25:47 2002
++++ config.sub Wed Mar 13 08:25:59 2002
+@@ -177,7 +177,7 @@
+ | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
+ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
+ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
+- | mips64el-* | mips64orion-* | mips64orionel-* | f301-*)
++ | mips64el-* | mips64orion-* | mips64orionel-* | f301-* | macppc-*)
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.