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