Add default config
authorOyvind Repvik <nail@nslu2-linux.org>
Sat, 20 Aug 2005 02:29:53 +0000 (02:29 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 20 Aug 2005 02:29:53 +0000 (02:29 +0000)
packages/syslog-ng/syslog-ng_1.6.8.bb

index 6de553e..25a58ad 100644 (file)
@@ -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
+       
+}