commit tripwire for openSUSE:Factory
Hello community, here is the log from the commit of package tripwire for openSUSE:Factory checked in at 2019-07-26 12:45:00 Comparing /work/SRC/openSUSE:Factory/tripwire (Old) and /work/SRC/openSUSE:Factory/.tripwire.new.4126 (New) Package is "tripwire" Fri Jul 26 12:45:00 2019 rev:4 rq:718777 version:2.4.3.7 Changes: --- /work/SRC/openSUSE:Factory/tripwire/tripwire.changes2019-06-18 14:56:04.545413487 +0200 +++ /work/SRC/openSUSE:Factory/.tripwire.new.4126/tripwire.changes 2019-07-26 12:45:03.129816643 +0200 @@ -1,0 +2,11 @@ +Fri Jun 28 08:33:20 UTC 2019 - Tuukka Pasanen + +- Fix bug Bug 1096636 - tripwire looks for the configuration file in + /etc instead of /etc/tripwire. Now tw.cfg will really appead in /etc/tripwire + * add patch 'tripwire-2.4.3.7-config-dir-location.patch' +which update config dir to /etc/tripwire. + * add build require libtool (which pulls automake and autoconf) + * add 'autoreconf -a -i' to make sure automake is overwritten + * Move /etc/tw.cfg to /etc/tripwire/tw.cfg in %post as make transition smoother + +--- New: tripwire-2.4.3.7-config-dir-location.patch Other differences: -- ++ tripwire.spec ++ --- /var/tmp/diff_new_pack.BCPWmG/_old 2019-07-26 12:45:03.965816116 +0200 +++ /var/tmp/diff_new_pack.BCPWmG/_new 2019-07-26 12:45:03.973816112 +0200 @@ -26,10 +26,12 @@ Source: https://github.com/Tripwire/tripwire-open-source/releases/download/%{version}/tripwire-open-source-%{version}.tar.gz Source1:twcfg.txt Source2:README.SUSE -Patch: tripwire-2.4.1.2-src-policyconfig.patch +Patch0: tripwire-2.4.1.2-src-policyconfig.patch +Patch1: tripwire-2.4.3.7-config-dir-location.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: libstdc++-devel +BuildRequires: libtool BuildRequires: procps Provides: Tripwire = %version-%release @@ -40,8 +42,10 @@ %prep %setup -q -n tripwire-open-source-%{version} -%patch -p1 +%patch0 -p1 +%patch1 -p1 cp %{S:2} . +autoreconf -f -i %build %configure @@ -58,6 +62,13 @@ install -m 700 bin/* %{buildroot}/usr/sbin for i in `find man -type f -name "*.?"`; do install -m 644 "$i" "%{buildroot}/%{_mandir}/${i#man}"; done +%post +# Transition from old system +if [ -f /etc/tw.cfg ] && [ ! -f /etc/tripwire/tw.cfg ] +then +mv /etc/tw.cfg /etc/tripwire/tw.cfg +fi + %check make check ++ tripwire-2.4.3.7-config-dir-location.patch ++ diff --git a/src/tw/Makefile.am b/src/tw/Makefile.am index 1bea795..d426c52 100644 --- a/src/tw/Makefile.am +++ b/src/tw/Makefile.am @@ -19,7 +19,7 @@ libtw_a_HEADERS = \ stdtw.h systeminfo.h textdbviewer.h textreportviewer.h \ tw.h twerrors.h twinit.h twstrings.h twutil.h -DEFS = @DEFS@ -DCONFIG_DIR=\"$(sysconfdir)\" +DEFS = @DEFS@ -DCONFIG_DIR=\"$(sysconfdir)/tripwire\" CLEANFILES = *.gcno *.gcda all: $(noinst_LIBRARIES) diff --git a/src/tw/twstrings.cpp b/src/tw/twstrings.cpp index f112e8e..ee14533 100644 --- a/src/tw/twstrings.cpp +++ b/src/tw/twstrings.cpp @@ -105,7 +105,7 @@ TSS_BeginStringtable(cTW) // the current working directory TSS_StringEntry(tw::STR_DEF_CFG_FILENAME, _T(CONFIG_DIR "/tw.cfg")), #else -TSS_StringEntry(tw::STR_DEF_CFG_FILENAME, _T("/etc/tw.cfg")), +TSS_StringEntry(tw::STR_DEF_CFG_FILENAME, _T("/etc/tripwire/tw.cfg")), #endif TSS_StringEntry(tw::STR_GET_HELP, _T("Use --help to get help.")), TSS_StringEntry(tw::STR_NEWLINE, _T("\n")),
commit tripwire for openSUSE:Factory
Hello community, here is the log from the commit of package tripwire for openSUSE:Factory checked in at 2019-06-18 14:56:04 Comparing /work/SRC/openSUSE:Factory/tripwire (Old) and /work/SRC/openSUSE:Factory/.tripwire.new.4811 (New) Package is "tripwire" Tue Jun 18 14:56:04 2019 rev:3 rq:706062 version:2.4.3.7 Changes: --- /work/SRC/openSUSE:Factory/tripwire/tripwire.changes2017-04-11 09:40:18.438238456 +0200 +++ /work/SRC/openSUSE:Factory/.tripwire.new.4811/tripwire.changes 2019-06-18 14:56:04.545413487 +0200 @@ -1,0 +2,79 @@ +Sat Mar 23 07:40:40 UTC 2019 - Tuukka Pasanen + +- Update to version 2.4.3.7 + +- Changes from 2.4.3.2 to 2.4.3.7 +* Run Clang static analyzer & fix some of its quibbles +* Fix compilation error on Alpine Linux 3.x (Issue #15) +* Fix file permissions on a couple of source files (Issue #14) +* Fix some errors w/ make install/uninstall/dist (Issue #15) +* Fix a new issue with level 2 report printing ( Issue #19 ) +* Fix 'make install-strip' target, which wasn't actually + stripping binaries (Issue #20) +* Updated release to include archives with curl/wget-friendly names (Issue #22) +* Buildsys: 'install-strip', 'uninstall', 'check', and 'distcheck' + make targets now do useful things. (the install-strip change + addresses the remaining bit of issue #18.) +* Buildsys: To support old flavors of gcc, add "--disable-extrawarnings" + configure option for compilers that don't understand -Wextra arg, and + detect if the local g++ happens to be called c++. +* Fix various new warnings w/ GCC 7. +* Use std::unique_ptr instead of deprecated std::auto_ptr, where available. +* Clean up / enable more twtest unit tests, & tweak the framework for clarity. +* Remove more dead code and strip out a bunch of uses of the always-true IS_UNIX ifdef. +* Address some static analysis warnings from CppCheck & Flawfinder +* Add a sanity check in fcodatasourceiterimpl to address a unit test that failed on some platforms. +* Update old policy test files in src/parser/testfiles to use current policy syntax. +* Fix & expand tests in Perl acceptance test framework +* Fix & expand twtest unit tests, & rework unit test mini-framework so they’re + referenced by name, not some numeric ID, and list tests as “skipped" if + they don’t make any test assertions. +* Add configure options to enable coverage, profiling, & use + /dev/urandom as RNG (all off by default) +* Add a ‘list’ make target to list all make targets +* Remove dead code & add test coverage per gcov+lcov results +* Fix various memory issues pointed out by valgrind +* In examine-encryption mode, better reporting (& nonzero exit) if we can't find a + keyfile for the examined file. +* More exception handling around individual objects & init/IC as a whole, + since there have been occasional reports of uncaught exceptions during init or check, + and so far haven’t been able to repro or figure out what circumstances + it occurs under. (e.g. Github issue #25) +* Tweak install.sh so it can be run directly, not just thru 'make install' + if you want. (Github issue #26) +* Improve native (non-Posixy) path handling on platforms that need it (DOS, AROS, RISC OS, Redox) +* New platforms: MirOS BSD, Bitrig, LibertyBSD, RISC OS, Redox +* Add default policies for HP-UX & various BSDs +* Fix & expand tests in Perl acceptance test framework +* Fix & expand twtest unit tests, & rework unit test mini-framework so they’re + referenced by name, not some numeric ID, and list tests as “skipped" if they + don’t make any test assertions. +* Add configure options to enable coverage, profiling, & use /dev/urandom as RNG (all off by default) +* Add a ‘list’ make target to list all make targets +* Remove dead code & add test coverage per gcov+lcov results +* Fix various memory issues pointed out by valgrind +* In examine-encryption mode, better reporting (& nonzero exit) if we can't find + a keyfile for the examined file. +* More exception handling around individual objects & init/IC as a whole, + since there have been occasional reports of uncaught exceptions during + init or check, and so far haven’t been able to repro or figure out what + circumstances it occurs under. (e.g. Github issue #25) +* Tweak install.sh so it can be run directly, not just thru + 'make install' if you want. (Github issue #26) +* Improve native (non-Posixy) path handling on platforms that + need it (DOS, AROS, RISC OS, Redox) +* New platforms: MirOS BSD, Bitrig, LibertyBSD, RISC OS, Redox +* Add default policies for HP-UX & various BSDs +* twprint can now
commit tripwire for openSUSE:Factory
Hello community, here is the log from the commit of package tripwire for openSUSE:Factory checked in at 2017-04-11 09:40:17 Comparing /work/SRC/openSUSE:Factory/tripwire (Old) and /work/SRC/openSUSE:Factory/.tripwire.new (New) Package is "tripwire" Tue Apr 11 09:40:17 2017 rev:2 rq:484793 version:2.4.3.2 Changes: --- /work/SRC/openSUSE:Factory/tripwire/tripwire.changes2017-03-12 19:59:51.316945546 +0100 +++ /work/SRC/openSUSE:Factory/.tripwire.new/tripwire.changes 2017-04-11 09:40:18.438238456 +0200 @@ -1,0 +2,7 @@ +Thu Mar 23 14:19:23 UTC 2017 - jeng...@inai.de + +- Replace old $RPM_* shell variables by macros. +- Provide "Tripwire" with full version +- Trim manual from description. + +--- Other differences: -- ++ tripwire.spec ++ --- /var/tmp/diff_new_pack.HLfj9P/_old 2017-04-11 09:40:19.350109643 +0200 +++ /var/tmp/diff_new_pack.HLfj9P/_new 2017-04-11 09:40:19.350109643 +0200 @@ -16,10 +16,7 @@ # -BuildRequires: gcc-c++ -BuildRequires: libstdc++-devel Name: tripwire -Provides: Tripwire Summary:A tool to observe the filesystem License:GPL-2.0+ Group: Productivity/Security @@ -31,15 +28,14 @@ Source2:README.SUSE Patch: tripwire-2.4.1.2-src-policyconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ +BuildRequires: libstdc++-devel +Provides: Tripwire = %version-%release %description -By the use of tripwire it is possible to observe the filesystem. -tripwire generates a database, controlled by a configuration file, of -all files, their checksums, etc. and it reports changes. The location -of the binaries is /usr/sbin. An example of the policy file can be -found at /usr/share/doc/packages/tripwire. Tripwire wants its -configurationfile to be found at /etc/tw.config. The database has to be -saved at /etc/tw. +By using tripwire, it is possible to observe the filesystem. tripwire +generates a database, controlled by a configuration file, of all +files, their checksums, etc. and it reports changes. %prep %setup -q -n tripwire-open-source-%{version} @@ -48,18 +44,18 @@ %build %configure -make CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" +make CFLAGS="%{optflags}" CPPFLAGS="%{optflags}" %install -mkdir -p $RPM_BUILD_ROOT/etc/tripwire -mkdir -p $RPM_BUILD_ROOT/var/lib/tripwire/report -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man4 -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5 -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 -mkdir -p $RPM_BUILD_ROOT/usr/sbin -install -m 644 %{S:1} $RPM_BUILD_ROOT/etc/tripwire -install -m 700 bin/* $RPM_BUILD_ROOT/usr/sbin -for i in `find man -type f -name "*.?"`; do install -m 644 $i $RPM_BUILD_ROOT/%{_mandir}${i#man}; done +mkdir -p %{buildroot}/etc/tripwire +mkdir -p %{buildroot}/var/lib/tripwire/report +mkdir -p %{buildroot}/%{_mandir}/man4 +mkdir -p %{buildroot}/%{_mandir}/man5 +mkdir -p %{buildroot}/%{_mandir}/man8 +mkdir -p %{buildroot}/usr/sbin +install -m 644 %{S:1} %{buildroot}/etc/tripwire +install -m 700 bin/* %{buildroot}/usr/sbin +for i in `find man -type f -name "*.?"`; do install -m 644 "$i" "%{buildroot}/%{_mandir}/${i#man}"; done %check make check