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_without no_dynamic_context # disable enforcement of disabled dynamic context
11 %bcond_with xalan # use the xalan xslt processor
13 %define _vproc_version 0.01
14 # diet compile fails with ccache in %{__cc}
17 Summary: Linux virtual server utilities
18 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
23 Group: Applications/System
24 Source0: http://ftp.linux-vserver.org/pub/utils/util-vserver/%{name}-%{version}.tar.bz2
25 # Source0-md5: 386b91732b7f0f132b4e9d978389dcc2
26 Source1: vprocunhide.init
27 Source2: vservers.init
28 Source3: vservers-legacy.init
29 Source4: rebootmgr.init
30 Source5: vservers.sysconfig
31 Source6: vservers-legacy.sysconfig
32 Source7: vrootdevices.init
33 Source8: vrootdevices.sysconfig
34 # A bit of documentation explaining package management
35 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
36 Source9: %{name}-pkgmgmt.txt
37 Source10: %{name}-initpost.sh
38 Source11: http://www.13thfloor.at/vserver/s_release/v1.2.10/vproc-%{_vproc_version}.tar.bz2
39 # Source11-md5: 1d030717bdbc958ea4b35fd2410dad85
40 Source12: %{name}-vhashify.cron
41 Patch0: %{name}-vsysvwrapper.patch
42 Patch1: %{name}-pld.patch
43 Patch2: %{name}-vrpm.patch
44 Patch3: %{name}-include.patch
45 Patch4: %{name}-m4-diet.patch
46 Patch6: %{name}-build-umask.patch
47 Patch7: %{name}-utmpx.patch
48 Patch8: %{name}-vprocunhide.patch
49 Patch9: %{name}-dev.patch
50 Patch10: %{name}-no-dynamic-ctx.patch
51 Patch11: %{name}-more-ip.patch
52 Patch12: %{name}-rpm-fake-resolver-badperm-errorlogging.patch
53 URL: http://savannah.nongnu.org/projects/util-vserver/
54 BuildRequires: autoconf
55 BuildRequires: automake >= 1.9
56 BuildRequires: beecrypt-devel
57 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
58 BuildRequires: e2fsprogs-devel
59 BuildRequires: libstdc++-devel
60 BuildRequires: libtool >= 1.5.14
62 BuildRequires: sed >= 4.0
64 BuildRequires: rpmbuild(macros) >= 1.268
66 BuildRequires: doxygen
67 BuildRequires: graphviz
68 BuildRequires: libxslt-progs
69 BuildRequires: tetex-format-pdflatex
70 BuildRequires: tetex-makeindex
71 # To be removed when tetex-format-pdflatex, tetex-pdftex...
72 # ...and graphviz packages get fixed
73 BuildRequires: ghostscript
74 BuildRequires: ghostscript-fonts-std
75 BuildRequires: tetex-fonts-jknappen
76 BuildRequires: tetex-metafont
77 %{?with_xalan:BuildRequires: xalan-j}
79 Requires(post,preun): /sbin/chkconfig
80 Requires: %{name}-lib = %{version}-%{release}
82 Requires: mktemp >= 1.5-18
85 Obsoletes: util-vserver-core
86 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89 %define _usrbin /usr/bin
90 %define _usrsbin /usr/sbin
91 %define _usrlib /usr/lib
94 This package provides the components and a framework to setup virtual
95 servers. A virtual server runs inside a Linux server. It is
96 nevertheless highly independent. As such, you can run various services
97 with normal configuration. The various vservers can't interact with
98 each other and can't interact with services in the main server.
100 This requires a special kernel supporting the new new_s_context and
101 set_ipv4root system call.
103 This package contains utilities which are required to communicate with
104 the Linux-Vserver enabled kernel.
107 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
108 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
109 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
110 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
111 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
113 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
114 new_s_context i set_ipv4root.
116 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
117 w³±czonym mechanizmem Linux-Vserver.
120 Summary: Development files for Linux vserver libraries
121 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
122 Group: Development/Libraries
123 Requires: %{name}-lib = %{version}-%{release}
126 This package contains the development files necessary for developing
127 programs which use vserver library.
129 %description devel -l pl
130 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
131 programów u¿ywaj±cych biblioteki vserver.
134 Summary: Static vserver library
135 Summary(pl): Biblioteka statyczna vservera
136 Group: Development/Libraries
137 Requires: %{name}-devel = %{version}-%{release}
140 This package contains the static version of vserver library.
142 %description static -l pl
143 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
146 Summary: Dynamic libraries for util-vserver
147 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
151 util-vserver provides the components and a framework to setup virtual
152 servers. A virtual server runs inside a linux server. It is
153 nevertheless highly independent. As such, you can run various services
154 pith normal configuration. The various vservers can't interact with
155 each other and can't interact with services in the main server.
157 This package contains the shared libraries needed by all other
158 'util-vserver' subpackages.
160 %description lib -l pl
161 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
162 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
163 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
164 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
165 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
167 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
168 podpakiety util-vserver.
171 Summary: Tools which can be used to build vservers
172 Summary(pl): Narzêdzia do budowania vserverów
173 Group: Applications/System
174 Requires: %{name} = %{version}-%{release}
175 Requires: /etc/pld-release
178 Conflicts: poldek < 0.18.8-10
181 util-vserver provides the components and a framework to setup virtual
182 servers. A virtual server runs inside a linux server. It is
183 nevertheless highly independent. As such, you can run various services
184 with normal configuration. The various vservers can't interact with
185 each other and can't interact with services in the main server.
187 This package contains utilities which assist in building Vservers.
189 %description build -l pl
190 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
191 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
192 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
193 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
194 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
196 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
198 %package -n vserver-distro-fedora
199 Summary: VServer build templates for Fedora Core
200 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
201 Group: Applications/System
202 Requires: %{name} = %{version}-%{release}
209 %description -n vserver-distro-fedora
210 VServer build templates for Fedora Core 1,2,3,4.
212 %description -n vserver-distro-fedora -l pl
213 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
215 %package -n vserver-distro-redhat
216 Summary: VServer build template for Red Hat Linux 9
217 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
218 Group: Applications/System
219 Requires: %{name} = %{version}-%{release}
226 %description -n vserver-distro-redhat
227 VServer build template for RedHat Linux 9.
229 %description -n vserver-distro-redhat -l pl
230 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
232 %package -n vserver-distro-suse
233 Summary: VServer build template for SuSE 9.1
234 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
235 Group: Applications/System
236 Requires: %{name} = %{version}-%{release}
243 %description -n vserver-distro-suse
244 VServer build template for SuSE Linux 9.1.
246 %description -n vserver-distro-suse -l pl
247 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
249 %package -n vserver-distro-centos
250 Summary: VServer build template for CentOS 4.2
251 Summary(pl): Szablon budowania VServera dla CentOS 4.2
252 Group: Applications/System
253 Requires: util-vserver-build
256 %description -n vserver-distro-centos
257 VServer build template for CentOS 4.
259 %description -n vserver-distro-centos -l pl
260 Szablon budowania VServera dla CentOS 4.
263 Summary: initscripts for vserver
264 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
265 Group: Applications/System
266 Requires(post,preun): /sbin/chkconfig
267 Requires: %{name} = %{version}-%{release}
273 util-vserver provides the components and a framework to setup virtual
274 servers. A virtual server runs inside a linux server. It is
275 nevertheless highly independent. As such, you can run various services
276 with normal configuration. The various vservers can't interact with
277 each other and can't interact with services in the main server.
279 This package contains the SysV initscripts which start and stop
280 Vservers and related tools.
282 %description init -l pl
283 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
284 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
285 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
286 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
287 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
289 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
290 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
293 Summary: Legacy utilities for util-vserver
294 Summary(pl): Stare narzêdzia dla util-vserver
295 Group: Applications/System
296 Requires(post,preun): /sbin/chkconfig
297 Requires: %{name} = %{version}-%{release}
301 util-vserver provides the components and a framework to setup virtual
302 servers. A virtual server runs inside a linux server. It is
303 nevertheless highly independent. As such, you can run various services
304 with normal configuration. The various vservers can't interact with
305 each other and can't interact with services in the main server.
307 This package contains the tools which are needed to work with Vservers
308 having an old-style configuration.
310 %description legacy -l pl
311 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
312 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
313 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
314 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
315 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
317 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
318 konfiguracjê w starym stylu.
331 %{?with_no_dynamic_context:%patch10 -p1}
335 install %{SOURCE9} package-management.txt
337 cp -a compat.h vserver-compat.h
341 CFLAGS="%{rpmcflags} -D__GLIBC__"
347 --with-initrddir=/etc/rc.d/init.d \
349 --enable-apis=NOLEGACY \
350 %{?with_dietlibc:--enable-dietlibc} \
351 %{!?with_dietlibc:--disable-dietlibc} \
357 IPTABLES=%{_usrsbin}/iptables \
358 MODPROBE=/sbin/modprobe \
359 NAMEIF=/sbin/nameif \
361 VCONFIG=/sbin/vconfig \
362 WGET=%{_usrbin}/wget \
365 %{?with_doc:%{__make} doc}
367 %{__make} -C vproc-%{_vproc_version} \
369 CFLAGS="%{rpmcflags}"
372 rm -rf $RPM_BUILD_ROOT
373 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d,cron.d},/dev/pts} \
374 $RPM_BUILD_ROOT{%{_sysconfdir}/vservices,/vservers/.pkg}
376 %{__make} install install-distribution \
377 DESTDIR=$RPM_BUILD_ROOT
379 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
381 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
383 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
384 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
386 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
387 s=`basename $i | sed s/v_//`
388 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
389 # IP addresses/interfaces to bound $s service to
395 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
396 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
397 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
398 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
399 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
400 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
401 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
402 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
403 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
404 $RPM_BUILD_ROOT/etc/sysconfig/vservers
406 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
408 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
409 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
410 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
411 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
412 install %{SOURCE12} $RPM_BUILD_ROOT%{_libdir}/%{name}/vhashify.cron
414 cat > $RPM_BUILD_ROOT/etc/cron.d/vservers << EOF
415 02 2 * * 0 root %{_libdir}/%{name}/vhashify.cron
418 ln -sf null $RPM_BUILD_ROOT/dev/initctl
421 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
422 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
425 # baggins check this: needed but seems unused
426 install -d $RPM_BUILD_ROOT/var/cache/vservers
429 rm -rf $RPM_BUILD_ROOT
432 %{_sbindir}/setattr --barrier /vservers || :
434 %post lib -p /sbin/ldconfig
435 %postun lib -p /sbin/ldconfig
438 /sbin/chkconfig --add vrootdevices
439 /sbin/chkconfig --add vprocunhide
440 /sbin/chkconfig --add vservers
441 if [ ! -f /var/lock/subsys/vrootdevices ]; then
442 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
444 if [ ! -f /var/lock/subsys/vprocunhide ]; then
445 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
447 if [ ! -f /var/lock/subsys/vservers ]; then
448 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
452 if [ "$1" = "0" ]; then
453 %service vservers stop
454 %service vprocunhide stop
455 %service vrootdevices stop
456 /sbin/chkconfig --del vservers
457 /sbin/chkconfig --del vprocunhide
458 /sbin/chkconfig --del vrootdevices
462 /sbin/chkconfig --add rebootmgr
463 /sbin/chkconfig --add vservers-legacy
464 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
465 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
467 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
468 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
472 if [ "$1" = "0" ]; then
473 %service rebootmgr stop
474 %service vservers-legacy stop
475 /sbin/chkconfig --del rebootmgr
476 /sbin/chkconfig --del vservers-legacy
479 %triggerpostun build -- %{name}-build < 0.30.210-5.2
480 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
481 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
484 # kill old vserver specific package ignores which are no longer needed
485 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
487 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
491 %defattr(644,root,root,755)
492 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
493 %{?with_doc:%doc doc/*.html}
494 %dir %{_sysconfdir}/vservers
495 %dir %{_sysconfdir}/vservers/.defaults
496 %dir %{_sysconfdir}/vservers/.defaults/apps
497 %dir %{_sysconfdir}/vservers/.defaults/files
498 %{_sysconfdir}/vservers/.defaults/vdirbase
499 %{_sysconfdir}/vservers/.defaults/run.rev
500 %{_sysconfdir}/vservers/vdirbase
501 %{_sysconfdir}/vservers/run.rev
503 %attr(755,root,root) %{_sbindir}/chbind
504 %attr(755,root,root) %{_sbindir}/chcontext
505 %attr(755,root,root) %{_sbindir}/chxid
506 %attr(755,root,root) %{_sbindir}/exec-cd
507 %attr(755,root,root) %{_sbindir}/lsxid
508 %attr(755,root,root) %{_sbindir}/naddress
509 %attr(755,root,root) %{_sbindir}/nattribute
510 %attr(755,root,root) %{_sbindir}/ncontext
511 %attr(755,root,root) %{_sbindir}/reducecap
512 %attr(755,root,root) %{_sbindir}/setattr
513 %attr(755,root,root) %{_sbindir}/showattr
514 %attr(755,root,root) %{_sbindir}/vattribute
515 %attr(755,root,root) %{_sbindir}/vcontext
516 %attr(755,root,root) %{_sbindir}/vdlimit
517 %attr(755,root,root) %{_sbindir}/vnamespace
518 %attr(755,root,root) %{_sbindir}/vkill
519 %attr(755,root,root) %{_sbindir}/vlimit
520 %attr(755,root,root) %{_sbindir}/vdu
521 %attr(755,root,root) %{_sbindir}/vproc
522 %attr(755,root,root) %{_sbindir}/vps
523 %attr(755,root,root) %{_sbindir}/vpstree
524 %attr(755,root,root) %{_sbindir}/vrsetup
525 %attr(755,root,root) %{_sbindir}/vsched
526 %attr(755,root,root) %{_sbindir}/vserver
527 %attr(755,root,root) %{_sbindir}/vserver-info
528 %attr(755,root,root) %{_sbindir}/vserver-stat
529 %attr(755,root,root) %{_sbindir}/vsomething
530 %attr(755,root,root) %{_sbindir}/vtop
531 %attr(755,root,root) %{_sbindir}/vuname
532 %attr(755,root,root) %{_sbindir}/vwait
533 %dir %{_libdir}/%{name}
534 %dir %{_libdir}/%{name}/defaults
535 %{_libdir}/%{name}/FEATURES.txt
536 %{_libdir}/%{name}/util-vserver-vars
537 %{_libdir}/%{name}/defaults/*
538 %attr(755,root,root) %{_libdir}/%{name}/capchroot
539 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
540 %attr(755,root,root) %{_libdir}/%{name}/chbind-compat
541 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
542 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
543 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
544 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
545 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
546 %attr(755,root,root) %{_libdir}/%{name}/filetime
547 %{_libdir}/%{name}/functions
548 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
549 %attr(755,root,root) %{_libdir}/%{name}/lockfile
550 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
551 %attr(755,root,root) %{_libdir}/%{name}/readlink
552 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
553 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
554 %attr(755,root,root) %{_libdir}/%{name}/sigexec
555 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
556 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
557 %{_libdir}/%{name}/vserver.*
558 %{_libdir}/%{name}/vserver-setup.*
559 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
560 %{_libdir}/%{name}/vserver-build.*
561 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
562 %attr(755,root,root) %{_libdir}/%{name}/vhashify
563 %attr(755,root,root) %{_libdir}/%{name}/vhashify.cron
564 %attr(755,root,root) %{_libdir}/%{name}/vshelper
565 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
566 %{_mandir}/man8/chbind.8*
567 %{_mandir}/man8/chcontext.8*
568 %{_mandir}/man8/reducecap.8*
569 %{_mandir}/man8/vps.8*
570 %{_mandir}/man8/vpstree.8*
571 %{_mandir}/man8/vserver-stat.8*
572 %{_mandir}/man8/vserver.8*
573 %{_mandir}/man8/vtop.8*
574 %attr(000,root,root) %dir /vservers
575 %attr(755,root,root) %dir /vservers/.pkg
576 %dir %{_localstatedir}/run/vservers
577 %dir %{_localstatedir}/run/vservers.rev
578 %dir %{_localstatedir}/run/vshelper
579 %dir /var/cache/vservers
582 %defattr(644,root,root,755)
583 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
584 %attr(755,root,root) %{_libdir}/lib*.so
586 %{_includedir}/vserver*.h
587 %{_pkgconfigdir}/*.pc
590 %defattr(644,root,root,755)
591 %{_libdir}/libvserver.a
594 %defattr(644,root,root,755)
595 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
598 %defattr(644,root,root,755)
599 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
600 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
601 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
602 %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vservers
603 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
604 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
605 %attr(754,root,root) /etc/rc.d/init.d/vservers
608 %defattr(644,root,root,755)
609 %doc contrib/yum*.patch package-management.txt
610 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
611 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
612 %dir %{_sysconfdir}/vservers/.distributions
613 %dir %{_sysconfdir}/vservers/.distributions/.common
614 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
615 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
616 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
618 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
619 %dir %{_libdir}/%{name}/distributions
620 %attr(-,root,root) %{_libdir}/%{name}/distributions/defaults
621 %attr(-,root,root) %{_libdir}/%{name}/distributions/pld*
622 %dir %{_libdir}/%{name}/distributions/template
623 %attr(755,root,root) %{_libdir}/%{name}/distributions/template/init*
624 %attr(-,root,root) %{_libdir}/%{name}/distributions/redhat
625 %{_libdir}/%{name}/vserver-build.*
626 %{_libdir}/%{name}/vserver-setup.functions
627 %{_libdir}/%{name}/defaults/fstab
628 %{_libdir}/%{name}/defaults/debootstrap.uri
629 %{_libdir}/%{name}/defaults/vunify-exclude
630 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
631 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
632 %attr(755,root,root) %{_libdir}/%{name}/vcopy
633 %attr(755,root,root) %{_libdir}/%{name}/vpkg
634 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
635 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
636 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
637 %attr(755,root,root) %{_libdir}/%{name}/vunify
638 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
639 %attr(755,root,root) %{_sbindir}/vapt-get
640 %attr(755,root,root) %{_sbindir}/vpoldek
641 %attr(755,root,root) %{_sbindir}/vrpm
642 %attr(755,root,root) %{_sbindir}/vyum
644 %files -n vserver-distro-fedora
645 %defattr(644,root,root,755)
646 %dir %{_sysconfdir}/vservers/.distributions/fc*
647 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
648 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
649 %{_libdir}/%{name}/distributions/fc*
651 %files -n vserver-distro-redhat
652 %defattr(644,root,root,755)
653 %dir %{_sysconfdir}/vservers/.distributions/rh*
654 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
656 %{_libdir}/%{name}/distributions/rh*
658 %files -n vserver-distro-suse
659 %defattr(644,root,root,755)
660 %dir %{_sysconfdir}/vservers/.distributions/suse*
661 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
663 %{_libdir}/%{name}/distributions/suse*
665 %files -n vserver-distro-centos
666 %defattr(644,root,root,755)
667 %{_libdir}/util-vserver/distributions/centos4
670 %defattr(644,root,root,755)
671 %dir %{_sysconfdir}/vservices
672 %{_sysconfdir}/vservices/*
673 %dir %{_libdir}/%{name}/legacy
674 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
675 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
676 %attr(754,root,root) /etc/rc.d/init.d/v_*
677 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
678 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
679 %attr(755,root,root) %{_sbindir}/vserver-copy
680 %{_mandir}/man8/distrib-info.8*
681 %{_mandir}/man8/rebootmgr.8*
682 %{_mandir}/man8/vserver-copy.8*