Summary(tr): System V baþlatma programý
Name: SysVinit
Version: 2.78
-Release: 6
+Release: 13
License: GPL
Group: Base
Group(pl): Podstawowe
Patch2: sysvinit-md5-bigendian.patch
Patch3: sysvinit-wtmpx.patch
Patch4: sysvinit-man.patch
+Patch5: sysvinit-sigint.patch
+Patch6: sysvinit-ai64.patch
+Patch7: sysvinit-halt.patch
+Patch8: sysvinit-blowfish.patch
+BuildRequires: glibc-static
Prereq: shadow-utils
+Prereq: make
+Prereq: /bin/awk
Requires: logrotate
Requires: mingetty
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
-The SysVinit package contains a group of processes that control the very
-basic functions of your system. SysVinit includes the init program, the
-first program started by the Linux kernel when the system boots. Init then
-controls the startup, running and shutdown of all other programs.
+The SysVinit package contains a group of processes that control the
+very basic functions of your system. SysVinit includes the init
+program, the first program started by the Linux kernel when the system
+boots. Init then controls the startup, running and shutdown of all
+other programs.
%description -l de
SysVinit ist das erste Programm, das beim Systemstart vom Linux-Kernel
-gestartet wird. Es steuert das Starten, Ausführen und Beenden aller anderen
-Programme.
+gestartet wird. Es steuert das Starten, Ausführen und Beenden aller
+anderen Programme.
%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.
+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 startu
-systemu. Kontroluje start, pracê oraz zamykanie wszystkich innych
-programów.
+SysVinit jest pierwszym programem uruchamianym przez j±dro, podczas
+startu systemu. Kontroluje start, pracê oraz zamykanie wszystkich
+innych programów.
%description -l tr
SysVinit, sistem açýlýrken Linux çekirdeði tarafýndan çalýþtýrýlan ilk
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
%build
-make -C src OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} -C src OPTIMIZE="$RPM_OPT_FLAGS"
%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}
-make install -C src \
+%{__make} install -C src \
ROOT=$RPM_BUILD_ROOT \
BIN_OWNER=`id -u` \
BIN_GROUP=`id -g`
install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/sysvinit
-ln -sf ../var/run/initrunlvl $RPM_BUILD_ROOT/etc
+ln -sf ../var/run/initrunlvl $RPM_BUILD_ROOT%{_sysconfdir}
ln -sf killall5 $RPM_BUILD_ROOT/sbin/pidof
touch $RPM_BUILD_ROOT/var/log/{lastlog,wtmpx,btmpx}
doc/Propaganda debian/changelog doc/sysvinit-%{version}.lsm
%pre
-groupadd -f -r -g 60 utmp
-update-db
-
-%post
-if [ -f /var/log/wtmp ]; then
- mv -f /var/log/wtmp /var/log/wtmp.rpmsave
-fi
-
-for i in lastlog wtmpx btmpx; do
- if [ ! -f /var/log/$i ]; then
- >/var/log/$i
- fi
-done
-
-chmod 0644 /var/log/lastlog /var/log/wtmpx
-chmod 0640 /var/log/btmpx
-chgrp utmp /var/log/wtmpx
+groupadd -f -r -g 22 utmp
%postun
groupdel utmp
-update-db
%clean
rm -rf $RPM_BUILD_ROOT
%attr(2555,root,tty) %{_bindir}/wall
%attr(640,root,root) /etc/logrotate.d/*
-%ghost /etc/initrunlvl
-%ghost /var/log/lastlog
+%ghost %{_sysconfdir}/initrunlvl
+%attr(660,root,utmp) %ghost /var/log/lastlog
%attr(660,root,utmp) %ghost /var/log/wtmpx
%attr(640,root,root) %ghost /var/log/btmpx