New upstream feature and bugfix release

This commit is contained in:
Steve Grubb 2021-06-10 10:03:50 -04:00
parent 3e6732ba6f
commit be3c5f3afc
4 changed files with 7 additions and 26 deletions

1
.gitignore vendored
View File

@ -166,3 +166,4 @@ audit-2.0.4.tar.gz
/audit-3.0-alpha9.tar.gz /audit-3.0-alpha9.tar.gz
/audit-3.0.tar.gz /audit-3.0.tar.gz
/audit-3.0.1.tar.gz /audit-3.0.1.tar.gz
/audit-3.0.2.tar.gz

View File

@ -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);
}

View File

@ -1,13 +1,12 @@
Summary: User space tools for kernel auditing Summary: User space tools for kernel auditing
Name: audit Name: audit
Version: 3.0.1 Version: 3.0.2
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: http://people.redhat.com/sgrubb/audit/ URL: http://people.redhat.com/sgrubb/audit/
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
Patch1: audit-3.0.2-sockaddr.patch
BuildRequires: make gcc swig BuildRequires: make gcc swig
BuildRequires: openldap-devel BuildRequires: openldap-devel
@ -260,6 +259,9 @@ fi
%attr(750,root,root) /sbin/audispd-zos-remote %attr(750,root,root) /sbin/audispd-zos-remote
%changelog %changelog
* Thu Jun 10 2021 Steve Grubb <sgrubb@redhat.com> 3.0.2-1
- New upstream feature and bugfix release
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.1-3 * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.1-3
- Rebuilt for Python 3.10 - Rebuilt for Python 3.10

View File

@ -1 +1 @@
SHA512 (audit-3.0.1.tar.gz) = ad2897c9f539681f0f65b08cd0e650c528957fd4799755c2bcc47f869e04272aad31684c46847124d7b42dde243a16ba2754936890189610814c7007c0381d8c SHA512 (audit-3.0.2.tar.gz) = 9e831ed6f30ac7d58f028cede97adba431bde18dfd9045c19f5e03eff52cd28db3a6792e5969f555ce51aa562662b59fa5cc5265586c6acf0b3aa1feae4d720f