Hello community, here is the log from the commit of package aide for openSUSE:Factory checked in at 2019-03-26 15:42:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aide (Old) and /work/SRC/openSUSE:Factory/.aide.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aide" Tue Mar 26 15:42:58 2019 rev:29 rq:685927 version:0.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/aide/aide.changes 2017-01-25 23:26:41.572404390 +0100 +++ /work/SRC/openSUSE:Factory/.aide.new.25356/aide.changes 2019-03-26 15:43:44.156198087 +0100 @@ -1,0 +2,12 @@ +Sun Mar 17 21:20:12 UTC 2019 - Matthias Eliasson <eli...@opensuse.org> + +- Update to 0.16.1 + * Move to GitHub + * Update documentation + * Bug fixes +- Upstream have moved to GitHub update URL and Source URLs accordingly +- Refresh patch: aide-xattr-in-libc.patch +- aide-0.16.1-as-needed.patch: replaces aide-0.16-as-needed.patch +- Some cleanup of spec with spec-cleaner + +------------------------------------------------------------------- Old: ---- aide-0.16-as-needed.patch aide-0.16.tar.gz aide-0.16.tar.gz.asc New: ---- aide-0.16.1-as-needed.patch aide-0.16.1.tar.gz aide-0.16.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aide.spec ++++++ --- /var/tmp/diff_new_pack.cVS7OW/_old 2019-03-26 15:43:44.776197360 +0100 +++ /var/tmp/diff_new_pack.cVS7OW/_new 2019-03-26 15:43:44.780197355 +0100 @@ -1,7 +1,7 @@ # # spec file for package aide # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,36 +12,35 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: aide -BuildRequires: automake -BuildRequires: bison -BuildRequires: curl-devel -BuildRequires: flex -BuildRequires: libacl-devel -BuildRequires: libgcrypt-devel -BuildRequires: libselinux-devel -BuildRequires: pkg-config -BuildRequires: zlib-devel -Version: 0.16 +Version: 0.16.1 Release: 0 Summary: Advanced Intrusion Detection Environment -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Security -Source0: https://downloads.sourceforge.net/project/aide/aide/%version/aide-%version.tar.gz -Source42: https://downloads.sourceforge.net/project/aide/aide/%version/aide-%version.tar.gz.asc -Source43: aide.keyring +URL: https://aide.github.io/ +Source0: https://github.com/aide/aide/releases/download/v%{version}/aide-%{version}.tar.gz Source1: aide.conf Source2: aide-cron_daily.sh Source3: aide-test.sh -Patch1: aide-%{version}-as-needed.patch +Source42: https://github.com/aide/aide/releases/download/v%{version}/aide-%{version}.tar.gz.asc +Source43: aide.keyring +Patch1: aide-0.16.1-as-needed.patch Patch3: aide-xattr-in-libc.patch Patch4: aide-dynamic.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://sourceforge.net/projects/aide/ +BuildRequires: automake +BuildRequires: bison +BuildRequires: curl-devel +BuildRequires: flex +BuildRequires: libacl-devel +BuildRequires: libgcrypt-devel +BuildRequires: libselinux-devel +BuildRequires: pkgconfig +BuildRequires: zlib-devel %description AIDE is an intrusion detection system that checks file integrity. @@ -62,7 +61,7 @@ %build autoreconf -fiv %configure \ - --with-config_file=/etc/aide.conf \ + --with-config_file=%{_sysconfdir}/aide.conf \ --with-dbhmactype=md5 \ --disable-static \ --enable-lfs \ @@ -77,43 +76,42 @@ make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -install -m 700 -d $RPM_BUILD_ROOT/var/lib/aide -install -m 700 -d $RPM_BUILD_ROOT/etc -install -m 600 %{S:1} $RPM_BUILD_ROOT/etc/aide.conf -install -m 700 %{S:3} $RPM_BUILD_ROOT/usr/bin/ -mkdir -p doc/examples/etc/cron.daily/ -cp -a %{S:2} doc/examples/etc/cron.daily/aide.sh +%make_install +install -m 700 -d %{buildroot}%{_localstatedir}/lib/aide +install -m 700 -d %{buildroot}%{_sysconfdir} +install -m 600 %{SOURCE1} %{buildroot}%{_sysconfdir}/aide.conf +install -m 700 %{SOURCE3} %{buildroot}%{_bindir}/ +mkdir -p doc/examples%{_sysconfdir}/cron.daily/ +cp -a %{SOURCE2} doc/examples%{_sysconfdir}/cron.daily/aide.sh %check -mkdir /var/tmp/aide-test -export TESTDIR=/var/tmp/aide-test -make DESTDIR=$TESTDIR install -install -m 700 -d $TESTDIR/var/lib/aide -install -m 700 -d $TESTDIR/etc -install -m 600 %{S:1} $TESTDIR/etc/aide.conf.new -sed -e "s#/var/lib/aide#$TESTDIR/var/lib/aide#g" <$TESTDIR/etc/aide.conf.new >$TESTDIR/etc/aide.conf +mkdir %{_localstatedir}/tmp/aide-test +export TESTDIR=%{_localstatedir}/tmp/aide-test +make %{?_smp_mflags} DESTDIR=$TESTDIR install +install -m 700 -d $TESTDIR%{_localstatedir}/lib/aide +install -m 700 -d $TESTDIR%{_sysconfdir} +install -m 600 %{SOURCE1} $TESTDIR%{_sysconfdir}/aide.conf.new +sed -e "s#%{_localstatedir}/lib/aide#$TESTDIR%{_localstatedir}/lib/aide#g" <$TESTDIR%{_sysconfdir}/aide.conf.new >$TESTDIR%{_sysconfdir}/aide.conf sleep 2 sync sleep 2 -$TESTDIR/usr/bin/aide -c $TESTDIR/etc/aide.conf --init -mv $TESTDIR/var/lib/aide/aide.db.new $TESTDIR/var/lib/aide/aide.db -$TESTDIR/usr/bin/aide -c $TESTDIR/etc/aide.conf --check --verbose +$TESTDIR/usr/bin/aide -c $TESTDIR%{_sysconfdir}/aide.conf --init +mv $TESTDIR%{_localstatedir}/lib/aide/aide.db.new $TESTDIR%{_localstatedir}/lib/aide/aide.db +$TESTDIR/usr/bin/aide -c $TESTDIR%{_sysconfdir}/aide.conf --check --verbose rm -rf $TESTDIR %files -%defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog NEWS README doc/manual* aide.* doc/examples -%{_prefix}/bin/aide +%license COPYING +%doc AUTHORS ChangeLog NEWS README doc/manual* doc/examples +%{_bindir}/aide /%{_mandir}/man1/aide.1.gz /%{_mandir}/man5/aide.conf.5.gz -/var/lib/aide -%config(noreplace) /etc/aide.conf +%{_localstatedir}/lib/aide +%config(noreplace) %{_sysconfdir}/aide.conf %files test -%defattr(-,root,root) -/usr/bin/aide-test.sh +%{_bindir}/aide-test.sh %changelog ++++++ aide-0.16-as-needed.patch -> aide-0.16.1-as-needed.patch ++++++ ++++++ aide-0.16.tar.gz -> aide-0.16.1.tar.gz ++++++ ++++ 9603 lines of diff (skipped) ++++++ aide-xattr-in-libc.patch ++++++ --- /var/tmp/diff_new_pack.cVS7OW/_old 2019-03-26 15:43:44.916197196 +0100 +++ /var/tmp/diff_new_pack.cVS7OW/_new 2019-03-26 15:43:44.916197196 +0100 @@ -1,7 +1,6 @@ -Index: aide-0.16/configure.ac -=================================================================== ---- aide-0.16.orig/configure.ac -+++ aide-0.16/configure.ac +diff -Pdpru aide-0.16.1.orig/configure.ac aide-0.16.1/configure.ac +--- aide-0.16.1.orig/configure.ac 2019-03-17 22:12:56.269936982 +0100 ++++ aide-0.16.1/configure.ac 2019-03-17 22:14:48.084669784 +0100 @@ -536,7 +536,7 @@ AC_ARG_WITH([xattr], AS_IF([test "x$with_xattr_support" != xno], @@ -11,15 +10,14 @@ compoptionstring="${compoptionstring}WITH_XATTR\\n" aideextragroups="${aideextragroups}+xattrs" AC_MSG_RESULT(yes)], -Index: aide-0.16/include/db_config.h -=================================================================== ---- aide-0.16.orig/include/db_config.h -+++ aide-0.16/include/db_config.h +diff -Pdpru aide-0.16.1.orig/include/db_config.h aide-0.16.1/include/db_config.h +--- aide-0.16.1.orig/include/db_config.h 2019-03-17 22:12:56.269936982 +0100 ++++ aide-0.16.1/include/db_config.h 2019-03-17 22:16:01.303841342 +0100 @@ -62,7 +62,6 @@ typedef struct acl_type { #ifdef WITH_XATTR /* Do generic user Xattrs. */ #include <sys/xattr.h> --#include <attr/xattr.h> +-#include <attr/attributes.h> + #ifndef ENOATTR + # define ENOATTR ENODATA #endif - - typedef struct xattr_node