summaryrefslogtreecommitdiffstats
path: root/recipes-security
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security')
-rw-r--r--recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch29
-rw-r--r--recipes-security/tripwire/files/tripwire_add_ppc64.patch35
-rw-r--r--recipes-security/tripwire/tripwire_2.4.3.1.bb (renamed from recipes-security/tripwire/tripwire_2.4.2.2.bb)38
3 files changed, 12 insertions, 90 deletions
diff --git a/recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch b/recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch
deleted file mode 100644
index fdaa494..0000000
--- a/recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1tripwire: Add aach64 support
2
3Upstream-Status: Submitted to tripwire-dev
4
5Signed-off-by: Armin Kuster <akuster@mvista.com>
6
7
8Index: config.sub
9===================================================================
10--- a/config.sub
11+++ b/config.sub
12@@ -223,7 +223,7 @@ esac
13 case $basic_machine in
14 # Recognize the basic CPU types without company name.
15 # Some are omitted here because they have special meanings below.
16- tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
17+ tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | aarch64 | aarch64be |arc \
18 | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
19 | pyramid | mn10200 | mn10300 | tron | a29k \
20 | 580 | i960 | h8300 \
21@@ -267,7 +267,7 @@ case $basic_machine in
22 # Recognize the basic CPU types with company name.
23 # FIXME: clean up the formatting here.
24 vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
25- | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
26+ | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* | aarch64-* | aarch64be-* \
27 | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
28 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
29 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
diff --git a/recipes-security/tripwire/files/tripwire_add_ppc64.patch b/recipes-security/tripwire/files/tripwire_add_ppc64.patch
deleted file mode 100644
index 0f43017..0000000
--- a/recipes-security/tripwire/files/tripwire_add_ppc64.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1tripwire:
2
3Powerpc64 is not supported in the current tripwier release.
4
5 configure: error: /bin/sh ./config.sub powerpc64-poky-linux failed
6 | Configure failed. The contents of all config.log files follows to aid debugging
7
8Submitted upstream to Tripwire devel mailing list
9
10http://sourceforge.net/p/tripwire/mailman/message/32776415/
11
12Signed-off-By: Armin Kuster <akuster808@gmail.com>
13
14Index: tripwire-2.4.2.2-src/config.sub
15===================================================================
16--- tripwire-2.4.2.2-src.orig/config.sub
17+++ tripwire-2.4.2.2-src/config.sub
18@@ -233,7 +233,7 @@ case $basic_machine in
19 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
20 | alphaev6[78] \
21 | we32k | ns16k | clipper | i370 | sh | sh[34] \
22- | powerpc | powerpcle \
23+ | powerpc | powerpcle | powerpc64 \
24 | 1750a | dsp16xx | pdp10 | pdp11 \
25 | mips16 | mips64 | mipsel | mips64el \
26 | mips64orion | mips64orionel | mipstx39 | mipstx39el \
27@@ -280,7 +280,7 @@ case $basic_machine in
28 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
29 | clipper-* | orion-* \
30 | sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
31- | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
32+ | powerpc-* | powerpcle-* | powerpc64-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
33 | mips16-* | mips64-* | mipsel-* \
34 | mips64el-* | mips64orion-* | mips64orionel-* \
35 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
diff --git a/recipes-security/tripwire/tripwire_2.4.2.2.bb b/recipes-security/tripwire/tripwire_2.4.3.1.bb
index 55c4013..3ea0806 100644
--- a/recipes-security/tripwire/tripwire_2.4.2.2.bb
+++ b/recipes-security/tripwire/tripwire_2.4.3.1.bb
@@ -6,21 +6,20 @@ SECTION = "security Monitor/Admin"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=1c069be8dbbe48e89b580ab4ed86c127" 7LIC_FILES_CHKSUM = "file://COPYING;md5=1c069be8dbbe48e89b580ab4ed86c127"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-src/${BPN}-${PV}/${BPN}-${PV}-src.tar.bz2 \ 9SRCREV = "210a394b1ce63da7ac51a866ac2e68d439308701"
10 file://tripwire.cron \ 10
11 file://tripwire.sh \ 11SRC_URI = "\
12 file://tripwire.txt \ 12 git://github.com/Tripwire/tripwire-open-source.git \
13 file://twcfg.txt \ 13 file://tripwire.cron \
14 file://twinstall.sh \ 14 file://tripwire.sh \
15 file://twpol-yocto.txt \ 15 file://tripwire.txt \
16 file://tripwire_add_ppc64.patch \ 16 file://twcfg.txt \
17 file://tripwire_add_aarch64_to_configure.patch \ 17 file://twinstall.sh \
18 file://add_armeb_arch.patch \ 18 file://twpol-yocto.txt \
19 " 19 "
20SRC_URI[md5sum] = "2462ea16fb0b5ae810471011ad2f2dd6" 20#PV = "2.4.3.1+git${SRCPV}"
21SRC_URI[sha256sum] = "e09a7bdca9302e704cc62067399e0b584488f825b0e58c82ad6d54cd2e899fad"
22 21
23S = "${WORKDIR}/tripwire-${PV}-src" 22S = "${WORKDIR}/git"
24 23
25inherit autotools-brokensep update-rc.d 24inherit autotools-brokensep update-rc.d
26 25
@@ -32,18 +31,6 @@ TRIPWIRE_TARGET = "${TARGET_SYS}"
32CXXFLAGS += "-fno-strict-aliasing" 31CXXFLAGS += "-fno-strict-aliasing"
33EXTRA_OECONF = "--disable-openssl --enable-static --sysconfdir=/etc/tripwire" 32EXTRA_OECONF = "--disable-openssl --enable-static --sysconfdir=/etc/tripwire"
34 33
35do_configure () {
36 #
37 # sed bits taken from http://www.linuxfromscratch.org/blfs/view/svn/postlfs/tripwire.html
38 #
39 sed -i -e 's/!Equal/!this->Equal/' src/cryptlib/algebra.h &&
40 sed -i -e '/stdtwadmin.h/i#include <unistd.h>' src/twadmin/twadmincl.cpp &&
41 sed -i -e 's/eArchiveOpen e\([^)]*)\)/throw ( eArchiveOpen\1 )/' \
42 -e '/throw e;/d' src/core/archive.cpp &&
43
44 oe_runconf
45}
46
47do_install () { 34do_install () {
48 install -d ${D}${libdir} ${D}${datadir} ${D}${base_libdir} 35 install -d ${D}${libdir} ${D}${datadir} ${D}${base_libdir}
49 install -d ${D}${sysconfdir} ${D}${mandir} ${D}${sbindir} 36 install -d ${D}${sysconfdir} ${D}${mandir} ${D}${sbindir}
@@ -77,5 +64,4 @@ FILES_${PN} += "${libdir} ${docdir}/${PN}/*"
77FILES_${PN}-dbg += "${sysconfdir}/${PN}/.debug" 64FILES_${PN}-dbg += "${sysconfdir}/${PN}/.debug"
78FILES_${PN}-staticdev += "${localstatedir}/lib/${PN}/lib*.a" 65FILES_${PN}-staticdev += "${localstatedir}/lib/${PN}/lib*.a"
79 66
80
81RDEPENDS_${PN} += " perl nano msmtp cronie" 67RDEPENDS_${PN} += " perl nano msmtp cronie"