2006-12-14 18:06:00 +01:00
|
|
|
#
|
2011-01-24 16:24:23 +01:00
|
|
|
# spec file for package sysvinit
|
2006-12-14 18:06:00 +01:00
|
|
|
#
|
2014-01-14 12:07:01 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-14 18:06:00 +01:00
|
|
|
#
|
2008-08-06 01:58:24 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-14 18:06:00 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-03-13 19:06:50 +01:00
|
|
|
|
2013-06-07 12:34:09 +02:00
|
|
|
%if 0%{suse_version} < 1300
|
2014-01-14 12:07:01 +01:00
|
|
|
%global with_util_linux 1
|
|
|
|
%endif
|
|
|
|
%bcond_with util_linux
|
|
|
|
%if %{undefined systemd_requires}
|
|
|
|
%global with_sysvinit 1
|
2013-06-07 12:34:09 +02:00
|
|
|
%endif
|
2014-01-14 12:07:01 +01:00
|
|
|
%bcond_with sysvinit
|
2013-06-07 12:34:09 +02:00
|
|
|
|
2014-08-21 14:33:30 +02:00
|
|
|
%if 0%{?suse_version} > 1310
|
|
|
|
%define have_mkinitrd 0
|
|
|
|
%else
|
|
|
|
%define have_mkinitrd 1
|
|
|
|
%endif
|
|
|
|
|
2006-12-14 18:06:00 +01:00
|
|
|
Name: sysvinit
|
2012-01-31 17:45:43 +01:00
|
|
|
%define KPVER 2.21
|
|
|
|
%define SCVER 1.16
|
2011-03-15 16:14:46 +01:00
|
|
|
%define SIVER 2.88+
|
2012-01-31 17:45:43 +01:00
|
|
|
%define START 0.58
|
2011-10-01 05:04:13 +02:00
|
|
|
Version: %{SIVER}
|
2012-03-16 18:02:25 +01:00
|
|
|
Release: 0
|
2006-12-14 18:06:00 +01:00
|
|
|
Summary: SysV-Style init
|
2012-03-16 18:02:25 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/Base
|
2006-12-14 18:06:00 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-03-16 18:02:25 +01:00
|
|
|
BuildRequires: audit-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
BuildRequires: pam-devel
|
2014-01-14 12:07:01 +01:00
|
|
|
%if 0%{?suse_version} > 1140
|
2014-08-21 14:33:30 +02:00
|
|
|
%if 0%{?suse_version} > 1230
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
%else
|
2014-01-14 12:07:01 +01:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
%endif
|
2014-08-21 14:33:30 +02:00
|
|
|
%endif
|
2013-06-07 12:34:09 +02:00
|
|
|
#!BuildIgnore: sysvinit-tools
|
2014-08-21 14:33:30 +02:00
|
|
|
Requires(post): coreutils grep
|
|
|
|
%if %have_mkinitrd
|
|
|
|
Requires(post): mkinitrd
|
2013-04-24 11:00:05 +02:00
|
|
|
Requires(postun): mkinitrd
|
2014-08-21 14:33:30 +02:00
|
|
|
%endif
|
2010-04-30 01:18:28 +02:00
|
|
|
Url: http://savannah.nongnu.org/projects/sysvinit/
|
2012-02-08 13:36:55 +01:00
|
|
|
Source: sysvinit-%{SIVER}dsf.tar.bz2
|
2011-10-01 05:04:13 +02:00
|
|
|
Source2: killproc-%{KPVER}.tar.bz2
|
2011-10-17 14:36:23 +02:00
|
|
|
Source4: showconsole-%{SCVER}.tar.bz2
|
2011-10-01 05:04:13 +02:00
|
|
|
Source5: startpar-%{START}.tar.bz2
|
|
|
|
Source7: %{name}-rpmlintrc
|
2008-07-25 05:18:53 +02:00
|
|
|
Source8: mkinitrd-boot.sh
|
|
|
|
Source9: mkinitrd-kill1.sh
|
|
|
|
Source10: mkinitrd-kill2.sh
|
2011-10-01 05:04:13 +02:00
|
|
|
Patch: %{name}-%{version}dsf.dif
|
|
|
|
Patch1: %{name}-2.82-startstop.patch
|
|
|
|
Patch2: %{name}-2.88dsf-suse.patch
|
2011-10-17 14:36:23 +02:00
|
|
|
Patch3: %{name}-2.88dsf-scripts2.patch
|
2010-04-25 18:42:19 +02:00
|
|
|
Patch4: notify-pam-dead.patch
|
2011-10-01 05:04:13 +02:00
|
|
|
Patch5: %{name}-2.88dsf-multiple-sulogin.patch
|
|
|
|
Patch6: %{name}-%{version}dsf-run.diff
|
|
|
|
Patch7: %{name}-%{version}dsf-crypt.patch
|
|
|
|
Patch8: %{name}-%{version}dsf-blowfish.dif
|
2011-10-17 14:36:23 +02:00
|
|
|
Patch9: %{name}-2.88dsf-no-kill.patch
|
2012-03-16 18:02:25 +01:00
|
|
|
Patch10: %{name}-%{version}dsf-env.patch
|
|
|
|
Patch11: %{name}-%{version}dsf-dostat.patch
|
2014-01-14 13:40:57 +01:00
|
|
|
# PATCH-FIX-UPSTREAM -- killall5: handle strange names of executables
|
|
|
|
Patch12: %{name}-%{version}dsf-sulogin.diff
|
2014-02-07 16:47:55 +01:00
|
|
|
# PATCH-FIX-SUSE -- sulogin: find suitable console device even if first is not usable
|
|
|
|
Patch13: %{name}-%{version}dsf-xen.patch
|
2011-10-01 05:04:13 +02:00
|
|
|
Patch30: killproc-%{KPVER}.dif
|
2014-05-27 14:12:43 +02:00
|
|
|
Patch31: killproc-2.18-open_flags.dif
|
2011-10-01 05:04:13 +02:00
|
|
|
Patch40: showconsole-%{SCVER}.dif
|
2012-06-21 09:18:40 +02:00
|
|
|
Patch41: showconsole-1.16-deadlock.diff
|
2012-08-03 16:57:49 +02:00
|
|
|
Patch42: showconsole-1.16-glibc.dif
|
2011-10-01 05:04:13 +02:00
|
|
|
Patch50: startpar-%{START}.dif
|
2012-04-19 09:15:19 +02:00
|
|
|
Requires: mingetty
|
2012-05-04 14:50:26 +02:00
|
|
|
Requires: sysvinit-tools
|
2006-12-14 18:06:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
System V style init programs by Miquel van Smoorenburg that control the
|
|
|
|
booting and shutdown of your system. These support a number of system
|
|
|
|
runlevels, each one associated with a specific set of utilities. For
|
|
|
|
example, the normal system runlevel is 3, which starts a getty on
|
|
|
|
virtual consoles tty1-tty6. Runlevel 5 starts xdm. Runlevel 0 shuts
|
|
|
|
down the system. See the individual man pages for inittab, initscript,
|
2010-02-15 18:11:18 +01:00
|
|
|
halt, init, powerd, reboot, runlevel, shutdown, and telinit for
|
|
|
|
more information.
|
2006-12-14 18:06:00 +01:00
|
|
|
|
2010-02-15 18:11:18 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Tools for basic booting
|
2012-03-16 18:02:25 +01:00
|
|
|
Group: System/Base
|
2010-04-14 15:37:58 +02:00
|
|
|
%if 0%{suse_version} > 1120
|
2010-06-02 17:03:09 +02:00
|
|
|
Requires(preun): coreutils %insserv_prereq
|
|
|
|
Requires(postun): coreutils %insserv_prereq
|
2010-04-14 15:37:58 +02:00
|
|
|
%else
|
2010-06-02 17:03:09 +02:00
|
|
|
PreReq: coreutils %insserv_prereq
|
2010-04-14 15:37:58 +02:00
|
|
|
%endif
|
2010-02-15 18:11:17 +01:00
|
|
|
|
2010-02-15 18:11:18 +01:00
|
|
|
%description tools
|
|
|
|
Helper tools from sysvinit that support booting, including but not exclusive
|
|
|
|
to startpar, killproc and pidof. System V init specific programs are in the
|
|
|
|
sysvinit package.
|
2006-12-14 18:06:00 +01:00
|
|
|
|
2011-10-11 13:05:21 +02:00
|
|
|
%package init
|
|
|
|
Summary: Provides /sbin/init for sysvinit
|
2012-03-16 18:02:25 +01:00
|
|
|
Group: System/Base
|
2011-10-11 13:05:21 +02:00
|
|
|
Provides: sbin_init
|
|
|
|
Conflicts: otherproviders(sbin_init)
|
2011-10-11 14:32:12 +02:00
|
|
|
Requires: %{name}
|
2014-01-14 12:07:01 +01:00
|
|
|
%ifnarch s390 s390x
|
|
|
|
Requires: powerd
|
|
|
|
%endif
|
2011-10-11 13:05:21 +02:00
|
|
|
|
|
|
|
%description init
|
2012-01-31 17:45:43 +01:00
|
|
|
Just some symlinks and manual page for sysvinit
|
2011-10-11 13:05:21 +02:00
|
|
|
|
2006-12-14 18:06:00 +01:00
|
|
|
%prep
|
2014-01-14 12:07:01 +01:00
|
|
|
%setup -n %{name}-%{SIVER}dsf -q -b 2 -b 4 -b 5
|
2010-04-25 18:42:19 +02:00
|
|
|
%patch1 -p0 -b .startstop
|
|
|
|
%patch2 -p0 -b .suse
|
2011-10-17 14:36:23 +02:00
|
|
|
%patch3 -p0 -b .scripts2
|
2010-04-25 18:42:19 +02:00
|
|
|
%patch4 -p0 -b .pam
|
2011-03-31 17:11:27 +02:00
|
|
|
%patch5 -p0 -b .sulogin
|
2011-06-01 17:13:38 +02:00
|
|
|
%patch6 -p0 -b .run
|
2011-06-29 12:55:01 +02:00
|
|
|
%patch7 -p0 -b .crypt
|
2011-07-27 15:23:21 +02:00
|
|
|
%patch8 -p0 -b .blowfish
|
2011-10-17 14:36:23 +02:00
|
|
|
%patch9 -p0 -b .no-kill
|
2012-03-16 18:02:25 +01:00
|
|
|
%patch10 -p0 -b .env
|
|
|
|
%patch11 -p0 -b .dostat
|
2014-01-14 13:40:57 +01:00
|
|
|
%patch12 -p0 -b .ka5
|
2014-02-07 16:47:55 +01:00
|
|
|
%patch13 -p0 -b .xen
|
2007-06-05 16:40:38 +02:00
|
|
|
%patch
|
2011-09-02 17:44:27 +02:00
|
|
|
pushd doc
|
2014-01-14 12:07:01 +01:00
|
|
|
mkdir killproc showconsole
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../killproc-%{KPVER}
|
2010-04-25 18:42:19 +02:00
|
|
|
%patch30
|
2014-05-27 14:12:43 +02:00
|
|
|
%patch31 -p0 -b .dialog
|
2011-10-01 05:04:13 +02:00
|
|
|
ln -t../%{name}-%{SIVER}dsf/doc/killproc README
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../showconsole-%{SCVER}
|
2010-04-25 18:42:19 +02:00
|
|
|
%patch40
|
2012-06-21 09:18:40 +02:00
|
|
|
%patch41 -p1
|
2012-08-03 16:57:49 +02:00
|
|
|
%patch42 -p0
|
2011-10-01 05:04:13 +02:00
|
|
|
ln -t../%{name}-%{SIVER}dsf/doc/showconsole README
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../startpar-%{START}
|
2010-04-25 18:42:19 +02:00
|
|
|
%patch50
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
%_fixowner .
|
|
|
|
%_fixgroup .
|
|
|
|
/bin/chmod -Rf a+rX,g-w,o-w .
|
|
|
|
|
|
|
|
%build
|
2010-04-25 18:42:19 +02:00
|
|
|
RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -D_FILE_OFFSET_BITS=64 -pipe"
|
2011-10-04 11:22:53 +02:00
|
|
|
CC=%__cc
|
2010-04-25 18:42:19 +02:00
|
|
|
export RPM_OPT_FLAGS CC
|
|
|
|
make %{?_smp_mflags} WITH_SELINUX=yes DISTRO=SuSE
|
2006-12-14 18:06:00 +01:00
|
|
|
pushd ../showconsole-%{SCVER}
|
2011-10-04 11:22:53 +02:00
|
|
|
make %{?_smp_mflags} CC="%__cc"
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../killproc-%{KPVER}
|
2011-10-04 11:22:53 +02:00
|
|
|
make %{?_smp_mflags} INC="-I../showconsole-%{SCVER} -L../showconsole-%{SCVER}" CC="%__cc"
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../startpar-%{START}
|
2011-10-04 11:22:53 +02:00
|
|
|
make %{?_smp_mflags} INC="-I../showconsole-%{SCVER} -L../showconsole-%{SCVER}" CC="%__cc"
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
2014-01-14 12:07:01 +01:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir %{buildroot}
|
|
|
|
mkdir -m 755 -p %{buildroot}/bin
|
|
|
|
mkdir -m 755 -p %{buildroot}/dev
|
|
|
|
mkdir -m 755 -p %{buildroot}/etc
|
|
|
|
mkdir -m 755 -p %{buildroot}/sbin
|
|
|
|
mkdir -m 755 -p %{buildroot}/usr/bin
|
|
|
|
mkdir -m 755 -p %{buildroot}/usr/include
|
|
|
|
mkdir -m 755 -p %{buildroot}%{_mandir}/man1
|
|
|
|
mkdir -m 755 -p %{buildroot}%{_mandir}/man5
|
|
|
|
mkdir -m 755 -p %{buildroot}%{_mandir}/man8
|
|
|
|
make install -C src MANPATH=%{_mandir} ROOT=%{buildroot} WITH_SELINUX=yes DISTRO=SuSE
|
|
|
|
mv %{buildroot}/sbin/init %{buildroot}/sbin/sysvinit
|
|
|
|
mv %{buildroot}%{_mandir}/man8/init.8 %{buildroot}/%{_mandir}/man8/sysvinit.8
|
|
|
|
ln -s /sbin/sysvinit %{buildroot}/sbin/init
|
|
|
|
ln -s sysvinit.8 %{buildroot}%{_mandir}/man8/init.8
|
|
|
|
mkdir -p %{buildroot}/lib/sysvinit
|
|
|
|
ln -sf /sbin/sysvinit %{buildroot}/lib/sysvinit/telinit
|
|
|
|
ln -sf /sbin/sysvinit %{buildroot}/sbin/telinit
|
|
|
|
test -p %{buildroot}/dev/initctl || {
|
|
|
|
rm -f %{buildroot}/dev/initctl
|
|
|
|
mknod %{buildroot}/dev/initctl p
|
|
|
|
chmod 600 %{buildroot}/dev/initctl
|
2006-12-14 18:06:00 +01:00
|
|
|
}
|
|
|
|
pushd ../showconsole-%{SCVER}
|
2014-01-14 12:07:01 +01:00
|
|
|
make install MANPATH=%{_mandir} INSTBINFLAGS="-m 0700" DESTDIR=%{buildroot}
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../killproc-%{KPVER}
|
2014-01-14 12:07:01 +01:00
|
|
|
make install MANPATH=%{_mandir} INSTBINFLAGS="-m 0755" DESTDIR=%{buildroot}
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
pushd ../startpar-%{START}
|
2014-01-14 12:07:01 +01:00
|
|
|
make install DESTDIR=%{buildroot}
|
2006-12-14 18:06:00 +01:00
|
|
|
popd
|
|
|
|
#
|
2008-07-25 05:18:53 +02:00
|
|
|
# Install mkinitrd scriptlets
|
|
|
|
#
|
2014-08-21 14:33:30 +02:00
|
|
|
%if %have_mkinitrd
|
2014-01-14 12:07:01 +01:00
|
|
|
install -d %{buildroot}/lib/mkinitrd/scripts
|
|
|
|
install -m 0755 %{SOURCE8} %{buildroot}/lib/mkinitrd/scripts/boot-blogd.sh
|
|
|
|
install -m 0755 %{SOURCE9} %{buildroot}/lib/mkinitrd/scripts/boot-killblogd.sh
|
|
|
|
install -m 0755 %{SOURCE10} %{buildroot}/lib/mkinitrd/scripts/boot-killblogd2.sh
|
2014-08-21 14:33:30 +02:00
|
|
|
%endif
|
2008-07-25 05:18:53 +02:00
|
|
|
#
|
2006-12-14 18:06:00 +01:00
|
|
|
# Remove files not packed:
|
|
|
|
#
|
2014-01-14 12:07:01 +01:00
|
|
|
rm -f %{buildroot}/usr/include/{initreq.h,libblogger.h}
|
|
|
|
rm -f %{buildroot}/usr/lib/libblogger.a
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/mesg.1*
|
|
|
|
chmod 444 %{buildroot}%{_mandir}/man?/*
|
2013-06-07 12:34:09 +02:00
|
|
|
%if ! %{with util_linux}
|
2014-01-14 12:07:01 +01:00
|
|
|
rm -vf %{buildroot}/bin/mountpoint
|
|
|
|
rm -vf %{buildroot}/usr/bin/utmpdump
|
|
|
|
rm -vf %{buildroot}/sbin/sulogin
|
|
|
|
rm -vf %{buildroot}%{_mandir}/man1/mountpoint.1*
|
|
|
|
rm -vf %{buildroot}%{_mandir}/man1/utmpdump.1*
|
|
|
|
rm -vf %{buildroot}%{_mandir}/man8/sulogin.8*
|
2013-06-07 12:34:09 +02:00
|
|
|
%endif
|
2006-12-14 18:06:00 +01:00
|
|
|
|
2010-10-01 15:46:58 +02:00
|
|
|
%post
|
2013-04-24 11:00:05 +02:00
|
|
|
ret=0
|
2011-10-11 15:53:44 +02:00
|
|
|
if test -x /sbin/telinit -a -p /dev/initctl -a -f /proc/1/exe -a -d /proc/1/root -a ! -d /.build -a -x /sbin/init; then
|
2013-04-24 11:00:05 +02:00
|
|
|
icount=$(grep -cE '^[[:alnum:]]+:[[:alnum:]]*:' /etc/inittab 2>/dev/null || echo 0)
|
|
|
|
if test $(stat -Lc '%%D-%%i' /) = $(stat -Lc '%%D-%%i' /proc/1/root) -a $icount -gt 6 ; then
|
|
|
|
if test $(stat -Lc '%%D-%%i' /sbin/init) = $(stat -Lc '%%D-%%i' /sbin/sysvinit); then
|
|
|
|
/sbin/telinit u
|
|
|
|
fi
|
|
|
|
elif test $icount -le 6 ; then
|
|
|
|
echo 'Broken /etc/inittab found, installing and using %{name} make no sense!' 1>&2
|
|
|
|
ret=1
|
2006-12-14 18:06:00 +01:00
|
|
|
fi
|
|
|
|
fi
|
2014-08-21 14:33:30 +02:00
|
|
|
%if %have_mkinitrd
|
2009-03-09 00:29:57 +01:00
|
|
|
if test -x /sbin/mkinitrd_setup; then
|
|
|
|
mkinitrd_setup
|
|
|
|
fi
|
2014-08-21 14:33:30 +02:00
|
|
|
%endif
|
2013-04-24 11:00:05 +02:00
|
|
|
exit $ret
|
2008-09-05 20:41:38 +02:00
|
|
|
|
2014-08-21 14:33:30 +02:00
|
|
|
%if %have_mkinitrd
|
2013-03-04 17:17:51 +01:00
|
|
|
%postun
|
2009-03-09 00:29:57 +01:00
|
|
|
if test -x /sbin/mkinitrd_setup; then
|
|
|
|
mkinitrd_setup
|
|
|
|
fi
|
2014-08-21 14:33:30 +02:00
|
|
|
%endif
|
2006-12-14 18:06:00 +01:00
|
|
|
|
2011-10-11 13:05:21 +02:00
|
|
|
%files
|
2006-12-14 18:06:00 +01:00
|
|
|
%defattr (-,root,root,755)
|
2011-10-11 13:05:21 +02:00
|
|
|
/sbin/sysvinit
|
2011-10-11 15:21:07 +02:00
|
|
|
%dir /lib/sysvinit
|
|
|
|
/lib/sysvinit/telinit
|
2011-10-11 14:32:12 +02:00
|
|
|
|
|
|
|
%files init
|
|
|
|
%defattr (-,root,root,755)
|
|
|
|
/sbin/halt
|
|
|
|
/sbin/init
|
2010-02-15 18:11:18 +01:00
|
|
|
/sbin/poweroff
|
|
|
|
/sbin/reboot
|
|
|
|
/sbin/runlevel
|
|
|
|
/sbin/shutdown
|
|
|
|
/sbin/telinit
|
|
|
|
%doc %{_mandir}/man8/halt.8.gz
|
|
|
|
%doc %{_mandir}/man5/initscript.5.gz
|
|
|
|
%doc %{_mandir}/man5/inittab.5.gz
|
|
|
|
%doc %{_mandir}/man8/init.8.gz
|
2012-01-31 17:45:43 +01:00
|
|
|
%doc %{_mandir}/man8/sysvinit.8.gz
|
2010-02-15 18:11:18 +01:00
|
|
|
%doc %{_mandir}/man8/poweroff.8.gz
|
|
|
|
%doc %{_mandir}/man8/reboot.8.gz
|
|
|
|
%doc %{_mandir}/man8/runlevel.8.gz
|
|
|
|
%doc %{_mandir}/man8/shutdown.8.gz
|
|
|
|
%doc %{_mandir}/man8/telinit.8.gz
|
2014-08-21 14:33:30 +02:00
|
|
|
%if %have_mkinitrd
|
2013-03-04 17:17:51 +01:00
|
|
|
%dir /lib/mkinitrd
|
|
|
|
%dir /lib/mkinitrd/scripts
|
|
|
|
/lib/mkinitrd/scripts/boot-blogd.sh
|
|
|
|
/lib/mkinitrd/scripts/boot-killblogd.sh
|
|
|
|
/lib/mkinitrd/scripts/boot-killblogd2.sh
|
2014-08-21 14:33:30 +02:00
|
|
|
%endif
|
2010-02-15 18:11:18 +01:00
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr (-,root,root,755)
|
2011-09-02 17:44:27 +02:00
|
|
|
%doc COPYING COPYRIGHT doc/Propaganda
|
|
|
|
%doc doc/Changelog doc/killproc doc/showconsole
|
2011-10-11 13:05:21 +02:00
|
|
|
%config /etc/pam.d/init
|
2013-06-07 12:34:09 +02:00
|
|
|
%if %{with util_linux}
|
|
|
|
/sbin/sulogin
|
2006-12-14 18:06:00 +01:00
|
|
|
/bin/mountpoint
|
2013-06-07 12:34:09 +02:00
|
|
|
/usr/bin/utmpdump
|
|
|
|
%endif
|
2006-12-14 18:06:00 +01:00
|
|
|
/bin/pidof
|
|
|
|
/bin/usleep
|
2007-06-18 17:19:15 +02:00
|
|
|
/bin/fsync
|
2010-02-15 18:11:18 +01:00
|
|
|
/usr/bin/last
|
|
|
|
/usr/bin/lastb
|
2006-12-14 18:06:00 +01:00
|
|
|
/sbin/blogger
|
|
|
|
/sbin/blogd
|
2010-04-25 18:42:19 +02:00
|
|
|
/sbin/fstab-decode
|
2006-12-14 18:06:00 +01:00
|
|
|
/sbin/showconsole
|
|
|
|
/sbin/setconsole
|
|
|
|
/sbin/isserial
|
|
|
|
/sbin/checkproc
|
|
|
|
/sbin/pidofproc
|
|
|
|
/sbin/killproc
|
|
|
|
/sbin/killall5
|
|
|
|
/sbin/pidof
|
2010-02-15 18:11:17 +01:00
|
|
|
/sbin/startpar
|
2011-02-04 15:44:33 +01:00
|
|
|
/sbin/rvmtab
|
2010-02-15 18:11:17 +01:00
|
|
|
/sbin/vhangup
|
|
|
|
/sbin/mkill
|
2010-02-15 18:11:18 +01:00
|
|
|
/sbin/startproc
|
|
|
|
/sbin/start_daemon
|
2013-06-07 12:34:09 +02:00
|
|
|
%if %{with util_linux}
|
|
|
|
%doc %{_mandir}/man1/mountpoint.1.gz
|
|
|
|
%doc %{_mandir}/man1/utmpdump.1.gz
|
|
|
|
%doc %{_mandir}/man8/sulogin.8.gz
|
|
|
|
%endif
|
2006-12-14 18:06:00 +01:00
|
|
|
%doc %{_mandir}/man1/last.1.gz
|
|
|
|
%doc %{_mandir}/man1/lastb.1.gz
|
|
|
|
%doc %{_mandir}/man1/usleep.1.gz
|
2007-06-18 17:19:15 +02:00
|
|
|
%doc %{_mandir}/man1/fsync.1.gz
|
2010-02-15 18:11:18 +01:00
|
|
|
# /usr/include/libblogger.h
|
|
|
|
# /usr/lib/libblogger.a
|
2006-12-14 18:06:00 +01:00
|
|
|
%doc %{_mandir}/man8/blogger.8.gz
|
|
|
|
%doc %{_mandir}/man8/blogd.8.gz
|
2010-04-25 18:42:19 +02:00
|
|
|
%doc %{_mandir}/man8/fstab-decode.8.gz
|
2006-12-14 18:06:00 +01:00
|
|
|
%doc %{_mandir}/man8/showconsole.8.gz
|
|
|
|
%doc %{_mandir}/man8/setconsole.8.gz
|
|
|
|
%doc %{_mandir}/man8/isserial.8.gz
|
|
|
|
%doc %{_mandir}/man8/checkproc.8.gz
|
|
|
|
%doc %{_mandir}/man8/pidofproc.8.gz
|
|
|
|
%doc %{_mandir}/man8/killall5.8.gz
|
|
|
|
%doc %{_mandir}/man8/killproc.8.gz
|
|
|
|
%doc %{_mandir}/man8/pidof.8.gz
|
|
|
|
%doc %{_mandir}/man8/startproc.8.gz
|
|
|
|
%doc %{_mandir}/man8/start_daemon.8.gz
|
2010-02-15 18:11:17 +01:00
|
|
|
%doc %{_mandir}/man8/startpar.8.gz
|
2011-02-04 15:44:33 +01:00
|
|
|
%doc %{_mandir}/man8/rvmtab.8.gz
|
2008-12-05 15:50:32 +01:00
|
|
|
%doc %{_mandir}/man8/vhangup.8.gz
|
2008-12-06 14:47:45 +01:00
|
|
|
%doc %{_mandir}/man8/mkill.8.gz
|
2011-09-02 17:44:27 +02:00
|
|
|
%if 0
|
|
|
|
%doc contrib/bootlogd.README
|
|
|
|
/sbin/bootlogd
|
|
|
|
/sbin/intr
|
|
|
|
%doc %{_mandir}/man8/bootlogd.8.gz
|
|
|
|
%doc %{_mandir}/man8/intr.8.gz
|
|
|
|
%endif
|
2007-11-30 16:13:55 +01:00
|
|
|
|
2007-04-19 22:43:28 +02:00
|
|
|
%changelog
|