]>
Commit | Line | Data |
---|---|---|
94bbb30a | 1 | # |
57e69643 TP |
2 | # TODO: move inittab file to SysVinit |
3 | # | |
5b827075 | 4 | # Conditional build: |
a1b2d52b | 5 | %bcond_without static # link binaries with glib dynamically |
daa7b2fc | 6 | |
3c3213a3 | 7 | Summary: inittab and /etc/rc.d scripts |
a51a8b92 ER |
8 | Summary(de.UTF-8): inittab und /etc/rc.d Scripts |
9 | Summary(fr.UTF-8): inittab et scripts /etc/rc.d | |
10 | Summary(pl.UTF-8): inittab i skrypty startowe z katalogu /etc/rc.d | |
11 | Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları | |
3c3213a3 | 12 | Name: rc-scripts |
57f78a6e | 13 | Version: 0.4.18 |
3c09146e | 14 | Release: 5 |
56effd90 | 15 | License: GPL v2 |
3c3213a3 | 16 | Group: Base |
08f7c499 | 17 | #Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz |
8d5e1d73 | 18 | Source0: %{name}-%{version}.tar.gz |
57f78a6e | 19 | # Source0-md5: 19a80f3b7ac8abd1008ecad71ddc9294 |
8e620fef JR |
20 | Source1: rc-local.service |
21 | Source2: sys-chroots.service | |
22 | Source3: %{name}.tmpfiles | |
dfc7564b ER |
23 | Patch0: 95229.patch |
24 | Patch1: 27a3470.patch | |
3c09146e | 25 | Patch2: %{name}-bond.patch |
6babe726 | 26 | URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts |
31d70394 PZ |
27 | BuildRequires: autoconf |
28 | BuildRequires: automake | |
67b8a7d2 | 29 | BuildRequires: gettext-tools |
9565173a AM |
30 | BuildRequires: glib2-devel |
31 | %{?with_static:BuildRequires: glib2-static} | |
36050fb4 | 32 | %{?with_static:BuildRequires: glibc-static} |
4715c944 ER |
33 | BuildRequires: libcap-devel >= 1:2.17 |
34 | BuildRequires: linux-libc-headers >= 7:2.6.27 | |
8a4b3415 | 35 | BuildRequires: pkgconfig |
136b441d | 36 | BuildRequires: popt-devel |
daa7b2fc | 37 | BuildRequires: rpm >= 4.4.9-56 |
131b21f1 | 38 | Requires(post): fileutils |
cde0e859 | 39 | %ifarch sparc sparcv9 sparc64 |
3b9e8b82 | 40 | Requires: agetty |
41 | %endif | |
6061dd4f | 42 | Requires: /bin/awk |
44151f36 TP |
43 | Requires: /bin/basename |
44 | Requires: /bin/gettext | |
45 | Requires: /bin/nice | |
6061dd4f | 46 | Requires: /bin/ps |
41d37dc6 | 47 | Requires: SysVinit-tools >= 2.88-1 |
9caabfde | 48 | Requires: blockdev |
ea1c6ac5 | 49 | Requires: coreutils |
e9d2dcc1 | 50 | Requires: ethtool |
95675b93 | 51 | Requires: run-parts = %{version}-%{release} |
f90dba80 | 52 | Requires: virtual(init-daemon) |
daa7b2fc ER |
53 | %if "%{pld_release}" == "ac" |
54 | Requires: filesystem >= 3.0-11 | |
55 | %else | |
a4f84441 | 56 | Requires: filesystem >= 4.0-1 |
daa7b2fc | 57 | %endif |
44151f36 | 58 | Requires: findutils |
473be0f1 | 59 | Requires: fsck |
44151f36 TP |
60 | Requires: gettext |
61 | Requires: grep | |
b03df909 | 62 | Requires: hostname |
44151f36 | 63 | Requires: iproute2 |
645012ec | 64 | Requires: iputils-arping |
95675b93 | 65 | Requires: libutempter >= 1.1.6-2 |
44151f36 | 66 | Requires: mktemp |
6483c4d3 | 67 | Requires: mount >= 2.12 |
15580a17 | 68 | Requires: procps >= 1:3.2.6-1.1 |
148e6e6e | 69 | Requires: psmisc >= 22.5-2 |
62191a37 | 70 | Requires: util-linux >= 2.22.1 |
532dd1d1 | 71 | Requires: virtual(module-tools) |
fdd8836f | 72 | Suggests: libcgroup |
131b21f1 | 73 | Obsoletes: initscripts |
9c80e93b | 74 | Obsoletes: vserver-rc-scripts |
9d4fd9ad | 75 | Conflicts: LPRng < 3.8.0-2 |
0486f695 | 76 | Conflicts: dev < 2.9.0-22 |
87f240d4 | 77 | Conflicts: iputils-arping < 2:s20070202-1 |
1e1b4274 JB |
78 | # character classes support required |
79 | Conflicts: mawk < 1.3.4-0.20090727 | |
038ea68f | 80 | Conflicts: openssh-server < 2:3.6.1p2-6 |
cb9a8e88 | 81 | Conflicts: psacct < 6.3.5-10 |
c39424a8 | 82 | Conflicts: tzdata < 2007b-1.1 |
67777eed | 83 | %if "%{pld_release}" == "th" |
0486f695 | 84 | Conflicts: udev-core < 1:135-2 |
67777eed ER |
85 | %else |
86 | Conflicts: udev-core < 1:124-3 | |
359f7c30 | 87 | %endif |
60388a65 | 88 | Conflicts: SysVinit < 2.88-16 |
95675b93 | 89 | Conflicts: lvm2 < 2.02.83 |
93dcd973 | 90 | Conflicts: upstart |
6507b5cb | 91 | Conflicts: wpa_supplicant < 0.6.3 |
cb9a8e88 | 92 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
6061dd4f | 93 | |
6061dd4f | 94 | %define _exec_prefix / |
73844b1c | 95 | %define localedir /etc/sysconfig/locale |
6036c456 | 96 | %define _bindir /bin |
68101dbd | 97 | %define _sbindir /sbin |
3c3213a3 AF |
98 | |
99 | %description | |
100 | This package contains the scripts use to boot a system, change run | |
febd158f | 101 | levels, and shut the system down cleanly. |
3c3213a3 | 102 | |
4a9a0407 JR |
103 | %description -l de.UTF-8 |
104 | Dieses Paket enthält die Scripts, die zum Hochfahren des Systems, | |
105 | Ändern der Betriebsebene und sauberem Herunterfahren des Systems | |
106 | erforderlich sind. Außerdem enthält es die Scripts, die | |
15555262 | 107 | Netzwerkschnittstellen aktivieren und deaktivieren. |
3c3213a3 | 108 | |
4a9a0407 JR |
109 | %description -l fr.UTF-8 |
110 | Ce package contient les scripts utilisés pour démarrer le systéme, | |
111 | changer les niveaux d'exécution, et arréter le systéme proprement. Il | |
112 | contient aussi les scripts qui activent et désactivent la plupart des | |
113 | inetrfaces réseau. | |
3c3213a3 | 114 | |
4a9a0407 | 115 | %description -l pl.UTF-8 |
3c3213a3 | 116 | Pakiet zawiera skrypty uruchamiane przy starcie i zamykaniu systemu, a |
4a9a0407 | 117 | także przy zmianie jego poziomu pracy. |
3c3213a3 | 118 | |
4a9a0407 JR |
119 | %description -l tr.UTF-8 |
120 | Bu paket, sistem açmak, çalışma düzeylerini değiştirmek ve sistemi | |
121 | düzgün bir şekilde kapatmak için gereken dosyaları içerir. Ayrıca pek | |
122 | çok bilgisayar ağı arayüzlerini etkinleştiren ya da edilginleştiren | |
123 | programcıklar içerir. | |
3c3213a3 | 124 | |
95675b93 | 125 | %package -n run-parts |
06f6aade JB |
126 | Summary: Run scripts or programs in a directory |
127 | Summary(pl.UTF-8): Uruchamianie skryptów lub programów z katalogu | |
95675b93 | 128 | Group: Base |
06f6aade | 129 | Conflicts: rc-scripts < 0.4.14-2 |
95675b93 ER |
130 | |
131 | %description -n run-parts | |
06f6aade JB |
132 | run-parts runs all the executable files named within specific |
133 | constraints, found in directory directory. Other files and directories | |
134 | are silently ignored. | |
135 | ||
136 | %description -n run-parts -l pl.UTF-8 | |
87f240d4 ER |
137 | Program run-parts pozwala na uruchamianie wszystkich plików zgodnych z |
138 | pewnymi ograniczeniami, obecnych w katalogu. Inne pliki i katalogi są | |
139 | po cichu ignorowane. | |
95675b93 | 140 | |
3c3213a3 AF |
141 | %prep |
142 | %setup -q | |
de6545e9 ER |
143 | # broken: --pid is alias to --pidfile, not --pid |
144 | #%patch0 -p3 -d lib | |
dfc7564b | 145 | %patch1 -p1 |
3c09146e | 146 | %patch2 -p1 |
3c3213a3 | 147 | |
fb1b090b | 148 | # hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch: |
2dac2d5c | 149 | #GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic" |
0d1f9d46 | 150 | sed -i -e 's#^GLIB_LIBS=.*#GLIB_LIBS="%{_prefix}/%{_lib}/libglib-2.0.a -lrt -lpthread"#' configure.ac |
2dac2d5c | 151 | |
3c3213a3 | 152 | %build |
31d70394 PZ |
153 | %{__aclocal} |
154 | %{__autoheader} | |
155 | %{__autoconf} | |
156 | %{__automake} | |
b4948511 | 157 | %configure \ |
158 | --with-localedir=%{localedir} | |
131b21f1 | 159 | %{__make} \ |
807e6d26 | 160 | %{!?with_static:ppp_watch_LDADD="$(pkg-config --libs glib-2.0)" ppp_watch_DEPENDENCIES=} |
3c3213a3 AF |
161 | |
162 | %install | |
163 | rm -rf $RPM_BUILD_ROOT | |
21888f7f | 164 | install -d $RPM_BUILD_ROOT/var/{run/netreport,log} \ |
0d1f9d46 | 165 | $RPM_BUILD_ROOT/etc/sysconfig/{interfaces/data,hwprofiles} \ |
2ee536a7 | 166 | $RPM_BUILD_ROOT{%{_sysconfdir},%{_prefix}/lib}/sysctl.d \ |
8e620fef | 167 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} |
3c3213a3 | 168 | |
44151f36 | 169 | %{__make} install \ |
038ea68f | 170 | DESTDIR=$RPM_BUILD_ROOT \ |
807e6d26 | 171 | %{!?with_static:ppp_watch_LDADD="$(pkg-config --libs glib-2.0)" ppp_watch_DEPENDENCIES=} |
c42677f8 | 172 | |
b8612936 ER |
173 | # deprecated shell version |
174 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/run-parts.sh | |
175 | ||
c42677f8 AF |
176 | for i in 0 1 2 3 4 5 6; do |
177 | install -d $RPM_BUILD_ROOT/etc/rc.d/rc$i.d | |
178 | done | |
179 | ||
180 | for i in 2 3 4 5; do | |
3189d0c6 | 181 | ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99local |
1e972fce | 182 | ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S25netfs |
c9285cbf JR |
183 | ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S10network |
184 | ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99allowlogin | |
e36baeb4 | 185 | ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99sys-chroots |
c9285cbf JR |
186 | done |
187 | ||
188 | for i in 1 2 3 4 5; do | |
189 | ln -s ../init.d/killall $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S00killall | |
c8124ed0 | 190 | ln -s ../init.d/cpusets $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S01cpusets |
c9285cbf JR |
191 | ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S20random |
192 | done | |
193 | ||
194 | for i in 0 2 3 4 5 6; do | |
195 | ln -s ../init.d/single $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K00single | |
196 | done | |
197 | ||
198 | ln -s ../init.d/single $RPM_BUILD_ROOT/etc/rc.d/rc1.d/S00single | |
199 | ||
200 | for i in 0 6; do | |
c8124ed0 | 201 | ln -s ../init.d/cpusets $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K99cpusets |
c9285cbf JR |
202 | ln -s ../init.d/killall $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90killall |
203 | ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K80random | |
204 | done | |
205 | ||
206 | for i in 0 1 6; do | |
1e972fce | 207 | ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K75netfs |
c9285cbf JR |
208 | ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90network |
209 | ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01allowlogin | |
e36baeb4 | 210 | ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01sys-chroots |
06d65e47 | 211 | ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01local |
c42677f8 AF |
212 | done |
213 | ||
2e1d561f | 214 | > $RPM_BUILD_ROOT/var/log/dmesg |
72cd3555 | 215 | |
20fee7b8 ER |
216 | # make /etc/init.d symlink relative |
217 | ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d | |
218 | ||
930160fd | 219 | # systemd |
95675b93 | 220 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service |
8e620fef | 221 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/local.service |
95675b93 ER |
222 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/sys-chroots.service |
223 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
86bdd490 | 224 | |
ed779456 JR |
225 | # packaged into SysVinit and systemd-init (supported options differ) |
226 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man5/crypttab.5 | |
227 | ||
53f9043c | 228 | %clean |
229 | rm -rf $RPM_BUILD_ROOT | |
230 | ||
3c3213a3 | 231 | %post |
3c3213a3 AF |
232 | if [ -f /etc/inittab.rpmsave ]; then |
233 | echo "**** Found old /etc/inittab.rpmsave ****" | |
234 | echo "/etc/inittab renamed to /etc/inittab.rpmnew" | |
92fbcb18 | 235 | mv -f /etc/inittab /etc/inittab.rpmnew |
3c3213a3 | 236 | echo "/etc/inittab.rpmsave renamed to /etc/inittab." |
92fbcb18 | 237 | mv -f /etc/inittab.rpmsave /etc/inittab |
3c3213a3 | 238 | fi |
2e1d561f | 239 | touch /var/log/dmesg |
6b32cfe3 | 240 | chown root:root /var/log/dmesg |
2e1d561f | 241 | chmod 640 /var/log/dmesg |
bd07ea06 ER |
242 | touch /var/cache/rc-scripts/msg.cache |
243 | chmod 644 /var/cache/rc-scripts/msg.cache | |
244 | chown root:root /var/cache/rc-scripts/msg.cache | |
febd158f | 245 | |
ea4b9022 | 246 | # move network interfaces description files to new location |
247 | %triggerpostun -- initscripts | |
6036c456 JR |
248 | [ -d /etc/sysconfig/network-scripts ] || exit 0 |
249 | cd /etc/sysconfig/network-scripts | |
250 | for iface in ifcfg-* ; do | |
251 | [ -f $iface ] || continue | |
252 | if [ -f /etc/sysconfig/interfaces/$iface ]; then | |
253 | echo "/etc/sysconfig/interfaces/$iface renamed to /etc/sysconfig/interfaces/$iface.rpmnew" | |
254 | mv -f /etc/sysconfig/interfaces/$iface{,.rpmnew} | |
255 | fi | |
256 | echo "/etc/sysconfig/network-scripts/$iface moved to /etc/sysconfig/interfaces/$iface" | |
257 | mv -f /etc/sysconfig/network-scripts/$iface /etc/sysconfig/interfaces | |
1c2e1b57 | 258 | done |
ea4b9022 | 259 | |
3c3213a3 | 260 | %files |
ee1cf4d2 | 261 | %defattr(644,root,root,755) |
683b5100 | 262 | %doc ChangeLog |
d9538f62 | 263 | %doc doc/*.txt doc/template.init |
44151f36 | 264 | %doc sysconfig/interfaces/data/chat-ppp* |
6061dd4f | 265 | %doc sysconfig/interfaces/ifc* |
266 | %doc sysconfig/interfaces/tnl* | |
36963c7f | 267 | %doc sysconfig/init-colors* |
20fee7b8 | 268 | %doc doc/sysvinitfiles |
6061dd4f | 269 | |
4dfe9cd1 ER |
270 | %dir /etc/rc.d |
271 | %dir /etc/rc.d/init.d | |
272 | %dir /etc/rc.d/rc?.d | |
9439d8ba | 273 | /etc/init.d |
d7949f65 | 274 | /etc/rc.d/init.d/functions |
1a45f1c3 | 275 | |
1a45f1c3 | 276 | %attr(754,root,root) /etc/rc.d/init.d/allowlogin |
c8124ed0 | 277 | %attr(754,root,root) /etc/rc.d/init.d/cpusets |
fbf3861e | 278 | %attr(754,root,root) /etc/rc.d/init.d/cryptsetup |
1a45f1c3 | 279 | %attr(754,root,root) /etc/rc.d/init.d/killall |
3189d0c6 | 280 | %attr(754,root,root) /etc/rc.d/init.d/local |
1e972fce | 281 | %attr(754,root,root) /etc/rc.d/init.d/netfs |
1a45f1c3 | 282 | %attr(754,root,root) /etc/rc.d/init.d/network |
283 | %attr(754,root,root) /etc/rc.d/init.d/random | |
284 | %attr(754,root,root) /etc/rc.d/init.d/single | |
b0ffdce5 | 285 | %attr(754,root,root) /etc/rc.d/init.d/sys-chroots |
1a45f1c3 | 286 | |
287 | %attr(754,root,root) /etc/rc.d/rc | |
c1f03f90 | 288 | %config(noreplace) %verify(not md5 mtime size) /etc/rc.d/rc.local |
72f419db | 289 | %attr(754,root,root) /etc/rc.d/rc.init |
1a45f1c3 | 290 | %attr(754,root,root) /etc/rc.d/rc.sysinit |
291 | %attr(754,root,root) /etc/rc.d/rc.shutdown | |
42b701d8 ER |
292 | %attr(754,root,root) /etc/rc.d/rc?.d/K??allowlogin |
293 | %attr(754,root,root) /etc/rc.d/rc?.d/K??cpusets | |
294 | %attr(754,root,root) /etc/rc.d/rc?.d/K??killall | |
06d65e47 | 295 | %attr(754,root,root) /etc/rc.d/rc?.d/K??local |
1e972fce | 296 | %attr(754,root,root) /etc/rc.d/rc?.d/K??netfs |
42b701d8 ER |
297 | %attr(754,root,root) /etc/rc.d/rc?.d/K??network |
298 | %attr(754,root,root) /etc/rc.d/rc?.d/K??random | |
299 | %attr(754,root,root) /etc/rc.d/rc?.d/K??single | |
300 | %attr(754,root,root) /etc/rc.d/rc?.d/K??sys-chroots | |
1a45f1c3 | 301 | %attr(754,root,root) /etc/rc.d/rc?.d/S??allowlogin |
c8124ed0 | 302 | %attr(754,root,root) /etc/rc.d/rc?.d/S??cpusets |
1a45f1c3 | 303 | %attr(754,root,root) /etc/rc.d/rc?.d/S??killall |
304 | %attr(754,root,root) /etc/rc.d/rc?.d/S??local | |
1e972fce | 305 | %attr(754,root,root) /etc/rc.d/rc?.d/S??netfs |
1a45f1c3 | 306 | %attr(754,root,root) /etc/rc.d/rc?.d/S??network |
307 | %attr(754,root,root) /etc/rc.d/rc?.d/S??random | |
308 | %attr(754,root,root) /etc/rc.d/rc?.d/S??single | |
e36baeb4 | 309 | %attr(754,root,root) /etc/rc.d/rc?.d/S??sys-chroots |
6061dd4f | 310 | |
bd07ea06 ER |
311 | %dir /var/cache/rc-scripts |
312 | %ghost /var/cache/rc-scripts/msg.cache | |
06d65e47 | 313 | |
5f425b39 | 314 | %attr(755,root,root) /etc/profile.d/lang.*sh |
6061dd4f | 315 | |
316 | %attr(755,root,root) %{_bindir}/doexec | |
c42677f8 | 317 | %attr(755,root,root) %{_bindir}/ipcalc |
5b84678f | 318 | %attr(755,root,root) %{_bindir}/resolvesymlink |
44151f36 | 319 | %attr(755,root,root) %{_bindir}/usleep |
c42677f8 | 320 | |
42b701d8 | 321 | %attr(755,root,root) %{_sbindir}/consoletype |
93f606c5 | 322 | %attr(755,root,root) %{_sbindir}/genhostid |
42b701d8 | 323 | %attr(755,root,root) %{_sbindir}/getkey |
72f419db | 324 | %attr(755,root,root) %{_sbindir}/hwprofile |
2f8e54d1 JB |
325 | %attr(755,root,root) %{_sbindir}/ifdown |
326 | %attr(755,root,root) %{_sbindir}/ifup | |
6061dd4f | 327 | %attr(755,root,root) %{_sbindir}/initlog |
328 | %attr(755,root,root) %{_sbindir}/loglevel | |
42b701d8 | 329 | %attr(755,root,root) %{_sbindir}/minilogd |
6061dd4f | 330 | %attr(755,root,root) %{_sbindir}/netreport |
42b701d8 ER |
331 | %attr(755,root,root) %{_sbindir}/ppp-watch |
332 | %attr(755,root,root) %{_sbindir}/service | |
44151f36 | 333 | %attr(755,root,root) %{_sbindir}/setsysfont |
37bcce68 | 334 | %attr(755,root,root) %{_sbindir}/setuidgid |
42b701d8 | 335 | %attr(755,root,root) %{_sbindir}/start-stop-daemon |
2f8e54d1 JB |
336 | %attr(755,root,root) %{_sbindir}/tnldown |
337 | %attr(755,root,root) %{_sbindir}/tnlup | |
42b701d8 | 338 | %attr(4755,root,root) %{_sbindir}/usernetctl |
86bdd490 | 339 | |
ccd7ff27 | 340 | %attr(755,root,root) /lib/firmware/firmware-loader.sh |
54a71628 | 341 | |
8e620fef JR |
342 | %{systemdtmpfilesdir}/rc-scripts.conf |
343 | %{systemdunitdir}/local.service | |
344 | %{systemdunitdir}/rc-local.service | |
345 | %{systemdunitdir}/sys-chroots.service | |
86bdd490 | 346 | |
d9538f62 ER |
347 | %dir /lib/rc-scripts |
348 | %attr(755,root,root) /lib/rc-scripts/ifdown-br | |
349 | %attr(755,root,root) /lib/rc-scripts/ifdown-irda | |
350 | %attr(755,root,root) /lib/rc-scripts/ifdown-post | |
351 | %attr(755,root,root) /lib/rc-scripts/ifdown-ppp | |
352 | %attr(755,root,root) /lib/rc-scripts/ifdown-sl | |
353 | %attr(755,root,root) /lib/rc-scripts/ifdown-vlan | |
354 | /lib/rc-scripts/ifup-aliases | |
3c09146e | 355 | %attr(755,root,root) /lib/rc-scripts/ifup-bond |
d9538f62 ER |
356 | %attr(755,root,root) /lib/rc-scripts/ifup-br |
357 | %attr(755,root,root) /lib/rc-scripts/ifup-ipx | |
358 | %attr(755,root,root) /lib/rc-scripts/ifup-irda | |
359 | %attr(755,root,root) /lib/rc-scripts/ifup-iucv | |
360 | /lib/rc-scripts/ifup-neigh | |
361 | %attr(755,root,root) /lib/rc-scripts/ifup-plip | |
362 | %attr(755,root,root) /lib/rc-scripts/ifup-plusb | |
363 | %attr(755,root,root) /lib/rc-scripts/ifup-post | |
364 | %attr(755,root,root) /lib/rc-scripts/ifup-ppp | |
365 | /lib/rc-scripts/ifup-routes | |
366 | %attr(755,root,root) /lib/rc-scripts/ifup-sl | |
367 | %attr(755,root,root) /lib/rc-scripts/ifup-vlan | |
f8827fa4 | 368 | %attr(755,root,root) /lib/rc-scripts/makepid |
d9538f62 | 369 | /lib/rc-scripts/functions.network |
d7949f65 | 370 | /lib/rc-scripts/functions |
d9538f62 | 371 | |
4dfe9cd1 | 372 | %dir %{_sysconfdir}/ppp |
2f8e54d1 JB |
373 | %attr(754,root,root) %{_sysconfdir}/ppp/auth-down |
374 | %attr(754,root,root) %{_sysconfdir}/ppp/auth-up | |
375 | %attr(754,root,root) %{_sysconfdir}/ppp/ip-down | |
376 | %attr(754,root,root) %{_sysconfdir}/ppp/ip-up | |
377 | %attr(754,root,root) %{_sysconfdir}/ppp/ipv6-down | |
378 | %attr(754,root,root) %{_sysconfdir}/ppp/ipv6-up | |
379 | %attr(754,root,root) %{_sysconfdir}/ppp/ipx-down | |
380 | %attr(754,root,root) %{_sysconfdir}/ppp/ipx-up | |
4dfe9cd1 ER |
381 | %dir /etc/sysconfig/cpusets |
382 | %dir /etc/sysconfig/hwprofiles | |
383 | %dir /etc/sysconfig/interfaces | |
384 | %dir /etc/sysconfig/interfaces/data | |
385 | %dir /etc/sysconfig/isapnp | |
c39424a8 | 386 | |
1a45f1c3 | 387 | %dir /etc/sysconfig/interfaces/down.d |
2f8e54d1 | 388 | %dir /etc/sysconfig/interfaces/down.d/ppp |
96ebd9bc | 389 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/down.d/ppp/logger |
2f8e54d1 JB |
390 | %dir /etc/sysconfig/interfaces/up.d |
391 | %dir /etc/sysconfig/interfaces/up.d/ppp | |
96ebd9bc | 392 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/up.d/ppp/logger |
a044da48 | 393 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/isapnp/isapnp-kernel.conf |
d9538f62 | 394 | |
2e1d561f | 395 | %attr(640,root,root) %ghost /var/log/dmesg |
44151f36 | 396 | %attr(750,root,root) %dir /var/run/netreport |
6061dd4f | 397 | |
a044da48 | 398 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/adjtime |
fbf3861e | 399 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/crypttab |
42b701d8 | 400 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/initlog.conf |
a044da48 JB |
401 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inittab |
402 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modules | |
a044da48 | 403 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sysctl.conf |
42b701d8 | 404 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cpusets/cpuset-test |
a044da48 JB |
405 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/hwprof |
406 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/i18n | |
42b701d8 ER |
407 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/init-colors |
408 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/ifcfg-eth0 | |
a044da48 JB |
409 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/network |
410 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-arp | |
411 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-nat | |
412 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-routes | |
6458099d | 413 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-routes6 |
a044da48 | 414 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/system |
6061dd4f | 415 | |
2ee536a7 ER |
416 | %dir %{_sysconfdir}/sysctl.d |
417 | %dir %{_prefix}/lib/sysctl.d | |
418 | ||
2f8e54d1 JB |
419 | %{_mandir}/man1/consoletype.1* |
420 | %{_mandir}/man1/doexec.1* | |
421 | %{_mandir}/man1/genhostid.1* | |
422 | %{_mandir}/man1/getkey.1* | |
423 | %{_mandir}/man1/initlog.1* | |
424 | %{_mandir}/man1/ipcalc.1* | |
425 | %{_mandir}/man1/netreport.1* | |
426 | %{_mandir}/man1/usleep.1* | |
427 | %{_mandir}/man8/ppp-watch.8* | |
428 | %{_mandir}/man8/start-stop-daemon.8* | |
429 | %{_mandir}/man8/usernetctl.8* | |
69025782 AM |
430 | %lang(de) %{_mandir}/de/man?/* |
431 | %lang(es) %{_mandir}/es/man?/* | |
432 | %lang(fr) %{_mandir}/fr/man?/* | |
433 | %lang(ja) %{_mandir}/ja/man?/* | |
434 | %lang(ru) %{_mandir}/ru/man?/* | |
435 | %lang(sv) %{_mandir}/sv/man?/* | |
73844b1c | 436 | |
4c00b6f6 | 437 | %dir %{localedir} |
72f419db | 438 | %lang(de) %{localedir}/de |
44151f36 | 439 | %lang(pl) %{localedir}/pl |
95675b93 ER |
440 | |
441 | %files -n run-parts | |
442 | %defattr(644,root,root,755) | |
443 | %attr(755,root,root) %{_bindir}/run-parts | |
95675b93 | 444 | %{_mandir}/man8/run-parts.8* |