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