import openscap-1.3.6-3.el9
This commit is contained in:
commit
85e5850ea3
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/openscap-1.3.6.tar.gz
|
1
.openscap.metadata
Normal file
1
.openscap.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
8c1b41bb7c32c22d541a6881ab8c5b8bef06890f SOURCES/openscap-1.3.6.tar.gz
|
104
SOURCES/openscap-1.3.7-PR-1841-coverity.patch
Normal file
104
SOURCES/openscap-1.3.7-PR-1841-coverity.patch
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
From f141dfd0311ec2be4c4c27814d9d6693551cfd76 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 27 Jan 2022 15:00:33 +0100
|
||||||
|
Subject: [PATCH 1/3] Fix shellcheck warning
|
||||||
|
|
||||||
|
Addressing:
|
||||||
|
|
||||||
|
Error: SHELLCHECK_WARNING (CWE-138): [#def1]
|
||||||
|
/usr/libexec/oscap-remediate:110:12: error[SC2145]: Argument mixes string and array. Use * or separate argument.
|
||||||
|
108| args+=( "--remediate" )
|
||||||
|
109| args+=( "${OSCAP_REMEDIATE_DS}" )
|
||||||
|
110|-> log "Args: ${args[@]}"
|
||||||
|
111|
|
||||||
|
112| # Now we are good to go
|
||||||
|
---
|
||||||
|
utils/oscap-remediate | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/utils/oscap-remediate b/utils/oscap-remediate
|
||||||
|
index fc0b7715f..52e29aa66 100755
|
||||||
|
--- a/utils/oscap-remediate
|
||||||
|
+++ b/utils/oscap-remediate
|
||||||
|
@@ -107,7 +107,7 @@ args+=( ${OSCAP_REMEDIATE_HTML_REPORT:+"--report=${OSCAP_REMEDIATE_HTML_REPORT}"
|
||||||
|
args+=( "--progress-full" )
|
||||||
|
args+=( "--remediate" )
|
||||||
|
args+=( "${OSCAP_REMEDIATE_DS}" )
|
||||||
|
-log "Args: ${args[@]}"
|
||||||
|
+log "Args: ${args[*]}"
|
||||||
|
|
||||||
|
# Now we are good to go
|
||||||
|
header="OpenSCAP is checking the system for compliance using"$'\n'"${profile_title}"$'\n\n'"Evaluating..."
|
||||||
|
|
||||||
|
From d3e7d5be1fcd55ef396de6070f877df0f2c2c58e Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 27 Jan 2022 15:09:02 +0100
|
||||||
|
Subject: [PATCH 2/3] Remove superfluous strdup
|
||||||
|
|
||||||
|
We can do this because xccdf_session_set_rule calls strdup on the rule
|
||||||
|
parameter internally.
|
||||||
|
|
||||||
|
Addressing:
|
||||||
|
|
||||||
|
Error: RESOURCE_LEAK (CWE-772): [#def2] [important]
|
||||||
|
openscap-1.3.6/build/swig/python3/CMakeFiles/_openscap_py.dir/openscapPYTHON_wrap.c:4148: alloc_fn: Storage is returned from allocation function "strdup".
|
||||||
|
openscap-1.3.6/build/swig/python3/CMakeFiles/_openscap_py.dir/openscapPYTHON_wrap.c:4148: var_assign: Assigning: "n_rule" = storage returned from "strdup(rule)".
|
||||||
|
openscap-1.3.6/build/swig/python3/CMakeFiles/_openscap_py.dir/openscapPYTHON_wrap.c:4149: noescape: Resource "n_rule" is not freed or pointed-to in "xccdf_session_set_rule".
|
||||||
|
openscap-1.3.6/build/swig/python3/CMakeFiles/_openscap_py.dir/openscapPYTHON_wrap.c:4150: leaked_storage: Variable "n_rule" going out of scope leaks the storage it points to.
|
||||||
|
4148| char *n_rule = strdup(rule);
|
||||||
|
4149| xccdf_session_set_rule(sess, n_rule);
|
||||||
|
4150|-> }
|
||||||
|
4151|
|
||||||
|
4152| void xccdf_session_free_py(struct xccdf_session *sess){
|
||||||
|
---
|
||||||
|
swig/openscap.i | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/swig/openscap.i b/swig/openscap.i
|
||||||
|
index 2fe1cce99..158a22675 100644
|
||||||
|
--- a/swig/openscap.i
|
||||||
|
+++ b/swig/openscap.i
|
||||||
|
@@ -559,8 +559,7 @@ struct xccdf_session {
|
||||||
|
};
|
||||||
|
|
||||||
|
void xccdf_session_set_rule_py(struct xccdf_session *sess, char *rule) {
|
||||||
|
- char *n_rule = strdup(rule);
|
||||||
|
- xccdf_session_set_rule(sess, n_rule);
|
||||||
|
+ xccdf_session_set_rule(sess, rule);
|
||||||
|
}
|
||||||
|
|
||||||
|
void xccdf_session_free_py(struct xccdf_session *sess){
|
||||||
|
|
||||||
|
From 6ef54336a018566a32f6a95177635ada7f20794e Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 27 Jan 2022 15:16:02 +0100
|
||||||
|
Subject: [PATCH 3/3] Add a missing free
|
||||||
|
|
||||||
|
Addressing:
|
||||||
|
Error: RESOURCE_LEAK (CWE-772): [#def4] [important]
|
||||||
|
openscap-1.3.6/src/XCCDF_POLICY/xccdf_policy.c:2144: alloc_fn: Storage is returned from allocation function "oscap_htable_iterator_new".
|
||||||
|
openscap-1.3.6/src/XCCDF_POLICY/xccdf_policy.c:2144: var_assign: Assigning: "rit" = storage returned from "oscap_htable_iterator_new(policy->rules)".
|
||||||
|
openscap-1.3.6/src/XCCDF_POLICY/xccdf_policy.c:2145: noescape: Resource "rit" is not freed or pointed-to in "oscap_htable_iterator_has_more".
|
||||||
|
openscap-1.3.6/src/XCCDF_POLICY/xccdf_policy.c:2146: noescape: Resource "rit" is not freed or pointed-to in "oscap_htable_iterator_next_key".
|
||||||
|
openscap-1.3.6/src/XCCDF_POLICY/xccdf_policy.c:2150: leaked_storage: Variable "rit" going out of scope leaks the storage it points to.
|
||||||
|
2148| oscap_seterr(OSCAP_EFAMILY_XCCDF,
|
||||||
|
2149| "Rule '%s' not found in selected profile.", rule_id);
|
||||||
|
2150|-> return NULL;
|
||||||
|
2151| }
|
||||||
|
2152| }
|
||||||
|
---
|
||||||
|
src/XCCDF_POLICY/xccdf_policy.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/XCCDF_POLICY/xccdf_policy.c b/src/XCCDF_POLICY/xccdf_policy.c
|
||||||
|
index b63853a38..4d4b7ad0a 100644
|
||||||
|
--- a/src/XCCDF_POLICY/xccdf_policy.c
|
||||||
|
+++ b/src/XCCDF_POLICY/xccdf_policy.c
|
||||||
|
@@ -2147,6 +2147,7 @@ struct xccdf_result * xccdf_policy_evaluate(struct xccdf_policy * policy)
|
||||||
|
if (oscap_htable_get(policy->rules_found, rule_id) == NULL) {
|
||||||
|
oscap_seterr(OSCAP_EFAMILY_XCCDF,
|
||||||
|
"Rule '%s' not found in selected profile.", rule_id);
|
||||||
|
+ oscap_htable_iterator_free(rit);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
32
SOURCES/openscap-1.3.7-PR-1843-fix-test-ds-misc.patch
Normal file
32
SOURCES/openscap-1.3.7-PR-1843-fix-test-ds-misc.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From e49669a0dde7e3a9123925347fbf3234602371ee Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Mon, 31 Jan 2022 13:45:15 +0100
|
||||||
|
Subject: [PATCH] Prevent fails of test_ds_misc.sh
|
||||||
|
|
||||||
|
The SOURCE_DATE_EPOCH environment variable is effective only when it's
|
||||||
|
set to a value that's older than mtime of the processed file. See the
|
||||||
|
implementation in ds_sds_compose_add_component_internal in src/DS/sds.c.
|
||||||
|
However, the file in our test suite has originally been created before
|
||||||
|
(in 2019) and this mtime can be used when a tarball is produced. To
|
||||||
|
avoid the test failing, we can modify the mtime using the touch command
|
||||||
|
just before we run the tests.
|
||||||
|
---
|
||||||
|
tests/DS/test_ds_misc.sh | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/tests/DS/test_ds_misc.sh b/tests/DS/test_ds_misc.sh
|
||||||
|
index 159007518..cffbef303 100755
|
||||||
|
--- a/tests/DS/test_ds_misc.sh
|
||||||
|
+++ b/tests/DS/test_ds_misc.sh
|
||||||
|
@@ -269,6 +269,8 @@ function test_source_date_epoch() {
|
||||||
|
local timestamp="2020-03-05T12:09:37"
|
||||||
|
export SOURCE_DATE_EPOCH="1583410177"
|
||||||
|
export TZ=UTC
|
||||||
|
+ # ensure the file mtime is always newer than the $timestamp
|
||||||
|
+ touch -c "$xccdf"
|
||||||
|
$OSCAP ds sds-compose "$xccdf" "$result"
|
||||||
|
assert_exists 3 '//ds:component[@timestamp="'$timestamp'"]'
|
||||||
|
rm -f "$result"
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
27
SOURCES/openscap-1.3.7-PR-1844-fix-test-ds-misc-2.patch
Normal file
27
SOURCES/openscap-1.3.7-PR-1844-fix-test-ds-misc-2.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 650656bdac5e8e4df30c11bb4dbc830aab8baa78 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Tue, 1 Feb 2022 15:06:33 +0100
|
||||||
|
Subject: [PATCH] Prevent fails of test_ds_misc.sh
|
||||||
|
|
||||||
|
Other files from which the datastream is composed might also
|
||||||
|
affect the timestamp attributes in result document depending
|
||||||
|
on their mtime.
|
||||||
|
---
|
||||||
|
tests/DS/test_ds_misc.sh | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/DS/test_ds_misc.sh b/tests/DS/test_ds_misc.sh
|
||||||
|
index cffbef303..1777c44f4 100755
|
||||||
|
--- a/tests/DS/test_ds_misc.sh
|
||||||
|
+++ b/tests/DS/test_ds_misc.sh
|
||||||
|
@@ -270,7 +270,9 @@ function test_source_date_epoch() {
|
||||||
|
export SOURCE_DATE_EPOCH="1583410177"
|
||||||
|
export TZ=UTC
|
||||||
|
# ensure the file mtime is always newer than the $timestamp
|
||||||
|
- touch -c "$xccdf"
|
||||||
|
+ touch -c "$srcdir/sds_multiple_oval/first-oval.xml"
|
||||||
|
+ touch -c "$srcdir/sds_multiple_oval/multiple-oval-xccdf.xml"
|
||||||
|
+ touch -c "$srcdir/sds_multiple_oval/second-oval.xml"
|
||||||
|
$OSCAP ds sds-compose "$xccdf" "$result"
|
||||||
|
assert_exists 3 '//ds:component[@timestamp="'$timestamp'"]'
|
||||||
|
rm -f "$result"
|
393
SOURCES/openscap-1.3.7-PR-1846-file-permissions.patch
Normal file
393
SOURCES/openscap-1.3.7-PR-1846-file-permissions.patch
Normal file
@ -0,0 +1,393 @@
|
|||||||
|
From d000375944e8ec965486cf019c3f75f4c06a4e10 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 3 Feb 2022 14:14:21 +0100
|
||||||
|
Subject: [PATCH 1/5] Prevent file permissions errors
|
||||||
|
|
||||||
|
The sysctl setting `fs.protected_regular` doesn't allow `O_CREAT` open
|
||||||
|
on regular files that we don't own in world writable sticky directories
|
||||||
|
(think `/tmp`). This causes permission denied error when writing HTML
|
||||||
|
report to a temporary files created by the `mktemp` command executed as
|
||||||
|
a normal user and then executing `sudo oscap`.
|
||||||
|
|
||||||
|
See https://bugzilla.redhat.com/show_bug.cgi?id=2048571
|
||||||
|
|
||||||
|
If OpenSCAP fails to open the file because of permissions, it will retry
|
||||||
|
to open the file without O_CREAT flag.
|
||||||
|
|
||||||
|
This fixes only creation of the HTML report using the `--report` option,
|
||||||
|
We will have to create a similar patch also for other output options
|
||||||
|
such as `--results` or `--results-arf`.
|
||||||
|
---
|
||||||
|
src/source/xslt.c | 40 ++++++++++++++++++++++++++++------------
|
||||||
|
1 file changed, 28 insertions(+), 12 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/source/xslt.c b/src/source/xslt.c
|
||||||
|
index 24c4c46e9..7a3a3f328 100644
|
||||||
|
--- a/src/source/xslt.c
|
||||||
|
+++ b/src/source/xslt.c
|
||||||
|
@@ -22,6 +22,7 @@
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <fcntl.h>
|
||||||
|
#include <libxml/parser.h>
|
||||||
|
#include <libxslt/xslt.h>
|
||||||
|
#include <libxslt/xsltInternals.h>
|
||||||
|
@@ -82,23 +83,38 @@ static int xccdf_ns_xslt_workaround(xmlDocPtr doc, xmlNodePtr node)
|
||||||
|
|
||||||
|
static inline int save_stylesheet_result_to_file(xmlDoc *resulting_doc, xsltStylesheet *stylesheet, const char *outfile)
|
||||||
|
{
|
||||||
|
- FILE *f = NULL;
|
||||||
|
- if (outfile)
|
||||||
|
- f = fopen(outfile, "w");
|
||||||
|
- else
|
||||||
|
- f = stdout;
|
||||||
|
-
|
||||||
|
- if (f == NULL) {
|
||||||
|
- oscap_seterr(OSCAP_EFAMILY_OSCAP, "Could not open output file '%s'", outfile ? outfile : "stdout");
|
||||||
|
- return -1;
|
||||||
|
+ int fd = STDOUT_FILENO;
|
||||||
|
+ if (outfile) {
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ fd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
+#else
|
||||||
|
+ fd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
+#endif
|
||||||
|
+ if (fd == -1) {
|
||||||
|
+ if (errno == EACCES) {
|
||||||
|
+ /* File already exists and we aren't allowed to create a new one
|
||||||
|
+ with the same name */
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ fd = open(outfile, O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
+#else
|
||||||
|
+ fd = open(outfile, O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
+#endif
|
||||||
|
+ }
|
||||||
|
+ if (fd == -1) {
|
||||||
|
+ oscap_seterr(OSCAP_EFAMILY_OSCAP,
|
||||||
|
+ "Could not open output file '%s': %s",
|
||||||
|
+ outfile, strerror(errno));
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
- int ret = xsltSaveResultToFile(f, resulting_doc, stylesheet);
|
||||||
|
+ int ret = xsltSaveResultToFd(fd, resulting_doc, stylesheet);
|
||||||
|
if (ret < 0) {
|
||||||
|
oscap_seterr(OSCAP_EFAMILY_OSCAP, "Could not save result document");
|
||||||
|
}
|
||||||
|
- if (outfile && f)
|
||||||
|
- fclose(f);
|
||||||
|
+ if (fd != STDOUT_FILENO)
|
||||||
|
+ close(fd);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
From ad3c89a72c0aeb6c6ceab0873c51b07deba45701 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 3 Feb 2022 15:08:52 +0100
|
||||||
|
Subject: [PATCH 2/5] Prevent permission access issues
|
||||||
|
|
||||||
|
Very similar to the previous commit, but this time for saving XML
|
||||||
|
documents.
|
||||||
|
---
|
||||||
|
src/common/elements.c | 19 ++++++++++++++++---
|
||||||
|
1 file changed, 16 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/common/elements.c b/src/common/elements.c
|
||||||
|
index e512f5e3d..d0d9170f1 100644
|
||||||
|
--- a/src/common/elements.c
|
||||||
|
+++ b/src/common/elements.c
|
||||||
|
@@ -233,9 +233,22 @@ int oscap_xml_save_filename(const char *filename, xmlDocPtr doc)
|
||||||
|
int fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY,
|
||||||
|
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
#endif
|
||||||
|
- if (fd < 0) {
|
||||||
|
- oscap_seterr(OSCAP_EFAMILY_GLIBC, "%s '%s'", strerror(errno), filename);
|
||||||
|
- return -1;
|
||||||
|
+ if (fd == -1) {
|
||||||
|
+ if (errno == EACCES) {
|
||||||
|
+ /* File already exists and we aren't allowed to create a new one
|
||||||
|
+ with the same name */
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ fd = open(filename, O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
+#else
|
||||||
|
+ fd = open(filename, O_WRONLY|O_TRUNC,
|
||||||
|
+ S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
+#endif
|
||||||
|
+ }
|
||||||
|
+ if (fd == -1) {
|
||||||
|
+ oscap_seterr(OSCAP_EFAMILY_GLIBC,
|
||||||
|
+ "%s '%s'", strerror(errno), filename);
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
buff = xmlOutputBufferCreateFd(fd, NULL);
|
||||||
|
|
||||||
|
From b2dc90fb80419e30d05676660a2069050693078d Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 3 Feb 2022 15:37:31 +0100
|
||||||
|
Subject: [PATCH 3/5] Add a missing include
|
||||||
|
|
||||||
|
---
|
||||||
|
src/source/xslt.c | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/source/xslt.c b/src/source/xslt.c
|
||||||
|
index 7a3a3f328..a763d6b59 100644
|
||||||
|
--- a/src/source/xslt.c
|
||||||
|
+++ b/src/source/xslt.c
|
||||||
|
@@ -30,6 +30,8 @@
|
||||||
|
#include <libxslt/xsltutils.h>
|
||||||
|
#include <libexslt/exslt.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
+
|
||||||
|
#ifdef OS_WINDOWS
|
||||||
|
#include <io.h>
|
||||||
|
#else
|
||||||
|
|
||||||
|
From 13ff98bd744ea542bc782e388fdedb5b7f66e54b Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Thu, 3 Feb 2022 16:22:56 +0100
|
||||||
|
Subject: [PATCH 4/5] Fix missing STDOUT_FILENO on Windows
|
||||||
|
|
||||||
|
---
|
||||||
|
src/source/xslt.c | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/source/xslt.c b/src/source/xslt.c
|
||||||
|
index a763d6b59..799d5170d 100644
|
||||||
|
--- a/src/source/xslt.c
|
||||||
|
+++ b/src/source/xslt.c
|
||||||
|
@@ -85,7 +85,11 @@ static int xccdf_ns_xslt_workaround(xmlDocPtr doc, xmlNodePtr node)
|
||||||
|
|
||||||
|
static inline int save_stylesheet_result_to_file(xmlDoc *resulting_doc, xsltStylesheet *stylesheet, const char *outfile)
|
||||||
|
{
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ int fd = _fileno(stdout);
|
||||||
|
+#else
|
||||||
|
int fd = STDOUT_FILENO;
|
||||||
|
+#endif
|
||||||
|
if (outfile) {
|
||||||
|
#ifdef OS_WINDOWS
|
||||||
|
fd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
@@ -115,7 +119,11 @@ static inline int save_stylesheet_result_to_file(xmlDoc *resulting_doc, xsltStyl
|
||||||
|
if (ret < 0) {
|
||||||
|
oscap_seterr(OSCAP_EFAMILY_OSCAP, "Could not save result document");
|
||||||
|
}
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ if (fd != _fileno(stdout))
|
||||||
|
+#else
|
||||||
|
if (fd != STDOUT_FILENO)
|
||||||
|
+#endif
|
||||||
|
close(fd);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
From f00831513ec2cdde13c12820ff6cc0eef8105c65 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
|
||||||
|
Date: Fri, 4 Feb 2022 12:19:50 +0100
|
||||||
|
Subject: [PATCH 5/5] Refactor: extract function oscap_open_writable
|
||||||
|
|
||||||
|
---
|
||||||
|
src/common/elements.c | 26 ++--------------
|
||||||
|
src/common/util.c | 31 +++++++++++++++++++
|
||||||
|
src/common/util.h | 14 ++++++++-
|
||||||
|
src/source/xslt.c | 27 ++--------------
|
||||||
|
tests/API/XCCDF/unittests/CMakeLists.txt | 2 ++
|
||||||
|
tests/API/XCCDF/unittests/test_oscap_common.c | 1 +
|
||||||
|
6 files changed, 53 insertions(+), 48 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/common/elements.c b/src/common/elements.c
|
||||||
|
index d0d9170f1..de4be88f1 100644
|
||||||
|
--- a/src/common/elements.c
|
||||||
|
+++ b/src/common/elements.c
|
||||||
|
@@ -227,29 +227,9 @@ int oscap_xml_save_filename(const char *filename, xmlDocPtr doc)
|
||||||
|
xmlCode = xmlSaveFormatFileEnc(filename, doc, "UTF-8", 1);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
-#ifdef OS_WINDOWS
|
||||||
|
- int fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY, S_IREAD|S_IWRITE);
|
||||||
|
-#else
|
||||||
|
- int fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY,
|
||||||
|
- S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
-#endif
|
||||||
|
- if (fd == -1) {
|
||||||
|
- if (errno == EACCES) {
|
||||||
|
- /* File already exists and we aren't allowed to create a new one
|
||||||
|
- with the same name */
|
||||||
|
-#ifdef OS_WINDOWS
|
||||||
|
- fd = open(filename, O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
-#else
|
||||||
|
- fd = open(filename, O_WRONLY|O_TRUNC,
|
||||||
|
- S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
-#endif
|
||||||
|
- }
|
||||||
|
- if (fd == -1) {
|
||||||
|
- oscap_seterr(OSCAP_EFAMILY_GLIBC,
|
||||||
|
- "%s '%s'", strerror(errno), filename);
|
||||||
|
- return -1;
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
+ int fd = oscap_open_writable(filename);
|
||||||
|
+ if (fd == -1)
|
||||||
|
+ return -1;
|
||||||
|
|
||||||
|
buff = xmlOutputBufferCreateFd(fd, NULL);
|
||||||
|
if (buff == NULL) {
|
||||||
|
diff --git a/src/common/util.c b/src/common/util.c
|
||||||
|
index 8f9f751e2..8ca2ad130 100644
|
||||||
|
--- a/src/common/util.c
|
||||||
|
+++ b/src/common/util.c
|
||||||
|
@@ -25,12 +25,14 @@
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <fcntl.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <pcre.h>
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
|
||||||
|
#include "util.h"
|
||||||
|
#include "_error.h"
|
||||||
|
@@ -482,3 +484,32 @@ char *oscap_windows_error_message(unsigned long error_code)
|
||||||
|
return error_message;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
+
|
||||||
|
+int oscap_open_writable(const char *filename)
|
||||||
|
+{
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
+#else
|
||||||
|
+ int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC,
|
||||||
|
+ S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
+#endif
|
||||||
|
+ if (fd == -1) {
|
||||||
|
+ if (errno == EACCES) {
|
||||||
|
+ /* File already exists and we aren't allowed to create a new one
|
||||||
|
+ with the same name */
|
||||||
|
+#ifdef OS_WINDOWS
|
||||||
|
+ fd = open(filename, O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
+#else
|
||||||
|
+ fd = open(filename, O_WRONLY|O_TRUNC,
|
||||||
|
+ S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
+#endif
|
||||||
|
+ }
|
||||||
|
+ if (fd == -1) {
|
||||||
|
+ oscap_seterr(OSCAP_EFAMILY_OSCAP,
|
||||||
|
+ "Could not open output file '%s': %s",
|
||||||
|
+ filename, strerror(errno));
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+ return fd;
|
||||||
|
+}
|
||||||
|
diff --git a/src/common/util.h b/src/common/util.h
|
||||||
|
index c48d92a52..5712f2f0b 100644
|
||||||
|
--- a/src/common/util.h
|
||||||
|
+++ b/src/common/util.h
|
||||||
|
@@ -524,4 +524,16 @@ wchar_t *oscap_windows_str_to_wstr(const char *str);
|
||||||
|
char *oscap_windows_error_message(unsigned long error_code);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#endif /* OSCAP_UTIL_H_ */
|
||||||
|
+/**
|
||||||
|
+ * Open a file for writing.
|
||||||
|
+ * The main difference from fopen() is that if the file exists but its opening
|
||||||
|
+ * for writing fails as permission denied, it will attempt to open it again
|
||||||
|
+ * without the O_CREAT flag. This is useful when writing to world-writeable
|
||||||
|
+ * directories with sticky bit such as /tmp on systems with fs.protected_regular
|
||||||
|
+ * turned on.
|
||||||
|
+ * @param filename name of the file to be opened
|
||||||
|
+ * @return file descriptor or -1 on error
|
||||||
|
+ */
|
||||||
|
+int oscap_open_writable(const char *filename);
|
||||||
|
+
|
||||||
|
+#endif /* OSCAP_UTIL_H_ */
|
||||||
|
diff --git a/src/source/xslt.c b/src/source/xslt.c
|
||||||
|
index 799d5170d..906bfabdb 100644
|
||||||
|
--- a/src/source/xslt.c
|
||||||
|
+++ b/src/source/xslt.c
|
||||||
|
@@ -22,7 +22,6 @@
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#include <fcntl.h>
|
||||||
|
#include <libxml/parser.h>
|
||||||
|
#include <libxslt/xslt.h>
|
||||||
|
#include <libxslt/xsltInternals.h>
|
||||||
|
@@ -30,7 +29,6 @@
|
||||||
|
#include <libxslt/xsltutils.h>
|
||||||
|
#include <libexslt/exslt.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <sys/stat.h>
|
||||||
|
|
||||||
|
#ifdef OS_WINDOWS
|
||||||
|
#include <io.h>
|
||||||
|
@@ -91,29 +89,10 @@ static inline int save_stylesheet_result_to_file(xmlDoc *resulting_doc, xsltStyl
|
||||||
|
int fd = STDOUT_FILENO;
|
||||||
|
#endif
|
||||||
|
if (outfile) {
|
||||||
|
-#ifdef OS_WINDOWS
|
||||||
|
- fd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
-#else
|
||||||
|
- fd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
-#endif
|
||||||
|
- if (fd == -1) {
|
||||||
|
- if (errno == EACCES) {
|
||||||
|
- /* File already exists and we aren't allowed to create a new one
|
||||||
|
- with the same name */
|
||||||
|
-#ifdef OS_WINDOWS
|
||||||
|
- fd = open(outfile, O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE);
|
||||||
|
-#else
|
||||||
|
- fd = open(outfile, O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||||
|
-#endif
|
||||||
|
- }
|
||||||
|
- if (fd == -1) {
|
||||||
|
- oscap_seterr(OSCAP_EFAMILY_OSCAP,
|
||||||
|
- "Could not open output file '%s': %s",
|
||||||
|
- outfile, strerror(errno));
|
||||||
|
- return -1;
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
+ fd = oscap_open_writable(outfile);
|
||||||
|
}
|
||||||
|
+ if (fd == -1)
|
||||||
|
+ return -1;
|
||||||
|
|
||||||
|
int ret = xsltSaveResultToFd(fd, resulting_doc, stylesheet);
|
||||||
|
if (ret < 0) {
|
||||||
|
diff --git a/tests/API/XCCDF/unittests/CMakeLists.txt b/tests/API/XCCDF/unittests/CMakeLists.txt
|
||||||
|
index 97e1ab09f..a1c7da67f 100644
|
||||||
|
--- a/tests/API/XCCDF/unittests/CMakeLists.txt
|
||||||
|
+++ b/tests/API/XCCDF/unittests/CMakeLists.txt
|
||||||
|
@@ -2,6 +2,8 @@ add_oscap_test_executable(test_oscap_common
|
||||||
|
"test_oscap_common.c"
|
||||||
|
${CMAKE_SOURCE_DIR}/src/common/util.c
|
||||||
|
${CMAKE_SOURCE_DIR}/src/common/list.c
|
||||||
|
+ ${CMAKE_SOURCE_DIR}/src/common/error.c
|
||||||
|
+ ${CMAKE_SOURCE_DIR}/src/common/err_queue.c
|
||||||
|
)
|
||||||
|
|
||||||
|
add_oscap_test_executable(test_xccdf_overrides
|
||||||
|
diff --git a/tests/API/XCCDF/unittests/test_oscap_common.c b/tests/API/XCCDF/unittests/test_oscap_common.c
|
||||||
|
index 26ff51d48..939ba8750 100644
|
||||||
|
--- a/tests/API/XCCDF/unittests/test_oscap_common.c
|
||||||
|
+++ b/tests/API/XCCDF/unittests/test_oscap_common.c
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include "common/list.h"
|
||||||
|
#include "common/util.h"
|
||||||
|
+#include "common/_error.h"
|
||||||
|
#include "oscap_assert.h"
|
||||||
|
|
||||||
|
#define SEEN_LEN 9
|
769
SPECS/openscap.spec
Normal file
769
SPECS/openscap.spec
Normal file
@ -0,0 +1,769 @@
|
|||||||
|
Name: openscap
|
||||||
|
Version: 1.3.6
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Epoch: 1
|
||||||
|
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://www.open-scap.org/
|
||||||
|
Source0: https://github.com/OpenSCAP/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: openscap-1.3.7-PR-1841-coverity.patch
|
||||||
|
Patch2: openscap-1.3.7-PR-1843-fix-test-ds-misc.patch
|
||||||
|
Patch3: openscap-1.3.7-PR-1844-fix-test-ds-misc-2.patch
|
||||||
|
Patch4: openscap-1.3.7-PR-1846-file-permissions.patch
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: cmake >= 2.6
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: swig libxml2-devel libxslt-devel perl-generators perl-XML-Parser
|
||||||
|
BuildRequires: rpm-devel
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: pcre-devel
|
||||||
|
BuildRequires: libacl-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: libblkid-devel
|
||||||
|
BuildRequires: bzip2-devel
|
||||||
|
BuildRequires: asciidoc
|
||||||
|
BuildRequires: openldap-devel
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: dbus-devel
|
||||||
|
BuildRequires: libyaml-devel
|
||||||
|
BuildRequires: xmlsec1-devel xmlsec1-openssl-devel
|
||||||
|
%if %{?_with_check:1}%{!?_with_check:0}
|
||||||
|
BuildRequires: perl-XML-XPath
|
||||||
|
BuildRequires: bzip2
|
||||||
|
%endif
|
||||||
|
Requires: bash
|
||||||
|
Requires: bzip2-libs
|
||||||
|
Requires: dbus
|
||||||
|
Requires: libyaml
|
||||||
|
Requires: glib2
|
||||||
|
Requires: libacl
|
||||||
|
Requires: libblkid
|
||||||
|
Requires: libcap
|
||||||
|
Requires: libselinux
|
||||||
|
Requires: openldap
|
||||||
|
Requires: popt
|
||||||
|
# We have procps-ng, which provides procps
|
||||||
|
Requires: procps
|
||||||
|
Requires: xmlsec1 xmlsec1-openssl
|
||||||
|
|
||||||
|
%description
|
||||||
|
OpenSCAP is a set of open source libraries providing an easier path
|
||||||
|
for integration of the SCAP line of standards. SCAP is a line of standards
|
||||||
|
managed by NIST with the goal of providing a standard language
|
||||||
|
for the expression of Computer Network Defense related information.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: libxml2-devel
|
||||||
|
Requires: pkgconfig
|
||||||
|
BuildRequires: doxygen
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package python3
|
||||||
|
Summary: Python 3 bindings for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
|
%description python3
|
||||||
|
The %{name}-python3 package contains the bindings so that %{name}
|
||||||
|
libraries can be used by python3.
|
||||||
|
|
||||||
|
%package scanner
|
||||||
|
Summary: OpenSCAP Scanner Tool (oscap)
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: libcurl >= 7.12.0
|
||||||
|
BuildRequires: libcurl-devel >= 7.12.0
|
||||||
|
|
||||||
|
%description scanner
|
||||||
|
The %{name}-scanner package contains oscap command-line tool. The oscap
|
||||||
|
is configuration and vulnerability scanner, capable of performing
|
||||||
|
compliance checking using SCAP content.
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
Summary: OpenSCAP Utilities
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: rpmdevtools rpm-build
|
||||||
|
Requires: %{name}-scanner%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: bash
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
The %{name}-utils package contains command-line tools build on top
|
||||||
|
of OpenSCAP library. Historically, openscap-utils included oscap
|
||||||
|
tool which is now separated to %{name}-scanner sub-package.
|
||||||
|
|
||||||
|
%package engine-sce
|
||||||
|
Summary: Script Check Engine plug-in for OpenSCAP
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%description engine-sce
|
||||||
|
The Script Check Engine is non-standard extension to SCAP protocol. This
|
||||||
|
engine allows content authors to avoid OVAL language and write their assessment
|
||||||
|
commands using a scripting language (Bash, Perl, Python, Ruby, ...).
|
||||||
|
|
||||||
|
%package engine-sce-devel
|
||||||
|
Summary: Development files for %{name}-engine-sce
|
||||||
|
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: %{name}-engine-sce%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description engine-sce-devel
|
||||||
|
The %{name}-engine-sce-devel package contains libraries and header files
|
||||||
|
for developing applications that use %{name}-engine-sce.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
# gconf is a legacy system not used any more, and it blocks testing of oscap-anaconda-addon
|
||||||
|
# as gconf is no longer part of the installation medium
|
||||||
|
%cmake \
|
||||||
|
-DENABLE_DOCS=ON \
|
||||||
|
-DENABLE_PERL=OFF \
|
||||||
|
-DENABLE_OSCAP_UTIL_DOCKER=OFF \
|
||||||
|
-DOPENSCAP_PROBE_UNIX_GCONF=OFF \
|
||||||
|
-DOPENSCAP_ENABLE_SHA1=OFF \
|
||||||
|
-DOPENSCAP_ENABLE_MD5=OFF \
|
||||||
|
-DGCONF_LIBRARY=
|
||||||
|
%cmake_build
|
||||||
|
make docs
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{?_with_check:1}%{!?_with_check:0}
|
||||||
|
ctest -V %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
# fix python shebangs
|
||||||
|
pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
# enable oscap-remediate.service here for now
|
||||||
|
# https://github.com/hughsie/PackageKit/issues/401
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1833176
|
||||||
|
mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants/
|
||||||
|
ln -sf ../oscap-remediate.service %{buildroot}%{_unitdir}/system-update.target.wants/oscap-remediate.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc AUTHORS NEWS README.md
|
||||||
|
%license COPYING
|
||||||
|
%doc %{_pkgdocdir}/manual/
|
||||||
|
%dir %{_datadir}/openscap
|
||||||
|
%dir %{_datadir}/openscap/schemas
|
||||||
|
%dir %{_datadir}/openscap/xsl
|
||||||
|
%dir %{_datadir}/openscap/cpe
|
||||||
|
%{_libdir}/libopenscap.so.*
|
||||||
|
%{_datadir}/openscap/schemas/*
|
||||||
|
%{_datadir}/openscap/xsl/*
|
||||||
|
%{_datadir}/openscap/cpe/*
|
||||||
|
|
||||||
|
%files python3
|
||||||
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc %{_pkgdocdir}/html/
|
||||||
|
%{_libdir}/libopenscap.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_includedir}/openscap
|
||||||
|
%exclude %{_includedir}/openscap/sce_engine_api.h
|
||||||
|
|
||||||
|
%files engine-sce-devel
|
||||||
|
%{_libdir}/libopenscap_sce.so
|
||||||
|
%{_includedir}/openscap/sce_engine_api.h
|
||||||
|
|
||||||
|
%files scanner
|
||||||
|
%{_mandir}/man8/oscap.8.gz
|
||||||
|
%{_bindir}/oscap
|
||||||
|
%{_mandir}/man8/oscap-chroot.8.gz
|
||||||
|
%{_bindir}/oscap-chroot
|
||||||
|
%{_mandir}/man8/oscap-remediate-offline.8.gz
|
||||||
|
%{_bindir}/oscap-remediate-offline
|
||||||
|
%{_sysconfdir}/bash_completion.d
|
||||||
|
%{_libexecdir}/oscap-remediate
|
||||||
|
%{_unitdir}/oscap-remediate.service
|
||||||
|
%{_unitdir}/system-update.target.wants/
|
||||||
|
|
||||||
|
%files utils
|
||||||
|
%doc docs/oscap-scan.cron
|
||||||
|
%{_mandir}/man8/oscap-ssh.8.gz
|
||||||
|
%{_bindir}/oscap-ssh
|
||||||
|
%{_mandir}/man8/oscap-podman.8.gz
|
||||||
|
%{_bindir}/oscap-podman
|
||||||
|
%{_mandir}/man8/oscap-vm.8.gz
|
||||||
|
%{_bindir}/oscap-vm
|
||||||
|
%{_mandir}/man8/scap-as-rpm.8.gz
|
||||||
|
%{_bindir}/scap-as-rpm
|
||||||
|
%{_mandir}/man8/autotailor.8.gz
|
||||||
|
%{_bindir}/autotailor
|
||||||
|
|
||||||
|
%files engine-sce
|
||||||
|
%{_libdir}/libopenscap_sce.so.*
|
||||||
|
%{_bindir}/oscap-run-sce-script
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Feb 07 2022 Jan Černý <jcerny@redhat.com> - 1:1.3.6-3
|
||||||
|
- Prevent file permission errors (rhbz#2048571)
|
||||||
|
|
||||||
|
* Mon Jan 31 2022 Jan Černý <jcerny@redhat.com> - 1.3.6-2
|
||||||
|
- Fix coverity issues
|
||||||
|
- Prevent fails of test_ds_misc.sh
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Jan Černý <jcerny@redhat.com> - 1:1.3.6-1
|
||||||
|
- Upgrade to the latest upstream release (rhbz#2041782)
|
||||||
|
- Select and exclude groups of rules on the command line (rhbz#2020580, rhbz#2020581)
|
||||||
|
- The boot-time remediation service for systemd's Offline Update mode
|
||||||
|
|
||||||
|
* Fri Nov 19 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-13
|
||||||
|
- Print warning for local files
|
||||||
|
|
||||||
|
* Tue Nov 09 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-12
|
||||||
|
- Allow using local files instead of remote resources (rhbz#2015518)
|
||||||
|
- Add an alternative source of hostname (rhbz#2021509)
|
||||||
|
- Lower memory limits and improve their checking (rhbz#2022362)
|
||||||
|
|
||||||
|
* Thu Nov 04 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-11
|
||||||
|
- Initialize crypto API only once (rhbz#2020044)
|
||||||
|
- Add support for Blueprint remediations (rhbz#2020052)
|
||||||
|
|
||||||
|
* Mon Nov 01 2021 Evgenii Kolesnikov <ekolesni@redhat.com> - 1:1.3.5-10
|
||||||
|
- Fix process58 probe errors when scanning minimalist filesystem in offline mode (rhbz#2019054)
|
||||||
|
|
||||||
|
* Mon Nov 01 2021 Matej Tyc <matyc@redhat.com> - 1:1.3.5-9
|
||||||
|
- Fix bad handling of HTTP error code (rhbz#2002733)
|
||||||
|
|
||||||
|
* Fri Aug 27 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-8
|
||||||
|
- Revert Epoch removal
|
||||||
|
|
||||||
|
* Tue Aug 24 2021 Evgenii Kolesnikov <ekolesni@redhat.com> - 1:1.3.5-7
|
||||||
|
- Update package spec file
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.3.5-6
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-5
|
||||||
|
- Remove support for SHA-1 and MD5 (rhbz#1936619)
|
||||||
|
- Fix coverity findings (rhbz#1938830)
|
||||||
|
|
||||||
|
* Tue Jun 29 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-4
|
||||||
|
- Fix failing test tests/API/XCCDF/unittests/test_profile_selection_by_suffix.sh
|
||||||
|
- Add 'null' yamlfilecontent values handling
|
||||||
|
|
||||||
|
* Mon Jun 28 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-3
|
||||||
|
- Do not set RPATH on built binaries
|
||||||
|
- Fix UBI9 scan (rhbz#1953610)
|
||||||
|
- Fix failing rpminspect xml test
|
||||||
|
|
||||||
|
* Thu May 20 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-2
|
||||||
|
- Remove containers subpackage
|
||||||
|
|
||||||
|
* Fri Apr 23 2021 Jan Černý <jcerny@redhat.com> - 1:1.3.5-1
|
||||||
|
- Update to the latest upstream release
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.3.4-4
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Wed Dec 09 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.4-3
|
||||||
|
- Remove dependency on GConf2
|
||||||
|
- Update cmake command
|
||||||
|
|
||||||
|
* Tue Nov 03 2020 Evgenii Kolesnikov <ekolesni@redhat.com> - 1.3.4-2
|
||||||
|
- Fix problems uncovered by the Coverity Scan
|
||||||
|
- Fix field names handling in yamlfilecontent probe
|
||||||
|
|
||||||
|
* Wed Oct 07 2020 Evgenii Kolesnikov <ekolesni@redhat.com> - 1:1.3.4-1
|
||||||
|
- Upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Aug 27 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.3-6
|
||||||
|
- Disabled the gconf probe, and removed the gconf dependency.
|
||||||
|
gconf is a legacy system not used any more, and it blocks testing of oscap-anaconda-addon
|
||||||
|
as gconf is no longer part of the installation medium for Fedora 32
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.3-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1:1.3.3-4
|
||||||
|
- Update spec file to use new cmake macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.3.3-3
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Mon May 04 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.3-2
|
||||||
|
- Add libyaml-devel as a dependency to enable yamlfilecontent probe
|
||||||
|
|
||||||
|
* Thu Apr 30 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.3-1
|
||||||
|
- Upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Apr 09 2020 Matěj Týč <matyc@redhat.com> - 1:1.3.2-5
|
||||||
|
- Made the spec file requirements section copy-paste of the RHEL8 section.
|
||||||
|
- Cleaned the spec file up from ancient obsoletes.
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 27 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.2-3
|
||||||
|
- Fix duplicate global variables (RHBZ#1793914)
|
||||||
|
|
||||||
|
* Wed Jan 15 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.2-2
|
||||||
|
- Do not use C++ keyword operator as a function parameter name
|
||||||
|
|
||||||
|
* Tue Jan 14 2020 Jan Černý <jcerny@redhat.com> - 1:1.3.2-1
|
||||||
|
- Upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.3.1-4
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.3.1-3
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 13 2019 Jan Černý <jcerny@redhat.com> - 1:1.3.1-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Mon Jun 10 22:13:21 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.3.0-7
|
||||||
|
- Rebuild for RPM 4.15
|
||||||
|
|
||||||
|
* Mon Jun 10 15:42:04 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.3.0-6
|
||||||
|
- Rebuild for RPM 4.15
|
||||||
|
|
||||||
|
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.3.0-5
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Mon May 20 2019 Jan Černý <jcerny@redhat.com> - 1.3.0-4
|
||||||
|
- Upgrade the Epoch to align with F30
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Oct 19 2018 Matěj Týč <matyc@redhat.com> - 1.3.0-2
|
||||||
|
- Removed the openscap-perl package to be on par with RHEL.
|
||||||
|
|
||||||
|
* Tue Oct 09 2018 Jan Černý <jcerny@redhat.com> - 1.3.0-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Mon Sep 10 2018 Jan Černý <jcerny@redhat.com> - 1.3.0_alpha2-2
|
||||||
|
- List subpackages removed in 1.3.0_alpha1-1 as obsoleted (RHBZ#1626801)
|
||||||
|
|
||||||
|
* Mon Aug 13 2018 Jan Černý <jcerny@redhat.com> - 1.3.0_alpha2-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Wed Jul 25 2018 Jan Černý <jcerny@redhat.com> - 1.3.0_alpha1-2
|
||||||
|
- removed python2-openscap subpackage
|
||||||
|
|
||||||
|
* Wed Jul 18 2018 Jan Černý <jcerny@redhat.com> - 1.3.0_alpha1-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
- change specfile to use CMake
|
||||||
|
- dropped commands in the spec file that are no longer relevant
|
||||||
|
- dropped subpackages in the spec file that are no longer relevant
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.17-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 1.2.17-4
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.17-3
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.17-2
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
|
* Tue May 29 2018 Jan Černý <jcerny@redhat.com> - 1.2.17-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.16-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.16-2
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
|
* Tue Nov 14 2017 jcerny@redhat.com - 1.2.16-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Oct 05 2017 Martin Preisler <mpreisle@redhat.com> - 1.2.15-2
|
||||||
|
- moved oscap-chroot to openscap-scanner because it's a thin wrapper script with no dependencies
|
||||||
|
|
||||||
|
* Fri Aug 25 2017 Jan Černý <jcerny@redhat.com> - 1.2.15-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.14-9
|
||||||
|
- Add Provides for the old name without %%_isa
|
||||||
|
|
||||||
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.14-8
|
||||||
|
- Python 2 binary package renamed to python2-openscap
|
||||||
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
|
||||||
|
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.14-7
|
||||||
|
- Rebuilt after RPM update (№ 3)
|
||||||
|
|
||||||
|
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.14-6
|
||||||
|
- Rebuilt for RPM soname bump
|
||||||
|
|
||||||
|
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.14-5
|
||||||
|
- Rebuilt for RPM soname bump
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.14-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.14-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.14-2
|
||||||
|
- Perl 5.26 rebuild
|
||||||
|
|
||||||
|
* Tue Mar 21 2017 Martin Preisler <mpreisle@redhat.com> - 1.2.14-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 05 2017 Martin Preisler <mpreisle@redhat.com> - 1.2.13-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.12-2
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
* Tue Nov 22 2016 Martin Preisler <mpreisle@redhat.com> - 1.2.12-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Wed Oct 19 2016 Martin Preisler <mpreisle@redhat.com> - 1.2.11-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.10-2
|
||||||
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
|
* Tue Jul 12 2016 Martin Preisler <mpreisle@redhat.com> - 1.2.10-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.9-2
|
||||||
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
* Fri Apr 22 2016 Martin Preisler <mpreisle@redhat.com> - 1.2.9-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 18 2016 Šimon Lukašík <slukasik@redhat.com> - 1.2.8-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Dec 03 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.7-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||||
|
|
||||||
|
* Tue Oct 13 2015 Zbyněk Moravec <zmoravec@redhat.com> - 1.2.6-3
|
||||||
|
- fix oscap-docker shebang
|
||||||
|
|
||||||
|
* Wed Oct 07 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.6-2
|
||||||
|
- put oscap-docker to openscap-containers subpackage
|
||||||
|
- do not require atomic at all
|
||||||
|
|
||||||
|
* Mon Oct 05 2015 Zbyněk Moravec <zmoravec@redhat.com> - 1.2.6-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Wed Jul 29 2015 Martin Preisler <mpreisle@redhat.com> - 1.2.5-2
|
||||||
|
- rebuilt because of librpm and librpmio ABI break
|
||||||
|
|
||||||
|
* Mon Jul 06 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.5-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Sat Jun 20 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.4-1
|
||||||
|
- upgrade to the latest upstream release.
|
||||||
|
- Content of selinux package has been purged.
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.3-2
|
||||||
|
- Perl 5.22 rebuild
|
||||||
|
|
||||||
|
* Fri May 01 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.3-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Thu Apr 02 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.2-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Sat Jan 10 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.1-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Tue Dec 02 2014 Šimon Lukašík <slukasik@redhat.com> - 1.2.0-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Fri Sep 26 2014 Šimon Lukašík <slukasik@redhat.com> - 1.1.1-1
|
||||||
|
- upgrade to the latest upstream release
|
||||||
|
|
||||||
|
* Fri Sep 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.0-2
|
||||||
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
* Wed Sep 03 2014 Šimon Lukašík <slukasik@redhat.com> - 1.1.0-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.0.9-4
|
||||||
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 01 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.9-2
|
||||||
|
- Extract oscap tool to a separate package (rhbz#1115116)
|
||||||
|
|
||||||
|
* Wed Jun 25 2014 Martin Preisler <mpreisle@redhat.com> - 1.0.9-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Mar 26 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.8-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Mar 20 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.7-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Mar 19 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.6-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Mar 14 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.5-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Feb 13 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.4-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Jan 14 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.3-1
|
||||||
|
- upgrade
|
||||||
|
- This upstream release addresses: #1052142
|
||||||
|
|
||||||
|
* Fri Jan 10 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.2-1
|
||||||
|
- upgrade
|
||||||
|
- This upstream release addresses: #1018291, #1029879, #1026833
|
||||||
|
|
||||||
|
* Thu Nov 28 2013 Šimon Lukašík <slukasik@redhat.com> - 1.0.1-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Nov 26 2013 Šimon Lukašík <slukasik@redhat.com> - 1.0.0-3
|
||||||
|
- expand LT_CURRENT_MINUS_AGE correctly
|
||||||
|
|
||||||
|
* Thu Nov 21 2013 Šimon Lukašík <slukasik@redhat.com> - 1.0.0-2
|
||||||
|
- dlopen libopenscap_sce.so.{current-age} explicitly
|
||||||
|
That allows for SCE to work without openscap-engine-sce-devel
|
||||||
|
|
||||||
|
* Tue Nov 19 2013 Šimon Lukašík <slukasik@redhat.com> - 1.0.0-1
|
||||||
|
- upgrade
|
||||||
|
- package openscap-engine-sce-devel separately
|
||||||
|
|
||||||
|
* Fri Nov 15 2013 Šimon Lukašík <slukasik@redhat.com> - 0.9.13-7
|
||||||
|
- do not obsolete openscap-conten just drop it (#1028706)
|
||||||
|
scap-security-guide will bring the Obsoletes tag
|
||||||
|
|
||||||
|
* Thu Nov 14 2013 Šimon Lukašík <slukasik@redhat.com> - 0.9.13-6
|
||||||
|
- only non-noarch packages should be requiring specific architecture
|
||||||
|
|
||||||
|
* Sat Nov 09 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.13-5
|
||||||
|
- specify architecture when requiring base package
|
||||||
|
|
||||||
|
* Fri Nov 08 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.13-4
|
||||||
|
- specify dependency between engine and devel sub-package
|
||||||
|
|
||||||
|
* Fri Nov 08 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.13-3
|
||||||
|
- correct openscap-utils dependencies
|
||||||
|
|
||||||
|
* Fri Nov 08 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.13-2
|
||||||
|
- drop openscap-content package (use scap-security-guide instead)
|
||||||
|
|
||||||
|
* Fri Nov 08 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.13-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Sep 26 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.12-2
|
||||||
|
- Start building SQL probes for Fedora
|
||||||
|
|
||||||
|
* Wed Sep 11 2013 Šimon Lukašík <slukasik@redhat.com> 0.9.12-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.11-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 18 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.11-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.9.10-2
|
||||||
|
- Perl 5.18 rebuild
|
||||||
|
|
||||||
|
* Mon Jul 15 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.10-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Mon Jun 17 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.8-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Apr 26 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.7-1
|
||||||
|
- upgrade
|
||||||
|
- add openscap-selinux sub-package
|
||||||
|
|
||||||
|
* Wed Apr 24 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.6-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Mar 20 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.5-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Mon Mar 04 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.4.1-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Feb 26 2013 Petr Lautrbach <plautrba@redhat.com> 0.9.4-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 17 2012 Petr Lautrbach <plautrba@redhat.com> 0.9.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Nov 21 2012 Petr Lautrbach <plautrba@redhat.com> 0.9.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Mon Oct 22 2012 Petr Lautrbach <plautrba@redhat.com> 0.9.1-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Sep 25 2012 Peter Vrabec <pvrabec@redhat.com> 0.9.0-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Mon Aug 27 2012 Petr Lautrbach <plautrba@redhat.com> 0.8.5-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Aug 07 2012 Petr Lautrbach <plautrba@redhat.com> 0.8.4-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Jul 31 2012 Petr Lautrbach <plautrba@redhat.com> 0.8.3-2
|
||||||
|
- fix Profile and @hidden issue
|
||||||
|
|
||||||
|
* Mon Jul 30 2012 Petr Lautrbach <plautrba@redhat.com> 0.8.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.8.2-2
|
||||||
|
- Perl 5.16 rebuild
|
||||||
|
|
||||||
|
* Fri Mar 30 2012 Petr Lautrbach <plautrba@redhat.com> 0.8.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Feb 21 2012 Peter Vrabec <pvrabec@redhat.com> 0.8.1-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 0.8.0-3
|
||||||
|
- Rebuild against PCRE 8.30
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 11 2011 Peter Vrabec <pvrabec@redhat.com> 0.8.0-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Mon Jul 25 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.4-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.7.3-3
|
||||||
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.7.3-2
|
||||||
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
* Fri Jun 24 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.7.2-3
|
||||||
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.7.2-2
|
||||||
|
- Perl 5.14 mass rebuild
|
||||||
|
|
||||||
|
* Wed Apr 20 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Mar 11 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.1-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Feb 10 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.0-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 31 2011 Peter Vrabec <pvrabec@redhat.com> 0.6.8-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Jan 14 2011 Peter Vrabec <pvrabec@redhat.com> 0.6.7-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Oct 20 2010 Peter Vrabec <pvrabec@redhat.com> 0.6.4-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Sep 14 2010 Peter Vrabec <pvrabec@redhat.com> 0.6.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Aug 27 2010 Peter Vrabec <pvrabec@redhat.com> 0.6.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Jul 14 2010 Peter Vrabec <pvrabec@redhat.com> 0.6.0-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed May 26 2010 Peter Vrabec <pvrabec@redhat.com> 0.5.11-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri May 07 2010 Peter Vrabec <pvrabec@redhat.com> 0.5.10-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Apr 16 2010 Peter Vrabec <pvrabec@redhat.com> 0.5.9-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Feb 26 2010 Peter Vrabec <pvrabec@redhat.com> 0.5.7-1
|
||||||
|
- upgrade
|
||||||
|
- new utils package
|
||||||
|
|
||||||
|
* Mon Jan 04 2010 Peter Vrabec <pvrabec@redhat.com> 0.5.6-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Tue Sep 29 2009 Peter Vrabec <pvrabec@redhat.com> 0.5.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Wed Aug 19 2009 Peter Vrabec <pvrabec@redhat.com> 0.5.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Mon Aug 03 2009 Peter Vrabec <pvrabec@redhat.com> 0.5.1-2
|
||||||
|
- add rpm-devel requirement
|
||||||
|
|
||||||
|
* Mon Aug 03 2009 Peter Vrabec <pvrabec@redhat.com> 0.5.1-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Apr 30 2009 Peter Vrabec <pvrabec@redhat.com> 0.3.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Apr 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.3.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Sun Mar 29 2009 Peter Vrabec <pvrabec@redhat.com> 0.1.4-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Fri Mar 27 2009 Peter Vrabec <pvrabec@redhat.com> 0.1.3-2
|
||||||
|
- spec file fixes (#491892)
|
||||||
|
|
||||||
|
* Tue Mar 24 2009 Peter Vrabec <pvrabec@redhat.com> 0.1.3-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
|
* Thu Jan 15 2009 Tomas Heinrich <theinric@redhat.com> 0.1.1-1
|
||||||
|
- Initial rpm
|
||||||
|
|
Loading…
Reference in New Issue
Block a user