summaryrefslogtreecommitdiff
path: root/packages/syslog-ng
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-20 02:29:53 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-20 02:29:53 +0000
commit7774546e11537e6a7cd9aa087f0ef5e8fa817f46 (patch)
treee0eb7e9d54f2ef54a0e047e30de11f45f37cf391 /packages/syslog-ng
parent12f84eae0e1adaa827ac24f3df89bd1d22c4ac1d (diff)
Add default config
Diffstat (limited to 'packages/syslog-ng')
-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
+
+}