aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
diff options
context:
space:
mode:
authorJack Mitchell <jmitchell@cbnl.com>2013-10-14 14:20:13 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-10-17 17:39:29 +0200
commit8540cc6e2573ad8edb9e0d4b6e04c4af35faec29 (patch)
tree926eef471ddeee934f037fb2a47189051a6b5913 /meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
parent0b22af953f0f66fc8997b757aee708188d67ede1 (diff)
downloadmeta-openembedded-8540cc6e2573ad8edb9e0d4b6e04c4af35faec29.tar.gz
meta-openembedded-8540cc6e2573ad8edb9e0d4b6e04c4af35faec29.tar.bz2
meta-openembedded-8540cc6e2573ad8edb9e0d4b6e04c4af35faec29.zip
rsyslog: update to 7.4.4
Signed-off-by: Jack Mitchell <jmitchell@cbnl.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb')
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
new file mode 100644
index 000000000..010100405
--- /dev/null
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "Rsyslog is an enhanced multi-threaded syslogd"
+DEPENDS = "zlib libestr json-c"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
+HOMEPAGE = "http://www.rsyslog.com/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
+
+SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
+ file://initscript \
+"
+
+SRC_URI[md5sum] = "ebcc010a6205c28eb505c0fe862f32c6"
+SRC_URI[sha256sum] = "276d094d1e4c62c770ec8a72723667f119eee038912b79cf3337d439bc2f9087"
+
+inherit autotools pkgconfig systemd update-rc.d
+
+EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)} --enable-cached-man-pages"
+
+do_install_append() {
+ install -d "${D}${sysconfdir}/init.d"
+ install -m 755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/rsyslogd
+ install -m 755 ${S}/platform/redhat/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
+}
+
+FILES_${PN} += "${bindir}"
+
+INITSCRIPT_NAME = "rsyslogd"
+INITSCRIPT_PARAMS = "defaults"
+
+CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf"
+
+RPROVIDES_${PN} += "${PN}-systemd"
+RREPLACES_${PN} += "${PN}-systemd"
+RCONFLICTS_${PN} += "${PN}-systemd"
+SYSTEMD_SERVICE_${PN} = "${PN}.service"