From 86eec34aa7a7b378d40af640567ef10193192581 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sat, 30 Aug 2003 12:23:07 +0000 Subject: [PATCH] This commit was manufactured by cvs2git to create tag 'STABLE'. Sprout from master 2001-06-16 12:52:56 UTC kloczek '- patch from rawhide.' Cherrypick from master 2003-08-30 12:23:07 UTC Mariusz Mazur '- rel 2 for ac': SysVinit.spec -> 1.104 sysvinit-initctl.patch -> 1.1 sysvinit-man.patch -> 1.6 sysvinit-paths.patch -> 1.8 sysvinit.logrotate -> 1.7 --- SysVinit.spec | 130 +++++++++++++++++++++++++++-------------- sysvinit-initctl.patch | 13 +++++ sysvinit-man.patch | 65 ++++++++++----------- sysvinit-paths.patch | 32 +++++----- sysvinit.logrotate | 5 +- 5 files changed, 148 insertions(+), 97 deletions(-) create mode 100644 sysvinit-initctl.patch diff --git a/SysVinit.spec b/SysVinit.spec index f5d977d..4ced5d1 100644 --- a/SysVinit.spec +++ b/SysVinit.spec @@ -1,39 +1,41 @@ Summary: System V initialization program Summary(de): System V-Intialisierungsprogramm +Summary(es): Programa de inicialización System V Summary(fr): Programme d'initialisation Sys V -Summary(pl): Program inicjalizuj±cy w Systemie V +Summary(pl): Program inicjalizuj±cy w Systemie V +Summary(pt_BR): Programa de inicialização System V +Summary(ru): ðÒÏÇÒÁÍÍÙ, ÕÐÒÁ×ÌÑÀÝÉÅ ÂÁÚÏ×ÙÍÉ ÓÉÓÔÅÍÎÙÍÉ ÐÒÏÃÅÓÓÁÍÉ Summary(tr): System V baþlatma programý +Summary(uk): ðÒÏÇÒÁÍÉ, ÝÏ ËÅÒÕÀÔØ ÂÁÚÏ×ÉÍÉ ÓÉÓÔÅÍÎÉÍÉ ÐÒÏÃÅÓÁÍÉ Name: SysVinit -Version: 2.78 -Release: 24 +Version: 2.85 +Release: 2 License: GPL Group: Base -Group(de): Gründsätzlich -Group(pl): Podstawowe Source0: ftp://ftp.cistron.nl/pub/people/miquels/software/sysvinit-%{version}.tar.gz +# Source0-md5: 8a2d8f1ed5a2909da04132fefa44905e Source1: sysvinit.logrotate +Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/sysvinit-non-english-man-pages.tar.bz2 +# Source2-md5: 9ae8a63a4685368fae19707f95475cca Patch0: sysvinit-paths.patch Patch1: sysvinit-bequiet.patch Patch2: sysvinit-md5-bigendian.patch Patch3: sysvinit-wtmp.patch Patch4: sysvinit-man.patch -Patch5: sysvinit-sigint.patch -Patch6: sysvinit-ai64.patch -Patch7: sysvinit-halt.patch -Patch8: sysvinit-blowfish.patch -Patch9: sysvinit-notty.patch -Patch10: sysvinit-wall-n.patch -Patch11: sysvinit-owl-bound-format.patch -Patch12: sysvinit-cread.patch +Patch5: sysvinit-halt.patch +Patch6: sysvinit-blowfish.patch +Patch7: sysvinit-initctl.patch BuildRequires: glibc-devel -Prereq: shadow -Prereq: make -Prereq: /bin/awk +PreReq: shadow +Requires: /bin/awk +Requires: login Requires: logrotate Requires: mingetty -Requires: login +Requires(post): fileutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _sbindir /sbin + %description The SysVinit package contains a group of processes that control the very basic functions of your system. SysVinit includes the init @@ -46,21 +48,44 @@ SysVinit ist das erste Programm, das beim Systemstart vom Linux-Kernel gestartet wird. Es steuert das Starten, Ausführen und Beenden aller anderen Programme. +%description -l es +SysVinit es el primer programa ejecutado por el kernel Linux cuando se +inicia el sistema. Controla arranque, funcionamiento y cierre de todos +los otros programas. + %description -l fr SysVinit est le premier programme exécuté par le noyau de Linux lorsque le système démarre, il contrôle le lancement, l'exécution et l'arrêt de tous les autres programmes. %description -l pl -SysVinit jest pierwszym programem uruchamianym przez j±dro, podczas +SysVinit jest pierwszym programem uruchamianym przez j±dro podczas startu systemu. Kontroluje start, pracê oraz zamykanie wszystkich innych programów. +%description -l pt_BR +SysVinit é o primeiro programa executado pelo kernel Linux quando o +sistema é inicializado. Controla inicialização, funcionamento e +finalização de todos os outros programas. + +%description -l ru +ðÁËÅÔ SysVinit ÓÏÄÅÒÖÉÔ ÇÒÕÐÐÕ ÐÒÏÃÅÓÓÏ×, ËÏÔÏÒÙÅ ÕÐÒÁ×ÌÑÀÔ ÓÁÍÙÍÉ +ÂÁÚÏ×ÙÍÉ ÆÕÎËÃÉÑÍÉ ×ÁÛÅÊ ÓÉÓÔÅÍÙ. SysVinit ×ËÌÀÞÁÅÔ ÐÒÏÇÒÁÍÍÕ init, +ÓÁÍÕÀ ÐÅÒ×ÕÀ ÐÒÏÇÒÁÍÍÕ, ËÏÔÏÒÁÑ ÚÁÐÕÓËÁÅÔÓÑ ÑÄÒÏÍ Linux ÐÒÉ ÚÁÇÒÕÚËÅ +ÓÉÓÔÅÍÙ. ðÏÓÌÅ ÜÔÏÇÏ init ÕÐÒÁ×ÌÑÅÔ ÚÁÐÕÓËÏÍ, ÉÓÐÏÌÎÅÎÉÅÍ É ÏÓÔÁÎÏ×ÏÍ +×ÓÅÈ ÏÓÔÁÌØÎÙÈ ÐÒÏÇÒÁÍÍ. + %description -l tr SysVinit, sistem açýlýrken Linux çekirdeði tarafýndan çalýþtýrýlan ilk programdýr. Diðer programlarýn baþlamalarýný, çalýþmalarýný ve sonlanmalarýný saðlar/denetler. +%description -l uk +ðÁËÅÔ SysVinit ͦÓÔÉÔØ ÇÒÕÐÕ ÐÒÏÃÅÓ¦×, ËÏÔÒ¦ ËÅÒÕÀÔØ ÓÁÍÉÍÉ ÂÁÚÏ×ÉÍÉ +ÆÕÎËæÑÍÉ ×ÁÛϧ ÓÉÓÔÅÍÉ. SysVinit ͦÓÔÉÔØ ÐÒÏÇÒÁÍÕ init, ÐÅÒÛÕ +ÐÒÏÇÒÁÍÕ, ÑËÕ ÚÁÐÕÓËÁ¤ ÑÄÒÏ Linux Ð¦Ä ÞÁÓ ÚÁÇÒÕÚËÉ ÓÉÓÔÅÍÉ. ð¦ÓÌÑ +ÃØÏÇÏ init ËÅÒÕ¤ ÚÁÐÕÓËÏÍ, ×ÉËÏÎÁÎÎÑÍ ÔÁ ÚÕÐÉÎËÏÀ ×Ó¦È ¦ÎÛÉÈ ÐÒÏÇÒÁÍ. + %prep %setup -q -n sysvinit-%{version} %patch0 -p1 @@ -71,20 +96,16 @@ sonlanmalar %patch5 -p1 %patch6 -p1 %patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 %build -%{__make} -C src LCRYPT="-lcrypt" \ +%{__make} -C src \ + LCRYPT="-lcrypt" \ OPTIMIZE="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},/sbin,%{_mandir}/man{1,5,8}} \ - $RPM_BUILD_ROOT/{etc/{logrotate.d,sysconfig},var/log} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,5,8}} \ + $RPM_BUILD_ROOT{%{_sysconfdir},/etc/logrotate.d,/var/log} %{__make} install -C src \ ROOT=$RPM_BUILD_ROOT \ @@ -94,50 +115,69 @@ install -d $RPM_BUILD_ROOT{%{_bindir},/sbin,%{_mandir}/man{1,5,8}} \ install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/sysvinit ln -sf ../var/run/initrunlvl $RPM_BUILD_ROOT%{_sysconfdir} -ln -sf killall5 $RPM_BUILD_ROOT/sbin/pidof +ln -sf killall5 $RPM_BUILD_ROOT%{_sbindir}/pidof -touch $RPM_BUILD_ROOT/var/log/{lastlog,wtmpx,btmpx} - -rm -f $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8 -rm -f $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8 -rm -f $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8 +> $RPM_BUILD_ROOT%{_sysconfdir}/ioctl.save +> $RPM_BUILD_ROOT/var/log/faillog +> $RPM_BUILD_ROOT/var/log/lastlog +> $RPM_BUILD_ROOT/var/log/wtmpx +> $RPM_BUILD_ROOT/var/log/btmpx +echo .so last.1 > $RPM_BUILD_ROOT%{_mandir}/man1/lastb.1 +echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8 echo .so init.8 > $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8 -echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8 -echo .so last.1 > $RPM_BUILD_ROOT%{_mandir}/man1/lastb.1 +bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} -gzip -9nf doc/Propaganda debian/changelog doc/sysvinit-%{version}.lsm +%clean +rm -rf $RPM_BUILD_ROOT %pre groupadd -f -r -g 22 utmp %post -/sbin/telinit u || : +touch %{_sysconfdir}/ioctl.save /var/log/{fail,last}log +chmod 000 %{_sysconfdir}/ioctl.save /var/log/{fail,last}log +chown root:root %{_sysconfdir}/ioctl.save /var/log/faillog +chown root:utmp /var/log/lastlog +chmod 600 %{_sysconfdir}/ioctl.save +chmod 640 /var/log/faillog +chmod 660 /var/log/lastlog + +%{_sbindir}/telinit u || : %postun if [ "$1" = "0" ]; then groupdel utmp fi -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) -%doc doc/Propaganda.gz debian/changelog.gz doc/sysvinit-%{version}.lsm.gz +%doc doc/{Propaganda,Changelog,*.lsm} -%attr(755,root,root) /sbin/* +%attr(755,root,root) %{_sbindir}/* %attr(755,root,root) %{_bindir}/last %attr(755,root,root) %{_bindir}/lastb %attr(755,root,root) %{_bindir}/mesg %attr(755,root,root) %{_bindir}/utmpx-dump -%attr(2555,root,tty) %{_bindir}/wall +%attr(2755,root,tty) %{_bindir}/wall -%attr(640,root,root) /etc/logrotate.d/* +%attr(640,root,root) /etc/logrotate.d/sysvinit %ghost %{_sysconfdir}/initrunlvl +%attr(600,root,root) %ghost %{_sysconfdir}/ioctl.save +%attr(640,root,root) %ghost /var/log/faillog %attr(660,root,utmp) %ghost /var/log/lastlog -%attr(660,root,utmp) %ghost /var/log/wtmpx +%attr(664,root,utmp) %ghost /var/log/wtmpx %attr(640,root,root) %ghost /var/log/btmpx -%{_mandir}/man*/* +%{_mandir}/man[158]/* +%lang(de) %{_mandir}/de/man[158]/* +%lang(es) %{_mandir}/es/man[158]/* +%lang(fi) %{_mandir}/fi/man[158]/* +%lang(fr) %{_mandir}/fr/man[158]/* +%lang(hu) %{_mandir}/hu/man[158]/* +%lang(id) %{_mandir}/id/man[158]/* +%lang(it) %{_mandir}/it/man[158]/* +%lang(ja) %{_mandir}/ja/man[158]/* +%lang(ko) %{_mandir}/ko/man[158]/* +%lang(pl) %{_mandir}/pl/man[158]/* diff --git a/sysvinit-initctl.patch b/sysvinit-initctl.patch new file mode 100644 index 0000000..53b654c --- /dev/null +++ b/sysvinit-initctl.patch @@ -0,0 +1,13 @@ +--- sysvinit-2.85/src/Makefile~ 2003-06-29 11:20:22.000000000 +0000 ++++ sysvinit-2.85/src/Makefile 2003-06-29 11:21:34.000000000 +0000 +@@ -114,10 +114,3 @@ + endif + $(INSTALL) -m 644 ../man/last.1 ../man/lastb.1 ../man/mesg.1 \ + $(ROOT)$(MANDIR)/man1 +- # +- # This part is skipped on debian systems, the +- # debian.preinst script takes care of it. +- @if [ ! -p /dev/initctl ]; then \ +- echo "Creating /dev/initctl"; \ +- rm -f /dev/initctl; \ +- mknod -m 600 /dev/initctl p; fi diff --git a/sysvinit-man.patch b/sysvinit-man.patch index bde8856..4d477ae 100644 --- a/sysvinit-man.patch +++ b/sysvinit-man.patch @@ -1,16 +1,16 @@ -diff -Nru sysvinit-2.78/man/halt.8 sysvinit-2.78.new/man/halt.8 ---- sysvinit-2.78/man/halt.8 Tue Aug 24 11:45:21 1999 -+++ sysvinit-2.78.new/man/halt.8 Sat Apr 15 20:39:20 2000 -@@ -33,7 +33,7 @@ +diff -Nru sysvinit-2.85.orig/man/halt.8 sysvinit-2.85/man/halt.8 +--- sysvinit-2.85.orig/man/halt.8 Wed Nov 21 22:11:22 2001 ++++ sysvinit-2.85/man/halt.8 Thu Apr 24 12:08:24 2003 +@@ -35,7 +35,7 @@ .\"{{{ Description .SH DESCRIPTION \fBHalt\fP notes that the system is being brought down in the file -\fI/var/log/wtmp\fP, and then either tells the kernel to halt, reboot or +\fI/var/log/wtmpx\fP, and then either tells the kernel to halt, reboot or - poweroff the system. If \fBhalt\fP or \fBreboot\fP is called when the system is - \fInot\fP in runlevel \fB0\fP or \fB6\fP, - \fBshutdown\fP(8) will be invoked instead (with the flag \fB-h\fP or \fB-r\fP). -@@ -43,10 +43,10 @@ + poweroff the system. + .PP + If \fBhalt\fP or \fBreboot\fP is called when the system is +@@ -52,10 +52,10 @@ .IP \fB\-n\fP Don't sync before reboot or halt. .IP \fB\-w\fP @@ -24,7 +24,7 @@ diff -Nru sysvinit-2.78/man/halt.8 sysvinit-2.78.new/man/halt.8 .IP \fB\-f\fP Force halt or reboot, don't call \fBshutdown\fP(8). .IP \fB\-i\fP -@@ -65,7 +65,7 @@ +@@ -76,7 +76,7 @@ never be called directly. From release 2.74 on \fBhalt\fP and \fBreboot\fP invoke \fBshutdown\fP(8) if the system is not in runlevel 0 or 6. This means that if \fBhalt\fP or \fBreboot\fP cannot find out the current @@ -33,10 +33,10 @@ diff -Nru sysvinit-2.78/man/halt.8 sysvinit-2.78.new/man/halt.8 correctly) \fBshutdown\fP will be called, which might not be what you want. Use the \fB-f\fP flag if you want to do a hard \fBhalt\fP or \fBreboot\fP. .PP -diff -Nru sysvinit-2.78/man/init.8 sysvinit-2.78.new/man/init.8 ---- sysvinit-2.78/man/init.8 Fri Feb 11 12:15:07 2000 -+++ sysvinit-2.78.new/man/init.8 Sat Apr 15 20:40:11 2000 -@@ -78,11 +78,11 @@ +diff -Nru sysvinit-2.85.orig/man/init.8 sysvinit-2.85/man/init.8 +--- sysvinit-2.85.orig/man/init.8 Fri Apr 18 23:05:03 2003 ++++ sysvinit-2.85/man/init.8 Thu Apr 24 12:11:37 2003 +@@ -76,11 +76,11 @@ are processed. .PP When starting a new process, \fBinit\fP first checks whether the file @@ -50,14 +50,13 @@ diff -Nru sysvinit-2.78/man/init.8 sysvinit-2.78.new/man/init.8 provided that these files exist. .SH CHANGING RUNLEVELS After it has spawned all of the processes specified, \fBinit\fP waits -@@ -249,11 +249,11 @@ +@@ -240,10 +240,10 @@ .SH FILES .nf /etc/inittab -/etc/initscript +/etc/sysconfig/initscript /dev/console - /etc/ioctl.save -/var/run/utmp -/var/log/wtmp +/var/run/utmpx @@ -65,16 +64,16 @@ diff -Nru sysvinit-2.78/man/init.8 sysvinit-2.78.new/man/init.8 /dev/initctl .fi .\"}}} -@@ -290,5 +290,5 @@ +@@ -280,5 +280,5 @@ .BR kill (1), .BR inittab (5), .BR initscript (5), -.BR utmp (5) +.BR utmpx (5) .\"}}} -diff -Nru sysvinit-2.78/man/initscript.5 sysvinit-2.78.new/man/initscript.5 ---- sysvinit-2.78/man/initscript.5 Fri Dec 24 23:31:21 1999 -+++ sysvinit-2.78.new/man/initscript.5 Sat Apr 15 20:38:20 2000 +diff -Nru sysvinit-2.85.orig/man/initscript.5 sysvinit-2.85/man/initscript.5 +--- sysvinit-2.85.orig/man/initscript.5 Fri Dec 24 23:31:21 1999 ++++ sysvinit-2.85/man/initscript.5 Thu Apr 24 12:08:24 2003 @@ -2,15 +2,15 @@ .SH NAME initscript \- script that executes inittab commands. @@ -112,10 +111,10 @@ diff -Nru sysvinit-2.78/man/initscript.5 sysvinit-2.78.new/man/initscript.5 .SH AUTHOR Miquel van Smoorenburg , .SH "SEE ALSO" -diff -Nru sysvinit-2.78/man/inittab.5 sysvinit-2.78.new/man/inittab.5 ---- sysvinit-2.78/man/inittab.5 Tue May 19 10:17:37 1998 -+++ sysvinit-2.78.new/man/inittab.5 Sat Apr 15 20:40:31 2000 -@@ -46,8 +46,8 @@ +diff -Nru sysvinit-2.85.orig/man/inittab.5 sysvinit-2.85/man/inittab.5 +--- sysvinit-2.85.orig/man/inittab.5 Tue Dec 4 21:17:47 2001 ++++ sysvinit-2.85/man/inittab.5 Thu Apr 24 12:08:24 2003 +@@ -47,8 +47,8 @@ specifies the process to be executed. If the process field starts with a `+' character, .B init @@ -126,9 +125,9 @@ diff -Nru sysvinit-2.78/man/inittab.5 sysvinit-2.78.new/man/inittab.5 a historic bug. .\"}}} .PP -diff -Nru sysvinit-2.78/man/last.1 sysvinit-2.78.new/man/last.1 ---- sysvinit-2.78/man/last.1 Thu Jul 29 12:50:34 1999 -+++ sysvinit-2.78.new/man/last.1 Sat Apr 15 20:38:20 2000 +diff -Nru sysvinit-2.85.orig/man/last.1 sysvinit-2.85/man/last.1 +--- sysvinit-2.85.orig/man/last.1 Thu Jul 29 12:50:34 1999 ++++ sysvinit-2.85/man/last.1 Thu Apr 24 12:08:24 2003 @@ -29,7 +29,7 @@ .\"{{{ Description .SH DESCRIPTION @@ -174,9 +173,9 @@ diff -Nru sysvinit-2.78/man/last.1 sysvinit-2.78.new/man/last.1 .\"}}} .\"{{{ Author .SH AUTHOR -diff -Nru sysvinit-2.78/man/runlevel.8 sysvinit-2.78.new/man/runlevel.8 ---- sysvinit-2.78/man/runlevel.8 Tue May 27 12:33:54 1997 -+++ sysvinit-2.78.new/man/runlevel.8 Sat Apr 15 20:38:20 2000 +diff -Nru sysvinit-2.85.orig/man/runlevel.8 sysvinit-2.85/man/runlevel.8 +--- sysvinit-2.85.orig/man/runlevel.8 Tue May 27 12:33:54 1997 ++++ sysvinit-2.85/man/runlevel.8 Thu Apr 24 12:08:24 2003 @@ -3,20 +3,20 @@ runlevel -- find the current and previous system runlevel. .SH SYNOPSIS @@ -219,10 +218,10 @@ diff -Nru sysvinit-2.78/man/runlevel.8 sysvinit-2.78.new/man/runlevel.8 +.BR utmpx (5) .SH AUTHOR Miquel van Smoorenburg, miquels@cistron.nl -diff -Nru sysvinit-2.78/man/shutdown.8 sysvinit-2.78.new/man/shutdown.8 ---- sysvinit-2.78/man/shutdown.8 Mon Jun 22 12:43:59 1998 -+++ sysvinit-2.78.new/man/shutdown.8 Sat Apr 15 20:38:20 2000 -@@ -128,7 +128,7 @@ +diff -Nru sysvinit-2.85.orig/man/shutdown.8 sysvinit-2.85/man/shutdown.8 +--- sysvinit-2.85.orig/man/shutdown.8 Tue Oct 2 23:27:50 2001 ++++ sysvinit-2.85/man/shutdown.8 Thu Apr 24 12:08:24 2003 +@@ -127,7 +127,7 @@ argument (add this to the invocation of shutdown in /etc/inittab), it checks to see if the file \fI/etc/shutdown.allow\fP is present. It then compares the login names in that file with the list of people diff --git a/sysvinit-paths.patch b/sysvinit-paths.patch index dde4c54..19efea5 100644 --- a/sysvinit-paths.patch +++ b/sysvinit-paths.patch @@ -1,8 +1,8 @@ -diff -urN sysvinit-2.78.org/src/Makefile sysvinit-2.78/src/Makefile ---- sysvinit-2.78.org/src/Makefile Thu Mar 2 18:17:48 2000 -+++ sysvinit-2.78/src/Makefile Thu Mar 2 18:18:08 2000 +diff -Nru sysvinit-2.85.orig/src/Makefile sysvinit-2.85/src/Makefile +--- sysvinit-2.85.orig/src/Makefile Tue Nov 6 12:58:16 2001 ++++ sysvinit-2.85/src/Makefile Thu Apr 24 12:05:06 2003 @@ -8,8 +8,9 @@ - # Version: @(#)Makefile 2.78 13-Nov-1999 miquels@cistron.nl + # Version: @(#)Makefile 2.83-3 06-Nov-2001 miquels@cistron.nl # -CC = cc @@ -13,7 +13,7 @@ diff -urN sysvinit-2.78.org/src/Makefile sysvinit-2.78/src/Makefile LDFLAGS = -s STATIC = -@@ -88,7 +89,8 @@ +@@ -89,7 +90,8 @@ runlevel shutdown $(ROOT)/sbin # These are not installed by default ifeq ($(DEBIAN),) @@ -23,22 +23,22 @@ diff -urN sysvinit-2.78.org/src/Makefile sysvinit-2.78/src/Makefile endif # $(INSTALL) -m 755 etc/initscript.sample $(ROOT)/etc $(INSTALL) -m 755 mesg last $(ROOT)/usr/bin -diff -urN sysvinit-2.78.org/src/paths.h sysvinit-2.78/src/paths.h ---- sysvinit-2.78.org/src/paths.h Thu Mar 2 18:17:48 2000 -+++ sysvinit-2.78/src/paths.h Thu Mar 2 18:18:08 2000 -@@ -28,7 +28,7 @@ +diff -Nru sysvinit-2.85.orig/src/paths.h sysvinit-2.85/src/paths.h +--- sysvinit-2.85.orig/src/paths.h Mon Apr 14 13:37:01 2003 ++++ sysvinit-2.85/src/paths.h Thu Apr 24 12:06:06 2003 +@@ -24,7 +24,7 @@ + #define FORCEFSCK "/forcefsck" /* Force fsck on boot */ #define SDPID "/var/run/shutdown.pid" /* PID of shutdown program */ - #define IOSAVE "/etc/ioctl.save" /* termios settings for SU */ #define SHELL "/bin/sh" /* Default shell */ -#define INITSCRIPT "/etc/initscript" /* Initscript. */ +#define INITSCRIPT "/etc/rc.d/rc.init" /* Initscript. */ + #define PWRSTAT "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */ + #if 0 - #define HALTSCRIPT1 "/etc/init.d/halt" /* Called by "fast" shutdown */ - #define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */ -diff -urN sysvinit-2.78.org/src/utmpdump.c sysvinit-2.78/src/utmpdump.c ---- sysvinit-2.78.org/src/utmpdump.c Thu Mar 2 18:17:48 2000 -+++ sysvinit-2.78/src/utmpdump.c Thu Mar 2 18:18:08 2000 -@@ -263,14 +263,14 @@ +diff -Nru sysvinit-2.85.orig/src/utmpdump.c sysvinit-2.85/src/utmpdump.c +--- sysvinit-2.85.orig/src/utmpdump.c Tue Sep 12 23:14:24 2000 ++++ sysvinit-2.85/src/utmpdump.c Thu Apr 24 12:05:06 2003 +@@ -265,14 +265,14 @@ } if (optind < argc) { diff --git a/sysvinit.logrotate b/sysvinit.logrotate index 338902a..9217982 100644 --- a/sysvinit.logrotate +++ b/sysvinit.logrotate @@ -1,11 +1,10 @@ #/var/log/lastlog { +# don't rotate! #} /var/log/btmpx { } /var/log/wtmpx { - postrotate - /bin/chmod 644 /var/log/wtmpx - endscript + create 664 root utmp } -- 2.44.0