diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-17 17:12:49 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-17 19:45:58 +0200 |
commit | c85efd2281af4556854107768d7583a8208b6647 (patch) | |
tree | bc47cf9716483942de06cff762b7a4bc2f52207f /meta-oe/recipes-extended/rsyslog/rsyslog.inc | |
parent | f9c4fd0b31a28c5a79bf00d2ac5ff5e9f872ecd2 (diff) | |
download | meta-openembedded-c85efd2281af4556854107768d7583a8208b6647.tar.gz |
rsyslog: add 5.8.0
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog/rsyslog.inc')
-rw-r--r-- | meta-oe/recipes-extended/rsyslog/rsyslog.inc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog.inc b/meta-oe/recipes-extended/rsyslog/rsyslog.inc new file mode 100644 index 000000000..8af204990 --- /dev/null +++ b/meta-oe/recipes-extended/rsyslog/rsyslog.inc | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = "Rsyslog is an enhanced multi-threaded syslogd" | ||
2 | DEPENDS = "zlib systemd" | ||
3 | HOMEPAGE = "http://www.rsyslog.com/" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973" | ||
6 | |||
7 | INC_PR = "r0" | ||
8 | |||
9 | SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \ | ||
10 | file://rsyslog.conf" | ||
11 | |||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | do_install_append() { | ||
16 | install -d ${D}/${sysconfdir}/${PN} | ||
17 | install ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf | ||
18 | } | ||
19 | |||
20 | |||
21 | pkg_postinst_${PN} () { | ||
22 | if test "x$D" != "x"; then | ||
23 | exit 1 | ||
24 | fi | ||
25 | systemctl enable rsyslog.service | ||
26 | } | ||
27 | |||
28 | pkg_postrm_${PN} () { | ||
29 | systemctl disable rsyslog.service | ||
30 | } | ||
31 | |||
32 | RRECOMMENDS_${PN} += "systemd" | ||
33 | CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf" | ||
34 | FILES_${PN} += "${base_libdir}/systemd" | ||
35 | |||