]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- added init path to sanitize vserver stopping
[packages/util-vserver.git] / util-vserver.spec
1 #
2 # m68k and mips are the only not supported archs
3 # Conditional build:
4 %bcond_without  dietlibc        # don't use dietlibc (ask for troubles)
5 %bcond_without  doc             # don't build documentation which needed LaTeX
6 %bcond_with     xalan           # use the xalan xslt processor
7
8 Summary:        Linux virtual server utilities
9 Summary(pl):    Narzêdzia dla linuksowych serwerów wirtualnych
10 Name:           util-vserver
11 Version:        0.30.208
12 Release:        2.7
13 License:        GPL
14 Group:          Applications/System
15 Source0:        http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
16 # Source0-md5:  4453ad0ae7f351fec651d6904e00521f
17 Source1:        vprocunhide.init
18 Source2:        vservers-default.init
19 Source3:        vservers-legacy.init
20 Source4:        rebootmgr.init
21 Source5:        vservers-default.sysconfig
22 Source6:        vservers-legacy.sysconfig
23 # A bit of documentation explaining package menagement
24 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
25 Source7:        %{name}-pkgmgmt.txt
26 Patch0:         %{name}-vsysvwrapper.patch
27 Patch1:         %{name}-pld.patch
28 Patch2:         %{name}-build-poldek.patch
29 Patch3:         %{name}-include.patch
30 Patch4:         %{name}-m4-diet.patch
31 Patch5:         http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-kheaders.diff
32 Patch6:         http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-shiny6.diff
33 Patch7:         %{name}-cpuset.patch
34 Patch8:         %{name}-build-umask.patch
35 Patch9:         %{name}-vwait-timeout-fix.patch
36 Patch10:        %{name}-mounted.patch
37 Patch11:        %{name}-init.patch
38 URL:            http://savannah.nongnu.org/projects/util-vserver/
39 BuildRequires:  autoconf
40 BuildRequires:  automake >= 1.9
41 BuildRequires:  beecrypt-devel
42 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
43 BuildRequires:  libstdc++-devel
44 BuildRequires:  libtool >= 1.5.14
45 %ifarch %{x8664}
46 BuildRequires:  sed >= 4.0
47 %endif
48 %if %{with doc}
49 BuildRequires:  doxygen
50 BuildRequires:  graphviz
51 BuildRequires:  libxslt-progs
52 BuildRequires:  tetex-format-pdflatex
53 BuildRequires:  tetex-makeindex
54 %{?with_xalan:BuildRequires:    xalan-j}
55 %endif
56 Requires:       rc-scripts
57 Requires:       util-linux
58 Requires(post,preun):   /sbin/chkconfig
59 Requires:       %{name}-lib = %{version}-%{release}
60 Obsoletes:      util-vserver-core
61 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63 # for adapter
64 %define         _usrbin         /usr/bin
65 %define         _usrsbin        /usr/sbin
66 %define         _usrlib         /usr/lib
67
68 %description
69 This package provides the components and a framework to setup virtual
70 servers. A virtual server runs inside a Linux server. It is
71 nevertheless highly independent. As such, you can run various services
72 with normal configuration. The various vservers can't interact with
73 each other and can't interact with services in the main server.
74
75 This requires a special kernel supporting the new new_s_context and
76 set_ipv4root system call.
77
78 This package contains utilities which are required to communicate with
79 the Linux-Vserver enabled kernel.
80
81 %description -l pl
82 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
83 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
84 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
85 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
86 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
87
88 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
89 new_s_context i set_ipv4root.
90
91 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
92 w³±czonym mechanizmem Linux-Vserver.
93
94 %package devel
95 Summary:        Development files for Linux vserver libraries
96 Summary(pl):    Pliki programistyczne dla bibliotek linuksowego vserwera
97 Group:          Development/Libraries
98 Requires:       %{name}-lib = %{version}-%{release}
99
100 %description devel
101 This package contains the development files necessary for developing
102 programs which use vserver library.
103
104 %description devel -l pl
105 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
106 programów u¿ywaj±cych biblioteki vserver.
107
108 %package static
109 Summary:        Static vserver library
110 Summary(pl):    Biblioteka statyczna vservera
111 Group:          Development/Libraries
112 Requires:       %{name}-devel = %{version}-%{release}
113
114 %description static
115 This package contains the static version of vserver library.
116
117 %description static -l pl
118 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
119
120 %package lib
121 Summary:        Dynamic libraries for util-vserver
122 Summary(pl):    Biblioteki dynamiczne dla pakietu util-vserver
123 Group:          Libraries
124
125 %description lib
126 util-vserver provides the components and a framework to setup virtual
127 servers. A virtual server runs inside a linux server. It is
128 nevertheless highly independent. As such, you can run various services
129 with normal configuration. The various vservers can't interact with
130 each other and can't interact with services in the main server.
131
132 This package contains the shared libraries needed by all other
133 'util-vserver' subpackages.
134
135 %description lib -l pl
136 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
137 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
138 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
139 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
140 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
141
142 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
143 podpakiety util-vserver.
144
145 %package build
146 Summary:        Tools which can be used to build vservers
147 Summary(pl):    Narzêdzia do budowania vserverów
148 Group:          Applications/System
149 Requires:       binutils
150 Requires:       e2fsprogs
151 Requires:       rpm
152 Requires:       tar
153 Requires:       wget
154 Conflicts:      poldek < 0.18.8-10
155 Requires:       %{name} = %{version}-%{release}
156
157 %description build
158 util-vserver provides the components and a framework to setup virtual
159 servers. A virtual server runs inside a linux server. It is
160 nevertheless highly independent. As such, you can run various services
161 with normal configuration. The various vservers can't interact with
162 each other and can't interact with services in the main server.
163
164 This package contains utilities which assist in building Vservers.
165
166 %description build -l pl
167 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
168 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
169 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
170 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
171 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
172
173 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
174
175 %package init
176 Summary:        initscripts for vserver
177 Summary(pl):    Skrypty inicjalizuj±ce dla vserwera
178 Group:          Applications/System
179 Requires(post,preun):   /sbin/chkconfig
180 Requires:       %{name} = %{version}-%{release}
181 Requires:       diffutils
182 Requires:       make
183 Requires:       rc-scripts
184
185 %description init
186 util-vserver provides the components and a framework to setup virtual
187 servers. A virtual server runs inside a linux server. It is
188 nevertheless highly independent. As such, you can run various services
189 with normal configuration. The various vservers can't interact with
190 each other and can't interact with services in the main server.
191
192 This package contains the SysV initscripts which start and stop
193 Vservers and related tools.
194
195 %description init -l pl
196 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
197 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
198 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
199 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
200 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
201
202 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
203 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
204
205 %package legacy
206 Summary:        Legacy utilities for util-vserver
207 Summary(pl):    Stare narzêdzia dla util-vserver
208 Group:          Applications/System
209 Requires(post,preun):   /sbin/chkconfig
210 Requires:       %{name} = %{version}-%{release}
211 Requires:       rc-scripts
212
213 %description legacy
214 util-vserver provides the components and a framework to setup virtual
215 servers. A virtual server runs inside a linux server. It is
216 nevertheless highly independent. As such, you can run various services
217 with normal configuration. The various vservers can't interact with
218 each other and can't interact with services in the main server.
219
220 This package contains the tools which are needed to work with Vservers
221 having an old-style configuration.
222
223 %description legacy -l pl
224 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
225 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
226 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
227 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
228 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
229
230 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
231 konfiguracjê w starym stylu.
232
233 %package -n vserver-dev
234 Summary:        /dev entries for systems in Vservers
235 Summary(pl):    Pliki specjalne /dev/* dla systemów w Vserwerach
236 Group:          Base
237 Requires:       setup >= 2.4.1-2
238 Provides:       dev = 2.9.0-19
239 Provides:       devfs
240 AutoReqProv:    no
241
242 %description -n vserver-dev
243 Unix and unix like systems (including Linux) use file system entries
244 to represent devices attached to the machine. All of these entries are
245 in the /dev tree (though they don't have to be), and this package
246 contains only entries needed for a system running inside Vserver.
247
248 DO NOT install this package for a normal system!
249
250 %description -n vserver-dev -l pl
251 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
252 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
253 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
254 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
255
256 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
257
258 %prep
259 %setup -q
260 %patch0 -p1
261 %patch1 -p1
262 %patch2 -p1
263 %patch3 -p1
264 %patch4 -p1
265 %patch5 -p1
266 %patch6 -p1
267 %patch7 -p1
268 %patch8 -p1
269 %patch9 -p1
270 %patch10 -p1
271 %patch11 -p1
272
273 install %{SOURCE7} package-menagament.txt
274
275 cp -a compat.h vserver-compat.h
276
277 %build
278 %if %{with dietlibc}
279 CFLAGS="%{rpmcflags} -D__GLIBC__"
280 %endif
281 %{__aclocal} -I m4
282 %{__automake}
283 %{__autoconf}
284 %configure \
285         --with-initrddir=/etc/rc.d/init.d \
286         --enable-release \
287         %{?with_dietlibc:--enable-dietlibc} \
288         %{!?with_dietlibc:--disable-dietlibc} \
289         MKTEMP=/bin/mktemp \
290         MOUNT=/bin/mount \
291         PS=/bin/ps \
292         UMOUNT=/bin/umount \
293         IP=/sbin/ip \
294         IPTABLES=%{_usrsbin}/iptables \
295         MODPROBE=/sbin/modprobe \
296         NAMEIF=/sbin/nameif \
297         RMMOD=/sbin/rmmod \
298         VCONFIG=/sbin/vconfig \
299         WGET=%{_usrbin}/wget \
300
301 %{__make} all
302 %{?with_doc:%{__make} doc}
303
304 %install
305 rm -rf $RPM_BUILD_ROOT
306 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
307
308 %{__make} install install-distribution \
309         DESTDIR=$RPM_BUILD_ROOT
310
311 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
312
313 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
314
315 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
316 install -d $RPM_BUILD_ROOT/vservers/.pkg
317 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
318 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
319
320 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
321         s=`basename $i | sed s/v_//`
322         cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
323 # IP addresses/interfaces to bound $s service to
324 #IP=10.0.0.1
325 #IP=eth0
326 EOF
327 done
328
329 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
330         $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
331 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
332         $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
333 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
334         $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
335 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
336         $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
337
338 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
339 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
340
341 ln -sf null $RPM_BUILD_ROOT/dev/initctl
342
343 %ifarch %{x8664}
344 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
345 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
346 %endif
347
348 %clean
349 rm -rf $RPM_BUILD_ROOT
350
351 %post
352 %{_sbindir}/setattr --barrier /vservers || :
353
354 %post   lib -p /sbin/ldconfig
355 %postun lib -p /sbin/ldconfig
356
357 %post init
358 /sbin/chkconfig --add vservers-default
359 /sbin/chkconfig --add vprocunhide
360 if [ ! -f /var/lock/subsys/vprocunhide ]; then
361         echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
362 fi
363 if [ ! -f /var/lock/subsys/vservers-default ]; then
364         echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
365 fi
366
367 %preun init
368 if [ "$1" = "0" ]; then
369         if [ -r /var/lock/subsys/vprocunhide ]; then
370                 /etc/rc.d/init.d/vprocunhide stop >&2
371         fi
372         if [ -r /var/lock/subsys/vservers-default ]; then
373                 /etc/rc.d/init.d/vservers-default stop >&2
374         fi
375         /sbin/chkconfig --del vprocunhide
376         /sbin/chkconfig --del vservers-default
377 fi
378
379 %post legacy
380 /sbin/chkconfig --add rebootmgr
381 /sbin/chkconfig --add vservers-legacy
382 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
383         echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
384 fi
385 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
386         echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
387 fi
388
389 %preun legacy
390 if [ "$1" = "0" ]; then
391         if [ -r /var/lock/subsys/rebootmgr ] ; then
392                 /etc/rc.d/init.d/rebootmgr stop >&2
393         fi
394         if [ -r /var/lock/subsys/vservers-legacy ] ; then
395                 /etc/rc.d/init.d/vservers-legacy stop >&2
396         fi
397         /sbin/chkconfig --del rebootmgr
398         /sbin/chkconfig --del vservers-legacy
399 fi
400
401 %files
402 %defattr(644,root,root,755)
403 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
404 %{?with_doc:%doc doc/*.html}
405 %dir %{_sysconfdir}/vservers
406 %dir %{_sysconfdir}/vservers/.defaults
407 %dir %{_sysconfdir}/vservers/.defaults/apps
408 %dir %{_sysconfdir}/vservers/.defaults/files
409 %{_sysconfdir}/vservers/.defaults/vdirbase
410 %{_sysconfdir}/vservers/.defaults/run.rev
411 %{_sysconfdir}/vservers/vdirbase
412 %{_sysconfdir}/vservers/run.rev
413 /sbin/vshelper
414 %attr(755,root,root) %{_sbindir}/chbind
415 %attr(755,root,root) %{_sbindir}/chcontext
416 %attr(755,root,root) %{_sbindir}/chxid
417 %attr(755,root,root) %{_sbindir}/exec-cd
418 %attr(755,root,root) %{_sbindir}/lsxid
419 %attr(755,root,root) %{_sbindir}/reducecap
420 %attr(755,root,root) %{_sbindir}/setattr
421 %attr(755,root,root) %{_sbindir}/showattr
422 %attr(755,root,root) %{_sbindir}/vattribute
423 %attr(755,root,root) %{_sbindir}/vcontext
424 %attr(755,root,root) %{_sbindir}/vdlimit
425 %attr(755,root,root) %{_sbindir}/vnamespace
426 %attr(755,root,root) %{_sbindir}/vkill
427 %attr(755,root,root) %{_sbindir}/vlimit
428 %attr(755,root,root) %{_sbindir}/vdu
429 %attr(755,root,root) %{_sbindir}/vps
430 %attr(755,root,root) %{_sbindir}/vpstree
431 %attr(755,root,root) %{_sbindir}/vrsetup
432 %attr(755,root,root) %{_sbindir}/vsched
433 %attr(755,root,root) %{_sbindir}/vserver
434 %attr(755,root,root) %{_sbindir}/vserver-info
435 %attr(755,root,root) %{_sbindir}/vserver-stat
436 %attr(755,root,root) %{_sbindir}/vsomething
437 %attr(755,root,root) %{_sbindir}/vtop
438 %attr(755,root,root) %{_sbindir}/vuname
439 %attr(755,root,root) %{_sbindir}/vwait
440 %dir %{_libdir}/%{name}
441 %dir %{_libdir}/%{name}/defaults
442 %{_libdir}/%{name}/FEATURES.txt
443 %{_libdir}/%{name}/util-vserver-vars
444 %{_libdir}/%{name}/defaults/*
445 %attr(755,root,root) %{_libdir}/%{name}/capchroot
446 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
447 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
448 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
449 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
450 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
451 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
452 %attr(755,root,root) %{_libdir}/%{name}/filetime
453 %{_libdir}/%{name}/functions
454 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
455 %attr(755,root,root) %{_libdir}/%{name}/lockfile
456 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
457 %attr(755,root,root) %{_libdir}/%{name}/readlink
458 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
459 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
460 %attr(755,root,root) %{_libdir}/%{name}/sigexec
461 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
462 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
463 %{_libdir}/%{name}/vserver.*
464 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
465 %attr(755,root,root) %{_libdir}/%{name}/vshelper
466 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
467 %{_mandir}/man8/chbind.8*
468 %{_mandir}/man8/chcontext.8*
469 %{_mandir}/man8/reducecap.8*
470 %{_mandir}/man8/vps.8*
471 %{_mandir}/man8/vpstree.8*
472 %{_mandir}/man8/vserver-stat.8*
473 %{_mandir}/man8/vserver.8*
474 %{_mandir}/man8/vtop.8*
475 %attr(000,root,root) %dir /vservers
476 %attr(755,root,root) %dir /vservers/.pkg
477 %dir %{_localstatedir}/run/vservers
478 %dir %{_localstatedir}/run/vservers.rev
479 %dir %{_localstatedir}/run/vshelper
480
481 %files devel
482 %defattr(644,root,root,755)
483 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
484 %attr(755,root,root) %{_libdir}/lib*.so
485 %{_libdir}/lib*.la
486 %{_includedir}/vserver*.h
487 %{_pkgconfigdir}/*.pc
488
489 %files static
490 %defattr(644,root,root,755)
491 %{_libdir}/libvserver.a
492
493 %files lib
494 %defattr(644,root,root,755)
495 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
496
497 %files init
498 %defattr(644,root,root,755)
499 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
500 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
501 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
502 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
503
504 %files build
505 %defattr(644,root,root,755)
506 %doc contrib/yum*.patch package-menagament.txt
507 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
508 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
509 %dir %{_sysconfdir}/vservers/.distributions
510 %dir %{_sysconfdir}/vservers/.distributions/.common
511 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
512 %dir %{_sysconfdir}/vservers/.distributions/[frs]*
513 %dir %{_sysconfdir}/vservers/.distributions/[frs]*/apt
514 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
515 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
516 %{_sysconfdir}/vservers/.distributions/pld1.99
517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/[frs]*/apt/sources.list
518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
519 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
520 %dir %{_libdir}/%{name}/distributions
521 %attr(-, root, root) %{_libdir}/%{name}/distributions/*
522 %{_libdir}/%{name}/vserver-build.*
523 %{_libdir}/%{name}/vserver-setup.functions
524 %{_libdir}/%{name}/defaults/fstab
525 %{_libdir}/%{name}/defaults/debootstrap.uri
526 %{_libdir}/%{name}/defaults/vunify-exclude
527 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
528 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
529 %attr(755,root,root) %{_libdir}/%{name}/vcopy
530 %attr(755,root,root) %{_libdir}/%{name}/vhashify
531 %attr(755,root,root) %{_libdir}/%{name}/vpkg
532 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
533 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
534 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
535 %attr(755,root,root) %{_libdir}/%{name}/vunify
536 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
537 %attr(755,root,root) %{_sbindir}/vapt-get
538 %attr(755,root,root) %{_sbindir}/vpoldek
539 %attr(755,root,root) %{_sbindir}/vrpm
540 %attr(755,root,root) %{_sbindir}/vyum
541
542 %files legacy
543 %defattr(644,root,root,755)
544 %dir %{_sysconfdir}/vservices
545 %{_sysconfdir}/vservices/*
546 %dir %{_libdir}/%{name}/legacy
547 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
548 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
549 %attr(754,root,root) /etc/rc.d/init.d/v_*
550 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
551 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
552 %attr(755,root,root) %{_sbindir}/vserver-copy
553 %{_mandir}/man8/distrib-info.8*
554 %{_mandir}/man8/rebootmgr.8*
555 %{_mandir}/man8/vserver-copy.8*
556
557 %files -n vserver-dev
558 %defattr(644,root,root,755)
559 %dir /dev/pts
560 %dev(c,1,7) %attr(666,root,root) /dev/full
561 %dev(c,1,3) %attr(666,root,root) /dev/null
562 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
563 %dev(c,1,8) %attr(644,root,root) /dev/random
564 %dev(c,5,0) %attr(666,root,root) /dev/tty
565 %dev(c,1,9) %attr(644,root,root) /dev/urandom
566 %dev(c,1,5) %attr(666,root,root) /dev/zero
567 /dev/initctl
This page took 0.0702159999999999 seconds and 4 git commands to generate.