SHA256
1
0
forked from pool/openscap

- openscap-1.1.0-fix-bashisms.patch: upstreamed

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=118
This commit is contained in:
Marcus Meissner 2014-12-02 12:46:26 +00:00 committed by Git OBS Bridge
parent 85a3903be3
commit e68db1f763
3 changed files with 1 additions and 14 deletions

View File

@ -1,12 +0,0 @@
diff -Ndur openscap-1.1.0/docs/oscap-scan.cron openscap-1.1.0-fix-bashisms/docs/oscap-scan.cron
--- openscap-1.1.0/docs/oscap-scan.cron 2011-08-17 15:55:37.000000000 +0300
+++ openscap-1.1.0-fix-bashisms/docs/oscap-scan.cron 2014-11-29 03:09:36.518411860 +0200
@@ -7,7 +7,7 @@
#OPTIONS="oval eval --report /var/log/oscap-scan.html.log --results /var/log/oscap-scan.xml.log /usr/share/openscap/scap-fedora14-oval.xml"
PROG="/usr/bin/oscap"
-if [ x"$OPTIONS" == "x" ]
+if [ -z "$OPTIONS" ]
then
logger "OpenSCAP security scan: NOT CONFIGURED. (Cron job)"
exit 0

View File

@ -24,6 +24,7 @@ Tue Dec 2 12:44:35 UTC 2014 - meissner@suse.com
- dozens of small fixes
- dozens of memory leaks (whole test suite is now leak free)
- updated gnulib
- openscap-1.1.0-fix-bashisms.patch: upstreamed
-------------------------------------------------------------------
Mon Dec 1 12:38:45 UTC 2014 - meissner@suse.com

View File

@ -32,7 +32,6 @@ Source2: sysconfig.oscap-scan
Source3: scap-yast2sec-xccdf.xml
Source4: scap-yast2sec-oval.xml
Patch0: fix-missing-include.dif
Patch1: openscap-1.1.0-fix-bashisms.patch
Url: http://www.open-scap.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libacl-devel
@ -142,7 +141,6 @@ commonly used and require additional dependencies.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build