summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-06-02 18:52:22 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-06-02 18:52:22 +0000
commit139d0b641cddce688a6be5b06fba2e2449bccf04 (patch)
tree9055ba498b70dac7bb2a97f3b5fca51d27e7539c
parentaf0e9b077d6dd06406ea74407b39436fa3bac50d (diff)
*** empty log message ***
-rwxr-xr-xkernel/scripts/Makediff53
1 files changed, 53 insertions, 0 deletions
diff --git a/kernel/scripts/Makediff b/kernel/scripts/Makediff
new file mode 100755
index 0000000..25fd8c3
--- /dev/null
+++ b/kernel/scripts/Makediff
@@ -0,0 +1,53 @@
+#!/bin/bash
+# Makes a base diff for the ebtables kernel code
+# This diff should be vs a kernel patched with the
+# br-nf patch.
+
+export FROM=linux
+export TO=ebt2.0pre7
+export FILE=ebtables-v2.0pre7_vs_2.4.18.diff
+
+echo "ebtables-v2.0pre7 - 30 May" >$FILE
+echo >>$FILE
+echo "*** modifications for brouter support ***" >>$FILE
+echo >>$FILE
+
+diff -urN $FROM/net/bridge/br_private.h $TO/net/bridge/br_private.h >> $FILE
+diff -urN $FROM/include/linux/if_bridge.h $TO/include/linux/if_bridge.h >> $FILE
+diff -urN $FROM/net/core/dev.c $TO/net/core/dev.c >> $FILE
+diff -urN $FROM/net/bridge/br_input.c $TO/net/bridge/br_input.c >> $FILE
+diff -urN $FROM/net/netsyms.c $TO/net/netsyms.c >> $FILE
+diff -urN $FROM/include/linux/netfilter_bridge.h $TO/include/linux/netfilter_bridge.h >> $FILE
+
+echo >>$FILE
+echo "*** modifications for ebtables compilation ***" >> $FILE
+echo >>$FILE
+
+diff -urN $FROM/net/Makefile $TO/net/Makefile >> $FILE
+diff -urN $FROM/net/Config.in $TO/net/Config.in >> $FILE
+
+echo >>$FILE
+echo "*** new ebtables files ***" >> $FILE
+echo >>$FILE
+
+diff -urN /dev/null $TO/net/bridge/netfilter/Makefile >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/Config.in >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/br_db.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebtable_filter.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebtable_nat.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebtable_broute.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebt_redirect.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebt_arp.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebt_ip.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebt_vlan.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebt_log.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebt_nat.c >> $FILE
+diff -urN /dev/null $TO/net/bridge/netfilter/ebtables.c >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebtables.h >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebt_arp.h >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebt_ip.h >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebt_vlan.h >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebt_log.h >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebt_nat.h >> $FILE
+diff -urN /dev/null $TO/include/linux/netfilter_bridge/ebt_redirect.h >> $FILE
+diff -urN /dev/null $TO/include/linux/br_db.h >> $FILE