rpms/arptables_jf/devel arptables_jf-0.0.8-initscript.patch, 1.1, 1.2

Martin Nagy (mnagy) fedora-extras-commits at redhat.com
Mon Feb 25 15:02:45 UTC 2008


Author: mnagy

Update of /cvs/extras/rpms/arptables_jf/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29866

Modified Files:
	arptables_jf-0.0.8-initscript.patch 
Log Message:
* Mon Feb 25 2008 Martin Nagy <mnagy at redhat.com> - 0.0.8-11
- fix init script (#237778)
- add LSB header (#246868)


arptables_jf-0.0.8-initscript.patch:

Index: arptables_jf-0.0.8-initscript.patch
===================================================================
RCS file: /cvs/extras/rpms/arptables_jf/devel/arptables_jf-0.0.8-initscript.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- arptables_jf-0.0.8-initscript.patch	25 Feb 2008 14:02:02 -0000	1.1
+++ arptables_jf-0.0.8-initscript.patch	25 Feb 2008 15:02:40 -0000	1.2
@@ -1,15 +1,13 @@
 diff -up arptables_jf-0.0.8/arptables.init.initscript arptables_jf-0.0.8/arptables.init
 --- arptables_jf-0.0.8/arptables.init.initscript	2003-06-27 18:10:15.000000000 +0200
-+++ arptables_jf-0.0.8/arptables.init	2008-02-25 14:57:11.000000000 +0100
-@@ -1,5 +1,19 @@
++++ arptables_jf-0.0.8/arptables.init	2008-02-25 16:01:38.000000000 +0100
+@@ -1,8 +1,20 @@
  #!/bin/sh
  #
 +### BEGIN INIT INFO
 +# Provides: arptables_jf
 +# Required-Start: $local_fs $network
 +# Required-Stop: $local_fs $network
-+# Default-Start: 2 3 4 5
-+# Default-Stop: 0 1 6
 +# Short-Description: userspace control program for the arptables network filter
 +# Description: The arptables_jf utility controls the arpfilter network packet filtering
 +#              code in the Linux kernel.  You do not need this program for normal
@@ -20,8 +18,12 @@
 +
  # Startup script to implement /etc/sysconfig/arptables pre-defined rules.
  #
- # chkconfig: 2345 08 92
-@@ -21,17 +35,19 @@
+-# chkconfig: 2345 08 92
++# chkconfig: - 08 92
+ #
+ # description: Automates a packet filtering firewall with arptables.
+ #
+@@ -21,17 +33,19 @@
  ARPTABLES_CONFIG=/etc/sysconfig/arptables
  
  if [ ! -x /sbin/arptables ]; then
@@ -44,7 +46,7 @@
  fi
  
  arp_table() {
-@@ -42,97 +58,104 @@ arp_table() {
+@@ -42,97 +56,104 @@ arp_table() {
  
  start() {
  	# don't do squat if we don't have the config file
@@ -212,7 +214,7 @@
  	tables=`cat /proc/net/arp_tables_names 2>/dev/null`
  	for table in $tables; do
  		echo $"Table: $table"
-@@ -140,24 +163,24 @@ case "$1" in
+@@ -140,24 +161,24 @@ case "$1" in
  	done
  	;;
  
@@ -252,7 +254,7 @@
  	echo -n $"Saving current rules to $ARPTABLES_CONFIG: "
  	touch $ARPTABLES_CONFIG
  	chmod 600 $ARPTABLES_CONFIG
-@@ -167,10 +190,9 @@ case "$1" in
+@@ -167,10 +188,9 @@ case "$1" in
  	echo
  	;;
  




More information about the fedora-extras-commits mailing list