17 Commits

Author SHA1 Message Date
Lei Maohui 05e71050f0 samhain: Avoid empty source archiver
It is better to put necessary work into do_patch task than add a new task.
Otherwise,you can not get correct source code in some functions(such as archiver.bbclass).

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-26 11:50:57 -07:00
Li Xin e55b217bfa samhain-client: Erorr Fix
The Error is as following:
 # /usr/sbin/samhain -t init -p info
 ......
 Segmentation fault
 # echo $?
 139

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-03-14 12:52:45 -07:00
Armin Kuster f776c61311 samhain-client: update to 4.1.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-17 15:38:19 -08:00
Armin Kuster 623f5ed922 Samhain: package update to 4.1.2
4.1.1 Changes:
 - Fix for broken libwrap support.
 - Fix for broken baseline update (-t update) on FreeBSD and maybe other non GNU/Linux systems.
 - Fix for ungraceful handling of rotated logiles if logfile content is always zero or constant.
 - Fix for timezone offset calculation on month rollover for timezones west of GMT.

4.1.2 Changes:
 - Fix for broken rpm / rpm-light makefile targets.
 - Fix for the failure to detect open UDP ports sometimes.
 - Fix for reporting file changes with the wrong policy if both inotify is
   used and the file change occurs during a configuration reload.
 - New configure options --enable-posix-acl and --enable-selinux to turn the
   soft failure (no support for checking compiled in) into a hard failure
   if required headers/libraries are missing for this feature.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-17 15:38:19 -08:00
Li Xin 36feac0d9d Fix an error when samhain -t check
Fixes an error when "samhain -t check" is executed.
The error is like this:
'ERROR: msg=<Record with bad version number in file signature database>,
subroutine=<sh_dbIO_getdataent>, path=<(null)>'

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:56:15 -07:00
Armin Kuster d539506f78 samhain: update to 4.1.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:55:52 -07:00
Armin Kuster e3f2b3ba8c samhain-client: update to 4.0.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-08 07:08:19 -07:00
Bian Naimeng 7ce4069b32 samhain-server: fix build warn
WARNING: QA Issue: /etc/init.d/samhain-server_samhain-server contained in package samhain-server requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-07-20 16:25:42 -07:00
Armin Kuster af8473501a samhain: update client and server to 3.1.5
Signed-off-by: Armin Kuster <akuster808@gmail.com>

fix missing bash depends in server recipe
2015-04-15 17:54:34 -07:00
Armin Kuster 8be6d8851b samhain: fix aarch64 build issues
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-02-01 08:11:59 -08:00
Armin Kuster 1aea14c3c8 samhain: client fix rdepends
WARNING: QA Issue: samhain-client requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-02-01 08:11:21 -08:00
Armin Kuster 76386bd2ca samhain: update to 3.1.3
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-11-28 19:14:10 -08:00
Armin Kuster b59053a3dd samhain: update to 3.1.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-10-26 12:35:39 -07:00
Armin Kuster b3f08c7b2b samhain: arm build failure
| x_sh_error.c: In function 'sh_error_string':
| x_sh_error.c:1580:31: error: incompatible type for argument 1 of 'memmove'
|  #define VA_COPY(ap1, ap2)     memmove ((ap1), (ap2), sizeof (va_list))
|                                ^
| x_sh_error.c:1720:14: note: in expansion of macro 'VA_COPY'
|        /*@i@*/VA_COPY(vl2, vl);
|               ^

this patch fixes the arm build failure.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-08-27 21:12:47 -07:00
Armin Kuster 6e72910b3e samhain: server package
This is the server portion.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-08-27 21:11:32 -07:00
Armin Kuster 2559581eaa samhain: client package
This is the client portion.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-08-27 21:11:21 -07:00
Armin Kuster f0f670c2fe samhain: New ISD package
These are the base files needed by both
client and server recipes.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-08-27 21:11:12 -07:00