diff --git a/.gitignore b/.gitignore index ea3bba4..36dc8c9 100644 --- a/.gitignore +++ b/.gitignore @@ -166,3 +166,4 @@ audit-2.0.4.tar.gz /audit-3.0-alpha9.tar.gz /audit-3.0.tar.gz /audit-3.0.1.tar.gz +/audit-3.0.2.tar.gz diff --git a/audit-3.0.2-sockaddr.patch b/audit-3.0.2-sockaddr.patch deleted file mode 100644 index a37cd0e..0000000 --- a/audit-3.0.2-sockaddr.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -urp audit-3.0.2.orig/audisp/plugins/statsd/audisp-statsd.c audit-3.0.2/audisp/plugins/statsd/audisp-statsd.c ---- audit-3.0.2.orig/audisp/plugins/statsd/audisp-statsd.c 2021-02-12 10:13:09.000000000 -0500 -+++ audit-3.0.2/audisp/plugins/statsd/audisp-statsd.c 2021-02-16 22:39:05.429139678 -0500 -@@ -46,7 +46,7 @@ struct daemon_config - unsigned int port; - unsigned int interval; - int sock; -- struct sockaddr addr; -+ struct sockaddr_storage addr; - socklen_t addrlen; - }; - -@@ -287,7 +287,8 @@ static void send_statsd(void) - r.events_anomaly_count, r.events_response_count); - - if (len > 0 && len < (int)sizeof(message)) -- sendto(d.sock, message, len, 0, &d.addr, d.addrlen); -+ sendto(d.sock, message, len, 0, (struct sockaddr *)&d.addr, -+ d.addrlen); - } - - diff --git a/audit.spec b/audit.spec index 29c77c2..6781723 100644 --- a/audit.spec +++ b/audit.spec @@ -1,13 +1,12 @@ Summary: User space tools for kernel auditing Name: audit -Version: 3.0.1 -Release: 3%{?dist} +Version: 3.0.2 +Release: 1%{?dist} License: GPLv2+ URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz Source1: https://www.gnu.org/licenses/lgpl-2.1.txt -Patch1: audit-3.0.2-sockaddr.patch BuildRequires: make gcc swig BuildRequires: openldap-devel @@ -260,6 +259,9 @@ fi %attr(750,root,root) /sbin/audispd-zos-remote %changelog +* Thu Jun 10 2021 Steve Grubb 3.0.2-1 +- New upstream feature and bugfix release + * Fri Jun 04 2021 Python Maint - 3.0.1-3 - Rebuilt for Python 3.10 diff --git a/sources b/sources index dd6131d..f4445a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (audit-3.0.1.tar.gz) = ad2897c9f539681f0f65b08cd0e650c528957fd4799755c2bcc47f869e04272aad31684c46847124d7b42dde243a16ba2754936890189610814c7007c0381d8c +SHA512 (audit-3.0.2.tar.gz) = 9e831ed6f30ac7d58f028cede97adba431bde18dfd9045c19f5e03eff52cd28db3a6792e5969f555ce51aa562662b59fa5cc5265586c6acf0b3aa1feae4d720f