diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-03-27 17:32:30 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-03-27 17:32:30 +0800 |
commit | 171760b17ac2726a7c650c01ff5f5413579e7ede (patch) | |
tree | 4b73c804138389497f6ac35c7b4eef639abb314d | |
parent | 0cf9e02918661ea02cdacecfbb64ab14b2cff74c (diff) | |
download | meta-selinux-171760b17ac2726a7c650c01ff5f5413579e7ede.tar.gz |
setools: Fix depends and file list.
-rw-r--r-- | recipes-security/setools/setools_3.3.7.bb | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/recipes-security/setools/setools_3.3.7.bb b/recipes-security/setools/setools_3.3.7.bb index 49cdd88..f12cc56 100644 --- a/recipes-security/setools/setools_3.3.7.bb +++ b/recipes-security/setools/setools_3.3.7.bb | |||
@@ -27,16 +27,61 @@ SRC_URI += "file://setools-cross-ar.patch" | |||
27 | 27 | ||
28 | SRC_URI += "file://setools-Fix-test-bug-for-unary-operator.patch" | 28 | SRC_URI += "file://setools-Fix-test-bug-for-unary-operator.patch" |
29 | SRC_URI += "file://setools-Fix-python-setools-Makefile.am-for-cross.patch" | 29 | SRC_URI += "file://setools-Fix-python-setools-Makefile.am-for-cross.patch" |
30 | |||
30 | SRC_URI += "file://setools-Don-t-build-python-bindings-if-disabled.patch" | 31 | SRC_URI += "file://setools-Don-t-build-python-bindings-if-disabled.patch" |
31 | 32 | ||
32 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \ | 33 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \ |
33 | file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ | 34 | file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ |
34 | file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24" | 35 | file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24" |
35 | 36 | ||
36 | DEPENDS += "python python-native libsepol libselinux refpolicy" | 37 | DEPENDS += "python python-native libsepol libselinux" |
38 | |||
39 | PACKAGES += "${PN}-libs ${PN}-console" | ||
40 | |||
41 | FILES_${PN}-dbg += "\ | ||
42 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/setools/.debug \ | ||
43 | " | ||
44 | |||
45 | FILES_${PN}-libs = "\ | ||
46 | ${libdir}/libqpol.so.* \ | ||
47 | ${libdir}/libapol.so.* \ | ||
48 | ${libdir}/libpoldiff.so.* \ | ||
49 | ${libdir}/libsefs.so.* \ | ||
50 | ${libdir}/libseaudit.so.* \ | ||
51 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.egg-info \ | ||
52 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/setools/*.so* \ | ||
53 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/setools/*.py* \ | ||
54 | " | ||
55 | |||
56 | FILES_${PN}-console = "\ | ||
57 | ${bindir}/seinfo \ | ||
58 | ${bindir}/sesearch \ | ||
59 | ${bindir}/indexcon \ | ||
60 | ${bindir}/findcon \ | ||
61 | ${bindir}/replcon \ | ||
62 | ${bindir}/sechecker \ | ||
63 | ${bindir}/sediff \ | ||
64 | ${datadir}/setools-3.3/sechecker-profiles/* \ | ||
65 | ${datadir}/setools-3.3/sechecker_help.txt \ | ||
66 | ${datadir}/setools-3.3/sediff_help.txt \ | ||
67 | ${datadir}/setools-3.3/sediffx* \ | ||
68 | ${mandir}/man1/findcon.1.gz \ | ||
69 | ${mandir}/man1/indexcon.1.gz \ | ||
70 | ${mandir}/man1/replcon.1.gz \ | ||
71 | ${mandir}/man1/sechecker.1.gz \ | ||
72 | ${mandir}/man1/sediff.1.gz \ | ||
73 | ${mandir}/man1/seinfo.1.gz \ | ||
74 | ${mandir}/man1/sesearch.1.gz \ | ||
75 | " | ||
37 | 76 | ||
38 | inherit autotools | 77 | inherit autotools |
39 | 78 | ||
79 | # need to export these variables for python-config to work | ||
80 | export BUILD_SYS | ||
81 | export HOST_SYS | ||
82 | export STAGING_INCDIR | ||
83 | export STAGING_LIBDIR | ||
84 | |||
40 | do_configure() { | 85 | do_configure() { |
41 | autoreconf --force --install | 86 | autoreconf --force --install |
42 | export ac_cv_policydb_version_max=26 | 87 | export ac_cv_policydb_version_max=26 |