diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-10-10 17:35:43 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-10-11 10:51:44 +0800 |
commit | 70f2c413360f82568db350e918f21cae81ebc294 (patch) | |
tree | b08aa32f08d8db139bee8eee73dcf3d1c7f41374 | |
parent | 224154da37e9fb52ee4f5a222ade7c354c18679a (diff) | |
download | meta-selinux-70f2c413360f82568db350e918f21cae81ebc294.tar.gz |
audit: fix package issues.
Rename two packages and change files in them.
* audit-libs -> audit : main package, for libraries
* audit -> auditd : for daemon binaries
Libraries are changed to install into ${base_libdir}.
The two fixes are used to fix QA issues and fit the Debian policy.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-security/audit/audit_2.2.1.bb | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/recipes-security/audit/audit_2.2.1.bb b/recipes-security/audit/audit_2.2.1.bb index bc0f248..5dabf0d 100644 --- a/recipes-security/audit/audit_2.2.1.bb +++ b/recipes-security/audit/audit_2.2.1.bb | |||
@@ -4,7 +4,7 @@ storing and searching the audit records generated by the audit subsystem \ | |||
4 | in the Linux kernel." | 4 | in the Linux kernel." |
5 | HOMEPAGE = "http://people.redhat.com/sgrubb/audit/" | 5 | HOMEPAGE = "http://people.redhat.com/sgrubb/audit/" |
6 | SECTION = "base" | 6 | SECTION = "base" |
7 | PR = "r2" | 7 | PR = "r3" |
8 | LICENSE = "GPLv2+ & LGPLv2+" | 8 | LICENSE = "GPLv2+ & LGPLv2+" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
10 | 10 | ||
@@ -24,9 +24,19 @@ SRC_URI[sha256sum] = "9865ca89f5b975ccf25441ddf45a874448f2bba944005aa8cd5e3c3148 | |||
24 | 24 | ||
25 | DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)" | 25 | DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)" |
26 | 26 | ||
27 | EXTRA_OECONF += "--without-prelude --with-libwrap --enable-gssapi-krb5=no --disable-ldap --with-libcap-ng=yes --with-python=yes" | 27 | EXTRA_OECONF += "--without-prelude \ |
28 | --with-libwrap \ | ||
29 | --enable-gssapi-krb5=no \ | ||
30 | --disable-ldap \ | ||
31 | --with-libcap-ng=yes \ | ||
32 | --with-python=yes \ | ||
33 | --libdir=${base_libdir} \ | ||
34 | " | ||
28 | 35 | ||
29 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/$(PYLIBVER)'" | 36 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' \ |
37 | PYINC='${STAGING_INCDIR}/$(PYLIBVER)' \ | ||
38 | pyexecdir=${libdir}/python${PYTHON_BASEVERSION}/site-packages \ | ||
39 | " | ||
30 | 40 | ||
31 | SUMMARY_audispd-plugins = "Plugins for the audit event dispatcher" | 41 | SUMMARY_audispd-plugins = "Plugins for the audit event dispatcher" |
32 | DESCRIPTION_audispd-plugins = "The audispd-plugins package provides plugins for the real-time \ | 42 | DESCRIPTION_audispd-plugins = "The audispd-plugins package provides plugins for the real-time \ |
@@ -34,17 +44,18 @@ interface to the audit system, audispd. These plugins can do things \ | |||
34 | like relay events to remote machines or analyze events for suspicious \ | 44 | like relay events to remote machines or analyze events for suspicious \ |
35 | behavior." | 45 | behavior." |
36 | 46 | ||
37 | PACKAGES =+ "audispd-plugins ${PN}-libs" | 47 | PACKAGES =+ "audispd-plugins" |
38 | PACKAGES += "${PN}-python" | 48 | PACKAGES += "auditd ${PN}-python" |
39 | 49 | ||
40 | FILES_${PN}-libs += "${sysconfdir}/libaudit.conf ${libdir}/libaudit.so.1* ${libdir}/libauparse.so.*" | 50 | FILES_${PN} = "${sysconfdir}/libaudit.conf ${base_libdir}/libaudit.so.1* ${base_libdir}/libauparse.so.*" |
41 | FILES_${PN} += "${bindir} ${sbindir}" | 51 | FILES_auditd += "${bindir}/* ${sbindir}/* ${sysconfdir}/*" |
42 | FILES_audispd-plugins += "${sysconfdir}/audisp/audisp-remote.conf \ | 52 | FILES_audispd-plugins += "${sysconfdir}/audisp/audisp-remote.conf \ |
43 | ${sysconfdir}/audisp/plugins.d/au-remote.conf \ | 53 | ${sysconfdir}/audisp/plugins.d/au-remote.conf \ |
44 | ${base_sbindir}/audisp-remote ${localstatedir}/spool/audit \ | 54 | ${sbindir}/audisp-remote ${localstatedir}/spool/audit \ |
45 | ${mandir}/man8/audisp-remote.8 ${mandir}/man5/audisp-remote.conf.5" | 55 | " |
46 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug" | 56 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug" |
47 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}" | 57 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}" |
58 | FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la" | ||
48 | 59 | ||
49 | # The executables in lib/, which are named as gen_*_h, will run on the hosts to create | 60 | # The executables in lib/, which are named as gen_*_h, will run on the hosts to create |
50 | # *_tables.h/*tabs.h header files for the targets. | 61 | # *_tables.h/*tabs.h header files for the targets. |