diff options
Diffstat (limited to 'meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb')
-rw-r--r-- | meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb b/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb deleted file mode 100644 index d8e02d0da2..0000000000 --- a/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | PR = "r9" | ||
2 | DESCRIPTION = "Alternative system logger daemon" | ||
3 | DEPENDS = "libol flex" | ||
4 | |||
5 | SRC_URI = "http://www.balabit.com/downloads/syslog-ng/1.6/src/${PN}-${PV}.tar.gz \ | ||
6 | file://syslog-ng.conf \ | ||
7 | file://initscript" | ||
8 | |||
9 | S = "${WORKDIR}/${PN}-${PV}" | ||
10 | inherit autotools update-rc.d | ||
11 | |||
12 | EXTRA_OECONF = "--with-libol=${STAGING_BINDIR_CROSS}/" | ||
13 | CONFFILES_${PN} = "${sysconfdir}/${PN}/syslog-ng.conf" | ||
14 | INITSCRIPT_NAME = "syslog-ng" | ||
15 | INITSCRIPT_PARAMS = "defaults 05" | ||
16 | |||
17 | do_install_append() { | ||
18 | install -d ${D}/${sysconfdir}/${PN} | ||
19 | install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${PN}/syslog-ng.conf | ||
20 | install -d ${D}/${sysconfdir}/init.d | ||
21 | install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog-ng | ||
22 | } | ||
23 | |||
24 | pkg_postinst() { | ||
25 | update-rc.d -f syslog remove | ||
26 | } | ||
27 | |||
28 | pkg_postrm() { | ||
29 | update-rc.d syslog add 5 | ||
30 | } | ||