diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-07-20 19:41:22 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-08-04 12:17:25 -0700 |
commit | 2634aba3e19f25fdc0b076e79c1b2543a7f80e88 (patch) | |
tree | 1a92633345c2bef4b5f5e1390abebe5cedad7fa0 /recipes-ids | |
parent | 270eefd7588ee1152b8a7a608e7ab9f24ad392e6 (diff) | |
download | meta-security-2634aba3e19f25fdc0b076e79c1b2543a7f80e88.tar.gz |
samhain: update to 4.3.3
remove PV from recipes names to make package update easier.
PV set in include file now
drop samhain-cross-compile.patch as stripping appears to have been removed.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-ids')
-rw-r--r-- | recipes-ids/samhain/files/samhain-cross-compile.patch | 51 | ||||
-rw-r--r-- | recipes-ids/samhain/samhain-client.bb (renamed from recipes-ids/samhain/samhain-client_4.3.2.bb) | 0 | ||||
-rw-r--r-- | recipes-ids/samhain/samhain-server.bb (renamed from recipes-ids/samhain/samhain-server_4.3.2.bb) | 0 | ||||
-rw-r--r-- | recipes-ids/samhain/samhain-standalone.bb (renamed from recipes-ids/samhain/samhain-standalone_4.3.2.bb) | 0 | ||||
-rw-r--r-- | recipes-ids/samhain/samhain.inc | 6 |
5 files changed, 3 insertions, 54 deletions
diff --git a/recipes-ids/samhain/files/samhain-cross-compile.patch b/recipes-ids/samhain/files/samhain-cross-compile.patch deleted file mode 100644 index 7f80a5c..0000000 --- a/recipes-ids/samhain/files/samhain-cross-compile.patch +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | From f63908427b2adb1792c59edbe38618e14ef5bc7b Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Fri, 15 Jan 2016 00:48:58 -0500 | ||
4 | Subject: [PATCH] Enable obfuscating binaries natively. | ||
5 | |||
6 | Enable obfuscating binaries natively. | ||
7 | |||
8 | The samhain build process involves an obfuscation step that attempts to | ||
9 | defeat decompilation or other binary analysis techniques which might reveal | ||
10 | secret information that should be known only to the system administrator. | ||
11 | The obfuscation step builds several applications which run on the build host | ||
12 | and then generate target code, which is then built into target binaries. | ||
13 | |||
14 | This patch creates a basic infrastructure that supports building the | ||
15 | obfuscation binaries natively then cross-compiling the target code by adding | ||
16 | a special configure option. In the absence of this option the old behaviour | ||
17 | is preserved. | ||
18 | |||
19 | Upstream-Status: Inappropriate [cross compile specific] | ||
20 | |||
21 | Signed-off-by: Aws Ismail <aws.ismail@windriver.com> | ||
22 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
23 | --- | ||
24 | Makefile.in | 4 +--- | ||
25 | 1 file changed, 1 insertion(+), 3 deletions(-) | ||
26 | |||
27 | diff --git a/Makefile.in b/Makefile.in | ||
28 | index 684e92b..fb090e2 100644 | ||
29 | --- a/Makefile.in | ||
30 | +++ b/Makefile.in | ||
31 | @@ -54,7 +54,7 @@ selectconfig = @selectconfig@ | ||
32 | top_builddir = . | ||
33 | |||
34 | INSTALL = @INSTALL@ | ||
35 | -INSTALL_PROGRAM = @INSTALL@ -s -m 700 | ||
36 | +INSTALL_PROGRAM = @INSTALL@ -m 700 | ||
37 | INSTALL_SHELL = @INSTALL@ -m 700 | ||
38 | INSTALL_DATA = @INSTALL@ -m 600 | ||
39 | INSTALL_MAN = @INSTALL@ -m 644 | ||
40 | @@ -525,8 +525,6 @@ install-program: $(PROGRAMS) sstrip | ||
41 | echo " $(INSTALL_PROGRAM) $$p $$target"; \ | ||
42 | $(INSTALL_PROGRAM) $$p $$target; \ | ||
43 | chmod 0700 $$target; \ | ||
44 | - echo " ./sstrip $$target"; \ | ||
45 | - ./sstrip $$target; \ | ||
46 | else \ | ||
47 | echo " $(INSTALL_SHELL) $$p $$target"; \ | ||
48 | $(INSTALL_SHELL) $$p $$target; \ | ||
49 | -- | ||
50 | 1.9.1 | ||
51 | |||
diff --git a/recipes-ids/samhain/samhain-client_4.3.2.bb b/recipes-ids/samhain/samhain-client.bb index 0f53a8c..0f53a8c 100644 --- a/recipes-ids/samhain/samhain-client_4.3.2.bb +++ b/recipes-ids/samhain/samhain-client.bb | |||
diff --git a/recipes-ids/samhain/samhain-server_4.3.2.bb b/recipes-ids/samhain/samhain-server.bb index d304912..d304912 100644 --- a/recipes-ids/samhain/samhain-server_4.3.2.bb +++ b/recipes-ids/samhain/samhain-server.bb | |||
diff --git a/recipes-ids/samhain/samhain-standalone_4.3.2.bb b/recipes-ids/samhain/samhain-standalone.bb index 4fed9e9..4fed9e9 100644 --- a/recipes-ids/samhain/samhain-standalone_4.3.2.bb +++ b/recipes-ids/samhain/samhain-standalone.bb | |||
diff --git a/recipes-ids/samhain/samhain.inc b/recipes-ids/samhain/samhain.inc index 1b9af39..16222ba 100644 --- a/recipes-ids/samhain/samhain.inc +++ b/recipes-ids/samhain/samhain.inc | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "http://www.la-samhna.de/samhain/" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ca43cbc842c2336e835926c2166c28b" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ca43cbc842c2336e835926c2166c28b" |
5 | 5 | ||
6 | PV = "4.3.3" | ||
6 | 7 | ||
7 | SRC_URI = "http://la-samhna.de/archive/samhain_signed-${PV}.tar.gz \ | 8 | SRC_URI = "http://la-samhna.de/archive/samhain_signed-${PV}.tar.gz \ |
8 | file://samhain-cross-compile.patch \ | ||
9 | file://samhain-mips64-aarch64-dnmalloc-hash-fix.patch \ | 9 | file://samhain-mips64-aarch64-dnmalloc-hash-fix.patch \ |
10 | file://samhain-samhainrc.patch \ | 10 | file://samhain-samhainrc.patch \ |
11 | file://samhain-samhainrc-fix-files-dirs-path.patch \ | 11 | file://samhain-samhainrc-fix-files-dirs-path.patch \ |
@@ -19,8 +19,8 @@ SRC_URI = "http://la-samhna.de/archive/samhain_signed-${PV}.tar.gz \ | |||
19 | file://samhain.service \ | 19 | file://samhain.service \ |
20 | " | 20 | " |
21 | 21 | ||
22 | SRC_URI[md5sum] = "eae4674164d7c78f5bb39c72b7029c8b" | 22 | SRC_URI[md5sum] = "7be46ae7d03f53ba21afafd41cff8926" |
23 | SRC_URI[sha256sum] = "0582864ef56ab796031e8e611ed66c48adeb3a30ec34e1a8d0088572442035fc" | 23 | SRC_URI[sha256sum] = "33ad4bc3dad4699694553bd9635a6b5827939f965d1f0f05fce0b4e9cdadf21b" |
24 | 24 | ||
25 | UPSTREAM_CHECK_URI = "https://www.la-samhna.de/samhain/archive.html" | 25 | UPSTREAM_CHECK_URI = "https://www.la-samhna.de/samhain/archive.html" |
26 | UPSTREAM_CHECK_REGEX = "samhain_signed-(?P<pver>(\d+(\.\d+)+))\.tar" | 26 | UPSTREAM_CHECK_REGEX = "samhain_signed-(?P<pver>(\d+(\.\d+)+))\.tar" |