summaryrefslogtreecommitdiffstats
path: root/meta-extras
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras')
-rw-r--r--meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb30
-rw-r--r--meta-extras/packages/syslog-ng/syslog-ng_2.0.5.bb34
2 files changed, 34 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}
diff --git a/meta-extras/packages/syslog-ng/syslog-ng_2.0.5.bb b/meta-extras/packages/syslog-ng/syslog-ng_2.0.5.bb
new file mode 100644
index 0000000000..217af346de
--- /dev/null
+++ b/meta-extras/packages/syslog-ng/syslog-ng_2.0.5.bb
@@ -0,0 +1,34 @@
1DESCRIPTION = "Alternative system logger daemon"
2DEPENDS = "libol flex eventlog"
3PR = "r1"
4
5SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/${P}.tar.gz \
6 file://syslog-ng.conf \
7 file://initscript"
8
9S = "${WORKDIR}/${PN}-${PV}"
10
11inherit autotools update-rc.d
12
13EXTRA_OECONF = "--with-libol=${STAGING_BINDIR_CROSS}/ --enable-dynamic-linking"
14
15do_install_append() {
16 install -d ${D}/${sysconfdir}/${PN}
17 install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/syslog-ng.conf
18 install -d ${D}/${sysconfdir}/init.d
19 install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog-ng
20}
21
22pkg_postinst() {
23 update-rc.d -f syslog remove
24}
25
26pkg_postrm() {
27 update-rc.d syslog add 5
28}
29
30CONFFILES_${PN} = "${sysconfdir}/syslog-ng.conf"
31
32INITSCRIPT_NAME = "syslog-ng"
33#INITSCRIPT_PARAMS = "defaults 05"
34INITSCRIPT_PARAMS = "remove"