summaryrefslogtreecommitdiff
path: root/package/syslog-ng
diff options
context:
space:
mode:
Diffstat (limited to 'package/syslog-ng')
-rw-r--r--package/syslog-ng/Makefile14
-rw-r--r--package/syslog-ng/files/syslog-ng.conffiles (renamed from package/syslog-ng/ipkg/syslog-ng.conffiles)0
-rw-r--r--package/syslog-ng/files/syslog-ng.init4
-rw-r--r--package/syslog-ng/files/syslog-ng.postinst (renamed from package/syslog-ng/ipkg/syslog-ng.postinst)0
-rw-r--r--package/syslog-ng/ipkg/syslog-ng.control5
5 files changed, 10 insertions, 13 deletions
diff --git a/package/syslog-ng/Makefile b/package/syslog-ng/Makefile
index f7dee9f29..92f52814d 100644
--- a/package/syslog-ng/Makefile
+++ b/package/syslog-ng/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:= syslog-ng
PKG_VERSION:= 1.6.12
PKG_RELEASE:= 1
PKG_MD5SUM:= a3cbfdb6e1e5beea181a7349749719f3
-MASTER_SITES:= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/
+PKG_DESCR:= A powerful syslog daemon
+PKG_SECTION:= admin
+PKG_DEPENDS:= libol libwrap
+PKG_URL:= http://www.balabit.com
+PKG_SITES:= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SYSLOG_NG,syslog-ng,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SYSLOG_NG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --enable-full-dynamic \
@@ -23,12 +27,8 @@ BUILD_STYLE:= auto
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin
+ ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin ${IDIR_SYSLOG_NG}/etc/syslog-ng
${INSTALL_BIN} ${WRKINST}/usr/sbin/syslog-ng ${IDIR_SYSLOG_NG}/usr/sbin/
- ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/etc/init.d
- ${INSTALL_BIN} ./files/syslog-ng.init \
- ${IDIR_SYSLOG_NG}/etc/init.d/${PKG_NAME}
- ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/etc/syslog-ng
${INSTALL_DATA} ./files/syslog-ng.conf ${IDIR_SYSLOG_NG}/etc/syslog-ng/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/syslog-ng/ipkg/syslog-ng.conffiles b/package/syslog-ng/files/syslog-ng.conffiles
index 453ebbe66..453ebbe66 100644
--- a/package/syslog-ng/ipkg/syslog-ng.conffiles
+++ b/package/syslog-ng/files/syslog-ng.conffiles
diff --git a/package/syslog-ng/files/syslog-ng.init b/package/syslog-ng/files/syslog-ng.init
index bdfa0c96e..a613e8e9b 100644
--- a/package/syslog-ng/files/syslog-ng.init
+++ b/package/syslog-ng/files/syslog-ng.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 05
+#PKG syslog-ng
+#INIT 05
+
. /etc/rc.conf
case $1 in
diff --git a/package/syslog-ng/ipkg/syslog-ng.postinst b/package/syslog-ng/files/syslog-ng.postinst
index 254f67872..254f67872 100644
--- a/package/syslog-ng/ipkg/syslog-ng.postinst
+++ b/package/syslog-ng/files/syslog-ng.postinst
diff --git a/package/syslog-ng/ipkg/syslog-ng.control b/package/syslog-ng/ipkg/syslog-ng.control
deleted file mode 100644
index 93f193d6c..000000000
--- a/package/syslog-ng/ipkg/syslog-ng.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: syslog-ng
-Priority: optional
-Section: admin
-Depends: libol libwrap
-Description: A powerful syslog daemon