aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/redhat-security/redhat-security_1.0.bb
blob: bd79636f4dbb0b8df06f57a9c7102db8f3049a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SUMMARY = "redhat security tools"
DESCRIPTION = "Tools used by redhat linux distribution for security checks"
SECTION = "security"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"

RDEPENDS_${PN} = "file libcap-ng procps findutils"

SRC_URI = "file://find-chroot-py.sh \
           file://find-chroot.sh \
           file://find-elf4tmp.sh \
           file://find-execstack.sh \
           file://find-hidden-exec.sh \
           file://find-nodrop-groups.sh \
           file://find-sh4errors.sh \
           file://find-sh4tmp.sh \
           file://lib-bin-check.sh \
           file://rpm-chksec.sh \
           file://rpm-drop-groups.sh \
           file://selinux-check-devices.sh \
           file://selinux-ls-unconfined.sh"

S = "${WORKDIR}"

do_install() {
	install -d ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-chroot-py.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-chroot.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-elf4tmp.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-execstack.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-hidden-exec.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-nodrop-groups.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-sh4errors.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/find-sh4tmp.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/lib-bin-check.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/rpm-chksec.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/rpm-drop-groups.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/selinux-check-devices.sh    ${D}${bindir}
	install -m 0755 ${WORKDIR}/selinux-ls-unconfined.sh    ${D}${bindir}
}