Compare commits
186 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
cc47617b3c | ||
|
99fe39bd37 | ||
|
39f0893762 | ||
|
2b4f8d557a | ||
|
9113b605eb | ||
|
ad90662422 | ||
|
2185a52b3b | ||
|
0137f4b628 | ||
|
6f3a8527c9 | ||
|
589c897ec0 | ||
|
c65d4f82c6 | ||
|
8e2f801513 | ||
|
208111b460 | ||
|
df429fb22c | ||
|
6de89df166 | ||
|
1215e57b45 | ||
|
82194d2ccc | ||
|
e86662fbca | ||
|
40b8866e5e | ||
|
4939ca4fb5 | ||
|
1d0d61c047 | ||
|
54464dbd43 | ||
|
993fa4b58b | ||
|
2883a7a840 | ||
|
64cba5f5f4 | ||
|
b5c98f4fc8 | ||
|
47ab73a684 | ||
|
6bc7699237 | ||
|
0875048268 | ||
|
ffc89938e9 | ||
|
f6138374cd | ||
|
9000f998ff | ||
|
e9c92bcb32 | ||
|
2f47e42332 | ||
|
aa7afdcb14 | ||
|
513fb54613 | ||
|
f5c6b00b93 | ||
|
79474cee8b | ||
|
1567eca73b | ||
|
b4dc121e6c | ||
|
bbd91c3e94 | ||
|
54394b5e1e | ||
|
8f82f6354c | ||
|
afc543f5d6 | ||
|
435c450779 | ||
|
cbee9da385 | ||
|
3dac9ea55e | ||
|
2f6ac33ab5 | ||
|
b08504e0ed | ||
|
06059ba791 | ||
|
2ecc395c8b | ||
|
60a62150fb | ||
|
6ac47b08e2 | ||
|
be30741f94 | ||
|
19075df7a7 | ||
|
81bf5f1907 | ||
|
038fef4797 | ||
|
0e07dba1eb | ||
|
e39cee4454 | ||
|
5357b70ef8 | ||
|
c33421eac4 | ||
|
d000eca0d9 | ||
|
f8f926bd09 | ||
|
809ae98ae6 | ||
|
434d5a6d4d | ||
|
6170c03205 | ||
|
bea88181d4 | ||
|
99d9bf8bcb | ||
|
048bff0d9e | ||
|
e840a1609e | ||
|
0f4d09fd37 | ||
|
27fb37b505 | ||
|
d4a6642cee | ||
|
0a1909f4cf | ||
|
004f249697 | ||
|
eccace2aa0 | ||
|
e35e92d4a7 | ||
|
df44319caf | ||
|
91b21affc4 | ||
|
e43b6777e4 | ||
|
690696886e | ||
|
0c42010113 | ||
|
1a851cbace | ||
|
393a5c5811 | ||
|
337f695c7b | ||
|
92dac5fda9 | ||
|
f7f717bdac | ||
|
72d3d17f63 | ||
|
1e14334857 | ||
|
afba06a578 | ||
|
88bb9c39a2 | ||
|
5660133cf6 | ||
|
77899e197f | ||
|
d1b0d4b160 | ||
|
6536513ee6 | ||
|
53b6a9522e | ||
|
218a030008 | ||
|
fe5f5c69c4 | ||
|
e01d707dc6 | ||
|
1390f7dfd1 | ||
|
be24a5ee62 | ||
|
28fd0943c0 | ||
|
e52affe9b5 | ||
|
26c5cb3ea4 | ||
|
e997127770 | ||
|
1c4c540e3d | ||
|
5bd56909aa | ||
|
b64c46308b | ||
|
a09fc9ce11 | ||
|
62ec276833 | ||
|
fdd7fbb005 | ||
|
e3631080b0 | ||
|
8be2b38e89 | ||
|
48093dd02a | ||
|
bc24a7618a | ||
|
b706e116be | ||
|
94e5d18e18 | ||
|
56892a2396 | ||
|
4ca95a2cdc | ||
|
701112c8ab | ||
|
2e987763ca | ||
|
4f524921bb | ||
|
38e51b6bd6 | ||
|
2f488ee27c | ||
|
38ce8d6151 | ||
|
e33c2c0677 | ||
|
192ef47d95 | ||
|
b397d883c1 | ||
|
c582b80bc7 | ||
|
bf3ff4e6e8 | ||
|
01047b720f | ||
|
d64b71b05f | ||
|
9059c8be6d | ||
|
516c9c418e | ||
|
acb6a06fac | ||
|
9d4f221523 | ||
|
c09f0f395d | ||
|
1a85c0ebd8 | ||
|
0a5491e948 | ||
|
7201c11a5d | ||
|
690569fb53 | ||
|
7a38c68469 | ||
|
3aa58cc42f | ||
|
75106670f5 | ||
|
efb36d5de0 | ||
|
264eaa16cc | ||
|
829a482473 | ||
|
c66f6330e1 | ||
|
8a37dc0183 | ||
|
fef33b9c62 | ||
|
ff893bec3e | ||
|
6f25be3648 | ||
|
e884b18944 | ||
|
92b2d95c1f | ||
|
b2ab2f4c9f | ||
|
f21464a330 | ||
|
1f24da5875 | ||
|
96dc8d533c | ||
|
5ffc7e4805 | ||
|
2ffa694ed0 | ||
|
15eb6c6965 | ||
|
15b779d328 | ||
|
b726f948a9 | ||
|
27ee55a339 | ||
|
7792791c41 | ||
|
2a54b06baf | ||
|
022a540bbb | ||
|
d01da05f97 | ||
|
89deb64c47 | ||
|
201185bfdc | ||
|
bff16e5835 | ||
|
e70a938428 | ||
|
fae21fc501 | ||
|
5fee075228 | ||
|
2ac0fc201e | ||
|
d11e61df10 | ||
|
c685e4f900 | ||
|
b6667f9520 | ||
|
9112a28aa5 | ||
|
ea7684a730 | ||
|
43528fe1e4 | ||
|
d1e491cd9a | ||
|
0f07b02f7d | ||
|
f7f8a56c9f | ||
|
6570fbfd16 | ||
|
7cd9c80b47 |
@ -1 +0,0 @@
|
|||||||
syslog-ng-1.6.11.tar.gz
|
|
48
.gitignore
vendored
Normal file
48
.gitignore
vendored
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
syslog-ng_3.1.1.tar.gz
|
||||||
|
/syslog-ng-3.2.2.tar.bz2
|
||||||
|
/syslog-ng-3.2.3-20110424.tar.bz2
|
||||||
|
/syslog-ng_3.2.3.tar.gz
|
||||||
|
/syslog-ng_3.2.4.tar.gz
|
||||||
|
/syslog-ng-3.2.4+20111022+0801.tar.gz
|
||||||
|
/syslog-ng-3.2.4+20111023+0856.tar.gz
|
||||||
|
/syslog-ng_3.2.5.tar.gz
|
||||||
|
/syslog-ng-3.3.6.91-20121008-v3.3.6.91.tar.gz
|
||||||
|
/syslog-ng_3.3.7.tar.gz
|
||||||
|
/syslog-ng_3.3.8.tar.gz
|
||||||
|
/syslog-ng_3.4.0rc2.tar.gz
|
||||||
|
/syslog-ng_3.4.1.tar.gz
|
||||||
|
/syslog-ng_3.4.3.tar.gz
|
||||||
|
/syslog-ng_3.4.4.tar.gz
|
||||||
|
/syslog-ng_3.5.0beta3.tar.gz
|
||||||
|
/syslog-ng_3.5.0rc1.tar.gz
|
||||||
|
/syslog-ng_3.5.1.tar.gz
|
||||||
|
/syslog-ng_3.5.2.tar.gz
|
||||||
|
/syslog-ng_3.5.3.tar.gz
|
||||||
|
/syslog-ng_3.5.4.1.tar.gz
|
||||||
|
/syslog-ng_3.5.5.tar.gz
|
||||||
|
/syslog-ng_3.5.6.tar.gz
|
||||||
|
/syslog-ng-3.6.0rc1.tar.gz
|
||||||
|
/syslog-ng_3.6.0rc1.tar.gz
|
||||||
|
/syslog-ng_3.6.1.tar.gz
|
||||||
|
/syslog-ng_3.6.2.tar.gz
|
||||||
|
/syslog-ng-3.8.1.tar.gz
|
||||||
|
/syslog-ng-3.9.1.tar.gz
|
||||||
|
/syslog-ng-3.10.1.tar.gz
|
||||||
|
/syslog-ng-3.11.1.tar.gz
|
||||||
|
/syslog-ng-3.14.1.tar.gz
|
||||||
|
/syslog-ng-3.15.1.tar.gz
|
||||||
|
/syslog-ng-3.16.1.tar.gz
|
||||||
|
/syslog-ng-3.17.1.tar.gz
|
||||||
|
/syslog-ng-3.17.2.tar.gz
|
||||||
|
/syslog-ng-3.18.1.tar.gz
|
||||||
|
/syslog-ng-3.19.1.tar.gz
|
||||||
|
/syslog-ng-3.20.1.tar.gz
|
||||||
|
/syslog-ng-3.21.1.tar.gz
|
||||||
|
/syslog-ng-3.22.1.tar.gz
|
||||||
|
/syslog-ng-3.23.1.tar.gz
|
||||||
|
/syslog-ng-3.25.1.tar.gz
|
||||||
|
/syslog-ng-3.27.1.tar.gz
|
||||||
|
/syslog-ng-3.30.1.tar.gz
|
||||||
|
/syslog-ng-3.33.2.tar.gz
|
||||||
|
/syslog-ng-3.35.1.tar.gz
|
||||||
|
/syslog-ng-3.37.1.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: syslog-ng
|
|
||||||
# $Id$
|
|
||||||
NAME := syslog-ng
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
8f9ca6140f428dc9adec9fa1c270a2dd syslog-ng-1.6.11.tar.gz
|
SHA512 (syslog-ng-3.37.1.tar.gz) = beebd89c54a415469dc58630ac1900d632ef351f6a13fad4a95ce7bb1760b16d6cfdcede02225a35e97ebce7dae151c6aa228f3d378463e8b873c4f71ed86ab7
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -ruN syslog-ng-1.6.7-orig/contrib/fedora-packaging/syslog-ng.init syslog-ng-1.6.7/contrib/fedora-packaging/syslog-ng.init
|
|
||||||
--- syslog-ng-1.6.7-orig/contrib/fedora-packaging/syslog-ng.init 2005-03-04 15:59:39.000000000 +0000
|
|
||||||
+++ syslog-ng-1.6.7/contrib/fedora-packaging/syslog-ng.init 2005-05-09 19:14:19.000000000 +0100
|
|
||||||
@@ -2,7 +2,7 @@
|
|
||||||
#
|
|
||||||
# syslog-ng This starts and stops syslog-ng
|
|
||||||
#
|
|
||||||
-# chkconfig: 2345 12 88
|
|
||||||
+# chkconfig: - 12 88
|
|
||||||
# description: reads and logs messages to the system console, log \
|
|
||||||
# files, other machines and/or users as specified by \
|
|
||||||
# its configuration file.
|
|
@ -1,21 +0,0 @@
|
|||||||
diff -ruN syslog-ng-1.6.7-orig/contrib/fedora-packaging/syslog-ng.init syslog-ng-1.6.7/contrib/fedora-packaging/syslog-ng.init
|
|
||||||
--- syslog-ng-1.6.7-orig/contrib/fedora-packaging/syslog-ng.init 2005-03-04 15:59:39.000000000 +0000
|
|
||||||
+++ syslog-ng-1.6.7/contrib/fedora-packaging/syslog-ng.init 2005-05-26 02:47:29.000000000 +0100
|
|
||||||
@@ -9,7 +9,7 @@
|
|
||||||
# processname: /sbin/syslog-ng
|
|
||||||
# config: /etc/syslog-ng/syslog-ng.conf
|
|
||||||
# config: /etc/sysconfig/syslog-ng
|
|
||||||
-# pidfile: /var/run/syslog-ng.pid
|
|
||||||
+# pidfile: /var/run/syslogd.pid
|
|
||||||
#
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: $syslog
|
|
||||||
diff -ruN syslog-ng-1.6.7-orig/contrib/fedora-packaging/syslog-ng.sysconfig syslog-ng-1.6.7/contrib/fedora-packaging/syslog-ng.sysconfig
|
|
||||||
--- syslog-ng-1.6.7-orig/contrib/fedora-packaging/syslog-ng.sysconfig 2005-03-04 16:03:29.000000000 +0000
|
|
||||||
+++ syslog-ng-1.6.7/contrib/fedora-packaging/syslog-ng.sysconfig 2005-05-26 02:47:12.000000000 +0100
|
|
||||||
@@ -2,4 +2,4 @@
|
|
||||||
# Syslog-ng command line options
|
|
||||||
# See syslog-ng(8) for more details
|
|
||||||
#---
|
|
||||||
-SYSLOGNG_OPTIONS=""
|
|
||||||
+SYSLOGNG_OPTIONS="-p /var/run/syslogd.pid"
|
|
70
syslog-ng.conf
Normal file
70
syslog-ng.conf
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
@version: 3.35
|
||||||
|
@include "scl.conf"
|
||||||
|
|
||||||
|
# syslog-ng configuration file.
|
||||||
|
#
|
||||||
|
# This should behave pretty much like the original syslog on RedHat. But
|
||||||
|
# it could be configured a lot smarter.
|
||||||
|
#
|
||||||
|
# See syslog-ng(8) and syslog-ng.conf(5) for more information.
|
||||||
|
#
|
||||||
|
# Note: it also sources additional configuration files (*.conf)
|
||||||
|
# located in /etc/syslog-ng/conf.d/
|
||||||
|
|
||||||
|
options {
|
||||||
|
flush_lines (0);
|
||||||
|
time_reopen (10);
|
||||||
|
log_fifo_size (1000);
|
||||||
|
chain_hostnames (off);
|
||||||
|
use_dns (no);
|
||||||
|
use_fqdn (no);
|
||||||
|
create_dirs (no);
|
||||||
|
keep_hostname (yes);
|
||||||
|
};
|
||||||
|
|
||||||
|
source s_sys {
|
||||||
|
system();
|
||||||
|
internal();
|
||||||
|
# udp(ip(0.0.0.0) port(514));
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_cons { file("/dev/console"); };
|
||||||
|
destination d_mesg { file("/var/log/messages"); };
|
||||||
|
destination d_auth { file("/var/log/secure"); };
|
||||||
|
destination d_mail { file("/var/log/maillog" flush_lines(10)); };
|
||||||
|
destination d_spol { file("/var/log/spooler"); };
|
||||||
|
destination d_boot { file("/var/log/boot.log"); };
|
||||||
|
destination d_cron { file("/var/log/cron"); };
|
||||||
|
destination d_kern { file("/var/log/kern"); };
|
||||||
|
destination d_mlal { usertty("*"); };
|
||||||
|
|
||||||
|
filter f_kernel { facility(kern); };
|
||||||
|
filter f_default { level(info..emerg) and
|
||||||
|
not (facility(mail)
|
||||||
|
or facility(authpriv)
|
||||||
|
or facility(cron)); };
|
||||||
|
filter f_auth { facility(authpriv); };
|
||||||
|
filter f_mail { facility(mail); };
|
||||||
|
filter f_emergency { level(emerg); };
|
||||||
|
filter f_news { facility(uucp) or
|
||||||
|
(facility(news)
|
||||||
|
and level(crit..emerg)); };
|
||||||
|
filter f_boot { facility(local7); };
|
||||||
|
filter f_cron { facility(cron); };
|
||||||
|
|
||||||
|
#log { source(s_sys); filter(f_kernel); destination(d_cons); };
|
||||||
|
log { source(s_sys); filter(f_kernel); destination(d_kern); };
|
||||||
|
log { source(s_sys); filter(f_default); destination(d_mesg); };
|
||||||
|
log { source(s_sys); filter(f_auth); destination(d_auth); };
|
||||||
|
log { source(s_sys); filter(f_mail); destination(d_mail); };
|
||||||
|
log { source(s_sys); filter(f_emergency); destination(d_mlal); };
|
||||||
|
log { source(s_sys); filter(f_news); destination(d_spol); };
|
||||||
|
log { source(s_sys); filter(f_boot); destination(d_boot); };
|
||||||
|
log { source(s_sys); filter(f_cron); destination(d_cron); };
|
||||||
|
|
||||||
|
|
||||||
|
# Source additional configuration files (.conf extension only)
|
||||||
|
@include "/etc/syslog-ng/conf.d/*.conf"
|
||||||
|
|
||||||
|
|
||||||
|
# vim:ft=syslog-ng:ai:si:ts=4:sw=4:et:
|
@ -1,4 +1,9 @@
|
|||||||
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {
|
/var/log/cron
|
||||||
|
/var/log/maillog
|
||||||
|
/var/log/messages
|
||||||
|
/var/log/secure
|
||||||
|
/var/log/spooler
|
||||||
|
{
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
16
syslog-ng.service
Normal file
16
syslog-ng.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=System Logger Daemon
|
||||||
|
Documentation=man:syslog-ng(8)
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS -p /var/run/syslogd.pid
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
EnvironmentFile=-/etc/default/syslog-ng
|
||||||
|
EnvironmentFile=-/etc/sysconfig/syslog-ng
|
||||||
|
StandardOutput=journal
|
||||||
|
StandardError=journal
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
1220
syslog-ng.spec
1220
syslog-ng.spec
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user