diff options
Diffstat (limited to 'meta-extras')
-rw-r--r-- | meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb | 30 | ||||
-rw-r--r-- | meta-extras/packages/syslog-ng/syslog-ng_2.0.5.bb | 34 |
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 @@ | |||
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 | } | ||
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 @@ | |||
1 | DESCRIPTION = "Alternative system logger daemon" | ||
2 | DEPENDS = "libol flex eventlog" | ||
3 | PR = "r1" | ||
4 | |||
5 | SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/${P}.tar.gz \ | ||
6 | file://syslog-ng.conf \ | ||
7 | file://initscript" | ||
8 | |||
9 | S = "${WORKDIR}/${PN}-${PV}" | ||
10 | |||
11 | inherit autotools update-rc.d | ||
12 | |||
13 | EXTRA_OECONF = "--with-libol=${STAGING_BINDIR_CROSS}/ --enable-dynamic-linking" | ||
14 | |||
15 | do_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 | |||
22 | pkg_postinst() { | ||
23 | update-rc.d -f syslog remove | ||
24 | } | ||
25 | |||
26 | pkg_postrm() { | ||
27 | update-rc.d syslog add 5 | ||
28 | } | ||
29 | |||
30 | CONFFILES_${PN} = "${sysconfdir}/syslog-ng.conf" | ||
31 | |||
32 | INITSCRIPT_NAME = "syslog-ng" | ||
33 | #INITSCRIPT_PARAMS = "defaults 05" | ||
34 | INITSCRIPT_PARAMS = "remove" | ||