From 44f90e0947f9575a9bd81bf5551d877133a9090e Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 17 Jan 2012 16:48:21 -0600 Subject: libselinux: Add version 2.1.0 Signed-off-by: Mark Hatle --- recipes-security/selinux/libselinux_2.1.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-security/selinux/libselinux_2.1.0.bb diff --git a/recipes-security/selinux/libselinux_2.1.0.bb b/recipes-security/selinux/libselinux_2.1.0.bb new file mode 100644 index 0000000..a97e78b --- /dev/null +++ b/recipes-security/selinux/libselinux_2.1.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "SELinux library and simple utilities" +DESCRIPTION = "libselinux provides an API for SELinux applications to get and set \ +process and file security contexts and to obtain security policy \ +decisions. Required for any applications that use the SELinux API." +SECTION = "base" +PR = "r1" +LICENSE = "NSA-Public_Domain" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" + +include selinux.inc +inherit lib_package + +SRC_URI[md5sum] = "df32d1650d2ae48cb88c1589c41a50c4" +SRC_URI[sha256sum] = "fbc4911c1103b00b0530ed21d1004ffa8c661342e1101ccf4c73a573f89f9caf" + +DEPENDS += "libsepol python" + +EXTRA_OEMAKE += "INCLUDEDIR='${STAGING_INCDIR}' LIBDIR='${STAGING_LIBDIR}' PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/$(PYLIBVER)' PYLIB='${STAGING_LIBDIR}/$(PYLIBVER)' PYTHONLIBDIR='$(PYLIB)'" + +do_compile() { + oe_runmake all pywrap +} -- cgit v1.2.3-54-g00ecf