summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/syslog-ng/syslog-ng_1.6.8.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/syslog-ng/syslog-ng_1.6.8.bb b/packages/syslog-ng/syslog-ng_1.6.8.bb
index 6de553e288..25a58ad6ef 100644
--- a/packages/syslog-ng/syslog-ng_1.6.8.bb
+++ b/packages/syslog-ng/syslog-ng_1.6.8.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org"
SRC_URI = "http://www.balabit.com/downloads/syslog-ng/1.6/src/${PN}-${PV}.tar.gz"
@@ -7,3 +7,10 @@ S = "${WORKDIR}/${PN}-${PV}"
inherit autotools
EXTRA_OECONF = "--with-libol=${STAGING_BINDIR}/"
+CONFFILES_${PN} = "${sysconfdir}/${PN}/syslog-ng.conf"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/${PN}
+ install ${S}/doc/syslog-ng.conf.sample ${D}${sysconfdir}/${PN}/syslog-ng.conf
+
+}