rpms/setroubleshoot/devel .cvsignore, 1.79, 1.80 setroubleshoot.init, 1.14, 1.15 setroubleshoot.spec, 1.96, 1.97 sources, 1.90, 1.91

John Dennis (jdennis) fedora-extras-commits at redhat.com
Tue Jan 15 20:53:49 UTC 2008


Author: jdennis

Update of /cvs/pkgs/rpms/setroubleshoot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2145/devel

Modified Files:
	.cvsignore setroubleshoot.init setroubleshoot.spec sources 
Log Message:
update to latest upstream



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/devel/.cvsignore,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- .cvsignore	11 Jan 2008 17:16:40 -0000	1.79
+++ .cvsignore	15 Jan 2008 20:53:13 -0000	1.80
@@ -1 +1 @@
-setroubleshoot-2.0.2.tar.gz
+setroubleshoot-2.0.3.tar.gz


Index: setroubleshoot.init
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/devel/setroubleshoot.init,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- setroubleshoot.init	11 Jan 2008 17:16:40 -0000	1.14
+++ setroubleshoot.init	15 Jan 2008 20:53:13 -0000	1.15
@@ -45,8 +45,6 @@
 # reload and the try-restart actions are optional.
 # the init script.
 
-
-
 PATH=/sbin:/bin:/usr/bin:/usr/sbin
 
 # Source function library.
@@ -55,6 +53,31 @@
 RETVAL=0
 prog="setroubleshootd"
 
+usage(){
+    echo $"Usage: $0 {start|stop|status|restart|try-restart|condrestart|reload|force-reload|cleardb [test][verbose]}"
+}
+
+command=$1
+shift
+
+[ $command ] || (usage; exit 3)
+
+# look for extra options
+while [ $# -gt 0 ]; do
+    arg=$1
+    case "$arg" in
+	test)
+	    EXTRAOPTIONS="$EXTRAOPTIONS -c audit.text_protocol_socket_path=/tmp/audispd_events"
+	    ;;
+	verbose)
+	    EXTRAOPTIONS="$EXTRAOPTIONS -V"
+	    ;;
+	*)
+	    echo "unknown arg $arg"
+    esac
+    shift
+done
+
 rhstatus(){
     status $prog
     RETVAL=$?
@@ -62,7 +85,7 @@
 }
 
 # Allow status as non-root and also if SELinux is disabled
-if [ "$1" = status ]; then
+if [ "$command" = status ]; then
 	rhstatus
 	RETVAL=$?
 	exit $RETVAL
@@ -134,9 +157,8 @@
     return $RETVAL
 }
 
-
 # See how we were called.
-case "$1" in
+case "$command" in
     start)
 	start
 	RETVAL=$?
@@ -166,7 +188,7 @@
 	RETVAL=$?
 	;;
     *)
-	echo $"Usage: $0 {start|stop|status|restart|try-restart|condrestart|reload|force-reload|cleardb}"
+	usage
 	RETVAL=3
 esac
 


Index: setroubleshoot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/devel/setroubleshoot.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- setroubleshoot.spec	11 Jan 2008 17:16:40 -0000	1.96
+++ setroubleshoot.spec	15 Jan 2008 20:53:13 -0000	1.97
@@ -1,6 +1,6 @@
 Summary: Helps troubleshoot SELinux problems
 Name: setroubleshoot
-Version: 2.0.2
+Version: 2.0.3
 Release: 1%{?dist}
 License: GPLv2+
 Group: Applications/System


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/devel/sources,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- sources	11 Jan 2008 17:16:40 -0000	1.90
+++ sources	15 Jan 2008 20:53:13 -0000	1.91
@@ -1 +1 @@
-9ca6ef75d47fe8fbecfe7698a86430c7  setroubleshoot-2.0.2.tar.gz
+e2c4d2214a395049230aad74e1558f45  setroubleshoot-2.0.3.tar.gz




More information about the fedora-extras-commits mailing list