1 Summary: Linux system and kernel logger
2 Summary(de): Linux-System- und Kerner-Logger
3 Summary(es): Registrador de log del sistema linux
4 Summary(fr): Le système Linux et le logger du noyau
5 Summary(pl): Programy loguj±ce zdarzenia w systemie i j±drze Linuksa
6 Summary(pt_BR): Registrador de log do sistema linux
7 Summary(tr): Linux sistem ve çekirdek kayýt süreci
13 Source0: http://www.ibiblio.org/pub/Linux/system/daemons/%{name}-%{version}.tar.gz
14 # Source0-md5: d214aa40beabf7bdb0c9b3c64432c774
17 Source3: syslog.logrotate
18 Source4: syslog.sysconfig
20 Source6: klogd.sysconfig
21 Source7: syslogd-listfiles.sh
22 Source8: syslogd-listfiles.8
23 Patch0: %{name}-alpha.patch
24 Patch1: %{name}-alphafoo.patch
25 Patch2: %{name}-opt.patch
26 Patch3: %{name}-glibc.patch
27 Patch4: %{name}-sparc.patch
28 Patch5: %{name}-install.patch
29 Patch6: %{name}-utmp-process.patch
30 Patch7: %{name}-openlog.patch
31 Patch8: %{name}-ksyms.patch
32 Patch9: %{name}-nullterm.patch
33 Patch10: %{name}-fmt-string.patch
34 Patch11: %{name}-2.4headers.patch
35 URL: http://www.infodrom.ffis.de/sysklogd/
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define _exec_prefix /
39 %define _bindir /usr/bin
42 This is the Linux system and kernel logging program. It is run as a
43 daemon (background process) to log messages to different places. These
44 are usually things like sendmail logs, security logs, and errors from
48 Dies ist das Linux-System- und Kernel-Protokollierprogramm. Es wird
49 als Dämon (Hintergrundprozeß) ausgeführt und protokolliert
50 verschiedene Meldungen. Es protokolliert z.B. sendmail- und
51 Sicherheits-Protokolle und Fehler von anderen Dämonen.
54 Este es el programa de log para el kernel y el sistema Linux. Se
55 ejecuta como un daemon (proceso en background) para registrar mensajes
56 en diferentes lugares. Estos son generalmente registros del sendmail,
57 seguridad, y mensajes de otros daemons.
60 Programme de trace du sytème Linux et du noyau. Il est lancé en démon
61 (processus en arrière plan) pour stocker les messages à différents
62 endroits. Ce sont généralement des choses comme les traces de
63 sendmail, de sécurité et d'erreurs d'autres démons. I
66 Pakiet ten zawiera programy, które s± uruchamiane jako demony i s³u¿±
67 do logowania zdarzeñ w systemie i w kernelu Linuksa. Same logi mog±
68 byæ sk³adowane w ró¿nych miejscach (zdalnie i lokalnie). Przewa¿nie do
69 logów trafiaj± informacje o odbieranej i wysy³anej poczcie np. z
70 sendmaila, zdarzenia dotycz±ce bezpieczeñstwa systemu, a tak¿e
71 informacje o b³êdach z innych demonów.
74 Este é o programa de log para o kernel e o sistema Linux. Ele roda
75 como um daemon (processo em background) para registrar mensagens em
76 diferentes lugares. Estes são geralmente registros do sendmail,
77 segurança, e mensagens de outros daemons.
80 Bu paket, Linux sistemi ve çekirdeði için kayýt tutan programý içerir.
81 Deðiþik yerlerde mesajlarýn kayýtlarýný tutmak içýn arkaplanda
82 koþturulur. Bu mesajlar, sendmail, güvenlik ve diðer sunucu
83 süreçlerinin hatalarýyla ilgili mesajlardýr.
86 Summary: Linux system logger
87 Summary(de): Linux-System-Logger
88 Summary(pl): Program loguj±cy zdarzenia w systemie Linux
90 PreReq: rc-scripts >= 0.2.0
91 Requires(post,preun): /sbin/chkconfig
92 Requires(post): fileutils
93 Requires: SysVinit >= 2.76-12
95 Requires: logrotate >= 3.2-3
96 Requires: psmisc >= 20.1
97 Provides: syslogdaemon
102 %description -n syslog
103 This is the Linux system logging program. It is run as a daemon
104 (background process) to log messages to different places. These are
105 usually things like sendmail logs, security logs, and errors from
108 %description -n syslog -l pl
109 Pakiet ten zawiera program, który jest uruchamiany jako demon i s³u¿y
110 do logowania zdarzeñ w systemie Linux. Same logi mog± byæ sk³adowane w
111 ró¿nych miejscach (zdalnie i lokalnie). Przewa¿nie do logów trafiaj±
112 informacje o odbieranej i wysy³anej poczcie np. z sendmaila, zdarzenia
113 dotycz±ce bezpieczeñstwa systemu, a tak¿e informacje o b³êdach z
117 Summary: Linux kernel logger
118 Summary(de): Linux-Kerner-Logger
119 Summary(pl): Program loguj±cy zdarzenia w j±drze Linuksa
121 PreReq: rc-scripts >= 0.2.0
122 Requires(post,preun): /sbin/chkconfig
125 %description -n klogd
126 This is the Linux kernel logging program. It is run as a daemon
127 (background process) to log messages from kernel.
129 %description -n klogd -l pl
130 Pakiet ten zawiera program, który jest uruchamiany jako demon i s³u¿y
131 do logowania komunikatów j±dra Linuksa.
150 OPTIMIZE="%{rpmcflags}" \
151 LDFLAGS="%{rpmldflags}"
154 rm -rf $RPM_BUILD_ROOT
155 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d,logrotate.d} \
156 $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},%{_bindir}} \
157 $RPM_BUILD_ROOT/{dev,var/log}
160 BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
161 MANDIR=$RPM_BUILD_ROOT%{_mandir}
163 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/syslog.conf
165 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/syslog
166 install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/syslog
167 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/syslog
168 install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/klogd
169 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/klogd
171 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/syslogd-listfiles
172 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/man8
174 for n in alert debug kernel mail messages news secure syslog
176 > $RPM_BUILD_ROOT/var/log/$n
179 echo .so sysklogd.8 > $RPM_BUILD_ROOT%{_mandir}/man8/syslogd.8
182 for n in /var/log/{alert,debug,kernel,mail,messages,news,secure,syslog}
184 [ -f $n ] && continue
189 /sbin/chkconfig --add syslog
190 if [ -f /var/lock/subsys/syslog ]; then
191 /etc/rc.d/init.d/syslog restart 1>&2
193 echo "Run \"/etc/rc.d/init.d/syslog start\" to start syslog daemon." 1>&2
195 if [ -f /var/lock/subsys/klogd ]; then
196 /etc/rc.d/init.d/klogd restart 1>&2
200 if [ "$1" = "0" ]; then
201 if [ -f /var/lock/subsys/syslog ]; then
202 /etc/rc.d/init.d/syslog stop 1>&2
204 /sbin/chkconfig --del syslog
208 /sbin/chkconfig --add klogd
209 if [ -f /var/lock/subsys/klogd ]; then
210 /etc/rc.d/init.d/klogd restart 1>&2
212 echo "Run \"/etc/rc.d/init.d/klogd start\" to start kernel logger daemon." 1>&2
216 if [ "$1" = "0" ]; then
217 if [ -f /var/lock/subsys/klogd ]; then
218 /etc/rc.d/init.d/klogd stop 1>&2
220 /sbin/chkconfig --del klogd
224 rm -rf $RPM_BUILD_ROOT
227 %defattr(644,root,root,755)
228 %doc ANNOUNCE NEWS README* CHANGES
229 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*.conf
230 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/syslog
231 %attr(640,root,root) /etc/logrotate.d/syslog
232 %attr(754,root,root) /etc/rc.d/init.d/syslog
233 %attr(640,root,root) %ghost /var/log/*
234 %attr(755,root,root) %{_sbindir}/syslogd
235 %attr(755,root,root) %{_bindir}/*
240 %defattr(644,root,root,755)
241 %attr(754,root,root) /etc/rc.d/init.d/klogd
242 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/klogd
244 %attr(755,root,root) %{_sbindir}/klogd
246 %{_mandir}/man8/klog*