diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-10-15 15:35:35 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-10-15 15:35:35 +0800 |
commit | a5f383928582b03911476c2e11ce8b6128db4b8f (patch) | |
tree | 390931c63fe10adb7f3c298134d0b26a05e9ec48 | |
parent | 7b16132a2b6bae0c610459f408c4057f7cb9aa93 (diff) | |
download | meta-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.bb | 7 | ||||
-rw-r--r-- | recipes-security/libcap-ng/libcap-ng_0.6.6.bb | 7 |
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 \ | |||
5 | applications to locate applications that may have too many privileges." | 5 | applications to locate applications that may have too many privileges." |
6 | HOMEPAGE = "http://freecode.com/projects/libcap-ng" | 6 | HOMEPAGE = "http://freecode.com/projects/libcap-ng" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | PR = "r1" | 8 | PR = "r2" |
9 | LICENSE = "GPLv2+ & LGPLv2.1+" | 9 | LICENSE = "GPLv2+ & LGPLv2.1+" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 10 | LIC_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 \ | |||
13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ | 13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ |
14 | file://python.patch" | 14 | file://python.patch" |
15 | 15 | ||
16 | inherit lib_package | 16 | inherit lib_package autotools pythonnative |
17 | inherit autotools | ||
18 | 17 | ||
19 | SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9" | 18 | SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9" |
20 | SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620" | 19 | SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620" |
21 | 20 | ||
22 | DEPENDS += "python" | 21 | DEPENDS += "swig-native python" |
23 | 22 | ||
24 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" | 23 | EXTRA_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 \ | |||
5 | applications to locate applications that may have too many privileges." | 5 | applications to locate applications that may have too many privileges." |
6 | HOMEPAGE = "http://freecode.com/projects/libcap-ng" | 6 | HOMEPAGE = "http://freecode.com/projects/libcap-ng" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | PR = "r1" | 8 | PR = "r2" |
9 | LICENSE = "GPLv2+ & LGPLv2.1+" | 9 | LICENSE = "GPLv2+ & LGPLv2.1+" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 10 | LIC_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 \ | |||
13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ | 13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ |
14 | file://python.patch" | 14 | file://python.patch" |
15 | 15 | ||
16 | inherit lib_package | 16 | inherit lib_package autotools pythonnative |
17 | inherit autotools | ||
18 | 17 | ||
19 | SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f" | 18 | SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f" |
20 | SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d" | 19 | SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d" |
21 | 20 | ||
22 | DEPENDS += "python" | 21 | DEPENDS += "swig-native python" |
23 | 22 | ||
24 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" | 23 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" |
25 | 24 | ||