public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: readding ksyslogd trigger + gcc43 rebuild
@ 2026-08-26  8:53 Ondrej Vasik
  0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-08-26  8:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
Commit : 5341e21ee4aa26df091b9a4295798cddc7d64d2f
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date   : 2008-02-11T12:16:23+00:00
Stats  : +29/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/5341e21ee4aa26df091b9a4295798cddc7d64d2f?branch=epel10.3

Log:
readding ksyslogd trigger + gcc43 rebuild

---
diff --git a/inn.spec b/inn.spec
index 5c01d06..fd242b5 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
 Summary: The InterNetNews (INN) system, an Usenet news server
 Name: inn
 Version: 2.4.3
-Release: 9%{?dist}
+Release: 10%{?dist}
 #see LICENSE file for details
 License: GPL+ and BSD and MIT and Public Domain
 Group: System Environment/Daemons
@@ -212,6 +212,7 @@ chown -R news:news /var/log/news*
 service innd stop > /dev/null 2>&1
 exit 0
 
+
 %triggerin -- rsyslog
 if [ -f /etc/rsyslog.conf ]; then
   if ! grep -q INN /etc/rsyslog.conf; then
@@ -237,6 +238,29 @@ if [ -f /etc/rsyslog.conf ]; then
   fi
 fi
 
+%triggerin -- sysklogd
+if [ -f /etc/syslog.conf ]; then
+  if ! grep -q INN /etc/syslog.conf; then
+    sed 's/mail.none;/mail.none;news.none;/' < /etc/syslog.conf > /etc/syslog.conf.inn
+    mv /etc/syslog.conf.inn /etc/syslog.conf
+
+    echo '' \
+       >> /etc/syslog.conf
+    echo '#' \
+       >> /etc/syslog.conf
+    echo '# INN' \
+       >> /etc/syslog.conf
+    echo '#' \
+       >> /etc/syslog.conf
+    echo 'news.=crit                                        /var/log/news/news.crit'   >> /etc/syslog.conf
+    echo 'news.=err                                         /var/log/news/news.err'    >> /etc/syslog.conf
+    echo 'news.notice                                       /var/log/news/news.notice' >> /etc/syslog.conf
+    fi
+  if [ -f /var/run/syslogd.pid ]; then
+    kill -HUP `cat /var/run/syslogd.pid` 2> /dev/null ||:
+  fi
+fi
+
 %preun
 if [ $1 = 0 ]; then
     service innd stop > /dev/null 2>&1
@@ -297,6 +321,10 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Mon Feb 11 2008 Ondrej Vasik <ovasik@redhat.com> 2.4.3-10
+- again added trigger for sysklogd
+- rebuild for gcc43
+
 * Wed Jan 16 2008 Ondrej Vasik <ovasik@redhat.com> 2.4.3-9
 - do not show annoying fatal log message when nonfatal error 
   eaddrinuse occured in rcreader

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:53 [rpms/inn] epel10.3: readding ksyslogd trigger + gcc43 rebuild Ondrej Vasik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox