1 Summary: Linux virtual server utilities
7 Group: System Environment/Base
8 Source: %name-%version.tar.bz2
9 Provides: %name-devel = %epoch:%version-%release
10 BuildRoot: %_tmppath/%name-%version-%release-root
11 Provides: vserver = %epoch:%version-%release
12 Conflicts: vserver < %epoch:%version
16 This package provides the components and a framework to setup virtual
17 servers. A virtual server runs inside a linux server. It is nevertheless
18 highly independent. As such, you can run various services with normal
19 configuration. The various vservers can't interact with each other and
20 can't interact with services in the main server.
22 This requires a special kernel supporting the new new_s_context and
23 set_ipv4root system call.
32 %__make %{?_smp_mflags}
36 rm -rf $RPM_BUILD_ROOT
37 %__make DESTDIR=$RPM_BUILD_ROOT install
41 rm -rf $RPM_BUILD_ROOT
44 %define v_services httpd named portmap sendmail smb sshd xinetd
46 /sbin/chkconfig --add vservers
47 /sbin/chkconfig --add rebootmgr
49 for i in %v_services; do
50 /sbin/chkconfig --add v_$i
55 test "$1" != 0 || for i in %v_services; do
56 /sbin/chkconfig --del v_$i
59 test "$1" != 0 || %{_initrddir}/rebootmgr stop &>/dev/null || :
60 test "$1" != 0 || /sbin/chkconfig --del rebootmgr
61 test "$1" != 0 || /sbin/chkconfig --del vservers
65 test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || :
70 %doc AUTHORS COPYING ChangeLog NEWS README THANKS
74 %_includedir/vserver.h
78 %config(noreplace) /etc/vservers/newvserver.defaults
79 %config(noreplace) /etc/vservers.conf
84 * Fri Sep 26 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.23.4-1