summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2012-10-10 17:35:43 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2012-10-11 10:51:44 +0800
commit70f2c413360f82568db350e918f21cae81ebc294 (patch)
treeb08aa32f08d8db139bee8eee73dcf3d1c7f41374
parent224154da37e9fb52ee4f5a222ade7c354c18679a (diff)
downloadmeta-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.bb29
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 \
4in the Linux kernel." 4in the Linux kernel."
5HOMEPAGE = "http://people.redhat.com/sgrubb/audit/" 5HOMEPAGE = "http://people.redhat.com/sgrubb/audit/"
6SECTION = "base" 6SECTION = "base"
7PR = "r2" 7PR = "r3"
8LICENSE = "GPLv2+ & LGPLv2+" 8LICENSE = "GPLv2+ & LGPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 9LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
10 10
@@ -24,9 +24,19 @@ SRC_URI[sha256sum] = "9865ca89f5b975ccf25441ddf45a874448f2bba944005aa8cd5e3c3148
24 24
25DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)" 25DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)"
26 26
27EXTRA_OECONF += "--without-prelude --with-libwrap --enable-gssapi-krb5=no --disable-ldap --with-libcap-ng=yes --with-python=yes" 27EXTRA_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
29EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/$(PYLIBVER)'" 36EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' \
37 PYINC='${STAGING_INCDIR}/$(PYLIBVER)' \
38 pyexecdir=${libdir}/python${PYTHON_BASEVERSION}/site-packages \
39 "
30 40
31SUMMARY_audispd-plugins = "Plugins for the audit event dispatcher" 41SUMMARY_audispd-plugins = "Plugins for the audit event dispatcher"
32DESCRIPTION_audispd-plugins = "The audispd-plugins package provides plugins for the real-time \ 42DESCRIPTION_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 \
34like relay events to remote machines or analyze events for suspicious \ 44like relay events to remote machines or analyze events for suspicious \
35behavior." 45behavior."
36 46
37PACKAGES =+ "audispd-plugins ${PN}-libs" 47PACKAGES =+ "audispd-plugins"
38PACKAGES += "${PN}-python" 48PACKAGES += "auditd ${PN}-python"
39 49
40FILES_${PN}-libs += "${sysconfdir}/libaudit.conf ${libdir}/libaudit.so.1* ${libdir}/libauparse.so.*" 50FILES_${PN} = "${sysconfdir}/libaudit.conf ${base_libdir}/libaudit.so.1* ${base_libdir}/libauparse.so.*"
41FILES_${PN} += "${bindir} ${sbindir}" 51FILES_auditd += "${bindir}/* ${sbindir}/* ${sysconfdir}/*"
42FILES_audispd-plugins += "${sysconfdir}/audisp/audisp-remote.conf \ 52FILES_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 "
46FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug" 56FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug"
47FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}" 57FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}"
58FILES_${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.