rpms/sectool/devel sectool-0.9.4-numcheck.patch, NONE, 1.1 sectool.spec, 1.38, 1.39

Peter Vrabec pvrabec at fedoraproject.org
Wed Jun 2 11:55:36 UTC 2010


Author: pvrabec

Update of /cvs/extras/rpms/sectool/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9034

Modified Files:
	sectool.spec 
Added Files:
	sectool-0.9.4-numcheck.patch 
Log Message:
skip a numeric check in debug mode



sectool-0.9.4-numcheck.patch:
 bash_defs_debug.sh |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

--- NEW FILE sectool-0.9.4-numcheck.patch ---
diff -up sectool-0.9.4/tests/bash_defs_debug.sh.numcheck sectool-0.9.4/tests/bash_defs_debug.sh
--- sectool-0.9.4/tests/bash_defs_debug.sh.numcheck	2010-06-02 13:33:14.224631406 +0200
+++ sectool-0.9.4/tests/bash_defs_debug.sh	2010-06-02 13:33:37.983572856 +0200
@@ -232,14 +232,14 @@ function check_file_perm () {
 
     if [[ -z "$2" ]]; then
 	test_exit ${E_FAIL} "check_file_perm: missing argument \$2"
-    else
-	if [[ "$2" != "0" ]]; then
-	    l_int numtest=$2
-
-	    if (( numtest == 0 )); then
-		test_exit ${E_FAIL} "check_file_perm: expected numeric value in \$2"
-	    fi
-	fi
+#    else
+#	if [[ "$2" != "0" ]]; then
+#	    l_int numtest=$2
+#
+#	    if (( numtest == 0 )); then
+#		test_exit ${E_FAIL} "check_file_perm: expected numeric value in \$2"
+#	    fi
+#	fi
     fi
 
     if [[ -z "$3" ]]; then


Index: sectool.spec
===================================================================
RCS file: /cvs/extras/rpms/sectool/devel/sectool.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- sectool.spec	27 May 2010 10:24:05 -0000	1.38
+++ sectool.spec	2 Jun 2010 11:55:35 -0000	1.39
@@ -1,7 +1,7 @@
 Summary: A security audit system and intrusion detection system
 Name: sectool
 Version: 0.9.4
-Release: 8%{?dist}
+Release: 9%{?dist}
 URL: https://hosted.fedoraproject.org/sectool/wiki/WikiStart
 Source0: https://fedorahosted.org/releases/s/e/sectool/%{name}-%{version}.tar.bz2
 Source1: sectool.log
@@ -12,6 +12,7 @@ Patch4: sectool-0.9.4-dbus-fix.patch
 Patch5: sectool-0.9.4-rpmio.patch
 Patch6: sectool-0.9.4-permissions.patch
 Patch7: sectool-0.9.4-deleted.patch
+Patch8: sectool-0.9.4-numcheck.patch
 License: GPLv2+
 Group: Applications/System
 Requires: gettext coreutils python-slip-dbus PolicyKit dbus
@@ -53,6 +54,7 @@ sectool-gui provides a GTK-based graphic
 %patch5 -p1 -b .rpmio
 %patch6 -p1 -b .perm
 %patch7 -p1 -b .deleted
+%patch8 -p1 -b .numcheck
 
 %build
 make %{?_smp_mflags}
@@ -126,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jun 02 2010 Peter Vrabec <mbarabas at redhat.com> - 0.9.4-9
+- skip a numeric check in debug mode
+
 * Tue May 25 2010 Peter Vrabec <mbarabas at redhat.com> - 0.9.4-8
 - filter (deleted) files in netserv
 - create empty log file after installation



More information about the scm-commits mailing list