2 # - somewhy empty /var/cache/vservers is needed when building pld vserver
3 # - make build create /dev/std{in,out,err} links
4 # - reject install in %pre if /proc/virtual/info has incompatible version
6 # m68k and mips are the only not supported archs
9 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
10 %bcond_without doc # don't build documentation which needed LaTeX
11 %bcond_without no_dynamic_context # disable enforcement of disabled dynamic context
12 %bcond_with xalan # use the xalan xslt processor
14 %define _vproc_version 0.01
15 # diet compile fails with ccache in %{__cc}
18 Summary: Linux virtual server utilities
19 Summary(pl.UTF-8): Narzędzia dla linuksowych serwerów wirtualnych
24 Group: Applications/System
25 Source0: http://ftp.linux-vserver.org/pub/utils/util-vserver/%{name}-%{version}.tar.bz2
26 # Source0-md5: 386b91732b7f0f132b4e9d978389dcc2
27 Source1: vprocunhide.init
28 Source2: vservers.init
29 Source3: vservers-legacy.init
30 Source4: rebootmgr.init
31 Source5: vservers.sysconfig
32 Source6: vservers-legacy.sysconfig
33 Source7: vrootdevices.init
34 Source8: vrootdevices.sysconfig
35 # A bit of documentation explaining package management
36 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
37 Source9: %{name}-pkgmgmt.txt
38 Source10: %{name}-initpost.sh
39 Source11: http://www.13thfloor.at/vserver/s_release/v1.2.10/vproc-%{_vproc_version}.tar.bz2
40 # Source11-md5: 1d030717bdbc958ea4b35fd2410dad85
41 Source12: %{name}-vhashify.cron
42 Patch0: %{name}-vsysvwrapper.patch
43 Patch1: %{name}-pld.patch
44 Patch2: %{name}-vrpm.patch
45 Patch3: %{name}-include.patch
46 Patch4: %{name}-m4-diet.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: %{name}-rpm-fake-resolver-badperm-errorlogging.patch
54 URL: http://savannah.nongnu.org/projects/util-vserver/
55 BuildRequires: autoconf
56 BuildRequires: automake >= 1.9
57 BuildRequires: beecrypt-devel
58 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
59 BuildRequires: e2fsprogs-devel
60 BuildRequires: libstdc++-devel
61 BuildRequires: libtool >= 1.5.14
63 BuildRequires: sed >= 4.0
65 BuildRequires: rpmbuild(macros) >= 1.268
67 BuildRequires: doxygen
68 BuildRequires: graphviz
69 BuildRequires: libxslt-progs
70 BuildRequires: tetex-format-pdflatex
71 BuildRequires: tetex-makeindex
72 # To be removed when tetex-format-pdflatex, tetex-pdftex...
73 # ...and graphviz packages get fixed
74 BuildRequires: ghostscript
75 BuildRequires: ghostscript-fonts-std
76 BuildRequires: tetex-fonts-jknappen
77 BuildRequires: tetex-metafont
78 %{?with_xalan:BuildRequires: xalan-j}
80 Requires(post,preun): /sbin/chkconfig
81 Requires: %{name}-lib = %{version}-%{release}
83 Requires: mktemp >= 1.5-18
86 Obsoletes: util-vserver-core
87 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90 %define _usrbin /usr/bin
91 %define _usrsbin /usr/sbin
92 %define _usrlib /usr/lib
95 This package provides the components and a framework to setup virtual
96 servers. A virtual server runs inside a Linux server. It is
97 nevertheless highly independent. As such, you can run various services
98 with normal configuration. The various vservers can't interact with
99 each other and can't interact with services in the main server.
101 This requires a special kernel supporting the new new_s_context and
102 set_ipv4root system call.
104 This package contains utilities which are required to communicate with
105 the Linux-Vserver enabled kernel.
107 %description -l pl.UTF-8
108 Ten pakiet dostarcza składniki i szkielet do tworzenia wirtualnych
109 serwerów. Wirtualny serwer działa wewnątrz serwera linuksowego, lecz
110 jest od niego w dużym stopniu niezależny. Jako taki może uruchamiać
111 różne usługi z normalną konfiguracją. Różne vserwery nie mogą wchodzić
112 w interakcję z innymi ani z usługami na głównym serwerze.
114 Wymaga to specjalnego jądra obsługującego nowe wywołania systemowe
115 new_s_context i set_ipv4root.
117 Ten pakiet zawiera narzędzia wymagane do komunikacji z jądrem z
118 włączonym mechanizmem Linux-Vserver.
121 Summary: Development files for Linux vserver libraries
122 Summary(pl.UTF-8): Pliki programistyczne dla bibliotek linuksowego vserwera
123 Group: Development/Libraries
124 Requires: %{name}-lib = %{version}-%{release}
127 This package contains the development files necessary for developing
128 programs which use vserver library.
130 %description devel -l pl.UTF-8
131 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
132 programów używających biblioteki vserver.
135 Summary: Static vserver library
136 Summary(pl.UTF-8): Biblioteka statyczna vservera
137 Group: Development/Libraries
138 Requires: %{name}-devel = %{version}-%{release}
141 This package contains the static version of vserver library.
143 %description static -l pl.UTF-8
144 Ten pakiet zawiera statyczną wersję biblioteki vservera.
147 Summary: Dynamic libraries for util-vserver
148 Summary(pl.UTF-8): Biblioteki dynamiczne dla pakietu util-vserver
152 util-vserver provides the components and a framework to setup virtual
153 servers. A virtual server runs inside a linux server. It is
154 nevertheless highly independent. As such, you can run various services
155 pith normal configuration. The various vservers can't interact with
156 each other and can't interact with services in the main server.
158 This package contains the shared libraries needed by all other
159 'util-vserver' subpackages.
161 %description lib -l pl.UTF-8
162 util-vserver dostarcza składniki i szkielet do tworzenia wirtualnych
163 serwerów. Wirtualny serwer działa wewnątrz serwera linuksowego, lecz
164 jest od niego w dużym stopniu niezależny. Jako taki może uruchamiać
165 różne usługi z normalną konfiguracją. Różne vserwery nie mogą wchodzić
166 w interakcję z innymi ani z usługami na głównym serwerze.
168 Ten pakiet zawiera biblioteki współdzielone wymagane przez wszystkie
169 podpakiety util-vserver.
172 Summary: Tools which can be used to build vservers
173 Summary(pl.UTF-8): Narzędzia do budowania vserverów
174 Group: Applications/System
175 Requires: %{name} = %{version}-%{release}
176 Requires: /etc/pld-release
179 Conflicts: poldek < 0.18.8-10
182 util-vserver provides the components and a framework to setup virtual
183 servers. A virtual server runs inside a linux server. It is
184 nevertheless highly independent. As such, you can run various services
185 with normal configuration. The various vservers can't interact with
186 each other and can't interact with services in the main server.
188 This package contains utilities which assist in building Vservers.
190 %description build -l pl.UTF-8
191 util-vserver dostarcza składniki i szkielet do tworzenia wirtualnych
192 serwerów. Wirtualny serwer działa wewnątrz serwera linuksowego, lecz
193 jest od niego w dużym stopniu niezależny. Jako taki może uruchamiać
194 różne usługi z normalną konfiguracją. Różne vserwery nie mogą wchodzić
195 w interakcję z innymi ani z usługami na głównym serwerze.
197 Ten pakiet zawiera narzędzia pomagające przy budowaniu Vserwerów.
199 %package -n vserver-distro-fedora
200 Summary: VServer build templates for Fedora Core
201 Summary(pl.UTF-8): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
202 Group: Applications/System
203 Requires: %{name}-build = %{version}-%{release}
210 %description -n vserver-distro-fedora
211 VServer build templates for Fedora Core 1,2,3,4.
213 %description -n vserver-distro-fedora -l pl.UTF-8
214 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
216 %package -n vserver-distro-redhat
217 Summary: VServer build template for Red Hat Linux 9
218 Summary(pl.UTF-8): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
219 Group: Applications/System
220 Requires: %{name}-build = %{version}-%{release}
227 %description -n vserver-distro-redhat
228 VServer build template for RedHat Linux 9.
230 %description -n vserver-distro-redhat -l pl.UTF-8
231 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
233 %package -n vserver-distro-suse
234 Summary: VServer build template for SuSE 9.1
235 Summary(pl.UTF-8): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
236 Group: Applications/System
237 Requires: %{name}-build = %{version}-%{release}
244 %description -n vserver-distro-suse
245 VServer build template for SuSE Linux 9.1.
247 %description -n vserver-distro-suse -l pl.UTF-8
248 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
250 %package -n vserver-distro-centos
251 Summary: VServer build template for CentOS 4.2
252 Summary(pl.UTF-8): Szablon budowania VServera dla CentOS 4.2
253 Group: Applications/System
254 Requires: %{name}-build = %{version}-%{release}
257 %description -n vserver-distro-centos
258 VServer build template for CentOS 4.
260 %description -n vserver-distro-centos -l pl.UTF-8
261 Szablon budowania VServera dla CentOS 4.
263 %package -n vserver-distro-gentoo
264 Summary: VServer build template for Gentoo
265 Summary(pl.UTF-8): Szablon budowania VServera dla Gentoo
266 Group: Applications/System
267 Requires: %{name}-build = %{version}-%{release}
269 %description -n vserver-distro-gentoo
270 VServer build template for Gentoo.
272 %description -n vserver-distro-gentoo -l pl.UTF-8
273 Szablon budowania VServera dla Gentoo.
276 Summary: initscripts for vserver
277 Summary(pl.UTF-8): Skrypty inicjalizujące dla vserwera
278 Group: Applications/System
279 Requires(post,preun): /sbin/chkconfig
280 Requires: %{name} = %{version}-%{release}
286 util-vserver provides the components and a framework to setup virtual
287 servers. A virtual server runs inside a linux server. It is
288 nevertheless highly independent. As such, you can run various services
289 with normal configuration. The various vservers can't interact with
290 each other and can't interact with services in the main server.
292 This package contains the SysV initscripts which start and stop
293 Vservers and related tools.
295 %description init -l pl.UTF-8
296 util-vserver dostarcza składniki i szkielet do tworzenia wirtualnych
297 serwerów. Wirtualny serwer działa wewnątrz serwera linuksowego, lecz
298 jest od niego w dużym stopniu niezależny. Jako taki może uruchamiać
299 różne usługi z normalną konfiguracją. Różne vserwery nie mogą wchodzić
300 w interakcję z innymi ani z usługami na głównym serwerze.
302 Ten pakiet zawiera skrypty inicjalizujące SysV uruchamiające i
303 zatrzymujące Vserwery oraz powiązane narzędzia.
306 Summary: Legacy utilities for util-vserver
307 Summary(pl.UTF-8): Stare narzędzia dla util-vserver
308 Group: Applications/System
309 Requires(post,preun): /sbin/chkconfig
310 Requires: %{name} = %{version}-%{release}
314 util-vserver provides the components and a framework to setup virtual
315 servers. A virtual server runs inside a linux server. It is
316 nevertheless highly independent. As such, you can run various services
317 with normal configuration. The various vservers can't interact with
318 each other and can't interact with services in the main server.
320 This package contains the tools which are needed to work with Vservers
321 having an old-style configuration.
323 %description legacy -l pl.UTF-8
324 util-vserver dostarcza składniki i szkielet do tworzenia wirtualnych
325 serwerów. Wirtualny serwer działa wewnątrz serwera linuksowego, lecz
326 jest od niego w dużym stopniu niezależny. Jako taki może uruchamiać
327 różne usługi z normalną konfiguracją. Różne vserwery nie mogą wchodzić
328 w interakcję z innymi ani z usługami na głównym serwerze.
330 Ten pakiet zawiera narzędzia potrzebne do pracy z Vserwerami mającymi
331 konfigurację w starym stylu.
344 %{?with_no_dynamic_context:%patch10 -p1}
348 install %{SOURCE9} package-management.txt
350 cp -a compat.h vserver-compat.h
353 unset LD_SYMBOLIC_FUNCTIONS || :
356 CFLAGS="%{rpmcflags} -D__GLIBC__"
362 --with-initrddir=/etc/rc.d/init.d \
364 --enable-apis=NOLEGACY \
365 %{?with_dietlibc:--enable-dietlibc} \
366 %{!?with_dietlibc:--disable-dietlibc} \
372 IPTABLES=%{_usrsbin}/iptables \
373 MODPROBE=/sbin/modprobe \
374 NAMEIF=/sbin/nameif \
376 VCONFIG=/sbin/vconfig \
377 WGET=%{_usrbin}/wget \
380 %{?with_doc:%{__make} doc}
382 %{__make} -C vproc-%{_vproc_version} \
384 CFLAGS="%{rpmcflags}"
387 rm -rf $RPM_BUILD_ROOT
388 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d,cron.d},/dev/pts} \
389 $RPM_BUILD_ROOT{%{_sysconfdir}/vservices,/vservers/.pkg}
391 %{__make} install install-distribution \
392 DESTDIR=$RPM_BUILD_ROOT
394 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
396 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
398 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
399 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
401 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
402 s=`basename $i | sed s/v_//`
403 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
404 # IP addresses/interfaces to bound $s service to
410 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
411 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
412 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
413 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
414 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
415 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
416 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
417 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
418 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
419 $RPM_BUILD_ROOT/etc/sysconfig/vservers
421 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
423 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
424 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
425 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
426 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-th/initpost
427 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
428 install %{SOURCE12} $RPM_BUILD_ROOT%{_libdir}/%{name}/vhashify.cron
430 cat > $RPM_BUILD_ROOT/etc/cron.d/vservers << EOF
431 02 2 * * 0 root %{_libdir}/%{name}/vhashify.cron
434 ln -sf null $RPM_BUILD_ROOT/dev/initctl
437 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
438 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
441 # XXX baggins check this: needed but seems unused
442 install -d $RPM_BUILD_ROOT/var/cache/vservers
444 # we have our own initscript which does the same
445 rm -f $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
446 rm -f $RPM_BUILD_ROOT/usr/lib/util-vserver/vserver-wrapper
447 # probaly the part of them
448 rm -f $RPM_BUILD_ROOT/etc/vservers.conf
451 rm -rf $RPM_BUILD_ROOT
454 %{_sbindir}/setattr --barrier /vservers || :
456 %post lib -p /sbin/ldconfig
457 %postun lib -p /sbin/ldconfig
460 /sbin/chkconfig --add vrootdevices
461 /sbin/chkconfig --add vprocunhide
462 /sbin/chkconfig --add vservers
463 if [ ! -f /var/lock/subsys/vrootdevices ]; then
464 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
466 if [ ! -f /var/lock/subsys/vprocunhide ]; then
467 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
469 if [ ! -f /var/lock/subsys/vservers ]; then
470 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
474 if [ "$1" = "0" ]; then
475 %service vservers stop
476 %service vprocunhide stop
477 %service vrootdevices stop
478 /sbin/chkconfig --del vservers
479 /sbin/chkconfig --del vprocunhide
480 /sbin/chkconfig --del vrootdevices
484 /sbin/chkconfig --add rebootmgr
485 /sbin/chkconfig --add vservers-legacy
486 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
487 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
489 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
490 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
494 if [ "$1" = "0" ]; then
495 %service rebootmgr stop
496 %service vservers-legacy stop
497 /sbin/chkconfig --del rebootmgr
498 /sbin/chkconfig --del vservers-legacy
501 %triggerpostun build -- %{name}-build < 0.30.210-5.2
502 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
503 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
506 # kill old vserver specific package ignores which are no longer needed
507 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
509 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
513 %defattr(644,root,root,755)
514 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
515 %{?with_doc:%doc doc/*.html}
516 %dir %{_sysconfdir}/vservers
517 %dir %{_sysconfdir}/vservers/.defaults
518 %dir %{_sysconfdir}/vservers/.defaults/apps
519 %dir %{_sysconfdir}/vservers/.defaults/files
520 %{_sysconfdir}/vservers/.defaults/vdirbase
521 %{_sysconfdir}/vservers/.defaults/run.rev
522 %{_sysconfdir}/vservers/vdirbase
523 %{_sysconfdir}/vservers/run.rev
525 %attr(755,root,root) %{_sbindir}/chbind
526 %attr(755,root,root) %{_sbindir}/chcontext
527 %attr(755,root,root) %{_sbindir}/chxid
528 %attr(755,root,root) %{_sbindir}/exec-cd
529 %attr(755,root,root) %{_sbindir}/lsxid
530 %attr(755,root,root) %{_sbindir}/naddress
531 %attr(755,root,root) %{_sbindir}/nattribute
532 %attr(755,root,root) %{_sbindir}/ncontext
533 %attr(755,root,root) %{_sbindir}/reducecap
534 %attr(755,root,root) %{_sbindir}/setattr
535 %attr(755,root,root) %{_sbindir}/showattr
536 %attr(755,root,root) %{_sbindir}/vattribute
537 %attr(755,root,root) %{_sbindir}/vcontext
538 %attr(755,root,root) %{_sbindir}/vdlimit
539 %attr(755,root,root) %{_sbindir}/vnamespace
540 %attr(755,root,root) %{_sbindir}/vkill
541 %attr(755,root,root) %{_sbindir}/vlimit
542 %attr(755,root,root) %{_sbindir}/vdu
543 %attr(755,root,root) %{_sbindir}/vproc
544 %attr(755,root,root) %{_sbindir}/vps
545 %attr(755,root,root) %{_sbindir}/vpstree
546 %attr(755,root,root) %{_sbindir}/vrsetup
547 %attr(755,root,root) %{_sbindir}/vsched
548 %attr(755,root,root) %{_sbindir}/vserver
549 %attr(755,root,root) %{_sbindir}/vserver-info
550 %attr(755,root,root) %{_sbindir}/vserver-stat
551 %attr(755,root,root) %{_sbindir}/vsomething
552 %attr(755,root,root) %{_sbindir}/vtop
553 %attr(755,root,root) %{_sbindir}/vuname
554 %attr(755,root,root) %{_sbindir}/vwait
555 %dir %{_libdir}/%{name}
556 %dir %{_libdir}/%{name}/defaults
557 %{_libdir}/%{name}/FEATURES.txt
558 %{_libdir}/%{name}/util-vserver-vars
559 %{_libdir}/%{name}/defaults/*
560 %attr(755,root,root) %{_libdir}/%{name}/capchroot
561 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
562 %attr(755,root,root) %{_libdir}/%{name}/chbind-compat
563 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
564 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
565 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
566 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
567 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
568 %attr(755,root,root) %{_libdir}/%{name}/filetime
569 %{_libdir}/%{name}/functions
570 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
571 %attr(755,root,root) %{_libdir}/%{name}/lockfile
572 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
573 %attr(755,root,root) %{_libdir}/%{name}/readlink
574 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
575 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
576 %attr(755,root,root) %{_libdir}/%{name}/sigexec
577 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
578 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
579 %{_libdir}/%{name}/vserver.*
580 %{_libdir}/%{name}/vserver-setup.*
581 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
582 %{_libdir}/%{name}/vserver-build.*
583 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
584 %attr(755,root,root) %{_libdir}/%{name}/vhashify
585 %attr(755,root,root) %{_libdir}/%{name}/vhashify.cron
586 %attr(755,root,root) %{_libdir}/%{name}/vshelper
587 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
588 %{_mandir}/man8/chbind.8*
589 %{_mandir}/man8/chcontext.8*
590 %{_mandir}/man8/reducecap.8*
591 %{_mandir}/man8/vps.8*
592 %{_mandir}/man8/vpstree.8*
593 %{_mandir}/man8/vserver-stat.8*
594 %{_mandir}/man8/vserver.8*
595 %{_mandir}/man8/vtop.8*
596 %attr(000,root,root) %dir /vservers
598 %dir %{_localstatedir}/run/vservers
599 %dir %{_localstatedir}/run/vservers.rev
600 %dir %{_localstatedir}/run/vshelper
601 %dir /var/cache/vservers
604 %defattr(644,root,root,755)
605 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
606 %attr(755,root,root) %{_libdir}/lib*.so
608 %{_includedir}/vserver*.h
609 %{_pkgconfigdir}/*.pc
612 %defattr(644,root,root,755)
613 %{_libdir}/libvserver.a
616 %defattr(644,root,root,755)
617 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
620 %defattr(644,root,root,755)
621 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
622 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
623 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
624 %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vservers
625 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
626 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
627 %attr(754,root,root) /etc/rc.d/init.d/vservers
630 %defattr(644,root,root,755)
631 %doc contrib/yum*.patch package-management.txt
632 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
633 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
634 %dir %{_sysconfdir}/vservers/.distributions
635 %dir %{_sysconfdir}/vservers/.distributions/.common
636 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
637 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
638 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
640 %dir %{_sysconfdir}/vservers/.distributions/pld-th
641 %dir %{_sysconfdir}/vservers/.distributions/pld-th/poldek
642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-th/poldek/*.conf
643 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
644 %dir %{_libdir}/%{name}/distributions
645 %attr(-,root,root) %{_libdir}/%{name}/distributions/defaults
646 %attr(-,root,root) %{_libdir}/%{name}/distributions/pld*
647 %dir %{_libdir}/%{name}/distributions/template
648 %attr(755,root,root) %{_libdir}/%{name}/distributions/template/init*
649 %attr(-,root,root) %{_libdir}/%{name}/distributions/redhat
650 %{_libdir}/%{name}/magic.mime
651 %{_libdir}/%{name}/vserver-build.*
652 %{_libdir}/%{name}/vserver-setup.functions
653 %{_libdir}/%{name}/defaults/fstab
654 %{_libdir}/%{name}/defaults/debootstrap.uri
655 %{_libdir}/%{name}/defaults/vunify-exclude
656 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
657 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
658 %attr(755,root,root) %{_libdir}/%{name}/vcopy
659 %attr(755,root,root) %{_libdir}/%{name}/vpkg
660 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
661 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
662 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
663 %attr(755,root,root) %{_libdir}/%{name}/vunify
664 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
665 %attr(755,root,root) %{_sbindir}/vapt-get
666 %attr(755,root,root) %{_sbindir}/vpoldek
667 %attr(755,root,root) %{_sbindir}/vrpm
668 %attr(755,root,root) %{_sbindir}/vyum
670 %files -n vserver-distro-fedora
671 %defattr(644,root,root,755)
672 %dir %{_sysconfdir}/vservers/.distributions/fc*
673 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
674 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
675 %{_libdir}/%{name}/distributions/fc*
677 %files -n vserver-distro-redhat
678 %defattr(644,root,root,755)
679 %dir %{_sysconfdir}/vservers/.distributions/rh*
680 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
682 %{_libdir}/%{name}/distributions/rh*
684 %files -n vserver-distro-suse
685 %defattr(644,root,root,755)
686 %dir %{_sysconfdir}/vservers/.distributions/suse*
687 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
689 %{_libdir}/%{name}/distributions/suse*
691 %files -n vserver-distro-centos
692 %defattr(644,root,root,755)
693 %{_libdir}/util-vserver/distributions/centos4
695 %files -n vserver-distro-gentoo
696 %defattr(644,root,root,755)
697 %dir %{_libdir}/util-vserver/distributions/gentoo
698 %attr(755,root,root) %{_libdir}/util-vserver/distributions/gentoo/*
699 %attr(755,root,root) %{_sbindir}/vdispatch-conf
700 %attr(755,root,root) %{_sbindir}/vemerge
701 %attr(755,root,root) %{_sbindir}/vesync
702 %attr(755,root,root) %{_sbindir}/vupdateworld
705 %defattr(644,root,root,755)
706 %dir %{_sysconfdir}/vservices
707 %{_sysconfdir}/vservices/*
708 %dir %{_libdir}/%{name}/legacy
709 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
710 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
711 %attr(754,root,root) /etc/rc.d/init.d/v_*
712 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
713 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
714 %attr(755,root,root) %{_sbindir}/vserver-copy
715 %{_mandir}/man8/distrib-info.8*
716 %{_mandir}/man8/rebootmgr.8*
717 %{_mandir}/man8/vserver-copy.8*