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