Package: samhain / 4.1.4-6

Metadata

Package Version Patches format
samhain 4.1.4-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debian.patch | (download)

Makefile.in | 31 13 + 18 - 0 !
src/dnmalloc.c | 1 1 + 0 - 0 !
src/sh_tiger0.c | 2 1 + 1 - 0 !
yulerc | 338 338 + 0 - 0 !
4 files changed, 353 insertions(+), 19 deletions(-)

---
configure.patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 add os detection to support hurd and kfreebsd
 The patch includes OS detection in the autoconf setup so the
 software can be built in Hurd and kFreeBSD
gcc13.patch | (download)

src/sh_error.c | 2 1 + 1 - 0 !
src/sh_prelude.c | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+), 1 deletion(-)

 add missing includes and use va_copy compiler builtin
configure_fixes.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
aclocal.m4 | 50 34 + 16 - 0 !
compile | 348 348 + 0 - 0 !
configure.ac | 274 102 + 172 - 0 !
samhain.spec.in | 2 1 + 1 - 0 !
src/sh_getopt.c | 4 2 + 2 - 0 !
6 files changed, 488 insertions(+), 192 deletions(-)

 fix configuration file to work with latest autoconf

This patch fixes several elements in the configuration files that are either
obsolete or do not work with the latest autoconf version in Debian unstable.

 - configure.ac: Some headers have been removed and others replaced.
 - aclocal.m4: The aclocal from the latest upstream version (4.5.1) is used
 - Makefile.in, samhain.spec.in, src/sh_getopt.c: Do not use VERSION as this is
   not the correct value to use, use PACKAGE_VERSION instead
 - compile: Add the file as it is required by autoconf

realclean | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 really clean the sources
 Really clean all the files that might be automatically 
 generated from the sources when calling 'distclean'.

 Without these patch some files are leftovers and GIT can be 
 confused thinking they are new files that need to be added to the
 VCS.
improve_errors | (download)

src/sh_dbIO.c | 2 1 + 1 - 0 !
src/sh_readconf.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 improve error messages
 Improve the error messages of samhain by pointing to the user 
 how to fix them. For example, the signature database might not 
 exist because it has not been created yet.

 Since these messages are shown in the log and in the output
 of systemctl (or journal) they are important as otherwise the
 administrator might not have a clue how to fix them

 Specially in Debian, where the integrity database might not be
 created right after the package configuration (and the service
 will fail to start)
fix FTBFS on s390x.patch | (download)

src/sh_checksum.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use memcpy() instead of incorrectly memset()
 Upstream once replaced the deprecated bcopy() with memset() obviously
 having memcpy() in mind.