summaryrefslogtreecommitdiff
path: root/openwrt/package/syslog-ng
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/syslog-ng')
-rw-r--r--openwrt/package/syslog-ng/Config.in31
-rw-r--r--openwrt/package/syslog-ng/Makefile73
-rw-r--r--openwrt/package/syslog-ng/files/syslog-ng.conf16
-rwxr-xr-xopenwrt/package/syslog-ng/files/syslog-ng.init34
-rw-r--r--openwrt/package/syslog-ng/ipkg/syslog-ng.conffiles1
-rw-r--r--openwrt/package/syslog-ng/ipkg/syslog-ng.control4
-rw-r--r--openwrt/package/syslog-ng/patches/01-no_lfl.patch50
7 files changed, 0 insertions, 209 deletions
diff --git a/openwrt/package/syslog-ng/Config.in b/openwrt/package/syslog-ng/Config.in
deleted file mode 100644
index 726586142a..0000000000
--- a/openwrt/package/syslog-ng/Config.in
+++ /dev/null
@@ -1,31 +0,0 @@
-config BR2_PACKAGE_SYSLOG_NG
- prompt "syslog-ng......................... A powerful syslog daemon"
- tristate
- default m if CONFIG_DEVEL
- select BR2_PACKAGE_LIBOL
- help
- syslog-ng reads and logs messages to the system console, log
- files, other machines and/or users as specified by its
- configuration file.
-
- The configuration file is read at startup and is reread after
- receipt of a hangup (HUP) signal. When reloading the
- configuration file, all destination files are closed and
- reopened as appropriate. For more information about the
- configuration file, see syslog-ng.conf(5).
-
- Typically messages are sent to syslog-ng via a Unix domain
- socket (/dev/log) or via UDP, to port 514 or to whatever
- syslog/udp is defined to be in /etc/services. To receive
- messages from the kernel, /dev/klog is opened for reading.
-
- Messages sent to syslog-ng should be an entire line, prefixed
- by a pri- ority code in between '<' and '>'. Definititions
- of the recognised values can be found in the include file
- <sys/syslog.h>.
-
- syslog-ng can be configured to pass messages on to other
- syslog-ng's and when doing so, it sends the message on with the
- priority as a pre- fix.
-
- http://www.balabit.com/products/syslog_ng/
diff --git a/openwrt/package/syslog-ng/Makefile b/openwrt/package/syslog-ng/Makefile
deleted file mode 100644
index 72045ae06d..0000000000
--- a/openwrt/package/syslog-ng/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=syslog-ng
-PKG_VERSION:=1.6.9
-PKG_RELEASE:=1
-PKG_MD5SUM:=5280a86b4f5c25b2ba157c8cea302cf0
-
-PKG_SOURCE_URL:=http://www.balabit.com/downloads/syslog-ng/stable/src \
- http://www.balabit.com/downloads/syslog-ng/1.6/src
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-PKG_INIT_LEVEL:=60
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,SYSLOG_NG,syslog-ng,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libol" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libol" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --disable-dependency-tracking \
- --disable-full-static \
- --enable-tcp-wrapper \
- --with-libol="$(STAGING_DIR)/usr/bin" \
- );
- touch $(PKG_BUILD_DIR)/.configured
-
-$(PKG_BUILD_DIR)/.built:
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
- touch $@
-
-$(IPKG_SYSLOG_NG):
- install -d -m0755 $(IDIR_SYSLOG_NG)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/syslog-ng $(IDIR_SYSLOG_NG)/usr/sbin/
- install -d -m0755 $(IDIR_SYSLOG_NG)/etc/init.d
- install -m0755 ./files/syslog-ng.init $(IDIR_SYSLOG_NG)/etc/init.d/S$(PKG_INIT_LEVEL)syslog-ng
- install -d -m0755 $(IDIR_SYSLOG_NG)/etc/syslog-ng
- install -m0644 ./files/syslog-ng.conf $(IDIR_SYSLOG_NG)/etc/syslog-ng/
- $(RSTRIP) $(IDIR_SYSLOG_NG)
- $(IPKG_BUILD) $(IDIR_SYSLOG_NG) $(PACKAGE_DIR)
-
diff --git a/openwrt/package/syslog-ng/files/syslog-ng.conf b/openwrt/package/syslog-ng/files/syslog-ng.conf
deleted file mode 100644
index 658abead21..0000000000
--- a/openwrt/package/syslog-ng/files/syslog-ng.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-options {
- chain_hostnames(off);
- sync(0);
-
- # The default action of syslog-ng 1.6.0 is to log a STATS line
- # to the file every 10 minutes. That's pretty ugly after a while.
- # Change it to every 12 hours so you get a nice daily update of
- # how many messages syslog-ng missed (0).
- stats(43200);
-};
-
-source src { unix-stream("/dev/log"); internal(); };
-
-destination messages { file("/var/log/messages"); };
-
-log { source(src); destination(messages); };
diff --git a/openwrt/package/syslog-ng/files/syslog-ng.init b/openwrt/package/syslog-ng/files/syslog-ng.init
deleted file mode 100755
index 40472ed3b9..0000000000
--- a/openwrt/package/syslog-ng/files/syslog-ng.init
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-syslog_start() {
- [ -f /etc/syslog-ng/syslog-ng.conf ] || {
- echo "/etc/syslog-ng/syslog-ng.conf does not exist !";
- exit 0;
- };
- [ -d /var/run ] || mkdir -p /var/run
- [ -x /usr/sbin/syslog-ng ] && /usr/sbin/syslog-ng
-}
-
-syslog_stop() {
- killall syslog-ng
-}
-
-case "$1" in
- start)
- syslog_start
- ;;
- stop)
- syslog_stop
- ;;
- restart)
- syslog_stop
- sleep 1s
- syslog_start
- ;;
- reload)
- kill -HUP `cat /var/run/syslog-ng.pid` &>/dev/null
- ;;
- *)
- echo "Usage: $0 <start|stop|restart|reload>"
- ;;
-esac
diff --git a/openwrt/package/syslog-ng/ipkg/syslog-ng.conffiles b/openwrt/package/syslog-ng/ipkg/syslog-ng.conffiles
deleted file mode 100644
index 453ebbe668..0000000000
--- a/openwrt/package/syslog-ng/ipkg/syslog-ng.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/syslog-ng/syslog-ng.conf
diff --git a/openwrt/package/syslog-ng/ipkg/syslog-ng.control b/openwrt/package/syslog-ng/ipkg/syslog-ng.control
deleted file mode 100644
index 074fff1898..0000000000
--- a/openwrt/package/syslog-ng/ipkg/syslog-ng.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: syslog-ng
-Priority: optional
-Section: admin
-Description: A powerful syslog daemon
diff --git a/openwrt/package/syslog-ng/patches/01-no_lfl.patch b/openwrt/package/syslog-ng/patches/01-no_lfl.patch
deleted file mode 100644
index e17a5c6af2..0000000000
--- a/openwrt/package/syslog-ng/patches/01-no_lfl.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -urN syslog-ng-1.6.9/Makefile.in syslog-ng-1.6.9.new/Makefile.in
---- syslog-ng-1.6.9/Makefile.in 2005-11-23 09:58:28.000000000 +0100
-+++ syslog-ng-1.6.9.new/Makefile.in 2006-03-23 19:02:04.000000000 +0100
-@@ -64,7 +64,7 @@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- LDFLAGS = @LDFLAGS@
- LEX = @LEX@
--LEXLIB = @LEXLIB@
-+LEXLIB =
- LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
- LIBOBJS = @LIBOBJS@
- LIBOL_DIR = @LIBOL_DIR@
-diff -urN syslog-ng-1.6.9/configure syslog-ng-1.6.9.new/configure
---- syslog-ng-1.6.9/configure 2005-11-23 09:58:29.000000000 +0100
-+++ syslog-ng-1.6.9.new/configure 2006-03-23 21:56:43.000000000 +0100
-@@ -3160,7 +3160,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lfl $LIBS"
-+LIBS="$LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-diff -urN syslog-ng-1.6.9/src/Makefile.in syslog-ng-1.6.9.new/src/Makefile.in
---- syslog-ng-1.6.9/src/Makefile.in 2005-11-23 09:58:37.000000000 +0100
-+++ syslog-ng-1.6.9.new/src/Makefile.in 2006-03-23 19:02:27.000000000 +0100
-@@ -64,7 +64,7 @@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- LDFLAGS = @LDFLAGS@
- LEX = @LEX@
--LEXLIB = @LEXLIB@
-+LEXLIB =
- LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
- LIBOBJS = @LIBOBJS@
- LIBOL_DIR = @LIBOL_DIR@
-diff -urN syslog-ng-1.6.9/src/cfg-lex.c syslog-ng-1.6.9.new/src/cfg-lex.c
---- syslog-ng-1.6.9/src/cfg-lex.c 2005-11-15 19:41:46.000000000 +0100
-+++ syslog-ng-1.6.9.new/src/cfg-lex.c 2006-03-23 19:03:25.000000000 +0100
-@@ -666,7 +666,9 @@
- #ifdef __cplusplus
- extern "C" int yywrap (void );
- #else
--extern int yywrap (void );
-+int yywrap (void ) {
-+ return 1;
-+}
- #endif
- #endif
-