summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-07-13 21:39:51 +0000
committerpiernov <piernov@piernov.org>2012-07-13 21:39:59 +0000
commit796ca71e4df90dc21e6cf77d1532b5f92373570d (patch)
tree8106fe2ccc52d5377ef3c37159c6c2421194296f
parent04edcb6da5805bfc5ed5094ec4f81f5fb120f7fc (diff)
downloadnutyx-pakxe-796ca71e4df90dc21e6cf77d1532b5f92373570d.tar.gz
nutyx-pakxe-796ca71e4df90dc21e6cf77d1532b5f92373570d.tar.bz2
nutyx-pakxe-796ca71e4df90dc21e6cf77d1532b5f92373570d.tar.xz
nutyx-pakxe-796ca71e4df90dc21e6cf77d1532b5f92373570d.zip
syslog-ng 3.3.5-1 ajout port
-rw-r--r--syslog-ng/.footprint.i686160
-rw-r--r--syslog-ng/.footprint.x86_64160
-rw-r--r--syslog-ng/.md5sum.i6865
-rw-r--r--syslog-ng/.md5sum.x86_645
-rw-r--r--syslog-ng/Pkgfile42
-rw-r--r--syslog-ng/post-install2
-rw-r--r--syslog-ng/syslog-ng.conf92
-rw-r--r--syslog-ng/syslog-ng.conf.d9
-rw-r--r--syslog-ng/syslog-ng.logrotate7
-rwxr-xr-xsyslog-ng/syslog-ng.rc36
10 files changed, 518 insertions, 0 deletions
diff --git a/syslog-ng/.footprint.i686 b/syslog-ng/.footprint.i686
new file mode 100644
index 000000000..e8b76f233
--- /dev/null
+++ b/syslog-ng/.footprint.i686
@@ -0,0 +1,160 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/logrotate.d/
+-rw-r--r-- root/root etc/logrotate.d/syslog-ng
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/syslog-ng
+drwxr-xr-x root/root etc/sysconfig/
+-rw-r--r-- root/root etc/sysconfig/syslog-ng
+drwxr-xr-x root/root etc/syslog-ng/
+-rw-r--r-- root/root etc/syslog-ng/modules.conf
+drwxr-xr-x root/root etc/syslog-ng/patterndb.d/
+-rw-r--r-- root/root etc/syslog-ng/scl.conf
+-rw-r--r-- root/root etc/syslog-ng/syslog-ng.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/loggen
+-rwxr-xr-x root/root usr/bin/pdbtool
+-rwxr-xr-x root/root usr/bin/update-patterndb
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/syslog-ng/
+-rw-r--r-- root/root usr/include/syslog-ng/afinter.h
+-rw-r--r-- root/root usr/include/syslog-ng/alarms.h
+-rw-r--r-- root/root usr/include/syslog-ng/apphook.h
+-rw-r--r-- root/root usr/include/syslog-ng/atomic.h
+-rw-r--r-- root/root usr/include/syslog-ng/block-ref-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/center.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg-grammar.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg-lexer.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg.h
+-rw-r--r-- root/root usr/include/syslog-ng/children.h
+-rw-r--r-- root/root usr/include/syslog-ng/compat.h
+-rw-r--r-- root/root usr/include/syslog-ng/control.h
+-rw-r--r-- root/root usr/include/syslog-ng/crypto.h
+-rw-r--r-- root/root usr/include/syslog-ng/dgroup.h
+-rw-r--r-- root/root usr/include/syslog-ng/dnscache.h
+-rw-r--r-- root/root usr/include/syslog-ng/driver.h
+-rw-r--r-- root/root usr/include/syslog-ng/filter-expr-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/filter.h
+-rw-r--r-- root/root usr/include/syslog-ng/gprocess.h
+-rw-r--r-- root/root usr/include/syslog-ng/gsockaddr.h
+-rw-r--r-- root/root usr/include/syslog-ng/gsocket.h
+-rw-r--r-- root/root usr/include/syslog-ng/logmatcher.h
+-rw-r--r-- root/root usr/include/syslog-ng/logmpx.h
+-rw-r--r-- root/root usr/include/syslog-ng/logmsg.h
+-rw-r--r-- root/root usr/include/syslog-ng/logparser.h
+-rw-r--r-- root/root usr/include/syslog-ng/logpipe.h
+-rw-r--r-- root/root usr/include/syslog-ng/logprocess.h
+-rw-r--r-- root/root usr/include/syslog-ng/logproto.h
+-rw-r--r-- root/root usr/include/syslog-ng/logqueue-fifo.h
+-rw-r--r-- root/root usr/include/syslog-ng/logqueue.h
+-rw-r--r-- root/root usr/include/syslog-ng/logreader.h
+-rw-r--r-- root/root usr/include/syslog-ng/logrewrite.h
+-rw-r--r-- root/root usr/include/syslog-ng/logsource.h
+-rw-r--r-- root/root usr/include/syslog-ng/logstamp.h
+-rw-r--r-- root/root usr/include/syslog-ng/logtransport.h
+-rw-r--r-- root/root usr/include/syslog-ng/logwriter.h
+-rw-r--r-- root/root usr/include/syslog-ng/mainloop.h
+-rw-r--r-- root/root usr/include/syslog-ng/memtrace.h
+-rw-r--r-- root/root usr/include/syslog-ng/messages.h
+-rw-r--r-- root/root usr/include/syslog-ng/misc.h
+-rw-r--r-- root/root usr/include/syslog-ng/msg-format.h
+-rw-r--r-- root/root usr/include/syslog-ng/nvtable.h
+-rw-r--r-- root/root usr/include/syslog-ng/parser-expr-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/persist-state.h
+-rw-r--r-- root/root usr/include/syslog-ng/plugin.h
+-rw-r--r-- root/root usr/include/syslog-ng/pragma-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/rewrite-expr-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/scratch-buffers.h
+-rw-r--r-- root/root usr/include/syslog-ng/serialize.h
+-rw-r--r-- root/root usr/include/syslog-ng/sgroup.h
+-rw-r--r-- root/root usr/include/syslog-ng/stats.h
+-rw-r--r-- root/root usr/include/syslog-ng/str-format.h
+-rw-r--r-- root/root usr/include/syslog-ng/syslog-names.h
+-rw-r--r-- root/root usr/include/syslog-ng/syslog-ng.h
+-rw-r--r-- root/root usr/include/syslog-ng/tags.h
+-rw-r--r-- root/root usr/include/syslog-ng/templates.h
+-rw-r--r-- root/root usr/include/syslog-ng/timeutils.h
+-rw-r--r-- root/root usr/include/syslog-ng/tls-support.h
+-rw-r--r-- root/root usr/include/syslog-ng/tlscontext.h
+-rw-r--r-- root/root usr/include/syslog-ng/tlstransport.h
+-rw-r--r-- root/root usr/include/syslog-ng/utils.h
+-rw-r--r-- root/root usr/include/syslog-ng/value-pairs.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libsyslog-ng-3.3.5.so
+-rwxr-xr-x root/root usr/lib/libsyslog-ng.la
+lrwxrwxrwx root/root usr/lib/libsyslog-ng.so -> libsyslog-ng-3.3.5.so
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/syslog-ng.pc
+drwxr-xr-x root/root usr/lib/syslog-ng/
+-rwxr-xr-x root/root usr/lib/syslog-ng/libaffile.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libaffile.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafmongodb.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafmongodb.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafprog.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafprog.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-notls.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-notls.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-tls.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-tls.so
+lrwxrwxrwx root/root usr/lib/syslog-ng/libafsocket.so -> libafsocket-tls.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafuser.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafuser.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libbasicfuncs.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libbasicfuncs.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconfgen.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconfgen.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconvertfuncs.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconvertfuncs.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libcsvparser.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libcsvparser.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdbparser.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdbparser.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdummy.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdummy.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslog-ng-crypto.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslog-ng-crypto.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslogformat.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslogformat.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libtfjson.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libtfjson.so
+drwxr-xr-x root/root usr/lib/systemd/
+drwxr-xr-x root/root usr/lib/systemd/system/
+-rw-r--r-- root/root usr/lib/systemd/system/syslog-ng.service
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/syslog-ng
+-rwxr-xr-x root/root usr/sbin/syslog-ng-ctl
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/loggen.1.gz
+-rw-r--r-- root/root usr/share/man/man1/pdbtool.1.gz
+-rw-r--r-- root/root usr/share/man/man1/syslog-ng-ctl.1.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/syslog-ng.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/syslog-ng.8.gz
+drwxr-xr-x root/root usr/share/syslog-ng/
+drwxr-xr-x root/root usr/share/syslog-ng/include/
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/pacct/
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/pacct/plugin.conf
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/syslogconf/
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/syslogconf/README
+-rwxr-xr-x root/root usr/share/syslog-ng/include/scl/syslogconf/convert-syslogconf.awk
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/syslogconf/plugin.conf
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/system/
+-rwxr-xr-x root/root usr/share/syslog-ng/include/scl/system/generate-system-source.sh
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/system/plugin.conf
+drwxr-xr-x root/root usr/share/syslog-ng/tools/
+-rw-r--r-- root/root usr/share/syslog-ng/tools/cfg-grammar.y
+-rw-r--r-- root/root usr/share/syslog-ng/tools/lex-rules.am
+-rw-r--r-- root/root usr/share/syslog-ng/tools/merge-grammar.pl
+drwxr-xr-x root/root usr/share/syslog-ng/xsd/
+-rw-r--r-- root/root usr/share/syslog-ng/xsd/patterndb-1.xsd
+-rw-r--r-- root/root usr/share/syslog-ng/xsd/patterndb-2.xsd
+-rw-r--r-- root/root usr/share/syslog-ng/xsd/patterndb-3.xsd
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/syslog-ng/
diff --git a/syslog-ng/.footprint.x86_64 b/syslog-ng/.footprint.x86_64
new file mode 100644
index 000000000..e8b76f233
--- /dev/null
+++ b/syslog-ng/.footprint.x86_64
@@ -0,0 +1,160 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/logrotate.d/
+-rw-r--r-- root/root etc/logrotate.d/syslog-ng
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/syslog-ng
+drwxr-xr-x root/root etc/sysconfig/
+-rw-r--r-- root/root etc/sysconfig/syslog-ng
+drwxr-xr-x root/root etc/syslog-ng/
+-rw-r--r-- root/root etc/syslog-ng/modules.conf
+drwxr-xr-x root/root etc/syslog-ng/patterndb.d/
+-rw-r--r-- root/root etc/syslog-ng/scl.conf
+-rw-r--r-- root/root etc/syslog-ng/syslog-ng.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/loggen
+-rwxr-xr-x root/root usr/bin/pdbtool
+-rwxr-xr-x root/root usr/bin/update-patterndb
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/syslog-ng/
+-rw-r--r-- root/root usr/include/syslog-ng/afinter.h
+-rw-r--r-- root/root usr/include/syslog-ng/alarms.h
+-rw-r--r-- root/root usr/include/syslog-ng/apphook.h
+-rw-r--r-- root/root usr/include/syslog-ng/atomic.h
+-rw-r--r-- root/root usr/include/syslog-ng/block-ref-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/center.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg-grammar.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg-lexer.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/cfg.h
+-rw-r--r-- root/root usr/include/syslog-ng/children.h
+-rw-r--r-- root/root usr/include/syslog-ng/compat.h
+-rw-r--r-- root/root usr/include/syslog-ng/control.h
+-rw-r--r-- root/root usr/include/syslog-ng/crypto.h
+-rw-r--r-- root/root usr/include/syslog-ng/dgroup.h
+-rw-r--r-- root/root usr/include/syslog-ng/dnscache.h
+-rw-r--r-- root/root usr/include/syslog-ng/driver.h
+-rw-r--r-- root/root usr/include/syslog-ng/filter-expr-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/filter.h
+-rw-r--r-- root/root usr/include/syslog-ng/gprocess.h
+-rw-r--r-- root/root usr/include/syslog-ng/gsockaddr.h
+-rw-r--r-- root/root usr/include/syslog-ng/gsocket.h
+-rw-r--r-- root/root usr/include/syslog-ng/logmatcher.h
+-rw-r--r-- root/root usr/include/syslog-ng/logmpx.h
+-rw-r--r-- root/root usr/include/syslog-ng/logmsg.h
+-rw-r--r-- root/root usr/include/syslog-ng/logparser.h
+-rw-r--r-- root/root usr/include/syslog-ng/logpipe.h
+-rw-r--r-- root/root usr/include/syslog-ng/logprocess.h
+-rw-r--r-- root/root usr/include/syslog-ng/logproto.h
+-rw-r--r-- root/root usr/include/syslog-ng/logqueue-fifo.h
+-rw-r--r-- root/root usr/include/syslog-ng/logqueue.h
+-rw-r--r-- root/root usr/include/syslog-ng/logreader.h
+-rw-r--r-- root/root usr/include/syslog-ng/logrewrite.h
+-rw-r--r-- root/root usr/include/syslog-ng/logsource.h
+-rw-r--r-- root/root usr/include/syslog-ng/logstamp.h
+-rw-r--r-- root/root usr/include/syslog-ng/logtransport.h
+-rw-r--r-- root/root usr/include/syslog-ng/logwriter.h
+-rw-r--r-- root/root usr/include/syslog-ng/mainloop.h
+-rw-r--r-- root/root usr/include/syslog-ng/memtrace.h
+-rw-r--r-- root/root usr/include/syslog-ng/messages.h
+-rw-r--r-- root/root usr/include/syslog-ng/misc.h
+-rw-r--r-- root/root usr/include/syslog-ng/msg-format.h
+-rw-r--r-- root/root usr/include/syslog-ng/nvtable.h
+-rw-r--r-- root/root usr/include/syslog-ng/parser-expr-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/persist-state.h
+-rw-r--r-- root/root usr/include/syslog-ng/plugin.h
+-rw-r--r-- root/root usr/include/syslog-ng/pragma-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/rewrite-expr-parser.h
+-rw-r--r-- root/root usr/include/syslog-ng/scratch-buffers.h
+-rw-r--r-- root/root usr/include/syslog-ng/serialize.h
+-rw-r--r-- root/root usr/include/syslog-ng/sgroup.h
+-rw-r--r-- root/root usr/include/syslog-ng/stats.h
+-rw-r--r-- root/root usr/include/syslog-ng/str-format.h
+-rw-r--r-- root/root usr/include/syslog-ng/syslog-names.h
+-rw-r--r-- root/root usr/include/syslog-ng/syslog-ng.h
+-rw-r--r-- root/root usr/include/syslog-ng/tags.h
+-rw-r--r-- root/root usr/include/syslog-ng/templates.h
+-rw-r--r-- root/root usr/include/syslog-ng/timeutils.h
+-rw-r--r-- root/root usr/include/syslog-ng/tls-support.h
+-rw-r--r-- root/root usr/include/syslog-ng/tlscontext.h
+-rw-r--r-- root/root usr/include/syslog-ng/tlstransport.h
+-rw-r--r-- root/root usr/include/syslog-ng/utils.h
+-rw-r--r-- root/root usr/include/syslog-ng/value-pairs.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libsyslog-ng-3.3.5.so
+-rwxr-xr-x root/root usr/lib/libsyslog-ng.la
+lrwxrwxrwx root/root usr/lib/libsyslog-ng.so -> libsyslog-ng-3.3.5.so
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/syslog-ng.pc
+drwxr-xr-x root/root usr/lib/syslog-ng/
+-rwxr-xr-x root/root usr/lib/syslog-ng/libaffile.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libaffile.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafmongodb.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafmongodb.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafprog.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafprog.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-notls.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-notls.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-tls.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafsocket-tls.so
+lrwxrwxrwx root/root usr/lib/syslog-ng/libafsocket.so -> libafsocket-tls.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafuser.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libafuser.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libbasicfuncs.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libbasicfuncs.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconfgen.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconfgen.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconvertfuncs.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libconvertfuncs.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libcsvparser.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libcsvparser.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdbparser.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdbparser.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdummy.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libdummy.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslog-ng-crypto.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslog-ng-crypto.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslogformat.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libsyslogformat.so
+-rwxr-xr-x root/root usr/lib/syslog-ng/libtfjson.la
+-rwxr-xr-x root/root usr/lib/syslog-ng/libtfjson.so
+drwxr-xr-x root/root usr/lib/systemd/
+drwxr-xr-x root/root usr/lib/systemd/system/
+-rw-r--r-- root/root usr/lib/systemd/system/syslog-ng.service
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/syslog-ng
+-rwxr-xr-x root/root usr/sbin/syslog-ng-ctl
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/loggen.1.gz
+-rw-r--r-- root/root usr/share/man/man1/pdbtool.1.gz
+-rw-r--r-- root/root usr/share/man/man1/syslog-ng-ctl.1.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/syslog-ng.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/syslog-ng.8.gz
+drwxr-xr-x root/root usr/share/syslog-ng/
+drwxr-xr-x root/root usr/share/syslog-ng/include/
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/pacct/
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/pacct/plugin.conf
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/syslogconf/
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/syslogconf/README
+-rwxr-xr-x root/root usr/share/syslog-ng/include/scl/syslogconf/convert-syslogconf.awk
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/syslogconf/plugin.conf
+drwxr-xr-x root/root usr/share/syslog-ng/include/scl/system/
+-rwxr-xr-x root/root usr/share/syslog-ng/include/scl/system/generate-system-source.sh
+-rw-r--r-- root/root usr/share/syslog-ng/include/scl/system/plugin.conf
+drwxr-xr-x root/root usr/share/syslog-ng/tools/
+-rw-r--r-- root/root usr/share/syslog-ng/tools/cfg-grammar.y
+-rw-r--r-- root/root usr/share/syslog-ng/tools/lex-rules.am
+-rw-r--r-- root/root usr/share/syslog-ng/tools/merge-grammar.pl
+drwxr-xr-x root/root usr/share/syslog-ng/xsd/
+-rw-r--r-- root/root usr/share/syslog-ng/xsd/patterndb-1.xsd
+-rw-r--r-- root/root usr/share/syslog-ng/xsd/patterndb-2.xsd
+-rw-r--r-- root/root usr/share/syslog-ng/xsd/patterndb-3.xsd
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/syslog-ng/
diff --git a/syslog-ng/.md5sum.i686 b/syslog-ng/.md5sum.i686
new file mode 100644
index 000000000..2fdb155c4
--- /dev/null
+++ b/syslog-ng/.md5sum.i686
@@ -0,0 +1,5 @@
+58fb52d3c0b2a6a5a2681571cbd36a44 syslog-ng.conf
+c6c188aaf4e367ca5f67cc44cae0f6c6 syslog-ng.conf.d
+0c0d5149bd3e8d666c506351edecbe71 syslog-ng.logrotate
+8ed6650f189f890394d12bd935ac7258 syslog-ng.rc
+a69e725854301ecda26dbe51f3a10645 syslog-ng_3.3.5.tar.gz
diff --git a/syslog-ng/.md5sum.x86_64 b/syslog-ng/.md5sum.x86_64
new file mode 100644
index 000000000..2fdb155c4
--- /dev/null
+++ b/syslog-ng/.md5sum.x86_64
@@ -0,0 +1,5 @@
+58fb52d3c0b2a6a5a2681571cbd36a44 syslog-ng.conf
+c6c188aaf4e367ca5f67cc44cae0f6c6 syslog-ng.conf.d
+0c0d5149bd3e8d666c506351edecbe71 syslog-ng.logrotate
+8ed6650f189f890394d12bd935ac7258 syslog-ng.rc
+a69e725854301ecda26dbe51f3a10645 syslog-ng_3.3.5.tar.gz
diff --git a/syslog-ng/Pkgfile b/syslog-ng/Pkgfile
new file mode 100644
index 000000000..b481b4618
--- /dev/null
+++ b/syslog-ng/Pkgfile
@@ -0,0 +1,42 @@
+# Description: Démons de log pour le système et le noyau
+# URL: http://www.infodrom.org/projects/sysklogd/
+# Maintainer: NuTyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: eventlog
+# Run on: eventlog
+
+name=syslog-ng
+version=3.3.5
+release=1
+source=(http://www.balabit.com/downloads/files/$name/sources/$version/source/${name}_$version.tar.gz
+ syslog-ng.conf
+ syslog-ng.conf.d
+ syslog-ng.logrotate
+ syslog-ng.rc)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/syslog-ng \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var/lib/syslog-ng \
+ --datadir=/usr/share/syslog-ng \
+ --with-pidfile-dir=/run \
+ --enable-systemd \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+ make
+ make DESTDIR=$PKG install
+
+ install -dm755 $PKG/var/lib/syslog-ng $PKG/etc/syslog-ng/patterndb.d
+ install -Dm644 $SRC/syslog-ng.conf $PKG/etc/syslog-ng/syslog-ng.conf
+ install -Dm644 $SRC/syslog-ng.logrotate $PKG/etc/logrotate.d/syslog-ng
+ install -Dm755 $SRC/syslog-ng.rc $PKG/etc/rc.d/init.d/syslog-ng
+ install -Dm644 $SRC/syslog-ng.conf.d $PKG/etc/sysconfig/syslog-ng
+
+ sed -e 's@/bin/systemctl@/usr&@' \
+ -e '$aAlias=syslog.service' \
+ -e '/^ExecStartPre/d' \
+ -i $PKG/usr/lib/systemd/system/syslog-ng.service
+
+# mv ../syslog.conf $PKG/etc/
+}
diff --git a/syslog-ng/post-install b/syslog-ng/post-install
new file mode 100644
index 000000000..701d5ba78
--- /dev/null
+++ b/syslog-ng/post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+getent group log > /dev/null || /usr/sbin/groupadd -g 39 log
diff --git a/syslog-ng/syslog-ng.conf b/syslog-ng/syslog-ng.conf
new file mode 100644
index 000000000..8f86eac2f
--- /dev/null
+++ b/syslog-ng/syslog-ng.conf
@@ -0,0 +1,92 @@
+@version: 3.3
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+ stats_freq (0);
+ flush_lines (0);
+ time_reopen (10);
+ log_fifo_size (10000);
+ chain_hostnames (off);
+ use_dns (no);
+ use_fqdn (no);
+ create_dirs (no);
+ keep_hostname (yes);
+ perm(0640);
+ group("log");
+};
+
+source src {
+ unix-dgram("/dev/log");
+ internal();
+ file("/proc/kmsg");
+};
+
+destination d_authlog { file("/var/log/auth.log"); };
+destination d_syslog { file("/var/log/syslog.log"); };
+destination d_cron { file("/var/log/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { file("/var/log/news.log"); };
+destination d_ppp { file("/var/log/ppp.log"); };
+destination d_debug { file("/var/log/debug.log"); };
+destination d_messages { file("/var/log/messages.log"); };
+destination d_errors { file("/var/log/errors.log"); };
+destination d_everything { file("/var/log/everything.log"); };
+destination d_iptables { file("/var/log/iptables.log"); };
+destination d_acpid { file("/var/log/acpid.log"); };
+destination d_console { usertty("root"); };
+
+# Log everything to tty12
+destination console_all { file("/dev/tty12"); };
+
+filter f_auth { facility(auth); };
+filter f_authpriv { facility(auth, authpriv); };
+filter f_syslog { program(syslog-ng); };
+filter f_cron { facility(cron); };
+filter f_daemon { facility(daemon); };
+filter f_kernel { facility(kern) and not filter(f_iptables); };
+filter f_lpr { facility(lpr); };
+filter f_mail { facility(mail); };
+filter f_news { facility(news); };
+filter f_user { facility(user); };
+filter f_uucp { facility(uucp); };
+filter f_ppp { facility(local2); };
+filter f_debug { not facility(auth, authpriv, news, mail); };
+filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };
+filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };
+filter f_emergency { level(emerg); };
+filter f_info { level(info); };
+filter f_notice { level(notice); };
+filter f_warn { level(warn); };
+filter f_crit { level(crit); };
+filter f_err { level(err); };
+filter f_iptables { match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE")); };
+filter f_acpid { program("acpid"); };
+
+log { source(src); filter(f_acpid); destination(d_acpid); };
+log { source(src); filter(f_authpriv); destination(d_authlog); };
+log { source(src); filter(f_syslog); destination(d_syslog); };
+log { source(src); filter(f_cron); destination(d_cron); };
+log { source(src); filter(f_daemon); destination(d_daemon); };
+log { source(src); filter(f_kernel); destination(d_kernel); };
+log { source(src); filter(f_lpr); destination(d_lpr); };
+log { source(src); filter(f_mail); destination(d_mail); };
+log { source(src); filter(f_news); destination(d_news); };
+log { source(src); filter(f_ppp); destination(d_ppp); };
+log { source(src); filter(f_user); destination(d_user); };
+log { source(src); filter(f_uucp); destination(d_uucp); };
+#log { source(src); filter(f_debug); destination(d_debug); };
+log { source(src); filter(f_messages); destination(d_messages); };
+log { source(src); filter(f_err); destination(d_errors); };
+log { source(src); filter(f_emergency); destination(d_console); };
+log { source(src); filter(f_everything); destination(d_everything); };
+log { source(src); filter(f_iptables); destination(d_iptables); };
+
+# Log everything to tty12
+#log { source(src); destination(console_all); };
diff --git a/syslog-ng/syslog-ng.conf.d b/syslog-ng/syslog-ng.conf.d
new file mode 100644
index 000000000..05a725e51
--- /dev/null
+++ b/syslog-ng/syslog-ng.conf.d
@@ -0,0 +1,9 @@
+#
+# /etc/conf.d/syslog-ng
+#
+
+# passed to syslog-ng on config check
+SYSLOG_NG_CHECKOPTS=()
+
+# passed to syslog-ng at startup
+SYSLOG_NG_OPTS=()
diff --git a/syslog-ng/syslog-ng.logrotate b/syslog-ng/syslog-ng.logrotate
new file mode 100644
index 000000000..3509f2970
--- /dev/null
+++ b/syslog-ng/syslog-ng.logrotate
@@ -0,0 +1,7 @@
+/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
+ missingok
+ sharedscripts
+ postrotate
+ /bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
+ endscript
+}
diff --git a/syslog-ng/syslog-ng.rc b/syslog-ng/syslog-ng.rc
new file mode 100755
index 000000000..e288b95a8
--- /dev/null
+++ b/syslog-ng/syslog-ng.rc
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+. /lib/lsb/init-functions
+. /etc/sysconfig/syslog-ng
+
+case $1 in
+ start)
+ log_info_msg "Starting Syslog-NG"
+ syslog-ng -s "${SYSLOG_NG_CHECKOPTS[@]}"
+ evaluate_retval
+ start_daemon /usr/sbin/syslog-ng "${SYSLOG_NG_OPTS[@]}"
+ evaluate_retval
+ ;;
+ stop)
+ log_info_msg "Stopping Syslog-NG"
+ killproc /usr/sbin/syslog-ng
+ evaluate_retval
+ ;;
+ reload)
+ log_info_msg "Reloading Syslog-NG configuration and re-opening log files"
+ syslog-ng -s "${SYSLOG_NG_CHECKOPTS[@]}"
+ evaluate_retval
+ killall -HUP /usr/sbin/syslog-ng
+ evaluate_retval
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ status)
+ statusproc /usr/sbin/syslog-ng
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart|reload|status}"
+esac