2 # - somewhy empty /var/cache/vservers is needed when building pld vserver
3 # - make build create /dev/std{in,out,err} links
5 # m68k and mips are the only not supported archs
8 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
9 %bcond_without doc # don't build documentation which needed LaTeX
10 %bcond_with xalan # use the xalan xslt processor
12 %define _vproc_version 0.01
13 # fails with ccache in %{__cc}
16 Summary: Linux virtual server utilities
17 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
22 Group: Applications/System
23 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
24 # Source0-md5: 1e8fff7cb6246d21ed029f082123019b
25 Source1: vprocunhide.init
26 Source2: vservers.init
27 Source3: vservers-legacy.init
28 Source4: rebootmgr.init
29 Source5: vservers.sysconfig
30 Source6: vservers-legacy.sysconfig
31 Source7: vrootdevices.init
32 Source8: vrootdevices.sysconfig
33 # A bit of documentation explaining package management
34 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
35 Source9: %{name}-pkgmgmt.txt
36 Source10: %{name}-initpost.sh
37 Source11: http://www.13thfloor.at/vserver/s_release/v1.2.10/vproc-%{_vproc_version}.tar.bz2
38 # Source11-md5: 1d030717bdbc958ea4b35fd2410dad85
39 Patch0: %{name}-vsysvwrapper.patch
40 Patch1: %{name}-pld.patch
41 Patch2: %{name}-vrpm.patch
42 Patch3: %{name}-include.patch
43 Patch4: %{name}-m4-diet.patch
44 Patch5: %{name}-cpuset.patch
45 Patch6: %{name}-build-umask.patch
46 Patch7: %{name}-utmpx.patch
47 Patch8: %{name}-vprocunhide.patch
48 Patch9: %{name}-dev.patch
49 URL: http://savannah.nongnu.org/projects/util-vserver/
50 BuildRequires: autoconf
51 BuildRequires: automake >= 1.9
52 BuildRequires: beecrypt-devel
53 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
54 BuildRequires: libstdc++-devel
55 BuildRequires: libtool >= 1.5.14
57 BuildRequires: sed >= 4.0
59 BuildRequires: rpmbuild(macros) >= 1.268
61 BuildRequires: doxygen
62 BuildRequires: graphviz
63 BuildRequires: libxslt-progs
64 BuildRequires: tetex-format-pdflatex
65 BuildRequires: tetex-makeindex
66 # To be removed when tetex-format-pdflatex, tetex-pdftex...
67 # ...and graphviz packages get fixed
68 BuildRequires: ghostscript
69 BuildRequires: ghostscript-fonts-std
70 BuildRequires: tetex-fonts-jknappen
71 BuildRequires: tetex-metafont
72 %{?with_xalan:BuildRequires: xalan-j}
74 Requires(post,preun): /sbin/chkconfig
75 Requires: %{name}-lib = %{version}-%{release}
79 Obsoletes: util-vserver-core
80 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83 %define _usrbin /usr/bin
84 %define _usrsbin /usr/sbin
85 %define _usrlib /usr/lib
88 This package provides the components and a framework to setup virtual
89 servers. A virtual server runs inside a Linux server. It is
90 nevertheless highly independent. As such, you can run various services
91 with normal configuration. The various vservers can't interact with
92 each other and can't interact with services in the main server.
94 This requires a special kernel supporting the new new_s_context and
95 set_ipv4root system call.
97 This package contains utilities which are required to communicate with
98 the Linux-Vserver enabled kernel.
101 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
102 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
103 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
104 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
105 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
107 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
108 new_s_context i set_ipv4root.
110 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
111 w³±czonym mechanizmem Linux-Vserver.
114 Summary: Development files for Linux vserver libraries
115 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
116 Group: Development/Libraries
117 Requires: %{name}-lib = %{version}-%{release}
120 This package contains the development files necessary for developing
121 programs which use vserver library.
123 %description devel -l pl
124 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
125 programów u¿ywaj±cych biblioteki vserver.
128 Summary: Static vserver library
129 Summary(pl): Biblioteka statyczna vservera
130 Group: Development/Libraries
131 Requires: %{name}-devel = %{version}-%{release}
134 This package contains the static version of vserver library.
136 %description static -l pl
137 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
140 Summary: Dynamic libraries for util-vserver
141 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
145 util-vserver provides the components and a framework to setup virtual
146 servers. A virtual server runs inside a linux server. It is
147 nevertheless highly independent. As such, you can run various services
148 pith normal configuration. The various vservers can't interact with
149 each other and can't interact with services in the main server.
151 This package contains the shared libraries needed by all other
152 'util-vserver' subpackages.
154 %description lib -l pl
155 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
156 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
157 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
158 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
159 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
161 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
162 podpakiety util-vserver.
165 Summary: Tools which can be used to build vservers
166 Summary(pl): Narzêdzia do budowania vserverów
167 Group: Applications/System
168 Requires: %{name} = %{version}-%{release}
170 Conflicts: poldek < 0.18.8-10
173 util-vserver provides the components and a framework to setup virtual
174 servers. A virtual server runs inside a linux server. It is
175 nevertheless highly independent. As such, you can run various services
176 with normal configuration. The various vservers can't interact with
177 each other and can't interact with services in the main server.
179 This package contains utilities which assist in building Vservers.
181 %description build -l pl
182 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
183 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
184 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
185 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
186 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
188 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
190 %package -n vserver-distro-fedora
191 Summary: VServer build templates for Fedora Core
192 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
193 Group: Applications/System
194 Requires: %{name} = %{version}-%{release}
201 %description -n vserver-distro-fedora
202 VServer build templates for Fedora Core 1,2,3,4.
204 %description -n vserver-distro-fedora -l pl
205 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
207 %package -n vserver-distro-redhat
208 Summary: VServer build template for Red Hat Linux 9
209 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
210 Group: Applications/System
211 Requires: %{name} = %{version}-%{release}
218 %description -n vserver-distro-redhat
219 VServer build template for RedHat Linux 9.
221 %description -n vserver-distro-redhat -l pl
222 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
224 %package -n vserver-distro-suse
225 Summary: VServer build template for SuSE 9.1
226 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
227 Group: Applications/System
228 Requires: %{name} = %{version}-%{release}
235 %description -n vserver-distro-suse
236 VServer build template for SuSE Linux 9.1.
238 %description -n vserver-distro-suse -l pl
239 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
241 %package -n vserver-distro-centos
242 Summary: VServer build template for CentOS 4.2
243 Summary(pl): Szablon budowania VServera dla CentOS 4.2
244 Group: Applications/System
245 Requires: util-vserver-build
248 %description -n vserver-distro-centos
249 VServer build template for CentOS 4.2.
251 %description -n vserver-distro-centos -l pl
252 Szablon budowania VServera dla CentOS 4.2.
255 Summary: initscripts for vserver
256 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
257 Group: Applications/System
258 Requires(post,preun): /sbin/chkconfig
259 Requires: %{name} = %{version}-%{release}
265 util-vserver provides the components and a framework to setup virtual
266 servers. A virtual server runs inside a linux server. It is
267 nevertheless highly independent. As such, you can run various services
268 with normal configuration. The various vservers can't interact with
269 each other and can't interact with services in the main server.
271 This package contains the SysV initscripts which start and stop
272 Vservers and related tools.
274 %description init -l pl
275 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
276 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
277 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
278 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
279 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
281 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
282 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
285 Summary: Legacy utilities for util-vserver
286 Summary(pl): Stare narzêdzia dla util-vserver
287 Group: Applications/System
288 Requires(post,preun): /sbin/chkconfig
289 Requires: %{name} = %{version}-%{release}
293 util-vserver provides the components and a framework to setup virtual
294 servers. A virtual server runs inside a linux server. It is
295 nevertheless highly independent. As such, you can run various services
296 with normal configuration. The various vservers can't interact with
297 each other and can't interact with services in the main server.
299 This package contains the tools which are needed to work with Vservers
300 having an old-style configuration.
302 %description legacy -l pl
303 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
304 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
305 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
306 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
307 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
309 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
310 konfiguracjê w starym stylu.
325 install %{SOURCE9} package-management.txt
327 cp -a compat.h vserver-compat.h
331 CFLAGS="%{rpmcflags} -D__GLIBC__"
337 --with-initrddir=/etc/rc.d/init.d \
339 --enable-apis=NOLEGACY \
340 %{?with_dietlibc:--enable-dietlibc} \
341 %{!?with_dietlibc:--disable-dietlibc} \
347 IPTABLES=%{_usrsbin}/iptables \
348 MODPROBE=/sbin/modprobe \
349 NAMEIF=/sbin/nameif \
351 VCONFIG=/sbin/vconfig \
352 WGET=%{_usrbin}/wget \
355 %{?with_doc:%{__make} doc}
357 %{__make} -C vproc-%{_vproc_version} \
359 CFLAGS="%{rpmcflags}"
362 rm -rf $RPM_BUILD_ROOT
363 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
365 %{__make} install install-distribution \
366 DESTDIR=$RPM_BUILD_ROOT
368 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
370 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
372 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
373 install -d $RPM_BUILD_ROOT/vservers/.pkg
374 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
375 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
377 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
378 s=`basename $i | sed s/v_//`
379 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
380 # IP addresses/interfaces to bound $s service to
386 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
387 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
388 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
389 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
390 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
391 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
392 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
393 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
394 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
395 $RPM_BUILD_ROOT/etc/sysconfig/vservers
397 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
399 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
400 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
401 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
402 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
404 ln -sf null $RPM_BUILD_ROOT/dev/initctl
407 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
408 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
411 # baggins check this: needed but seems unused
412 install -d $RPM_BUILD_ROOT/var/cache/vservers
415 rm -rf $RPM_BUILD_ROOT
418 %{_sbindir}/setattr --barrier /vservers || :
420 %post lib -p /sbin/ldconfig
421 %postun lib -p /sbin/ldconfig
424 /sbin/chkconfig --add vrootdevices
425 /sbin/chkconfig --add vprocunhide
426 /sbin/chkconfig --add vservers
427 if [ ! -f /var/lock/subsys/vrootdevices ]; then
428 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
430 if [ ! -f /var/lock/subsys/vprocunhide ]; then
431 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
433 if [ ! -f /var/lock/subsys/vservers ]; then
434 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
438 if [ "$1" = "0" ]; then
439 %service vservers stop
440 %service vprocunhide stop
441 %service vrootdevices stop
442 /sbin/chkconfig --del vservers
443 /sbin/chkconfig --del vprocunhide
444 /sbin/chkconfig --del vrootdevices
448 /sbin/chkconfig --add rebootmgr
449 /sbin/chkconfig --add vservers-legacy
450 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
451 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
453 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
454 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
458 if [ "$1" = "0" ]; then
459 %service rebootmgr stop
460 %service vservers-legacy stop
461 /sbin/chkconfig --del rebootmgr
462 /sbin/chkconfig --del vservers-legacy
465 %triggerpostun build -- %{name}-build < 0.30.210-5.2
466 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
467 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
470 # kill old vserver specific package ignores which are no longer needed
471 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
473 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
477 %defattr(644,root,root,755)
478 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
479 %{?with_doc:%doc doc/*.html}
480 %dir %{_sysconfdir}/vservers
481 %dir %{_sysconfdir}/vservers/.defaults
482 %dir %{_sysconfdir}/vservers/.defaults/apps
483 %dir %{_sysconfdir}/vservers/.defaults/files
484 %{_sysconfdir}/vservers/.defaults/vdirbase
485 %{_sysconfdir}/vservers/.defaults/run.rev
486 %{_sysconfdir}/vservers/vdirbase
487 %{_sysconfdir}/vservers/run.rev
489 %attr(755,root,root) %{_sbindir}/chbind
490 %attr(755,root,root) %{_sbindir}/chcontext
491 %attr(755,root,root) %{_sbindir}/chxid
492 %attr(755,root,root) %{_sbindir}/exec-cd
493 %attr(755,root,root) %{_sbindir}/lsxid
494 %attr(755,root,root) %{_sbindir}/reducecap
495 %attr(755,root,root) %{_sbindir}/setattr
496 %attr(755,root,root) %{_sbindir}/showattr
497 %attr(755,root,root) %{_sbindir}/vattribute
498 %attr(755,root,root) %{_sbindir}/vcontext
499 %attr(755,root,root) %{_sbindir}/vdlimit
500 %attr(755,root,root) %{_sbindir}/vnamespace
501 %attr(755,root,root) %{_sbindir}/vkill
502 %attr(755,root,root) %{_sbindir}/vlimit
503 %attr(755,root,root) %{_sbindir}/vdu
504 %attr(755,root,root) %{_sbindir}/vproc
505 %attr(755,root,root) %{_sbindir}/vps
506 %attr(755,root,root) %{_sbindir}/vpstree
507 %attr(755,root,root) %{_sbindir}/vrsetup
508 %attr(755,root,root) %{_sbindir}/vsched
509 %attr(755,root,root) %{_sbindir}/vserver
510 %attr(755,root,root) %{_sbindir}/vserver-info
511 %attr(755,root,root) %{_sbindir}/vserver-stat
512 %attr(755,root,root) %{_sbindir}/vsomething
513 %attr(755,root,root) %{_sbindir}/vtop
514 %attr(755,root,root) %{_sbindir}/vuname
515 %attr(755,root,root) %{_sbindir}/vwait
516 %dir %{_libdir}/%{name}
517 %dir %{_libdir}/%{name}/defaults
518 %{_libdir}/%{name}/FEATURES.txt
519 %{_libdir}/%{name}/util-vserver-vars
520 %{_libdir}/%{name}/defaults/*
521 %attr(755,root,root) %{_libdir}/%{name}/capchroot
522 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
523 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
524 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
525 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
526 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
527 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
528 %attr(755,root,root) %{_libdir}/%{name}/filetime
529 %{_libdir}/%{name}/functions
530 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
531 %attr(755,root,root) %{_libdir}/%{name}/lockfile
532 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
533 %attr(755,root,root) %{_libdir}/%{name}/readlink
534 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
535 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
536 %attr(755,root,root) %{_libdir}/%{name}/sigexec
537 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
538 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
539 %{_libdir}/%{name}/vserver.*
540 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
541 %attr(755,root,root) %{_libdir}/%{name}/vshelper
542 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
543 %{_mandir}/man8/chbind.8*
544 %{_mandir}/man8/chcontext.8*
545 %{_mandir}/man8/reducecap.8*
546 %{_mandir}/man8/vps.8*
547 %{_mandir}/man8/vpstree.8*
548 %{_mandir}/man8/vserver-stat.8*
549 %{_mandir}/man8/vserver.8*
550 %{_mandir}/man8/vtop.8*
551 %attr(000,root,root) %dir /vservers
552 %attr(755,root,root) %dir /vservers/.pkg
553 %dir %{_localstatedir}/run/vservers
554 %dir %{_localstatedir}/run/vservers.rev
555 %dir %{_localstatedir}/run/vshelper
556 %dir /var/cache/vservers
559 %defattr(644,root,root,755)
560 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
561 %attr(755,root,root) %{_libdir}/lib*.so
563 %{_includedir}/vserver*.h
564 %{_pkgconfigdir}/*.pc
567 %defattr(644,root,root,755)
568 %{_libdir}/libvserver.a
571 %defattr(644,root,root,755)
572 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
575 %defattr(644,root,root,755)
576 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
577 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
578 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
579 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
580 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
581 %attr(754,root,root) /etc/rc.d/init.d/vservers
584 %defattr(644,root,root,755)
585 %doc contrib/yum*.patch package-management.txt
586 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
587 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
588 %dir %{_sysconfdir}/vservers/.distributions
589 %dir %{_sysconfdir}/vservers/.distributions/.common
590 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
591 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
592 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
593 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
594 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
595 %dir %{_libdir}/%{name}/distributions
596 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
597 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
598 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
599 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
600 %{_libdir}/%{name}/vserver-build.*
601 %{_libdir}/%{name}/vserver-setup.functions
602 %{_libdir}/%{name}/defaults/fstab
603 %{_libdir}/%{name}/defaults/debootstrap.uri
604 %{_libdir}/%{name}/defaults/vunify-exclude
605 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
606 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
607 %attr(755,root,root) %{_libdir}/%{name}/vcopy
608 %attr(755,root,root) %{_libdir}/%{name}/vhashify
609 %attr(755,root,root) %{_libdir}/%{name}/vpkg
610 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
611 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
612 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
613 %attr(755,root,root) %{_libdir}/%{name}/vunify
614 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
615 %attr(755,root,root) %{_sbindir}/vapt-get
616 %attr(755,root,root) %{_sbindir}/vpoldek
617 %attr(755,root,root) %{_sbindir}/vrpm
618 %attr(755,root,root) %{_sbindir}/vyum
620 %files -n vserver-distro-fedora
621 %defattr(644,root,root,755)
622 %dir %{_sysconfdir}/vservers/.distributions/fc*
623 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
624 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
625 %{_libdir}/%{name}/distributions/fc*
627 %files -n vserver-distro-redhat
628 %defattr(644,root,root,755)
629 %dir %{_sysconfdir}/vservers/.distributions/rh*
630 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
632 %{_libdir}/%{name}/distributions/rh*
634 %files -n vserver-distro-suse
635 %defattr(644,root,root,755)
636 %dir %{_sysconfdir}/vservers/.distributions/suse*
637 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
639 %{_libdir}/%{name}/distributions/suse*
641 %files -n vserver-distro-centos
642 %defattr(644,root,root,755)
643 %{_libdir}/util-vserver/distributions/centos42
646 %defattr(644,root,root,755)
647 %dir %{_sysconfdir}/vservices
648 %{_sysconfdir}/vservices/*
649 %dir %{_libdir}/%{name}/legacy
650 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
651 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
652 %attr(754,root,root) /etc/rc.d/init.d/v_*
653 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
654 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
655 %attr(755,root,root) %{_sbindir}/vserver-copy
656 %{_mandir}/man8/distrib-info.8*
657 %{_mandir}/man8/rebootmgr.8*
658 %{_mandir}/man8/vserver-copy.8*