There's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once...
[util-vserver.git] / util-vserver.spec
index 361d119..a3bdd88 100644 (file)
@@ -52,8 +52,6 @@ Obsoletes:    vserver < %version
 BuildRequires: mount vconfig gawk iproute iptables
 BuildRequires: gcc-c++ wget which diffutils
 BuildRequires: e2fsprogs-devel beecrypt-devel
-# vip6-autod
-BuildRequires:  libnl-devel
 %{!?_without_doc:BuildRequires:        doxygen tetex-latex}
 Requires(post):                %name-core
 Requires(pre):         %pkglibdir
@@ -275,6 +273,8 @@ fi
 %chkconfig --del util-vserver
 # PlanetLab does not require /proc security
 %chkconfig --del vprocunhide
+# vip6-autod handles IPv6 auto-assignments
+%chkconfig --add vip6-autod
 
 
 %preun sysv
@@ -283,6 +283,7 @@ fi
 #test "$1" != 0 || %chkconfig --del vprocunhide
 #test "$1" != 0 || %chkconfig --del vservers-default
 #test "$1" != 0 || %chkconfig --del util-vserver
+test "$1" != 0 || %chkconfig --del vip6-autod
 
 
 %postun sysv
@@ -477,6 +478,9 @@ fi
 
 
 %changelog
+* Mon Jul 30 2007 Daniel Hokka Zakrisson <daniel@hozac.com>
+- add vip6-autod
+
 * Fri Dec 29 2006 Daniel Hokka Zakrisson <daniel@hozac.com> - 0.30.213-0
 - add --with legacy and --without doc switches
 - add util-vserver initscript