summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-security/tripwire/tripwire_2.4.3.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-security/recipes-security/tripwire/tripwire_2.4.3.6.bb')
-rw-r--r--meta-security/recipes-security/tripwire/tripwire_2.4.3.6.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/meta-security/recipes-security/tripwire/tripwire_2.4.3.6.bb b/meta-security/recipes-security/tripwire/tripwire_2.4.3.6.bb
new file mode 100644
index 000000000..465960f23
--- /dev/null
+++ b/meta-security/recipes-security/tripwire/tripwire_2.4.3.6.bb
@@ -0,0 +1,66 @@
+SUMMARY = "Tripwire: A system integrity assessment tool (IDS)"
+DESCRIPTION = "Open Source Tripwire® software is a security and data \
+integrity tool useful for monitoring and alerting on specific file change(s) on a range of systems"
+HOMEPAGE="http://sourceforge.net/projects/tripwire"
+SECTION = "security Monitor/Admin"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1c069be8dbbe48e89b580ab4ed86c127"
+
+SRCREV = "80db91b4c1ca4be9efafd2286e3b2ad32ba4c34c"
+
+SRC_URI = "\
+ git://github.com/Tripwire/tripwire-open-source.git \
+ file://tripwire.cron \
+ file://tripwire.sh \
+ file://tripwire.txt \
+ file://twcfg.txt \
+ file://twinstall.sh \
+ file://twpol-yocto.txt \
+ "
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep update-rc.d
+
+INITSCRIPT_NAME = "tripwire"
+INITSCRIPT_PARAMS = "start 40 S ."
+TRIPWIRE_HOST = "${HOST_SYS}"
+TRIPWIRE_TARGET = "${TARGET_SYS}"
+
+CXXFLAGS += "-fno-strict-aliasing"
+EXTRA_OECONF = "--disable-openssl --enable-static --sysconfdir=/etc/tripwire"
+
+do_install () {
+ install -d ${D}${libdir} ${D}${datadir} ${D}${base_libdir}
+ install -d ${D}${sysconfdir} ${D}${mandir} ${D}${sbindir}
+ install -d ${D}${sysconfdir}/${PN}
+ install -d ${D}${localstatedir}/lib/${PN} ${D}${localstatedir}/lib/${BPN}/report
+ install -d ${D}${mandir}/man4 ${D}${mandir}/man5 ${D}${mandir}/man8
+ install -d ${D}${docdir}/${BPN} ${D}${docdir}/${BPN}/templates
+ install -d ${D}${sysconfdir}/init.d
+
+ install -m 0755 ${S}/bin/* ${D}${sbindir}
+ install -m 0644 ${S}/lib/* ${D}${base_libdir}
+ install -m 0644 ${S}/lib/* ${D}${localstatedir}/lib/${PN}
+ install -m 0755 ${WORKDIR}/tripwire.cron ${D}${sysconfdir}
+ install -m 0755 ${WORKDIR}/tripwire.sh ${D}${sysconfdir}/init.d/tripwire
+ install -m 0755 ${WORKDIR}/twinstall.sh ${D}${sysconfdir}/${PN}
+ install -m 0644 ${WORKDIR}/twpol-yocto.txt ${D}${sysconfdir}/${PN}/twpol.txt
+ install -m 0644 ${WORKDIR}/twcfg.txt ${D}${sysconfdir}/${PN}
+
+ install -m 0644 ${S}/man/man4/* ${D}${mandir}/man4
+ install -m 0644 ${S}/man/man5/* ${D}${mandir}/man5
+ install -m 0644 ${S}/man/man8/* ${D}${mandir}/man8
+ install -m 0644 ${S}/policy/templates/* ${D}${docdir}/${BPN}/templates
+ install -m 0644 ${S}/policy/*txt ${D}${docdir}/${BPN}
+ install -m 0644 ${S}/COPYING ${D}${docdir}/${BPN}
+ install -m 0644 ${S}/TRADEMARK ${D}${docdir}/${BPN}
+ install -m 0644 ${WORKDIR}/tripwire.txt ${D}${docdir}/${BPN}
+}
+
+
+FILES_${PN} += "${libdir} ${docdir}/${PN}/*"
+FILES_${PN}-dbg += "${sysconfdir}/${PN}/.debug"
+FILES_${PN}-staticdev += "${localstatedir}/lib/${PN}/lib*.a"
+
+RDEPENDS_${PN} += " perl nano msmtp cronie"
OpenPOWER on IntegriCloud