From: Michael Tremer Date: Sat, 26 Mar 2011 20:10:03 +0000 (+0100) Subject: syslog-ng: Remove package in favour of rsyslog. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1669d73e56e447a4dc46f0a946632a91caff63e;p=ipfire-3.x.git syslog-ng: Remove package in favour of rsyslog. syslog-ng has no support for systemd. --- diff --git a/pkgs/eventlog/eventlog.nm b/pkgs/eventlog/eventlog.nm deleted file mode 100644 index bbd7639f0..000000000 --- a/pkgs/eventlog/eventlog.nm +++ /dev/null @@ -1,55 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include $(PKGROOT)/Include - -PKG_NAME = eventlog -PKG_VER = 0.2.9 -PKG_REL = 0 - -PKG_MAINTAINER = -PKG_GROUPS = System/Libraries -PKG_URL = http://www.balabit.com/ -PKG_LICENSE = GPLv2+ -PKG_SUMMARY = Eventlog is an API for syslog-ng. - -define PKG_DESCRIPTION - A new API to format and send structured log messages. It supports multiple \ - message representations (plain, XML attributes and XML tags) and multiple \ - output methods (local syslogd). -endef - -PKG_TARBALL = $(THISAPP).tar.gz - -PKG_PACKAGES += $(PKG_NAME)-devel - -CONFIGURE_OPTIONS += --libdir=/lib - -define STAGE_INSTALL_CMDS - -mkdir -pv $(BUILDROOT)/usr/lib - rm -vf $(BUILDROOT)/lib/libevtlog.so - ln -svf ../../lib/libevtlog.so.0 $(BUILDROOT)/usr/lib/libevtlog.so - - mv -v $(BUILDROOT)/lib/pkgconfig $(BUILDROOT)/usr/lib/ -endef diff --git a/pkgs/syslog-ng/logextract b/pkgs/syslog-ng/logextract deleted file mode 100644 index 5c509b8b3..000000000 --- a/pkgs/syslog-ng/logextract +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/python -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -import os -import sys -import re - -# This is a default log extractor deamon the whole logline will be given when -# called by syslog, the deamon checks periodicly for new lines from stdin, if -# there is one it´ll read otherwise it´ll loop - -def main(): - while 1: - # Reads the line from stdin, if none break - data = sys.stdin.readline() - if not data: break - try: - # When there is input do something with it - f = open("/tmp/somefile", "w") - f.write("%s\n" % data) - f.close() - except: - break -main() -sys.exit(0) diff --git a/pkgs/syslog-ng/syslog-ng.conf b/pkgs/syslog-ng/syslog-ng.conf deleted file mode 100644 index cc0bbae91..000000000 --- a/pkgs/syslog-ng/syslog-ng.conf +++ /dev/null @@ -1,57 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -#@version:3.0 - -options { - flush_lines(0); - stats_freq(3600); - time_reopen (10); - time_sleep(200); - log_fifo_size (1000); - long_hostnames (off); - use_dns (no); - use_fqdn (no); - create_dirs (no); - keep_hostname (yes); - }; - -source sys {file ("/proc/kmsg" log_prefix("kernel: "));unix-stream ("/dev/log");internal();}; - -destination messages {file("/var/log/messages");}; -destination boot {file("/var/log/boot.log");}; -destination kernel {file("/var/log/kernel.log");}; -destination console {usertty("root");}; -destination console_all {file("/dev/tty12");}; -#destination loghost {#tcp("10.0.0.1" port(514));}; - -filter f_boot {facility(local7);}; -filter f_cron {facility(cron);}; -filter f_daemon {facility(daemon);}; -filter f_kern {facility(kern);}; -filter f_messages {not facility(mail, news, cron);}; -filter f_emergency {level(emerg);}; -filter f_ssh {program("sshd.*") and match("Failed password for root from");}; - -log {source(sys);filter(f_messages);destination(messages);}; -log {source(sys);filter(f_emergency);destination(console);}; -log {source(sys);filter(f_boot);destination(boot);}; -log {source(sys);destination(console_all);}; -log {source(sys);filter(f_kern);destination(kernel);}; diff --git a/pkgs/syslog-ng/syslog-ng.init b/pkgs/syslog-ng/syslog-ng.init deleted file mode 100644 index 4cbffec12..000000000 --- a/pkgs/syslog-ng/syslog-ng.init +++ /dev/null @@ -1,8 +0,0 @@ -description "Start system log daemon" -author "IPFire Team" - -start on stopped mountfs -stop on kill-all-services - -exec /sbin/syslog-ng -F -respawn diff --git a/pkgs/syslog-ng/syslog-ng.nm b/pkgs/syslog-ng/syslog-ng.nm deleted file mode 100644 index 19024a400..000000000 --- a/pkgs/syslog-ng/syslog-ng.nm +++ /dev/null @@ -1,63 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include $(PKGROOT)/Include - -PKG_NAME = syslog-ng -PKG_VER = 3.1.3 -PKG_REL = 1 - -PKG_MAINTAINER = -PKG_GROUPS = System/Tools -PKG_URL = http://www.balabit.com/network-security/syslog-ng/ -PKG_LICENSE = GPLv2+ -PKG_SUMMARY = Syslog-ng is a daemon that handles the logging stuff. - -PKG_BUILD_DEPS+= eventlog-devel glib2-devel pkg-config which - -define PKG_DESCRIPTION - The syslog-ng application can operate in server or agent mode, and - \ - apart from UDP - supports the reliable TCP and the encrypted TLS protocols. \ - That way syslog-ng can be used to create flexible and reliable logging \ - infrastructure even in heterogeneous environments. -endef - -PKG_TARBALL = $(THISAPP).tar.gz - -CONFIGURE_OPTIONS += \ - --sbindir=/sbin \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc/syslog-ng \ - --enable-dynamic-linking \ - --disable-sql \ - --disable-pcre \ - --with-pidfile-dir=/var/run \ - --disable-ssl \ - --mandir=/usr/share/man - -define STAGE_INSTALL_CMDS - -mkdir -pv $(BUILDROOT)/etc/syslog-ng - cp -vf $(DIR_SOURCE)/$(PKG_NAME).conf \ - $(BUILDROOT)/etc/$(PKG_NAME)/$(PKG_NAME).conf -endef