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://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
25 # Source0-md5: 1e8fff7cb6246d21ed029f082123019b
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 Patch5: %{name}-cpuset.patch
47 Patch6: %{name}-build-umask.patch
48 Patch7: %{name}-utmpx.patch
49 Patch8: %{name}-vprocunhide.patch
50 Patch9: %{name}-dev.patch
51 Patch10: %{name}-no-dynamic-ctx.patch
52 Patch11: %{name}-more-ip.patch
53 Patch12: http://daniel.hozac.com/vserver/util-vserver/%{name}-0.30.210-namespace-cleanup.patch
54 Patch13: http://daniel.hozac.com/vserver/util-vserver/%{name}-0.30.210-delete.patch
55 Patch14: http://daniel.hozac.com/vserver/util-vserver/%{name}-0.30.210-shiny10.patch
56 Patch15: %{name}-rpm-fake-resolver-badperm-errorlogging.patch
57 URL: http://savannah.nongnu.org/projects/util-vserver/
58 BuildRequires: autoconf
59 BuildRequires: automake >= 1.9
60 BuildRequires: beecrypt-devel
61 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
62 BuildRequires: e2fsprogs-devel
63 BuildRequires: libstdc++-devel
64 BuildRequires: libtool >= 1.5.14
66 BuildRequires: sed >= 4.0
68 BuildRequires: rpmbuild(macros) >= 1.268
70 BuildRequires: doxygen
71 BuildRequires: graphviz
72 BuildRequires: libxslt-progs
73 BuildRequires: tetex-format-pdflatex
74 BuildRequires: tetex-makeindex
75 # To be removed when tetex-format-pdflatex, tetex-pdftex...
76 # ...and graphviz packages get fixed
77 BuildRequires: ghostscript
78 BuildRequires: ghostscript-fonts-std
79 BuildRequires: tetex-fonts-jknappen
80 BuildRequires: tetex-metafont
81 %{?with_xalan:BuildRequires: xalan-j}
83 Requires(post,preun): /sbin/chkconfig
84 Requires: %{name}-lib = %{version}-%{release}
88 Requires: mktemp >= 1.5-18
89 Obsoletes: util-vserver-core
90 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
93 %define _usrbin /usr/bin
94 %define _usrsbin /usr/sbin
95 %define _usrlib /usr/lib
98 This package provides the components and a framework to setup virtual
99 servers. A virtual server runs inside a Linux server. It is
100 nevertheless highly independent. As such, you can run various services
101 with normal configuration. The various vservers can't interact with
102 each other and can't interact with services in the main server.
104 This requires a special kernel supporting the new new_s_context and
105 set_ipv4root system call.
107 This package contains utilities which are required to communicate with
108 the Linux-Vserver enabled kernel.
111 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
112 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
113 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
114 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
115 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
117 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
118 new_s_context i set_ipv4root.
120 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
121 w³±czonym mechanizmem Linux-Vserver.
124 Summary: Development files for Linux vserver libraries
125 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
126 Group: Development/Libraries
127 Requires: %{name}-lib = %{version}-%{release}
130 This package contains the development files necessary for developing
131 programs which use vserver library.
133 %description devel -l pl
134 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
135 programów u¿ywaj±cych biblioteki vserver.
138 Summary: Static vserver library
139 Summary(pl): Biblioteka statyczna vservera
140 Group: Development/Libraries
141 Requires: %{name}-devel = %{version}-%{release}
144 This package contains the static version of vserver library.
146 %description static -l pl
147 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
150 Summary: Dynamic libraries for util-vserver
151 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
155 util-vserver provides the components and a framework to setup virtual
156 servers. A virtual server runs inside a linux server. It is
157 nevertheless highly independent. As such, you can run various services
158 pith normal configuration. The various vservers can't interact with
159 each other and can't interact with services in the main server.
161 This package contains the shared libraries needed by all other
162 'util-vserver' subpackages.
164 %description lib -l pl
165 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
166 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
167 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
168 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
169 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
171 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
172 podpakiety util-vserver.
175 Summary: Tools which can be used to build vservers
176 Summary(pl): Narzêdzia do budowania vserverów
177 Group: Applications/System
178 Requires: %{name} = %{version}-%{release}
179 Requires: /etc/pld-release
182 Conflicts: poldek < 0.18.8-10
185 util-vserver provides the components and a framework to setup virtual
186 servers. A virtual server runs inside a linux server. It is
187 nevertheless highly independent. As such, you can run various services
188 with normal configuration. The various vservers can't interact with
189 each other and can't interact with services in the main server.
191 This package contains utilities which assist in building Vservers.
193 %description build -l pl
194 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
195 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
196 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
197 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
198 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
200 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
202 %package -n vserver-distro-fedora
203 Summary: VServer build templates for Fedora Core
204 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
205 Group: Applications/System
206 Requires: %{name} = %{version}-%{release}
213 %description -n vserver-distro-fedora
214 VServer build templates for Fedora Core 1,2,3,4.
216 %description -n vserver-distro-fedora -l pl
217 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
219 %package -n vserver-distro-redhat
220 Summary: VServer build template for Red Hat Linux 9
221 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
222 Group: Applications/System
223 Requires: %{name} = %{version}-%{release}
230 %description -n vserver-distro-redhat
231 VServer build template for RedHat Linux 9.
233 %description -n vserver-distro-redhat -l pl
234 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
236 %package -n vserver-distro-suse
237 Summary: VServer build template for SuSE 9.1
238 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
239 Group: Applications/System
240 Requires: %{name} = %{version}-%{release}
247 %description -n vserver-distro-suse
248 VServer build template for SuSE Linux 9.1.
250 %description -n vserver-distro-suse -l pl
251 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
253 %package -n vserver-distro-centos
254 Summary: VServer build template for CentOS 4.2
255 Summary(pl): Szablon budowania VServera dla CentOS 4.2
256 Group: Applications/System
257 Requires: util-vserver-build
260 %description -n vserver-distro-centos
261 VServer build template for CentOS 4.2.
263 %description -n vserver-distro-centos -l pl
264 Szablon budowania VServera dla CentOS 4.2.
267 Summary: initscripts for vserver
268 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
269 Group: Applications/System
270 Requires(post,preun): /sbin/chkconfig
271 Requires: %{name} = %{version}-%{release}
277 util-vserver provides the components and a framework to setup virtual
278 servers. A virtual server runs inside a linux server. It is
279 nevertheless highly independent. As such, you can run various services
280 with normal configuration. The various vservers can't interact with
281 each other and can't interact with services in the main server.
283 This package contains the SysV initscripts which start and stop
284 Vservers and related tools.
286 %description init -l pl
287 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
288 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
289 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
290 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
291 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
293 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
294 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
297 Summary: Legacy utilities for util-vserver
298 Summary(pl): Stare narzêdzia dla util-vserver
299 Group: Applications/System
300 Requires(post,preun): /sbin/chkconfig
301 Requires: %{name} = %{version}-%{release}
305 util-vserver provides the components and a framework to setup virtual
306 servers. A virtual server runs inside a linux server. It is
307 nevertheless highly independent. As such, you can run various services
308 with normal configuration. The various vservers can't interact with
309 each other and can't interact with services in the main server.
311 This package contains the tools which are needed to work with Vservers
312 having an old-style configuration.
314 %description legacy -l pl
315 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
316 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
317 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
318 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
319 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
321 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
322 konfiguracjê w starym stylu.
336 %{?with_no_dynamic_context:%patch10 -p1}
343 install %{SOURCE9} package-management.txt
345 cp -a compat.h vserver-compat.h
349 CFLAGS="%{rpmcflags} -D__GLIBC__"
355 --with-initrddir=/etc/rc.d/init.d \
357 --enable-apis=NOLEGACY \
358 %{?with_dietlibc:--enable-dietlibc} \
359 %{!?with_dietlibc:--disable-dietlibc} \
365 IPTABLES=%{_usrsbin}/iptables \
366 MODPROBE=/sbin/modprobe \
367 NAMEIF=/sbin/nameif \
369 VCONFIG=/sbin/vconfig \
370 WGET=%{_usrbin}/wget \
373 %{?with_doc:%{__make} doc}
375 %{__make} -C vproc-%{_vproc_version} \
377 CFLAGS="%{rpmcflags}"
380 rm -rf $RPM_BUILD_ROOT
381 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d,cron.d},/dev/pts} \
382 $RPM_BUILD_ROOT{%{_sysconfdir}/vservices,/vservers/.pkg}
384 %{__make} install install-distribution \
385 DESTDIR=$RPM_BUILD_ROOT
387 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
389 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
391 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
392 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
394 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
395 s=`basename $i | sed s/v_//`
396 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
397 # IP addresses/interfaces to bound $s service to
403 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
404 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
405 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
406 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
407 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
408 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
409 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
410 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
411 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
412 $RPM_BUILD_ROOT/etc/sysconfig/vservers
414 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
416 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
417 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
418 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
419 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
420 install %{SOURCE12} $RPM_BUILD_ROOT%{_libdir}/%{name}/vhashify.cron
422 cat > $RPM_BUILD_ROOT/etc/cron.d/vservers << EOF
423 02 2 * * 0 root %{_libdir}/%{name}/vhashify.cron
426 ln -sf null $RPM_BUILD_ROOT/dev/initctl
429 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
430 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
433 # baggins check this: needed but seems unused
434 install -d $RPM_BUILD_ROOT/var/cache/vservers
437 rm -rf $RPM_BUILD_ROOT
440 %{_sbindir}/setattr --barrier /vservers || :
442 %post lib -p /sbin/ldconfig
443 %postun lib -p /sbin/ldconfig
446 /sbin/chkconfig --add vrootdevices
447 /sbin/chkconfig --add vprocunhide
448 /sbin/chkconfig --add vservers
449 if [ ! -f /var/lock/subsys/vrootdevices ]; then
450 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
452 if [ ! -f /var/lock/subsys/vprocunhide ]; then
453 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
455 if [ ! -f /var/lock/subsys/vservers ]; then
456 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
460 if [ "$1" = "0" ]; then
461 %service vservers stop
462 %service vprocunhide stop
463 %service vrootdevices stop
464 /sbin/chkconfig --del vservers
465 /sbin/chkconfig --del vprocunhide
466 /sbin/chkconfig --del vrootdevices
470 /sbin/chkconfig --add rebootmgr
471 /sbin/chkconfig --add vservers-legacy
472 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
473 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
475 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
476 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
480 if [ "$1" = "0" ]; then
481 %service rebootmgr stop
482 %service vservers-legacy stop
483 /sbin/chkconfig --del rebootmgr
484 /sbin/chkconfig --del vservers-legacy
487 %triggerpostun build -- %{name}-build < 0.30.210-5.2
488 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
489 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
492 # kill old vserver specific package ignores which are no longer needed
493 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
495 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
499 %defattr(644,root,root,755)
500 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
501 %{?with_doc:%doc doc/*.html}
502 %dir %{_sysconfdir}/vservers
503 %dir %{_sysconfdir}/vservers/.defaults
504 %dir %{_sysconfdir}/vservers/.defaults/apps
505 %dir %{_sysconfdir}/vservers/.defaults/files
506 %{_sysconfdir}/vservers/.defaults/vdirbase
507 %{_sysconfdir}/vservers/.defaults/run.rev
508 %{_sysconfdir}/vservers/vdirbase
509 %{_sysconfdir}/vservers/run.rev
511 %attr(755,root,root) %{_sbindir}/chbind
512 %attr(755,root,root) %{_sbindir}/chcontext
513 %attr(755,root,root) %{_sbindir}/chxid
514 %attr(755,root,root) %{_sbindir}/exec-cd
515 %attr(755,root,root) %{_sbindir}/lsxid
516 %attr(755,root,root) %{_sbindir}/reducecap
517 %attr(755,root,root) %{_sbindir}/setattr
518 %attr(755,root,root) %{_sbindir}/showattr
519 %attr(755,root,root) %{_sbindir}/vattribute
520 %attr(755,root,root) %{_sbindir}/vcontext
521 %attr(755,root,root) %{_sbindir}/vdlimit
522 %attr(755,root,root) %{_sbindir}/vnamespace
523 %attr(755,root,root) %{_sbindir}/vkill
524 %attr(755,root,root) %{_sbindir}/vlimit
525 %attr(755,root,root) %{_sbindir}/vdu
526 %attr(755,root,root) %{_sbindir}/vproc
527 %attr(755,root,root) %{_sbindir}/vps
528 %attr(755,root,root) %{_sbindir}/vpstree
529 %attr(755,root,root) %{_sbindir}/vrsetup
530 %attr(755,root,root) %{_sbindir}/vsched
531 %attr(755,root,root) %{_sbindir}/vserver
532 %attr(755,root,root) %{_sbindir}/vserver-info
533 %attr(755,root,root) %{_sbindir}/vserver-stat
534 %attr(755,root,root) %{_sbindir}/vsomething
535 %attr(755,root,root) %{_sbindir}/vtop
536 %attr(755,root,root) %{_sbindir}/vuname
537 %attr(755,root,root) %{_sbindir}/vwait
538 %dir %{_libdir}/%{name}
539 %dir %{_libdir}/%{name}/defaults
540 %{_libdir}/%{name}/FEATURES.txt
541 %{_libdir}/%{name}/util-vserver-vars
542 %{_libdir}/%{name}/defaults/*
543 %attr(755,root,root) %{_libdir}/%{name}/capchroot
544 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
545 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
546 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
547 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
548 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
549 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
550 %attr(755,root,root) %{_libdir}/%{name}/filetime
551 %{_libdir}/%{name}/functions
552 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
553 %attr(755,root,root) %{_libdir}/%{name}/lockfile
554 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
555 %attr(755,root,root) %{_libdir}/%{name}/readlink
556 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
557 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
558 %attr(755,root,root) %{_libdir}/%{name}/sigexec
559 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
560 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
561 %{_libdir}/%{name}/vserver.*
562 %{_libdir}/%{name}/vserver-setup.*
563 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
564 %{_libdir}/%{name}/vserver-build.*
565 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
566 %attr(755,root,root) %{_libdir}/%{name}/vhashify
567 %attr(755,root,root) %{_libdir}/%{name}/vhashify.cron
568 %attr(755,root,root) %{_libdir}/%{name}/vshelper
569 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
570 %{_mandir}/man8/chbind.8*
571 %{_mandir}/man8/chcontext.8*
572 %{_mandir}/man8/reducecap.8*
573 %{_mandir}/man8/vps.8*
574 %{_mandir}/man8/vpstree.8*
575 %{_mandir}/man8/vserver-stat.8*
576 %{_mandir}/man8/vserver.8*
577 %{_mandir}/man8/vtop.8*
578 %attr(000,root,root) %dir /vservers
579 %attr(755,root,root) %dir /vservers/.pkg
580 %dir %{_localstatedir}/run/vservers
581 %dir %{_localstatedir}/run/vservers.rev
582 %dir %{_localstatedir}/run/vshelper
583 %dir /var/cache/vservers
586 %defattr(644,root,root,755)
587 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
588 %attr(755,root,root) %{_libdir}/lib*.so
590 %{_includedir}/vserver*.h
591 %{_pkgconfigdir}/*.pc
594 %defattr(644,root,root,755)
595 %{_libdir}/libvserver.a
598 %defattr(644,root,root,755)
599 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
602 %defattr(644,root,root,755)
603 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
604 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
605 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
606 %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vservers
607 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
608 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
609 %attr(754,root,root) /etc/rc.d/init.d/vservers
612 %defattr(644,root,root,755)
613 %doc contrib/yum*.patch package-management.txt
614 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
615 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
616 %dir %{_sysconfdir}/vservers/.distributions
617 %dir %{_sysconfdir}/vservers/.distributions/.common
618 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
619 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
620 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
622 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
623 %dir %{_libdir}/%{name}/distributions
624 %attr(-,root,root) %{_libdir}/%{name}/distributions/defaults
625 %attr(-,root,root) %{_libdir}/%{name}/distributions/pld*
626 %dir %{_libdir}/%{name}/distributions/template
627 %attr(755,root,root) %{_libdir}/%{name}/distributions/template/init*
628 %attr(-,root,root) %{_libdir}/%{name}/distributions/redhat
629 %{_libdir}/%{name}/vserver-build.*
630 %{_libdir}/%{name}/vserver-setup.functions
631 %{_libdir}/%{name}/defaults/fstab
632 %{_libdir}/%{name}/defaults/debootstrap.uri
633 %{_libdir}/%{name}/defaults/vunify-exclude
634 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
635 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
636 %attr(755,root,root) %{_libdir}/%{name}/vcopy
637 %attr(755,root,root) %{_libdir}/%{name}/vpkg
638 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
639 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
640 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
641 %attr(755,root,root) %{_libdir}/%{name}/vunify
642 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
643 %attr(755,root,root) %{_sbindir}/vapt-get
644 %attr(755,root,root) %{_sbindir}/vpoldek
645 %attr(755,root,root) %{_sbindir}/vrpm
646 %attr(755,root,root) %{_sbindir}/vyum
648 %files -n vserver-distro-fedora
649 %defattr(644,root,root,755)
650 %dir %{_sysconfdir}/vservers/.distributions/fc*
651 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
652 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
653 %{_libdir}/%{name}/distributions/fc*
655 %files -n vserver-distro-redhat
656 %defattr(644,root,root,755)
657 %dir %{_sysconfdir}/vservers/.distributions/rh*
658 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
659 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
660 %{_libdir}/%{name}/distributions/rh*
662 %files -n vserver-distro-suse
663 %defattr(644,root,root,755)
664 %dir %{_sysconfdir}/vservers/.distributions/suse*
665 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
666 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
667 %{_libdir}/%{name}/distributions/suse*
669 %files -n vserver-distro-centos
670 %defattr(644,root,root,755)
671 %{_libdir}/util-vserver/distributions/centos42
674 %defattr(644,root,root,755)
675 %dir %{_sysconfdir}/vservices
676 %{_sysconfdir}/vservices/*
677 %dir %{_libdir}/%{name}/legacy
678 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
679 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
680 %attr(754,root,root) /etc/rc.d/init.d/v_*
681 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
682 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
683 %attr(755,root,root) %{_sbindir}/vserver-copy
684 %{_mandir}/man8/distrib-info.8*
685 %{_mandir}/man8/rebootmgr.8*
686 %{_mandir}/man8/vserver-copy.8*