summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2012-10-15 15:35:35 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2012-10-15 15:35:35 +0800
commita5f383928582b03911476c2e11ce8b6128db4b8f (patch)
tree390931c63fe10adb7f3c298134d0b26a05e9ec48
parent7b16132a2b6bae0c610459f408c4057f7cb9aa93 (diff)
downloadmeta-selinux-a5f383928582b03911476c2e11ce8b6128db4b8f.tar.gz
libcap-ng: pythonnative, add swig-native depend
libcap-ng need native python while do_configure, and native swig while do_compile, so add them. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-security/libcap-ng/libcap-ng_0.6.5.bb7
-rw-r--r--recipes-security/libcap-ng/libcap-ng_0.6.6.bb7
2 files changed, 6 insertions, 8 deletions
diff --git a/recipes-security/libcap-ng/libcap-ng_0.6.5.bb b/recipes-security/libcap-ng/libcap-ng_0.6.5.bb
index e53de66..a38bef3 100644
--- a/recipes-security/libcap-ng/libcap-ng_0.6.5.bb
+++ b/recipes-security/libcap-ng/libcap-ng_0.6.5.bb
@@ -5,7 +5,7 @@ It includes utilities that can analyze all currently running \
5applications to locate applications that may have too many privileges." 5applications to locate applications that may have too many privileges."
6HOMEPAGE = "http://freecode.com/projects/libcap-ng" 6HOMEPAGE = "http://freecode.com/projects/libcap-ng"
7SECTION = "base" 7SECTION = "base"
8PR = "r1" 8PR = "r2"
9LICENSE = "GPLv2+ & LGPLv2.1+" 9LICENSE = "GPLv2+ & LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
11 file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" 11 file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
@@ -13,13 +13,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
13SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ 13SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
14 file://python.patch" 14 file://python.patch"
15 15
16inherit lib_package 16inherit lib_package autotools pythonnative
17inherit autotools
18 17
19SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9" 18SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9"
20SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620" 19SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620"
21 20
22DEPENDS += "python" 21DEPENDS += "swig-native python"
23 22
24EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" 23EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'"
25 24
diff --git a/recipes-security/libcap-ng/libcap-ng_0.6.6.bb b/recipes-security/libcap-ng/libcap-ng_0.6.6.bb
index 6954d05..4b0aaa1 100644
--- a/recipes-security/libcap-ng/libcap-ng_0.6.6.bb
+++ b/recipes-security/libcap-ng/libcap-ng_0.6.6.bb
@@ -5,7 +5,7 @@ It includes utilities that can analyze all currently running \
5applications to locate applications that may have too many privileges." 5applications to locate applications that may have too many privileges."
6HOMEPAGE = "http://freecode.com/projects/libcap-ng" 6HOMEPAGE = "http://freecode.com/projects/libcap-ng"
7SECTION = "base" 7SECTION = "base"
8PR = "r1" 8PR = "r2"
9LICENSE = "GPLv2+ & LGPLv2.1+" 9LICENSE = "GPLv2+ & LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
11 file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" 11 file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
@@ -13,13 +13,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
13SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ 13SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
14 file://python.patch" 14 file://python.patch"
15 15
16inherit lib_package 16inherit lib_package autotools pythonnative
17inherit autotools
18 17
19SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f" 18SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f"
20SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d" 19SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d"
21 20
22DEPENDS += "python" 21DEPENDS += "swig-native python"
23 22
24EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" 23EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'"
25 24