From b7789370adc0ff1a209ce6d7cc0d4e3e2317ce86 Mon Sep 17 00:00:00 2001 From: jmc Date: Wed, 13 Mar 2002 08:20:18 +0000 Subject: Add powerpc/macppc support --- net/sniffit/distinfo | 6 ++++-- net/sniffit/patches/patch-ac | 13 +++++++++---- net/sniffit/patches/patch-af | 13 +++++++++++++ net/sniffit/patches/patch-ag | 13 +++++++++++++ net/snort/distinfo | 3 ++- net/snort/patches/patch-ab | 13 +++++++++++++ 6 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 net/sniffit/patches/patch-af create mode 100644 net/sniffit/patches/patch-ag create mode 100644 net/snort/patches/patch-ab 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. -- cgit v1.2.3