The base/local-nat.patch.config.in file is broken in the CVS. For 
some reason the content is duplicated, totally screwing up runme on 
later patches also looking for the REDIRECT target..

Attached you will also find a small runme patch to prevent it from 
screwing up that badly if a similar error should occur again.

Regards
Henrik
Index: pending/local-nat.patch.config.in
===================================================================
RCS file: /cvsroot/netfilter/userspace/patch-o-matic/pending/local-nat.patch.config.in,v
retrieving revision 1.1
diff -u -w -r1.1 local-nat.patch.config.in
--- pending/local-nat.patch.config.in	17 Feb 2002 17:13:12 -0000	1.1
+++ pending/local-nat.patch.config.in	19 Feb 2002 15:36:42 -0000
@@ -1,4 +1,2 @@
       dep_tristate '    REDIRECT target support' CONFIG_IP_NF_TARGET_REDIRECT $CONFIG_IP_NF_NAT
       bool '    NAT of local connections' CONFIG_IP_NF_NAT_LOCAL
-      dep_tristate '    REDIRECT target support' CONFIG_IP_NF_TARGET_REDIRECT $CONFIG_IP_NF_NAT
-      bool '    NAT of local connections' CONFIG_IP_NF_NAT_LOCAL
Index: runme
===================================================================
RCS file: /cvsroot/netfilter/userspace/patch-o-matic/runme,v
retrieving revision 1.19
diff -u -w -r1.19 runme
--- runme	19 Feb 2002 09:16:19 -0000	1.19
+++ runme	19 Feb 2002 15:41:43 -0000
@@ -58,7 +58,7 @@
 apply_change()
 {
     PRIOR="`head -1 $1`"
-    LINE=`fgrep -x -n "$PRIOR" $2/$3 | cut -d: -f1`
+    LINE=`fgrep -x -n "$PRIOR" $2/$3 | cut -d: -f1 | head -1`
     if [ -z "$LINE" ]
     then
 	echo Could not find place to slot in $3 line >&2

Reply via email to