Skip to contentSkip to conversation

logcheck: update to 1.3.18 and move to meta-perl

PATCH New [email protected] 1 participant 1 message Aug 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 logcheck: update to 1.3.18 and move to meta-perl

From: Jackie Huang <[email protected]>

- logcheck depends on mime-construct which is in meta-perl, so move it to meta-perl to avoid that meta-oe depends on meta-perl.

- logcheck should not be run as root, so inherit useradd and add proper user and group.

- Add missing runtime dependencies according to the file debian/control and simple test by running "logcheck -ot".

- For syslog, debian directly depends on rsyslog, but logcheck works with any syslog and we have busybox-syslog, sysklogd, syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the syslog dependency and set rsyslog as the default, which can be easily overridden in distro conf file or local.conf.

- Don't install /var/lock when populating rootfs. Do it through volatile.

- install header.txt for generated mails

---
 .../recipes-extended/logcheck/files/99_logcheck    |  2 +
 .../recipes-extended/logcheck/logcheck_1.3.18.bb   | 50 +++++++++++++++++++---
 2 files changed, 47 insertions(+), 5 deletions(-)
 create mode 100644 meta-perl/recipes-extended/logcheck/files/99_logcheck
 rename meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb => meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb (46%)
meta-perl/recipes-extended/logcheck/files/99_logcheck new file +2 -0
new file mode 100644
index 000000000..4de33aca3
@@ -0,0 +1,2 @@
+# <type> <owner> <group> <mode> <path> <linksource>
+d logcheck logcheck 0755 /var/lock/logcheck none
meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb renamed from meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb +45 -5

70 lines not on this page · raw message

Signature · 1 line
2.11.0