[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/syslog-ng/devel syslog-ng-2.0.4-conf.patch, NONE, 1.1 syslog-ng.spec, 1.25, 1.26



Author: jpo

Update of /cvs/extras/rpms/syslog-ng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15147

Modified Files:
	syslog-ng.spec 
Added Files:
	syslog-ng-2.0.4-conf.patch 
Log Message:
Increase the number of unix-stream max-connections.

syslog-ng-2.0.4-conf.patch:

--- NEW FILE syslog-ng-2.0.4-conf.patch ---
diff -ruN syslog-ng-2.0.4-orig/contrib/fedora-packaging/syslog-ng.conf syslog-ng-2.0.4/contrib/fedora-packaging/syslog-ng.conf
--- syslog-ng-2.0.4-orig/contrib/fedora-packaging/syslog-ng.conf	2007-04-19 20:37:16.000000000 +0100
+++ syslog-ng-2.0.4/contrib/fedora-packaging/syslog-ng.conf	2007-05-31 21:57:32.000000000 +0100
@@ -8,15 +8,15 @@
 # 20000925 gb sysfive com
 #
 # Updated by Frank Crawford (<Frank Crawford ac3 com au>) - 10 Aug 2002
-# 	- for Red Hat 7.3
-#	- totally do away with klogd
-#	- add message "kernel:" as is done with klogd.
+#   - for Red Hat 7.3
+#   - totally do away with klogd
+#   - add message "kernel:" as is done with klogd.
 #
 # Updated by Frank Crawford (<Frank Crawford ac3 com au>) - 22 Aug 2002
-#	- use the log_prefix option as per Balazs Scheidler's email
+#   - use the log_prefix option as per Balazs Scheidler's email
 #
 # Updated by Jose Pedro Oliveira (<jpo at di.uminho.pt>) - 05 Apr 2003
-#	- corrected filters 'f_filter2' and 'f_filter6'
+#   - corrected filters 'f_filter2' and 'f_filter6'
 #     these filters were only allowing messages of one specific
 #     priority level; they should be allowing messages from that
 #     priority and upper levels.
@@ -28,6 +28,9 @@
 #   - /proc/kmsg is a file not a pipe.
 #     (https://lists.balabit.hu/pipermail/syslog-ng/2005-February/006963.html)
 #
+# Updated by Jose Pedro Oliveira (<jpo at di.uminho.pt>) - 31 May 2007
+#   - increase the number of unix-stream max-connections (syslog-ng 2.0.4)
+#
 
 options {
     sync (0);
@@ -42,9 +45,10 @@
 
 source s_sys {
     file ("/proc/kmsg" log_prefix("kernel: "));
-    unix-stream ("/dev/log");
+    unix-stream ("/dev/log" max-connections(32));
     internal();
     # udp(ip(0.0.0.0) port(514));
+    # tcp(ip(0.0.0.0) port(514));
 };
 
 destination d_cons { file("/dev/console"); };
@@ -75,3 +79,5 @@
 log { source(s_sys); filter(f_filter6); destination(d_spol); };
 log { source(s_sys); filter(f_filter7); destination(d_boot); };
 log { source(s_sys); filter(f_filter8); destination(d_cron); };
+
+# vim:set ai ts=4 sw=4 sts=4 et:


Index: syslog-ng.spec
===================================================================
RCS file: /cvs/extras/rpms/syslog-ng/devel/syslog-ng.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- syslog-ng.spec	26 May 2007 19:53:46 -0000	1.25
+++ syslog-ng.spec	31 May 2007 21:16:22 -0000	1.26
@@ -12,7 +12,7 @@
 
 Name:             syslog-ng
 Version:          2.0.4
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          Syslog replacement daemon
 
 Group:            System Environment/Daemons
@@ -22,6 +22,7 @@
 Source1:          syslog.log
 Patch0:           syslog-ng-2.0.0-init.patch
 Patch1:           syslog-ng-1.6.7-logrotate.patch
+Patch2:           syslog-ng-2.0.4-conf.patch
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:    flex
@@ -56,6 +57,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %{__sed} -i  's|^#!/usr/local/bin/perl|#!%{__perl}|' contrib/relogger.pl
 chmod -c a-x contrib/syslog2ng
 
@@ -168,6 +170,9 @@
 
 
 %changelog
+* Thu May 31 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.0.4-3
+- Increase the number of unix-stream max-connections
+
 * Sat May 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.0.4-2
 - New upstream download location
   (https://lists.balabit.hu/pipermail/syslog-ng/2007-May/010258.html)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]