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