1SUMMARY = "redhat security tools" 2DESCRIPTION = "Tools used by redhat linux distribution for security checks" 3SECTION = "security" 4LICENSE = "GPL-2.0-only" 5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 6 7SRC_URI = "file://find-chroot-py.sh \ 8 file://find-chroot.sh \ 9 file://find-elf4tmp.sh \ 10 file://find-execstack.sh \ 11 file://find-hidden-exec.sh \ 12 file://find-nodrop-groups.sh \ 13 file://find-sh4errors.sh \ 14 file://find-sh4tmp.sh \ 15 file://lib-bin-check.sh \ 16 file://rpm-chksec.sh \ 17 file://rpm-drop-groups.sh \ 18 file://selinux-check-devices.sh \ 19 file://selinux-ls-unconfined.sh" 20 21S = "${WORKDIR}/sources" 22UNPACKDIR = "${S}" 23 24do_install() { 25 install -d ${D}${bindir} 26 install -m 0755 ${S}/find-chroot-py.sh ${D}${bindir} 27 install -m 0755 ${S}/find-chroot.sh ${D}${bindir} 28 install -m 0755 ${S}/find-elf4tmp.sh ${D}${bindir} 29 install -m 0755 ${S}/find-execstack.sh ${D}${bindir} 30 install -m 0755 ${S}/find-hidden-exec.sh ${D}${bindir} 31 install -m 0755 ${S}/find-nodrop-groups.sh ${D}${bindir} 32 install -m 0755 ${S}/find-sh4errors.sh ${D}${bindir} 33 install -m 0755 ${S}/find-sh4tmp.sh ${D}${bindir} 34 install -m 0755 ${S}/lib-bin-check.sh ${D}${bindir} 35 install -m 0755 ${S}/rpm-chksec.sh ${D}${bindir} 36 install -m 0755 ${S}/rpm-drop-groups.sh ${D}${bindir} 37 install -m 0755 ${S}/selinux-check-devices.sh ${D}${bindir} 38 install -m 0755 ${S}/selinux-ls-unconfined.sh ${D}${bindir} 39} 40 41RDEPENDS:${PN} = "file libcap-ng procps findutils" 42