1 Summary: System V initialization program
2 Summary(de): System V-Intialisierungsprogramm
3 Summary(fr): Programme d'initialisation Sys V
4 Summary(pl): Program inicjalizuj±cy w Systemie V
5 Summary(tr): System V baþlatma programý
11 Group(de): Gründsätzlich
13 Source0: ftp://ftp.cistron.nl/pub/people/miquels/software/sysvinit-%{version}.tar.gz
14 Source1: sysvinit.logrotate
15 Patch0: sysvinit-paths.patch
16 Patch1: sysvinit-bequiet.patch
17 Patch2: sysvinit-md5-bigendian.patch
18 Patch3: sysvinit-wtmp.patch
19 Patch4: sysvinit-man.patch
20 Patch5: sysvinit-sigint.patch
21 Patch6: sysvinit-ai64.patch
22 Patch7: sysvinit-halt.patch
23 Patch8: sysvinit-blowfish.patch
24 Patch9: sysvinit-notty.patch
25 Patch10: sysvinit-wall-n.patch
26 Patch11: sysvinit-owl-bound-format.patch
27 Patch12: sysvinit-cread.patch
28 Patch13: sysvinit-umask.patch
29 BuildRequires: glibc-devel
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 The SysVinit package contains a group of processes that control the
40 very basic functions of your system. SysVinit includes the init
41 program, the first program started by the Linux kernel when the system
42 boots. Init then controls the startup, running and shutdown of all
46 SysVinit ist das erste Programm, das beim Systemstart vom Linux-Kernel
47 gestartet wird. Es steuert das Starten, Ausführen und Beenden aller
51 SysVinit est le premier programme exécuté par le noyau de Linux
52 lorsque le système démarre, il contrôle le lancement, l'exécution et
53 l'arrêt de tous les autres programmes.
56 SysVinit jest pierwszym programem uruchamianym przez j±dro, podczas
57 startu systemu. Kontroluje start, pracê oraz zamykanie wszystkich
61 SysVinit, sistem açýlýrken Linux çekirdeði tarafýndan çalýþtýrýlan ilk
62 programdýr. Diðer programlarýn baþlamalarýný, çalýþmalarýný ve
63 sonlanmalarýný saðlar/denetler.
66 %setup -q -n sysvinit-%{version}
83 %{__make} -C src LCRYPT="-lcrypt" \
84 OPTIMIZE="%{rpmcflags}"
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT{%{_bindir},/sbin,%{_mandir}/man{1,5,8}} \
89 $RPM_BUILD_ROOT/{etc/{logrotate.d,sysconfig},var/log}
91 %{__make} install -C src \
92 ROOT=$RPM_BUILD_ROOT \
96 install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/sysvinit
98 ln -sf ../var/run/initrunlvl $RPM_BUILD_ROOT%{_sysconfdir}
99 ln -sf killall5 $RPM_BUILD_ROOT/sbin/pidof
101 touch $RPM_BUILD_ROOT/var/log/{lastlog,wtmpx,btmpx}
103 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8
104 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8
105 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8
107 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8
108 echo .so init.8 > $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8
109 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8
110 echo .so last.1 > $RPM_BUILD_ROOT%{_mandir}/man1/lastb.1
112 gzip -9nf doc/Propaganda debian/changelog doc/sysvinit-%{version}.lsm
115 GROUP=utmp; GID=22; %groupadd
121 GROUP=utmp; %groupdel
124 rm -rf $RPM_BUILD_ROOT
127 %defattr(644,root,root,755)
128 %doc doc/Propaganda.gz debian/changelog.gz doc/sysvinit-%{version}.lsm.gz
130 %attr(755,root,root) /sbin/*
131 %attr(755,root,root) %{_bindir}/last
132 %attr(755,root,root) %{_bindir}/lastb
133 %attr(755,root,root) %{_bindir}/mesg
134 %attr(755,root,root) %{_bindir}/utmpx-dump
135 %attr(2555,root,tty) %{_bindir}/wall
137 %attr(640,root,root) /etc/logrotate.d/*
138 %ghost %{_sysconfdir}/initrunlvl
139 %attr(660,root,utmp) %ghost /var/log/lastlog
140 %attr(660,root,utmp) %ghost /var/log/wtmpx
141 %attr(640,root,root) %ghost /var/log/btmpx