summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb
diff options
context:
space:
mode:
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.bb30
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 @@
1PR = "r9"
2DESCRIPTION = "Alternative system logger daemon"
3DEPENDS = "libol flex"
4
5SRC_URI = "http://www.balabit.com/downloads/syslog-ng/1.6/src/${PN}-${PV}.tar.gz \
6 file://syslog-ng.conf \
7 file://initscript"
8
9S = "${WORKDIR}/${PN}-${PV}"
10inherit autotools update-rc.d
11
12EXTRA_OECONF = "--with-libol=${STAGING_BINDIR_CROSS}/"
13CONFFILES_${PN} = "${sysconfdir}/${PN}/syslog-ng.conf"
14INITSCRIPT_NAME = "syslog-ng"
15INITSCRIPT_PARAMS = "defaults 05"
16
17do_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
24pkg_postinst() {
25 update-rc.d -f syslog remove
26}
27
28pkg_postrm() {
29 update-rc.d syslog add 5
30}