add gentoo portage overlay requirement
This commit is contained in:
parent
d23d3aac18
commit
b16d7c1dcf
@ -34,7 +34,7 @@ DEPEND=">=sys-libs/glibc-2.3.5
|
||||
|
||||
# vmware-server-console should not use virtual/libc as this is a
|
||||
# precompiled binary package thats linked to glibc.
|
||||
RDEPEND=">=sys-libs/glibc-2.3.5[multilib_abi_x86]
|
||||
RDEPEND="amd64? ( >=sys-libs/glibc-2.3.5[multilib_abi_x86]
|
||||
sys-libs/libstdc++-v3[multilib_abi_x86]
|
||||
dev-cpp/atkmm[multilib_abi_x86]
|
||||
dev-cpp/glibmm:2[multilib_abi_x86]
|
||||
@ -68,7 +68,42 @@ RDEPEND=">=sys-libs/glibc-2.3.5[multilib_abi_x86]
|
||||
x11-libs/libXtst[multilib_abi_x86]
|
||||
x11-libs/libsexy:1[multilib_abi_x86]
|
||||
x11-libs/libview[multilib_abi_x86]
|
||||
x11-libs/pango[multilib_abi_x86]
|
||||
x11-libs/pango[multilib_abi_x86] )
|
||||
x86? ( >=sys-libs/glibc-2.3.5
|
||||
sys-libs/libstdc++-v3
|
||||
dev-cpp/atkmm
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libgnomecanvasmm:2.6
|
||||
dev-cpp/libsexymm:1
|
||||
dev-cpp/pangomm:1.4
|
||||
dev-libs/atk
|
||||
dev-libs/expat:1.95
|
||||
dev-libs/glib:2
|
||||
dev-libs/libsigc++:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/openssl:0.9.7
|
||||
gnome-base/libglade:2.0
|
||||
gnome-base/libgnomecanvas
|
||||
gnome-base/librsvg:2
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/freetype:2
|
||||
media-libs/libart_lgpl
|
||||
sys-libs/zlib
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-libs/libsexy:1
|
||||
x11-libs/libview
|
||||
x11-libs/pango )
|
||||
>=dev-lang/perl-5
|
||||
!<sys-apps/dbus-0.62"
|
||||
|
||||
|
1
metadata/layout.conf
Normal file
1
metadata/layout.conf
Normal file
@ -0,0 +1 @@
|
||||
masters = gentoo
|
619
sys-cluster/util-vserver/ChangeLog
Normal file
619
sys-cluster/util-vserver/ChangeLog
Normal file
@ -0,0 +1,619 @@
|
||||
# ChangeLog for sys-cluster/util-vserver
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/ChangeLog,v 1.107 2011/11/20 09:13:21 xarthisius Exp $
|
||||
|
||||
20 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org>
|
||||
util-vserver-0.30.216_pre2910.ebuild, util-vserver-0.30.216_pre2935.ebuild,
|
||||
util-vserver-0.30.216_pre2955.ebuild:
|
||||
ppc keywords dropped wrt #364103
|
||||
|
||||
*util-vserver-0.30.216_pre2955 (19 Apr 2011)
|
||||
|
||||
19 Apr 2011; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.215-r3.ebuild, +util-vserver-0.30.216_pre2955.ebuild:
|
||||
bump to latest snapshot (fix #297982) and remove old ebuild
|
||||
|
||||
07 Mar 2011; Jeroen Roovers <jer@gentoo.org>
|
||||
util-vserver-0.30.216_pre2910.ebuild:
|
||||
Stable for HPPA (bug #355485).
|
||||
|
||||
*util-vserver-0.30.216_pre2935 (18 Feb 2011)
|
||||
|
||||
18 Feb 2011; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.216_pre2883.ebuild,
|
||||
util-vserver-0.30.216_pre2910.ebuild,
|
||||
+util-vserver-0.30.216_pre2935.ebuild:
|
||||
stabilize 0.30.216_pre2910 on amd64 and x86; version bump to
|
||||
0.30.216_pre2935
|
||||
|
||||
*util-vserver-0.30.216_pre2910 (19 Aug 2010)
|
||||
|
||||
19 Aug 2010; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.215.ebuild, -util-vserver-0.30.216_pre2864.ebuild,
|
||||
+util-vserver-0.30.216_pre2910.ebuild:
|
||||
add new snapshot for 2.6.35 kernel support (you need memory control groups
|
||||
enabled)
|
||||
|
||||
*util-vserver-0.30.216_pre2883 (08 Apr 2010)
|
||||
|
||||
08 Apr 2010; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.216_pre2855.ebuild,
|
||||
+util-vserver-0.30.216_pre2883.ebuild:
|
||||
new snapshot
|
||||
|
||||
*util-vserver-0.30.216_pre2864 (17 Jan 2010)
|
||||
|
||||
17 Jan 2010; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.216_pre2849.ebuild,
|
||||
+util-vserver-0.30.216_pre2864.ebuild:
|
||||
new snapshot
|
||||
|
||||
12 Nov 2009; Jeroen Roovers <jer@gentoo.org>
|
||||
util-vserver-0.30.215-r3.ebuild:
|
||||
Stable for HPPA (LuckyLuke).
|
||||
|
||||
*util-vserver-0.30.216_pre2855 (11 Nov 2009)
|
||||
|
||||
11 Nov 2009; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.216_pre2841.ebuild,
|
||||
+util-vserver-0.30.216_pre2855.ebuild:
|
||||
version bump & cleanup
|
||||
|
||||
*util-vserver-0.30.216_pre2849 (23 Sep 2009)
|
||||
|
||||
23 Sep 2009; Benedikt Böhm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.216_pre2849.ebuild:
|
||||
new snapshot, fixes #279549
|
||||
|
||||
*util-vserver-0.30.216_pre2841 (28 Jun 2009)
|
||||
|
||||
28 Jun 2009; Benedikt Böhm <hollow@gentoo.org>
|
||||
-files/util-vserver-0.30.214-baselayout2_path.patch,
|
||||
-util-vserver-0.30.214.ebuild, -util-vserver-0.30.215-r1.ebuild,
|
||||
-util-vserver-0.30.215-r2.ebuild, util-vserver-0.30.215-r3.ebuild,
|
||||
+util-vserver-0.30.216_pre2841.ebuild:
|
||||
0.30.215-r3 stable on amd64/x86; new snapshot for experimental kernels; cleanup
|
||||
|
||||
*util-vserver-0.30.215-r3 (24 Mar 2009)
|
||||
|
||||
24 Mar 2009; Benedikt Böhm <hollow@gentoo.org>
|
||||
+files/util-vserver-0.30.215-2718.patch,
|
||||
+files/util-vserver-0.30.215-dietmmap.patch,
|
||||
+util-vserver-0.30.215-r3.ebuild:
|
||||
fix mmap problems wrt #228135
|
||||
|
||||
*util-vserver-0.30.215-r2 (04 Mar 2009)
|
||||
|
||||
04 Mar 2009; Benedikt Böhm <hollow@gentoo.org>
|
||||
+files/util-vserver-0.30.215-typo.patch, +util-vserver-0.30.215-r2.ebuild:
|
||||
fix typo in gentoo/initpost
|
||||
|
||||
17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||
files/util-vserver-0.30.215-capget.patch:
|
||||
Fix patch with absolute paths.
|
||||
|
||||
*util-vserver-0.30.215-r1 (08 Aug 2008)
|
||||
|
||||
08 Aug 2008; Benedikt Böhm <hollow@gentoo.org>
|
||||
+files/util-vserver-0.30.215-capget.patch, util-vserver-0.30.214.ebuild,
|
||||
util-vserver-0.30.215.ebuild, +util-vserver-0.30.215-r1.ebuild:
|
||||
fix capability support for kernel headers >= 2.6.25
|
||||
|
||||
14 Jun 2008; Zac Medico <zmedico@gentoo.org> util-vserver-0.30.214.ebuild,
|
||||
util-vserver-0.30.215.ebuild:
|
||||
Bug #226505 - For compatibity with phase execution order in >=portage-2.1.5,
|
||||
call has_version inside pkg_preinst instead of pkg_postinst.
|
||||
|
||||
13 May 2008; Jeroen Roovers <jer@gentoo.org> util-vserver-0.30.215.ebuild:
|
||||
Marked ~hppa (LuckyLuke).
|
||||
|
||||
13 Apr 2008; Benedikt Böhm <hollow@gentoo.org>
|
||||
-files/util-vserver-0.30.214-openrc.patch,
|
||||
+files/util-vserver-0.30.215-openrc.patch, util-vserver-0.30.214.ebuild,
|
||||
-util-vserver-0.30.214-r1.ebuild, util-vserver-0.30.215.ebuild:
|
||||
0.30.215 stable on amd64/x86; fix mktemp dependency; fix functions.sh
|
||||
location for openrc; remove old version
|
||||
|
||||
*util-vserver-0.30.215 (17 Mar 2008)
|
||||
|
||||
17 Mar 2008; Benedikt Böhm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.215.ebuild:
|
||||
version bump
|
||||
|
||||
14 Mar 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml:
|
||||
fix metadata
|
||||
|
||||
*util-vserver-0.30.214-r1 (11 Mar 2008)
|
||||
|
||||
11 Mar 2008; Benedikt Böhm <hollow@gentoo.org>
|
||||
-files/util-vserver-0.30.212-initpost.patch,
|
||||
-files/util-vserver-0.30.212-vsomething-fix.patch,
|
||||
-files/util-vserver-0.30.212-wrapper.patch,
|
||||
+files/util-vserver-0.30.214-openrc.patch, -files/init.d/vprocunhide,
|
||||
-files/init.d/vservers.default, -util-vserver-0.30.212-r2.ebuild,
|
||||
+util-vserver-0.30.214-r1.ebuild:
|
||||
add support for openrc; cleanup old cruft
|
||||
|
||||
18 Nov 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
files/util-vserver-0.30.214-baselayout2_path.patch:
|
||||
fix broken patch (LF instead of CRLF, blame trac)
|
||||
|
||||
17 Nov 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
+files/util-vserver-0.30.214-baselayout2_path.patch,
|
||||
util-vserver-0.30.214.ebuild:
|
||||
fix PATH for baselayout2
|
||||
|
||||
10 Oct 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
-files/util-vserver-0.30.213-init-vserver.sh.patch,
|
||||
-util-vserver-0.30.213.ebuild, util-vserver-0.30.214.ebuild:
|
||||
0.30.214 stable on amd64/x86
|
||||
|
||||
*util-vserver-0.30.214 (02 Sep 2007)
|
||||
|
||||
02 Sep 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.214.ebuild:
|
||||
version bump
|
||||
|
||||
16 May 2007; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.213.ebuild:
|
||||
Silence mkdir ${VDIRBASE} and apply the barrier to ${VDIRBASE} in pkg_postinst.
|
||||
|
||||
16 May 2007; Christian Heim <phreak@gentoo.org>
|
||||
+files/util-vserver-0.30.213-init-vserver.sh.patch,
|
||||
util-vserver-0.30.213.ebuild:
|
||||
Add a fix for baselayout-2 support within vservers, we explicitly need to
|
||||
export TERM=linux in init-vserver.sh to get color with baselayout-2.
|
||||
|
||||
*util-vserver-0.30.213 (03 May 2007)
|
||||
|
||||
03 May 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.213_rc5.ebuild, -util-vserver-0.30.213_rc6.ebuild,
|
||||
+util-vserver-0.30.213.ebuild:
|
||||
version bump; cleanup
|
||||
|
||||
03 May 2007; Sven Wegener <swegener@gentoo.org>
|
||||
util-vserver-0.30.212-r2.ebuild, util-vserver-0.30.213_rc5.ebuild,
|
||||
util-vserver-0.30.213_rc6.ebuild:
|
||||
Include CATEGORY and PN in call to has_version else we'll never get a match.
|
||||
|
||||
07 Apr 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
util-vserver-0.30.213_rc6.ebuild:
|
||||
keep pkg dir so vserver ... delete works
|
||||
|
||||
05 Apr 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.212-r1.ebuild, +util-vserver-0.30.213_rc6.ebuild:
|
||||
version bump, cleanup
|
||||
|
||||
29 Mar 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.213_rc5.ebuild:
|
||||
test release, needed for baselayout 1.13
|
||||
|
||||
09 Feb 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
files/util-vserver-0.30.212-vsomething-fix.patch:
|
||||
finally fix vsomething patch
|
||||
|
||||
07 Feb 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
files/util-vserver-0.30.212-vsomething-fix.patch:
|
||||
fix vsomething patch
|
||||
|
||||
*util-vserver-0.30.212-r2 (05 Feb 2007)
|
||||
|
||||
05 Feb 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
+files/util-vserver-0.30.212-vsomething-fix.patch,
|
||||
+util-vserver-0.30.212-r2.ebuild:
|
||||
fix vsomething argument handling
|
||||
|
||||
21 Jan 2007; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210-r13.ebuild, -util-vserver-0.30.211.ebuild,
|
||||
util-vserver-0.30.212-r1.ebuild:
|
||||
remove old ebuilds; remove autotools eclass; cleanup depends
|
||||
|
||||
*util-vserver-0.30.212-r1 (21 Jan 2007)
|
||||
|
||||
21 Jan 2007; Christian Heim <phreak@gentoo.org>
|
||||
files/util-vserver-0.30.212-initpost.patch, -util-vserver-0.30.212.ebuild,
|
||||
+util-vserver-0.30.212-r1.ebuild:
|
||||
Revision bump, fixing the initpost patch (thanks to Karel Hala <stripe at
|
||||
suchdol.net> in #163045).
|
||||
|
||||
20 Jan 2007; Christian Heim <phreak@gentoo.org>
|
||||
+files/util-vserver-0.30.212-initpost.patch, util-vserver-0.30.212.ebuild:
|
||||
Adding a patch to fix runlevel scripts for older baselayouts.
|
||||
util-vserver-0.30.212 going stable on amd64 and x86.
|
||||
|
||||
20 Jan 2007; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.212.ebuild:
|
||||
Dropping the explicit DEPEND/RDEPEND on sys-process/procps, as that is already
|
||||
contained in base/packages (thus the system target on all arches). Moving away
|
||||
from the extra ugly myconf-stuff, putting it all in econf's hand. Unifying
|
||||
`make install' and `make install-distribution'. Adjusting the pkg_postinst to
|
||||
use elog instead of einfo. Adding a hint, if upgrading to >0.30.211, as the
|
||||
init-scripts changed.
|
||||
|
||||
21 Dec 2006; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.210-r13.ebuild, util-vserver-0.30.211.ebuild,
|
||||
util-vserver-0.30.212.ebuild:
|
||||
Providing a symlink for /sbin/vshelper, so on a new install you don't need
|
||||
to touch /etc/sysctl.conf.
|
||||
|
||||
21 Dec 2006; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.211.ebuild:
|
||||
Stabling util-vserver-0.30.211 on amd64 and x86.
|
||||
|
||||
*util-vserver-0.30.212 (09 Dec 2006)
|
||||
|
||||
09 Dec 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
+files/util-vserver-0.30.212-wrapper.patch, +files/bash_completion,
|
||||
+files/init.d/vprocunhide, +files/init.d/vservers.default,
|
||||
-util-vserver-0.30.210-r17.ebuild, -util-vserver-0.30.210-r18.ebuild,
|
||||
+util-vserver-0.30.212.ebuild:
|
||||
version bump; cleanup
|
||||
|
||||
*util-vserver-0.30.211 (07 Oct 2006)
|
||||
|
||||
07 Oct 2006; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.211.ebuild:
|
||||
Version bump.
|
||||
|
||||
26 Sep 2006; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.210-r13.ebuild, util-vserver-0.30.210-r17.ebuild,
|
||||
util-vserver-0.30.210-r18.ebuild:
|
||||
util-vserver-0.30.210 needs =automake-1.9*, fixing DEPEND. This fixes
|
||||
#149085 (thanks to Matthias FooBar <genzilla at genfoo.de> for reporting).
|
||||
|
||||
07 Sep 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
util-vserver-0.30.210-r18.ebuild:
|
||||
add legacy API use flag for older kernels
|
||||
|
||||
*util-vserver-0.30.210-r18 (06 Sep 2006)
|
||||
|
||||
06 Sep 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r18.ebuild:
|
||||
patch reordering; bash-completion; yum 2.6 support; misc fixes
|
||||
|
||||
*util-vserver-0.30.210-r17 (24 Jul 2006)
|
||||
|
||||
24 Jul 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210-r14.ebuild, -util-vserver-0.30.210-r15.ebuild,
|
||||
-util-vserver-0.30.210-r16.ebuild, +util-vserver-0.30.210-r17.ebuild:
|
||||
fix patch tarballs, d'oh
|
||||
|
||||
*util-vserver-0.30.210-r16 (23 Jul 2006)
|
||||
|
||||
23 Jul 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r16.ebuild:
|
||||
fix vschedcalc, thanks to Wilhelm Meier
|
||||
|
||||
*util-vserver-0.30.210-r15 (09 Jul 2006)
|
||||
|
||||
09 Jul 2006; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.210-r15.ebuild:
|
||||
Revision bump, fixing some rpm related issues
|
||||
|
||||
01 Jul 2006; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.210-r13.ebuild, util-vserver-0.30.210-r14.ebuild:
|
||||
Explicitly define the RDEPEND, dev-libs/dietlibc isn't needed as RDEPEND,
|
||||
since all packages linked against dietlibc are compiled static
|
||||
|
||||
*util-vserver-0.30.210-r14 (25 Jun 2006)
|
||||
|
||||
25 Jun 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210-r12.ebuild, +util-vserver-0.30.210-r14.ebuild:
|
||||
fix start-vservers, update keywords
|
||||
|
||||
06 May 2006; Benedikt Böhm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.209-r1.ebuild, util-vserver-0.30.210-r13.ebuild:
|
||||
0.30.210-r13 stable on amd/x86
|
||||
|
||||
*util-vserver-0.30.210-r13 (22 Apr 2006)
|
||||
|
||||
22 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r13.ebuild:
|
||||
fix #130783
|
||||
|
||||
14 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210-r11.ebuild, util-vserver-0.30.210-r12.ebuild:
|
||||
0.30.210-r12 stable on amd64/x86; fixes bug #129914
|
||||
|
||||
*util-vserver-0.30.210-r12 (13 Apr 2006)
|
||||
|
||||
13 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r12.ebuild:
|
||||
remove obsolete patches; CPUSET support; Fedora Core 5 + CentOS4 support;
|
||||
minor other fixes; thanks to Daniel Hokka Zakrisson
|
||||
|
||||
*util-vserver-0.30.210-r11 (12 Apr 2006)
|
||||
|
||||
12 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210-r9.ebuild, -util-vserver-0.30.210-r10.ebuild,
|
||||
+util-vserver-0.30.210-r11.ebuild:
|
||||
the r10 tarball got borked
|
||||
|
||||
*util-vserver-0.30.210-r10 (12 Apr 2006)
|
||||
|
||||
12 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r10.ebuild:
|
||||
vlogin fixes; new delete command; add vserver ... clone; clone(2) fix for
|
||||
sparc64
|
||||
|
||||
*util-vserver-0.30.210-r9 (06 Apr 2006)
|
||||
|
||||
06 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210-r4.ebuild, -util-vserver-0.30.210-r5.ebuild,
|
||||
-util-vserver-0.30.210-r6.ebuild, -util-vserver-0.30.210-r7.ebuild,
|
||||
-util-vserver-0.30.210-r8.ebuild, +util-vserver-0.30.210-r9.ebuild:
|
||||
guess what! vlogin fixes! + cleanup
|
||||
|
||||
*util-vserver-0.30.210-r8 (05 Apr 2006)
|
||||
|
||||
05 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r8.ebuild:
|
||||
vlogin fixes again
|
||||
|
||||
*util-vserver-0.30.210-r7 (03 Apr 2006)
|
||||
|
||||
03 Apr 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r7.ebuild:
|
||||
secure chcontext; syscall update
|
||||
|
||||
*util-vserver-0.30.210-r6 (16 Mar 2006)
|
||||
|
||||
16 Mar 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.210-r6.ebuild:
|
||||
fix testsuite; fix vlogin
|
||||
|
||||
*util-vserver-0.30.210-r5 (12 Mar 2006)
|
||||
|
||||
12 Mar 2006; Christian Heim <phreak@gentoo.org>
|
||||
-util-vserver-0.30.210-r3.ebuild, +util-vserver-0.30.210-r5.ebuild:
|
||||
Revision bump (new patchset, introducing Benedikt's vlogin proxy, finally
|
||||
deprecating init-style gentoo); Removing old ebuild
|
||||
|
||||
02 Mar 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
util-vserver-0.30.210-r4.ebuild:
|
||||
keep /var/cache/vservers
|
||||
|
||||
*util-vserver-0.30.210-r4 (26 Feb 2006)
|
||||
|
||||
26 Feb 2006; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.210-r4.ebuild:
|
||||
Revision bump (again, sorry for that); Updating the Gentoo related tools,
|
||||
adding the vprocunhide patch thanks to Oliver Welter
|
||||
|
||||
*util-vserver-0.30.210-r3 (23 Feb 2006)
|
||||
|
||||
23 Feb 2006; Benedikt Boehm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.210.ebuild, -util-vserver-0.30.210-r1.ebuild,
|
||||
-util-vserver-0.30.210-r2.ebuild, +util-vserver-0.30.210-r3.ebuild:
|
||||
remove skeleton patch; cleanup
|
||||
|
||||
*util-vserver-0.30.210-r2 (18 Feb 2006)
|
||||
|
||||
18 Feb 2006; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.210-r2.ebuild:
|
||||
Fixing default vprocunhide list; rev bumping
|
||||
|
||||
*util-vserver-0.30.210-r1 (23 Jan 2006)
|
||||
|
||||
23 Jan 2006; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.210-r1.ebuild:
|
||||
Removing util-vserver-0.30.208-fix-lockfile.c.patch from the patchset,
|
||||
revbumping
|
||||
|
||||
*util-vserver-0.30.210 (22 Jan 2006)
|
||||
|
||||
22 Jan 2006; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.210.ebuild:
|
||||
Version bump
|
||||
|
||||
06 Jan 2006; Christian Heim <phreak@gentoo.org>
|
||||
-util-vserver-0.30.208-r5.ebuild:
|
||||
Removing old version, since the newer version has the same KEYWORDS and is
|
||||
additionally stable on AMD64
|
||||
|
||||
24 Dec 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
-util-vserver-0.30.209.ebuild, util-vserver-0.30.209-r1.ebuild:
|
||||
209-r1 to stable amd64 and x86
|
||||
|
||||
12 Dec 2005; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.208-r5.ebuild, util-vserver-0.30.209.ebuild,
|
||||
util-vserver-0.30.209-r1.ebuild:
|
||||
Removing COPYING from our dodoc in src_install()
|
||||
|
||||
*util-vserver-0.30.209-r1 (01 Dec 2005)
|
||||
|
||||
01 Dec 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.209-r1.ebuild:
|
||||
bug fixes; move to default-linux profiles
|
||||
|
||||
26 Nov 2005; Benedikt Boehm <hollow@gentoo.org> -files/vprocunhide,
|
||||
-files/vserver-new_dev-fix.patch,
|
||||
-files/vserver-new_drop-defaulttar.patch, -files/vservers.confd,
|
||||
-files/vservers.initd, -util-vserver-0.30.205-r1.ebuild,
|
||||
util-vserver-0.30.208-r5.ebuild, util-vserver-0.30.209.ebuild:
|
||||
208-r5 to stable x86; cleanup
|
||||
|
||||
26 Nov 2005; Christian Heim <phreak@gentoo.org>
|
||||
-util-vserver-0.30.208-r3.ebuild, -util-vserver-0.30.208-r4.ebuild,
|
||||
util-vserver-0.30.208-r5.ebuild, util-vserver-0.30.209.ebuild:
|
||||
Fixing SRC_URI; cleaning up old ebuilds
|
||||
|
||||
*util-vserver-0.30.209 (12 Nov 2005)
|
||||
|
||||
12 Nov 2005; Christian Heim <phreak@gentoo.org>
|
||||
+util-vserver-0.30.209.ebuild:
|
||||
Version bump
|
||||
|
||||
*util-vserver-0.30.208-r5 (27 Oct 2005)
|
||||
|
||||
27 Oct 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.208-r5.ebuild:
|
||||
many bugfixes, mainly vserver-new and gentoo-functions.sh
|
||||
|
||||
*util-vserver-0.30.208-r4 (13 Oct 2005)
|
||||
|
||||
13 Oct 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.208-r4.ebuild:
|
||||
mostly updates to gentoo tools
|
||||
|
||||
04 Oct 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+files/vserver-new_drop-defaulttar.patch, util-vserver-0.30.208-r3.ebuild:
|
||||
drop support for downloading a default stage tar
|
||||
|
||||
02 Oct 2005; Christian Heim <phreak@gentoo.org>
|
||||
util-vserver-0.30.205-r1.ebuild:
|
||||
Adding dependency upon sys-process/procps; Fixing bug #106910
|
||||
|
||||
01 Oct 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+files/vserver-new_dev-fix.patch, util-vserver-0.30.208-r3.ebuild:
|
||||
fix /dev issue in vserver-new
|
||||
|
||||
01 Oct 2005; Christian Heim <phreak@gentoo.org> metadata.xml:
|
||||
Fixing metadata.xml; Thanks Jakub
|
||||
|
||||
*util-vserver-0.30.208-r3 (01 Oct 2005)
|
||||
|
||||
01 Oct 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
-files/0.30.208-r1/vservers.confd, -files/0.30.208-r1/vservers.initd,
|
||||
-util-vserver-0.30.207.ebuild, -util-vserver-0.30.208.ebuild,
|
||||
-util-vserver-0.30.208-r1.ebuild, -util-vserver-0.30.208-r2.ebuild,
|
||||
+util-vserver-0.30.208-r3.ebuild:
|
||||
lockfile fix; hardened fix; syscall updates; new init script; cleanup
|
||||
|
||||
*util-vserver-0.30.208-r2 (30 Aug 2005)
|
||||
|
||||
30 Aug 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
util-vserver-0.30.205-r1.ebuild, util-vserver-0.30.207.ebuild,
|
||||
util-vserver-0.30.208.ebuild, util-vserver-0.30.208-r1.ebuild,
|
||||
+util-vserver-0.30.208-r2.ebuild:
|
||||
add back dietlibc support; add -r2 with a new tar (includes new fixes)
|
||||
|
||||
28 Aug 2005; Mike Frysinger <vapier@gentoo.org>
|
||||
util-vserver-0.30.205-r1.ebuild, util-vserver-0.30.207.ebuild,
|
||||
util-vserver-0.30.208.ebuild, util-vserver-0.30.208-r1.ebuild:
|
||||
Punt USE=diet.
|
||||
|
||||
11 Aug 2005; Carlos Silva <r3pek@gentoo.org>
|
||||
util-vserver-0.30.208-r1.ebuild:
|
||||
marked ~amd64. closes bug #90317
|
||||
|
||||
*util-vserver-0.30.208-r1 (03 Aug 2005)
|
||||
|
||||
03 Aug 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+files/0.30.208-r1/vservers.confd, +files/0.30.208-r1/vservers.initd,
|
||||
+util-vserver-0.30.208-r1.ebuild:
|
||||
misc fixes + features
|
||||
|
||||
*util-vserver-0.30.208 (18 Jul 2005)
|
||||
|
||||
18 Jul 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
-files/0.30.205/vprocunhide, -files/0.30.205/vservers.confd,
|
||||
-files/0.30.205/vservers.initd, -files/0.30.205/vshelper-shutdown-hack,
|
||||
+files/vprocunhide, files/vservers.initd, -util-vserver-0.30.196.ebuild,
|
||||
-util-vserver-0.30.204.ebuild, -util-vserver-0.30.205.ebuild,
|
||||
util-vserver-0.30.205-r1.ebuild, util-vserver-0.30.207.ebuild,
|
||||
+util-vserver-0.30.208.ebuild:
|
||||
Version bump; 205-r1 to stable; cleanup
|
||||
|
||||
15 Jun 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
util-vserver-0.30.207.ebuild:
|
||||
fixed vshelper hack
|
||||
|
||||
12 Jun 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+files/0.30.205/vshelper-shutdown-hack, util-vserver-0.30.207.ebuild:
|
||||
fix vshelper + barrier warning
|
||||
|
||||
*util-vserver-0.30.207 (17 May 2005)
|
||||
|
||||
17 May 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.207.ebuild:
|
||||
Version bump
|
||||
|
||||
*util-vserver-0.30.205-r1 (07 Apr 2005)
|
||||
|
||||
07 Apr 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+files/0.30.205/vservers.confd, +files/0.30.205/vprocunhide,
|
||||
+files/0.30.205/vservers.initd, +util-vserver-0.30.205-r1.ebuild:
|
||||
added vprocunhide init script, small fixes
|
||||
|
||||
*util-vserver-0.30.205 (30 Mar 2005)
|
||||
|
||||
30 Mar 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
-files/0.30.196/vservers.confd, -files/0.30.196/vservers.initd,
|
||||
-files/rebootmgr.initd, +files/vservers.confd, files/vservers.initd,
|
||||
-util-vserver-0.30.ebuild, util-vserver-0.30.196.ebuild,
|
||||
util-vserver-0.30.204.ebuild, +util-vserver-0.30.205.ebuild:
|
||||
bump to 0.30.205; 196 to stable; clean up of files/
|
||||
|
||||
26 Feb 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
util-vserver-0.30.196.ebuild, util-vserver-0.30.204.ebuild:
|
||||
fixed missing /var/lock/vservers for new init script + fixed
|
||||
a bugs
|
||||
|
||||
25 Feb 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
files/0.30.196/vservers.confd, files/0.30.196/vservers.initd:
|
||||
updated conf.d & init.d scripts
|
||||
|
||||
*util-vserver-0.30.204 (23 Feb 2005)
|
||||
|
||||
23 Feb 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
+util-vserver-0.30.204.ebuild:
|
||||
Version bump
|
||||
|
||||
10 Feb 2005; Benedikt Boehm <hollow@gentoo.org>
|
||||
util-vserver-0.30.196.ebuild:
|
||||
fixed DEPEND
|
||||
|
||||
*util-vserver-0.30.196 (23 Jan 2005)
|
||||
|
||||
23 Jan 2005; Benedikt Boehm <hollow@gentoo.org> +metadata.xml,
|
||||
-files/configure.patch, -files/vprocunhide,
|
||||
-files/vserver-build-029p214.patch, -files/vservers-conf.d,
|
||||
-files/vservers-init, +files/0.30.196/vservers.confd,
|
||||
+files/0.30.196/vservers.initd, -util-vserver-0.29_p214.ebuild,
|
||||
+util-vserver-0.30.196.ebuild:
|
||||
Removed old versions. Added 0.30.196
|
||||
|
||||
19 Sep 2004; Michael Imhof <tantive@gentoo.org> -util-vserver-0.29.5.ebuild,
|
||||
-util-vserver-0.29_p196-r1.ebuild:
|
||||
Cleaned out old ebuilds.
|
||||
|
||||
*util-vserver-0.29_p214 (25 Aug 2004)
|
||||
|
||||
25 Aug 2004; Michael Imhof <tantive@gentoo.org> +files/vprocunhide,
|
||||
+files/vserver-build-029p214.patch, +files/vservers-conf.d,
|
||||
+files/vservers-init, +util-vserver-0.29_p214.ebuild:
|
||||
Version bumped. Closes #58770.
|
||||
|
||||
*util-vserver-0.30 (09 Jul 2004)
|
||||
|
||||
09 Jul 2004; Michael Imhof <tantive@gentoo.org> +util-vserver-0.30.ebuild:
|
||||
Version bumped. Closes #56572.
|
||||
|
||||
07 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
|
||||
util-vserver-0.29.ebuild:
|
||||
clean older ebuild
|
||||
|
||||
12 May 2004; David Holm <dholm@gentoo.org> util-vserver-0.29.5.ebuild:
|
||||
Added to ~ppc.
|
||||
|
||||
*util-vserver-0.29.5 (11 May 2004)
|
||||
|
||||
11 May 2004; Michael Imhof <tantive@gentoo.org> util-vserver-0.29.5.ebuild:
|
||||
Version bumped. Added inherit eutils. Closes #49006.
|
||||
|
||||
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> util-vserver-0.29.ebuild:
|
||||
Add inherit eutils
|
||||
|
||||
*util-vserver-0.29_p196-r1 (25 Mar 2004)
|
||||
|
||||
25 Mar 2004; Michael Imhof <tantive@gentoo.org> util-vserver-0.29_p196-r1.ebuild:
|
||||
New version. Closes #45729.
|
||||
|
||||
*util-vserver-0.29 (25 Mar 2004)
|
||||
|
||||
25 Mar 2004; Michael Imhof <tantive@gentoo.org> util-vserver-0.29.ebuild,
|
||||
files/configure.patch:
|
||||
Initial ebuild. Submitted by Ole Tange <bugs.gentoo.org@tange.dk>. Closes
|
||||
#45053.
|
||||
|
5
sys-cluster/util-vserver/Manifest
Normal file
5
sys-cluster/util-vserver/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX bash_completion 7568 RMD160 45feafa30f715fb287403518eee8c45fecfe418e SHA1 d281bcad111df21ab0f37703142dd102145d784e SHA256 2232166a5aed9857a7a5c30adfdd4ea944e0608a29fad05f229b8cef2d61795d
|
||||
DIST util-vserver-0.30.216-pre3004.tar.bz2 759801 RMD160 4923d93704c0d5c96a6816f6d5485741437abc68 SHA1 9d2565dde57ff583dda35357a2542b87a5817d61 SHA256 0ca56dede2f46db2b76a97f92ed7df85d015723e30171dc50adc793fe5026b70
|
||||
EBUILD util-vserver-0.30.216_pre3004.ebuild 3718 RMD160 6b84ec959c93a1d759a464fba4e3ba5003bd006c SHA1 06c6cdcddd9e2add5a81c0c6d18526ed5a68da2f SHA256 3350ee35df322876b1c5bad8305948d09b9f16721af3c54b56130a4ad1e2b406
|
||||
MISC ChangeLog 22238 RMD160 8a5fb341948759eb7696bdb6e90263b9da5189c4 SHA1 10da021708f96a4f2667955c7721ef4c4f0d234d SHA256 a7a5126542d17d9b4e29690195ae9cf63c90c19a8ddbb43d751bef4f24f610d1
|
||||
MISC metadata.xml 518 RMD160 62a73756fb710a0464dd24600e7ec70c82e13021 SHA1 78ee9f24180c1215ebe02ac3dbba80a7a0c4a82e SHA256 5a4f424248d873af9f0a66aca2e3e60c6165288fa649ef44de4d8418232c5ac0
|
300
sys-cluster/util-vserver/files/bash_completion
Normal file
300
sys-cluster/util-vserver/files/bash_completion
Normal file
@ -0,0 +1,300 @@
|
||||
# Completion for the vserver command. Source this file (or on some systems
|
||||
# add it to ~/.bash_completion and start a new shell) and bash's completion
|
||||
# mechanism will know all about vserver's options!
|
||||
#
|
||||
# Copyright (C) Thomas Champagne <lafeuil@gmail.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
# The latest version of this software can be obtained here:
|
||||
#
|
||||
# http://linux-vserver.org/Vserver+Completion
|
||||
#
|
||||
# version 0.4.0
|
||||
|
||||
have vserver-info && {
|
||||
: ${UTIL_VSERVER_VARS:=$(vserver-info - SYSINFO |grep prefix: | awk '{ print $2}')/lib/util-vserver/util-vserver-vars}
|
||||
|
||||
test -e "$UTIL_VSERVER_VARS" && {
|
||||
|
||||
. "$UTIL_VSERVER_VARS"
|
||||
. "$_LIB_FUNCTIONS"
|
||||
|
||||
_vserver() {
|
||||
local cur cmds cmdOpts cmdMethodOpts helpCmds names names_pipe func i j method
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
# find available vServers:
|
||||
# call function getAllVservers in vserver library
|
||||
getAllVservers names
|
||||
names_pipe=`echo ${names[@]} | sed 's/ /|/g'`
|
||||
|
||||
# available commands
|
||||
cmds='start stop restart condrestart suexec exec enter chkconfig \
|
||||
running status unify pkg apt-get apt-config apt-cache \
|
||||
rpm pkgmgmt delete'
|
||||
|
||||
# options (long and short name)
|
||||
cmdOpts='--help --version --debug --defaulttty -s --sync -v \
|
||||
--verbose --silent --'
|
||||
|
||||
cmdMethodOpts='-m -n --context --confdir --lockfile \
|
||||
--hostname --netdev --netbcast --netmask \
|
||||
--netprefix --interface --cpuset \
|
||||
--cpusetcpus --cpusetmems --cpusetvirt \
|
||||
--initstyle --flags --help --'
|
||||
|
||||
# if the previous option is a single option
|
||||
helpCmds='--help|--version'
|
||||
if [[ ${COMP_WORDS[1]} == @($helpCmds) ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# lookup the vServer name
|
||||
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do
|
||||
if [[ ${COMP_WORDS[i]} == @($names_pipe) ]] ; then
|
||||
# found it!
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
#a vserver has been found
|
||||
if (( $i < ${#COMP_WORDS[@]}-1 )) ; then
|
||||
# Show the vserver command without build
|
||||
case "${COMP_WORDS[i+1]}" in
|
||||
start)
|
||||
COMPREPLY=( $( compgen -W "--rescue --rescue-cmd" -- $cur ) )
|
||||
;;
|
||||
# No completion for apt-config
|
||||
stop|restart|condrestart|enter|running|status|apt-config|delete)
|
||||
;;
|
||||
suexec)
|
||||
# I don't know how to do
|
||||
COMPREPLY=( $( compgen -W -- $cur ) )
|
||||
;;
|
||||
exec)
|
||||
#I don't know how to do
|
||||
COMPREPLY=( $( compgen -W "" -- $cur ) )
|
||||
;;
|
||||
unify)
|
||||
COMPREPLY=( $( compgen -W "-R" -- $cur ) )
|
||||
;;
|
||||
apt-get|apt-cache)
|
||||
func=${COMP_WORDS[i+1]}
|
||||
COMP_WORDS=( ${COMP_WORDS[@]:$((i+1))} )
|
||||
COMP_CWORD=$((COMP_CWORD-i-1))
|
||||
declare -f _${func//-/_} > /dev/null && _${func//-/_}
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -W "$cmds" -- $cur ) )
|
||||
;;
|
||||
esac
|
||||
return 0
|
||||
else
|
||||
#no vserver name found
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
|
||||
#search the new name of vserver
|
||||
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )) ; do
|
||||
if [[ ${COMP_WORDS[i]} == !(vserver|-*) ]] ; then
|
||||
# found it!
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if (( $i < ${#COMP_WORDS[@]}-1 )) ; then
|
||||
j=$i
|
||||
i=${#COMP_WORDS[@]}
|
||||
for (( ; j < ${#COMP_WORDS[@]}-1; j++ )) ; do
|
||||
if [[ ${COMP_WORDS[j]} == "--" ]]; then
|
||||
# method's parameter
|
||||
case "$method" in
|
||||
legacy|copy)
|
||||
;;
|
||||
apt-rpm)
|
||||
COMPREPLY=( $( compgen -W "-d" -- $cur ) )
|
||||
;;
|
||||
yum)
|
||||
COMPREPLY=( $( compgen -W "-d" -- $cur ) )
|
||||
;;
|
||||
rpm)
|
||||
COMPREPLY=( $( compgen -W "-d --empty --force --nodeps" -- $cur ) )
|
||||
;;
|
||||
skeleton)
|
||||
;;
|
||||
debootstrap)
|
||||
COMPREPLY=( $( compgen -W "-d -m -s --" -- $cur ) )
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
return 0
|
||||
break
|
||||
fi
|
||||
|
||||
if [[ ${COMP_WORDS[j]} == @(build|-m) ]]; then
|
||||
i=$j
|
||||
if (( $j+1 < ${#COMP_WORDS[@]}-1 )) ; then
|
||||
method=${COMP_WORDS[j+1]}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if (( $i < ${#COMP_WORDS[@]}-1 )) ; then
|
||||
case $prev in
|
||||
--help)
|
||||
;;
|
||||
-n|--context|--confdir|--lockfile|--hostname|--netdev|--netbcast|--netmask|--netprefix|--interface|--cpuset|--cpusetcpus|--cpusetmems|--cpusetvirt|--initstyle|--flags)
|
||||
COMPREPLY=( $( compgen -W "" -- $cur ) )
|
||||
;;
|
||||
-m)
|
||||
COMPREPLY=( $( compgen -W "legacy copy apt-rpm yum rpm skeleton debootstrap" -- $cur ) )
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -W "$cmdMethodOpts" -- $cur ) )
|
||||
;;
|
||||
esac
|
||||
else
|
||||
COMPREPLY=( $( compgen -W "build" -- $cur ) )
|
||||
fi
|
||||
else
|
||||
COMPREPLY=( $( compgen -W "${names[@]} $cmdOpts" -- $cur ) )
|
||||
fi
|
||||
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -F _vserver vserver
|
||||
|
||||
_vapt_rpm_yum()
|
||||
{
|
||||
local cur cmds cmdOpts helpCmds names func i
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
# options (long and short name)
|
||||
cmdOpts='--help --version --quiet -q --all'
|
||||
|
||||
# if the previous option is a single option
|
||||
helpCmds='--help|--version'
|
||||
|
||||
if [[ "${COMP_WORDS[1]}" == "@($helpCmds)" ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# search --
|
||||
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )) ; do
|
||||
if [[ ${COMP_WORDS[i]} = "--" ]] ; then
|
||||
# found it!
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# find available vServers
|
||||
# call function getAllVservers in vserver library
|
||||
getAllVservers names
|
||||
names_pipe=`echo ${names[@]}" --all" | sed 's/ /|/g'`
|
||||
|
||||
if (( $i < ${#COMP_WORDS[@]}-1 )) && (( $i < $COMP_CWORD )) ; then
|
||||
func=${COMP_WORDS[0]:1}
|
||||
COMP_WORDS=( $func ${COMP_WORDS[@]:$((i+1))} )
|
||||
COMP_CWORD=$((COMP_CWORD-i))
|
||||
declare -f _${func//-/_} > /dev/null && _${func//-/_}
|
||||
else
|
||||
# search vServer name
|
||||
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )) ; do
|
||||
if [[ ${COMP_WORDS[i]} == @($names_pipe) ]] ; then
|
||||
# found it!
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if (( $i < ${#COMP_WORDS[@]}-1 )) ; then
|
||||
if [[ "${COMP_WORDS[i]}" = "--all" ]] ; then
|
||||
cmdOpts='--'
|
||||
COMPREPLY=( $( compgen -W "$cmdOpts" -- $cur ) )
|
||||
else
|
||||
cmdOpts='--'
|
||||
COMPREPLY=( $( compgen -W "${names[@]} $cmdOpts" -- $cur ) )
|
||||
fi
|
||||
else
|
||||
COMPREPLY=( $( compgen -W "${names[@]} $cmdOpts" -- $cur ) )
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
_vserver_copy()
|
||||
{
|
||||
local cur prev cmdOpts helpCmds confCmds names names_pipe i
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
# find available vServers
|
||||
# call function getAllVservers in vserver library
|
||||
getAllVservers names
|
||||
names_pipe=`echo ${names[@]} | sed 's/ /|/g'`
|
||||
|
||||
# options (long and short name)
|
||||
cmdOpts='--help -h --version -V --verbose -v --quiet -q \
|
||||
--vsroot -r --rsh -R --stopstart -s \
|
||||
--domain -d --ip -i'
|
||||
|
||||
# if the previous option is a single option
|
||||
helpCmds='--help|-h|--version|-V'
|
||||
|
||||
if [[ ${COMP_WORDS[1]} == @($helpCmds) ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
confCmds='--ip|-i|--domain|-d'
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
|
||||
if [[ $prev == @($confCmds) ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# search a vServer name
|
||||
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do
|
||||
if [[ ${COMP_WORDS[i]} == @($names_pipe) ]] ; then
|
||||
# found it!
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if (( $i < ${#COMP_WORDS[@]}-1 )) ; then
|
||||
return 0
|
||||
else
|
||||
COMPREPLY=( $( compgen -W "${names[@]} $cmdOpts" -- $cur ) )
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -F _vapt_rpm_yum vapt-get
|
||||
complete -F _vapt_rpm_yum vrpm
|
||||
complete -F _vapt_rpm_yum vyum
|
||||
complete -F _vserver_copy vserver-copy
|
||||
|
||||
}
|
||||
}
|
13
sys-cluster/util-vserver/metadata.xml
Normal file
13
sys-cluster/util-vserver/metadata.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>vserver</herd>
|
||||
<longdescription>
|
||||
util-vserver is a Linux virtual server utility framework,
|
||||
allowing an administrator to set up multiple, isolated
|
||||
virtual servers. It can be used to run various services
|
||||
securely separated, without requiring special configuration.
|
||||
Virtual servers are unable to interact with each other, or
|
||||
the main server.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
136
sys-cluster/util-vserver/util-vserver-0.30.216_pre3004.ebuild
Normal file
136
sys-cluster/util-vserver/util-vserver-0.30.216_pre3004.ebuild
Normal file
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/util-vserver/util-vserver-0.30.216_pre2955.ebuild,v 1.2 2011/11/20 09:13:21 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion
|
||||
|
||||
MY_P=${P/_/-}
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
DESCRIPTION="Linux-VServer admin utilities"
|
||||
HOMEPAGE="http://www.nongnu.org/util-vserver/"
|
||||
SRC_URI="http://people.linux-vserver.org/~dhozac/t/uv-testing/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~sparc ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-libs/beecrypt
|
||||
net-firewall/iptables
|
||||
net-misc/vconfig
|
||||
sys-apps/iproute2
|
||||
|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp )"
|
||||
|
||||
DEPEND=">=dev-libs/dietlibc-0.30-r2
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ -z "${VDIRBASE}" ]]; then
|
||||
einfo
|
||||
einfo "You can change the default vserver base directory (/vservers)"
|
||||
einfo "by setting the VDIRBASE environment variable."
|
||||
fi
|
||||
|
||||
: ${VDIRBASE:=/vservers}
|
||||
|
||||
einfo
|
||||
einfo "Using \"${VDIRBASE}\" as vserver base directory"
|
||||
einfo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# do not use $D from portage by accident (#297982)
|
||||
sed -i -e 's/^\$D //' "${S}"/src/testsuite/vunify-test.sh
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-vrootdir=${VDIRBASE} \
|
||||
--with-initscripts=gentoo \
|
||||
--localstatedir=/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install install-distribution \
|
||||
|| die "make install failed!"
|
||||
|
||||
# keep dirs
|
||||
keepdir /var/run/vservers
|
||||
keepdir /var/run/vservers.rev
|
||||
keepdir /var/run/vshelper
|
||||
keepdir /var/lock/vservers
|
||||
keepdir /var/cache/vservers
|
||||
keepdir "${VDIRBASE}"
|
||||
keepdir "${VDIRBASE}"/.pkg
|
||||
|
||||
# remove legacy config file
|
||||
rm -f "${D}"/etc/vservers.conf
|
||||
|
||||
# bash-completion
|
||||
dobashcompletion "${FILESDIR}"/bash_completion util-vserver
|
||||
|
||||
dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version "<${CATEGORY}/${PN}-0.30.211"
|
||||
old_init_script_warn=$?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Create VDIRBASE in postinst, so it is (a) not unmerged and (b) also
|
||||
# present when merging.
|
||||
|
||||
[ ! -d "${VDIRBASE}" ] && mkdir -p "${VDIRBASE}" &> /dev/null
|
||||
setattr --barrier "${VDIRBASE}" &> /dev/null
|
||||
|
||||
rm /etc/vservers/.defaults/vdirbase
|
||||
ln -sf "${VDIRBASE}" /etc/vservers/.defaults/vdirbase
|
||||
|
||||
elog
|
||||
elog "You have to run the vprocunhide command after every reboot"
|
||||
elog "in order to setup /proc permissions correctly for vserver"
|
||||
elog "use. An init script has been installed by this package."
|
||||
elog "To use it you should add it to a runlevel:"
|
||||
elog
|
||||
elog " rc-update add vprocunhide default"
|
||||
elog
|
||||
|
||||
if [[ $old_init_script_warn = 0 ]] ; then
|
||||
ewarn "Please make sure, that you remove the old init-script from any"
|
||||
ewarn "runlevel and remove it from your init.d dir!"
|
||||
ewarn
|
||||
ewarn "# rc-update del vservers"
|
||||
ewarn "# rm -f ${ROOT}etc/init.d/vservers"
|
||||
ewarn
|
||||
ewarn "Since util-vserver-0.30.211 all Gentoo specific wrappers"
|
||||
ewarn "have been merged upstream, and may now have a slightly"
|
||||
ewarn "different syntax, i.e. you have to update scripts that"
|
||||
ewarn "depend on these wrappers (vesync, vemerge, vupdateworld"
|
||||
ewarn "and vdispatch-conf)"
|
||||
ewarn
|
||||
ewarn "Additionally the init scripts have changed and now use"
|
||||
ewarn "upstream scripts as backend. An init script to start"
|
||||
ewarn "virtual servers in the 'default' group/mark has been"
|
||||
ewarn "installed by this ebuild:"
|
||||
ewarn
|
||||
ewarn " rc-update add vservers.default default"
|
||||
ewarn
|
||||
ewarn "To start vservers in other groups/marks, you have to"
|
||||
ewarn "symlink the default init script the same way you do"
|
||||
ewarn "with net.* scripts:"
|
||||
ewarn
|
||||
ewarn " ln -s /etc/init.d/vservers.default /etc/init.d/vservers.<mark>"
|
||||
ewarn
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user