--- /dev/null
+--- ./nnrpd/nnrpd.c.org 2008-06-29 19:56:57.000000000 +0200
++++ ./nnrpd/nnrpd.c 2008-08-18 17:09:30.512424093 +0200
+@@ -858,6 +858,12 @@ main(int argc, char *argv[])
+ }
+ message_program_name = xstrdup(name);
+ openlog(message_program_name, L_OPENLOG_FLAGS | LOG_PID, LOG_INN_PROG);
++ /* Don't log debug unless TRACE is defined.
++ * Too much noise in /dev/log causes big load on syslog daemon.
++ */
++#ifndef TRACE
++ setlogmask(LOG_UPTO(L_NOTICE));
++#endif
+ message_handlers_die(1, message_log_syslog_crit);
+ message_handlers_warn(1, message_log_syslog_warning);
+ message_handlers_notice(1, message_log_syslog_notice);
# TODO
-# - post script is nightmare
+# - post script is nightmare - move it to "init" target of init script
#
# Conditional build:
%bcond_with largefiles # enable largefiles (disables tagged hash)
Summary(tr.UTF-8): INN, InterNet Haber Sistemi (haber sunucu)
Name: inn
Version: 2.4.5
-Release: 2
+Release: 2.9
License: distributable
Group: Networking/Daemons
-#
Source0: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
# Source0-md5: 07bc6530c5e296b0ee81a5d6ac4cd355
Source1: %{name}-default-active
Patch7: %{name}-config.patch
Patch8: %{name}-libdir.patch
Patch9: %{name}-asneeded.patch
+Patch10: %{name}-nnrpd_no_trace.patch
URL: http://www.isc.org/sw/inn/
BuildRequires: autoconf
BuildRequires: automake
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
touch innfeed/*.[ly]