summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-10-28 11:29:56 +0000
committerChristian Heim <phreak@gentoo.org>2006-10-28 11:29:56 +0000
commita337b75eaa4eadc479f504fc964ac843d917a945 (patch)
treef2fe09f550d5deb9e6632b6273770af8248b72a6 /sys-cluster
parentAdding ebuilds for 2.1.1_rc43. (diff)
downloadoverlay-a337b75eaa4eadc479f504fc964ac843d917a945.tar.gz
overlay-a337b75eaa4eadc479f504fc964ac843d917a945.tar.bz2
overlay-a337b75eaa4eadc479f504fc964ac843d917a945.zip
Removing the release-candidates with 0.30.211 being in the tree.
svn path=/; revision=73
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/util-vserver/Manifest39
-rw-r--r--sys-cluster/util-vserver/files/210_all_gentoo-tools.patch74
-rw-r--r--sys-cluster/util-vserver/files/215_all_shell-completion.patch494
-rw-r--r--sys-cluster/util-vserver/files/README18
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc16
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc26
-rw-r--r--sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc36
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.211_rc1.ebuild127
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.211_rc2.ebuild127
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild127
10 files changed, 0 insertions, 1024 deletions
diff --git a/sys-cluster/util-vserver/Manifest b/sys-cluster/util-vserver/Manifest
deleted file mode 100644
index 92bc46c..0000000
--- a/sys-cluster/util-vserver/Manifest
+++ /dev/null
@@ -1,39 +0,0 @@
-AUX 210_all_gentoo-tools.patch 2711 RMD160 fe002bca926d63eda9189a13fdeb91782275e8ee SHA1 1f74660333f5d69c1b8bcee12964a72359b3cd3f SHA256 a23b42f7aadac8c7f14bb2cc0f3a1c05add46b917dc3b31c7ecc954e7afd1710
-MD5 554686ab3a343db1a2af83224f418208 files/210_all_gentoo-tools.patch 2711
-RMD160 fe002bca926d63eda9189a13fdeb91782275e8ee files/210_all_gentoo-tools.patch 2711
-SHA256 a23b42f7aadac8c7f14bb2cc0f3a1c05add46b917dc3b31c7ecc954e7afd1710 files/210_all_gentoo-tools.patch 2711
-AUX 215_all_shell-completion.patch 12852 RMD160 147007a88d09307153bc774df506ace15457080e SHA1 4cbabe486821e39c3a094b2b240cb1742b811227 SHA256 a632c4ae61302630a8132b9d71d0ad53af99a0a3144edab2edaa557cbdcbe8ee
-MD5 d02b19d861f12eb129978b93da0e8d36 files/215_all_shell-completion.patch 12852
-RMD160 147007a88d09307153bc774df506ace15457080e files/215_all_shell-completion.patch 12852
-SHA256 a632c4ae61302630a8132b9d71d0ad53af99a0a3144edab2edaa557cbdcbe8ee files/215_all_shell-completion.patch 12852
-AUX README 437 RMD160 6cf4e053f1646decb9763c4f8cb119a045753044 SHA1 6e8250f11e433ba80d2ab2d42020602072554df2 SHA256 cc541bc6f45bc8cd0f7008ec2e3c78008f045e184687bb0fe3b5fcd3836bed5a
-MD5 ab15ca5582528cb0f5de8889eaf27cdd files/README 437
-RMD160 6cf4e053f1646decb9763c4f8cb119a045753044 files/README 437
-SHA256 cc541bc6f45bc8cd0f7008ec2e3c78008f045e184687bb0fe3b5fcd3836bed5a files/README 437
-DIST util-vserver-0.30.211-rc1.tar.bz2 625758 RMD160 d6c5df8bcf3129663d85e4aab3b385284a198294 SHA1 fb4ddbf710860820b625a4fd9739a287458e9c10 SHA256 33e90da130569cfbc20f3c18fe5f19201ebb2d3a3139051087a4f73c97f96d24
-DIST util-vserver-0.30.211-rc2.tar.bz2 630830 RMD160 cc11f7feb8388f3bbaff1500d978078f6c181328 SHA1 3354e512415c60b3a8b95a9f4a91be8148ab9de8 SHA256 e0556d51c5a4374cb64bfd55a5455308f00b7f053b0938c06da2073d73bf6ca9
-DIST util-vserver-0.30.211-rc3.tar.bz2 636970 RMD160 fad699d26a7cb8655e500d3621cc0b6bd0755c9c SHA1 7fd145369ddb99382e0c76ed62a9371675c5375c SHA256 88a2914e6d3ce9ddaf6bd9f90342def24bdbd6f2a73beeec465ced0fa76c2412
-DIST util-vserver-patches-0.30.211-rc1.tar.bz2 8455 RMD160 94b42ea50a7124f2534d9c9208893069a419eebd SHA1 1547988dff3f97cf449f85e5539b86a40cc29e5b SHA256 80177d2fceed3dae7ab58efda8b7ff102096297db4b61e2f6e85befe011237a6
-DIST util-vserver-patches-0.30.211-rc2.tar.bz2 8455 RMD160 324afb36ef1a096c043698964efa4ebb414ff694 SHA1 d2bbfd950cd0fbbea6702fa302070fad1094fa81 SHA256 48ef909a048a8abc1667de5f102bdb759cdb330e9292bc126f00f5708f09e549
-DIST util-vserver-patches-0.30.211-rc3.tar.bz2 8452 RMD160 361c3d48e64ff89121b063a471f85035b00d5c2e SHA1 97aba901465282f3b056b8af1f1de3164a7e4c4e SHA256 99cc4c0ede45ca7ed0ed67e525893ea3ed9bfa8448f8cf58651d13da6d3d87ae
-EBUILD util-vserver-0.30.211_rc1.ebuild 3421 RMD160 a8e62d02656800a4b295c6e963d1a5fdc981f11f SHA1 7dbad43affd868fe7be7703ab5b2a93a199d1a62 SHA256 a81d087fd66c375ad9f9545ffad12a22b96470c2717bf8228a401570da76891f
-MD5 c088e901923f9ea06c1d617b3bf7f82f util-vserver-0.30.211_rc1.ebuild 3421
-RMD160 a8e62d02656800a4b295c6e963d1a5fdc981f11f util-vserver-0.30.211_rc1.ebuild 3421
-SHA256 a81d087fd66c375ad9f9545ffad12a22b96470c2717bf8228a401570da76891f util-vserver-0.30.211_rc1.ebuild 3421
-EBUILD util-vserver-0.30.211_rc2.ebuild 3421 RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 SHA1 d761b3c82fd1b5353a9129bda07f9009a7d54a94 SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979
-MD5 f1c3a8466f252dbccbecb2528b1a1595 util-vserver-0.30.211_rc2.ebuild 3421
-RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 util-vserver-0.30.211_rc2.ebuild 3421
-SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979 util-vserver-0.30.211_rc2.ebuild 3421
-EBUILD util-vserver-0.30.211_rc3.ebuild 3421 RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 SHA1 d761b3c82fd1b5353a9129bda07f9009a7d54a94 SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979
-MD5 f1c3a8466f252dbccbecb2528b1a1595 util-vserver-0.30.211_rc3.ebuild 3421
-RMD160 fff88d8cfcdc08bbb3b053fec1dd080ee4124ce7 util-vserver-0.30.211_rc3.ebuild 3421
-SHA256 b431ce6b46d0d7eb12e12c49e1abf9a04f77290e77d7137a7f4ef9a060dec979 util-vserver-0.30.211_rc3.ebuild 3421
-MD5 7357caca90e5b3432ee31105c0c8ee08 files/digest-util-vserver-0.30.211_rc1 578
-RMD160 0c2bc903c1b70e07555a524556b214bdd5e95b61 files/digest-util-vserver-0.30.211_rc1 578
-SHA256 b0cc34e26110753abb1dce2cefa71edc20e192a253fcc14835f76987500239e3 files/digest-util-vserver-0.30.211_rc1 578
-MD5 85dfc508f9dc17cecbf9a843393f3ba5 files/digest-util-vserver-0.30.211_rc2 578
-RMD160 af71413175a1b0caed198df90a9f7be82e496639 files/digest-util-vserver-0.30.211_rc2 578
-SHA256 1008c422d42ac5fba55941a1219fa8bf33afbc563ac693330e65ad4149952081 files/digest-util-vserver-0.30.211_rc2 578
-MD5 8337897b4f0fb2b4503b91d0a9b4c161 files/digest-util-vserver-0.30.211_rc3 578
-RMD160 684ff56c6e3a8490c9d518d10fe33192921385fb files/digest-util-vserver-0.30.211_rc3 578
-SHA256 eb57baf6df30b3e453f769cd3cb6f40db5d11367cb1b1ab451df8ccb6ed6d3d2 files/digest-util-vserver-0.30.211_rc3 578
diff --git a/sys-cluster/util-vserver/files/210_all_gentoo-tools.patch b/sys-cluster/util-vserver/files/210_all_gentoo-tools.patch
deleted file mode 100644
index 5ab120f..0000000
--- a/sys-cluster/util-vserver/files/210_all_gentoo-tools.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Index: util-vserver/scripts/Makefile-files
-===================================================================
---- util-vserver.orig/scripts/Makefile-files
-+++ util-vserver/scripts/Makefile-files
-@@ -38,6 +38,7 @@ AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += \
-
-
- scripts_pkglib_src_DTA = scripts/functions \
-+ scripts/gentoo-functions.sh \
- scripts/magic.mime \
- scripts/vserver-build.apt-rpm \
- scripts/vserver-build.skeleton \
-@@ -72,6 +73,7 @@ scripts_pkglib_src_SCRPTS = scripts/pkgm
- scripts/vservers.grabinfo.sh \
- scripts/vshelper \
- scripts/vsysvwrapper \
-+ scripts/vschedcalc \
- scripts/vyum-worker
-
- scripts_legacy_src_SCRPTS = scripts/legacy/save_s_context \
-@@ -89,7 +91,12 @@ scripts_sbin_src_PRGS = scripts/chconte
- scripts/vserver \
- scripts/vsomething \
- scripts/vtop \
-- scripts/vyum
-+ scripts/vyum \
-+ scripts/vdispatch-conf \
-+ scripts/vemerge \
-+ scripts/vesync \
-+ scripts/vserver-new \
-+ scripts/vupdateworld
-
- scripts_sbin_gen_PRGS =
- scripts_sbincfg_gen_DTA =
-Index: util-vserver/scripts/util-vserver-vars.pathsubst
-===================================================================
---- util-vserver.orig/scripts/util-vserver-vars.pathsubst
-+++ util-vserver/scripts/util-vserver-vars.pathsubst
-@@ -44,6 +44,7 @@ _INITSYNC_MINIT_START=:
- _KEEP_CTX_ALIVE="$__PKGLIBDIR/keep-ctx-alive"
- _LIB_FUNCTIONS="$__PKGLIBDIR/functions"
- _LIB_MAGIC="$__PKGLIBDIR/magic"
-+_LIB_GENTOO_FUNCTIONS="$__PKGLIBDIR/gentoo-functions.sh"
- _LIB_VSERVER_SETUP_FUNCTIONS="$__PKGLIBDIR/vserver-setup.functions"
- _LIB_VSERVER_BUILD_FUNCTIONS="$__PKGLIBDIR/vserver-build.functions"
- _LIB_VSERVER_BUILD_FUNCTIONS_APT="$__PKGLIBDIR/vserver-build.functions.apt"
-@@ -69,6 +70,9 @@ _VAPT_GET_WORKER="$__PKGLIBDIR/vapt-get-
- _VATTRIBUTE="$__SBINDIR/vattribute"
- _VCONTEXT="$__SBINDIR/vcontext"
- _VDLIMIT="$__SBINDIR/vdlimit"
-+_VDISPATCH_CONF="$__SBINDIR/vdispatch-conf"
-+_VEMERGE="$__SBINDIR/vemerge"
-+_VESYNC="$__SBINDIR/vesync"
- _VDU="$__SBINDIR/vdu"
- _VHASHIFY="$__PKGLIBDIR/vhashify"
- _VKILL="$__SBINDIR/vkill"
-@@ -82,7 +86,9 @@ _VRPM="$__SBINDIR/vrpm"
- _VRPM_PRELOAD="$__PKGLIBDIR/vrpm-preload"
- _VRPM_WORKER="$__PKGLIBDIR/vrpm-worker"
- _VSCHED="$__SBINDIR/vsched"
-+_VSCHEDCALC="$__PKGLIBDIR/vschedcalc"
- _VSERVER="$__SBINDIR/vserver"
-+_VSERVER_NEW="$__SBINDIR/vserver-new"
- _VSERVER_LEGACY="$__LEGACYDIR/vserver"
- _VSERVER_BUILD="$__PKGLIBDIR/vserver-build"
- _VSERVER_INFO="$__SBINDIR/vserver-info"
-@@ -93,6 +99,7 @@ _VSOMETHING="$__SBINDIR/vsomething"
- _VWAIT="$__SBINDIR/vwait"
- _VUNAME="$__SBINDIR/vuname"
- _VUNIFY="$__PKGLIBDIR/vunify"
-+_VUPDATEWORLD="$__SBINDIR/vupdateworld"
- _VYUM="$__SBINDIR/vyum"
- _VYUM_WORKER="$__PKGLIBDIR/vyum-worker"
-
diff --git a/sys-cluster/util-vserver/files/215_all_shell-completion.patch b/sys-cluster/util-vserver/files/215_all_shell-completion.patch
deleted file mode 100644
index 6820376..0000000
--- a/sys-cluster/util-vserver/files/215_all_shell-completion.patch
+++ /dev/null
@@ -1,494 +0,0 @@
---- util-vserver-0.30.211-rc2.orig/contrib/bash_completion 1970-01-01 01:00:00.000000000 +0100
-+++ util-vserver-0.30.211-rc2/contrib/bash_completion 2006-09-28 14:39:49.883492639 +0200
-@@ -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
-+
-+}
-+}
---- util-vserver-0.30.211-rc2.orig/contrib/zsh_completion 1970-01-01 01:00:00.000000000 +0100
-+++ util-vserver-0.30.211-rc2/contrib/zsh_completion 2006-09-28 14:39:49.883492639 +0200
-@@ -0,0 +1,188 @@
-+#compdef vserver
-+
-+# Copyright (C) 2005 intrigeri@boum.org - property is theft !
-+#
-+# 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 of the License, 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.
-+
-+# ,----
-+# | NOTES
-+# `----
-+#
-+# - SVN version: $Id$
-+# - $URL$
-+# - Tested on Debian GNU/Linux with util-vserver 0.30.209.
-+#
-+# ,----
-+# | TODO
-+# `----
-+# - Use util-vserver shell functions library, as does the Bash
-+# completion script found on /usr/lib/util-vserver/functions
-+# - Implement commands arguments completion.
-+#
-+
-+###
-+### Main completion function
-+###
-+
-+_vserver () {
-+
-+ # local variables
-+ local curcontext="$curcontext" state line expl ret=1
-+ local cmd=$words[3]
-+
-+ # dispatch
-+ case "$cmd" in
-+ apt-cache|apt-config|apt-get)
-+ compset -n 3
-+ _dispatch $cmd:t $cmd $cmd:t -default- && ret=0
-+ ;;
-+ exec)
-+ _arguments -C \
-+ '1: :->vsnames' \
-+ '2: :->cmds' \
-+ '3:command name: _command_names -e' \
-+ '*::arguments: _normal' && ret=0
-+ ;;
-+ stop|restart|condrestart|enter|running|status)
-+ _arguments -C \
-+ '1: :->vsnames' \
-+ '2: :->cmds' \
-+ '*::arguments: _message "no more arguments"' && ret=0
-+ ;;
-+ *)
-+ _arguments -C \
-+ '(-)--help[print help information]' \
-+ '(- *)--version[print client version information]' \
-+ '1: :->vsnames' \
-+ '2: :->cmds' \
-+ '*:: :->args' && ret=0
-+ ;;
-+ esac
-+
-+ # cache initialization
-+ if [[ -n "$state" ]]; then
-+ if (( ! $+_cache_vserver_cfgdir )); then
-+ typeset -g _cache_vserver_cfgdir_initialized
-+ _vserver_cache_cfgdir
-+ fi
-+ if (( ! $+_cache_vserver_vsnames )); then
-+ typeset -g _cache_vserver_vsnames_initialized
-+ _vserver_cache_vsnames
-+ fi
-+ if (( ! $+_cache_vserver_cmds )); then
-+ typeset -g _cache_vserver_cmds_initialized
-+ _vserver_cache_cmds
-+ fi
-+ fi
-+
-+ case "$state" in
-+ vsnames)
-+ _wanted commands expl 'vserver name' _vserver_vsnames && ret=0
-+ ;;
-+ cmds)
-+ _wanted commands expl 'vserver command' _vserver_commands && ret=0
-+ ;;
-+ args)
-+ local args
-+ if $+args; then
-+ _arguments "$args[@]" && ret=0
-+ else
-+ ret=0
-+ fi
-+ ;;
-+ esac
-+
-+ return ret
-+}
-+
-+###
-+### Auxiliary completion functions
-+###
-+
-+(( $+functions[_vserver_commands] )) ||
-+_vserver_commands() {
-+ compadd "$@" -k _cache_vserver_cmds || compadd "$@" ${(s.:.)_cache_vserver_cmds}
-+}
-+
-+(( $+functions[_vserver_vsnames] )) ||
-+_vserver_vsnames() {
-+ local expl
-+ _wanted vserver expl 'vserver name' compadd -S '' $_cache_vserver_vsnames[@]
-+}
-+
-+###
-+### Cache functions
-+###
-+
-+(( $+functions[_vserver_cache_cfgdir] )) ||
-+_vserver_cache_cfgdir() {
-+ if [[ "$_cache_vserver_cfgdir_initialized" != true ]]; then
-+ typeset -ga _cache_vserver_cfgdir
-+ _cache_vserver_cfgdir=`vserver-info info SYSINFO | grep '^ *cfg-Directory' | awk '{print $2}'`
-+ _cache_vserver_cfgdir_initialized=true
-+ fi
-+}
-+
-+(( $+functions[_vserver_cache_vsnames] )) ||
-+_vserver_cache_vsnames() {
-+ if [[ "$_cache_vserver_vsnames_initialized" != true ]]; then
-+ typeset -ga _cache_vserver_vsnames
-+ _cache_vserver_vsnames=( $(ls -d $_cache_vserver_cfgdir/*/ | sed -e s,$_cache_vserver_cfgdir,, | tr -d '/') )
-+ _cache_vserver_vsnames_initialized=true
-+ fi
-+}
-+
-+(( $+functions[_vserver_cache_cmds] )) ||
-+_vserver_cache_cmds() {
-+ if [[ "$_cache_vserver_cmds_initialized" != true ]]; then
-+ typeset -ga _cache_vserver_cmds
-+ _cache_vserver_cmds=(
-+ start
-+ stop
-+ restart
-+ condrestart
-+ suexec
-+ exec
-+ enter
-+ chkconfig
-+ running
-+ status
-+ build
-+ unify
-+ pkg
-+ apt-get
-+ apt-config
-+ apt-cache
-+ rpm
-+ pkgmgmt
-+ )
-+ _cache_vserver_cmds_initialized=true
-+ fi
-+}
-+
-+###
-+### Main function call
-+###
-+
-+_vserver "$@"
-+
-+###
-+### Emacs variables
-+###
-+
-+# Local Variables:
-+# mode:sh
-+# sh-basic-offset: 2
-+# End:
diff --git a/sys-cluster/util-vserver/files/README b/sys-cluster/util-vserver/files/README
deleted file mode 100644
index 5e83810..0000000
--- a/sys-cluster/util-vserver/files/README
+++ /dev/null
@@ -1,18 +0,0 @@
-Numbering scheme
---------------------------------------
-FIXES
-000_all - 195_all
-
-FEATURES
-200_all - 395_all
-
-Patch descriptions:
---------------------------------------
-
-Patch: 210_all_gentoo-tools.patch
-From: Benedikt Boehm and Christian Heim
-Desc: Adding various Gentoo related scripts (vemerge, vdispatch-conf, ...)
-
-Patch: 215_all_shell-completion.patch
-From: Thomas Champagne and Ben Voui(?)
-Desc: Adding bash/zsh completion scripts
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc1 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc1
deleted file mode 100644
index b8af0fd..0000000
--- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 125d116ba524c3682c927b162e317550 util-vserver-0.30.211-rc1.tar.bz2 625758
-RMD160 d6c5df8bcf3129663d85e4aab3b385284a198294 util-vserver-0.30.211-rc1.tar.bz2 625758
-SHA256 33e90da130569cfbc20f3c18fe5f19201ebb2d3a3139051087a4f73c97f96d24 util-vserver-0.30.211-rc1.tar.bz2 625758
-MD5 83866ac89b02612f9fc0ead3315f3b11 util-vserver-patches-0.30.211-rc1.tar.bz2 8455
-RMD160 94b42ea50a7124f2534d9c9208893069a419eebd util-vserver-patches-0.30.211-rc1.tar.bz2 8455
-SHA256 80177d2fceed3dae7ab58efda8b7ff102096297db4b61e2f6e85befe011237a6 util-vserver-patches-0.30.211-rc1.tar.bz2 8455
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc2 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc2
deleted file mode 100644
index 4161d8a..0000000
--- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 c2388d115b6649d4f5b5779f0cd0e17b util-vserver-0.30.211-rc2.tar.bz2 630830
-RMD160 cc11f7feb8388f3bbaff1500d978078f6c181328 util-vserver-0.30.211-rc2.tar.bz2 630830
-SHA256 e0556d51c5a4374cb64bfd55a5455308f00b7f053b0938c06da2073d73bf6ca9 util-vserver-0.30.211-rc2.tar.bz2 630830
-MD5 abfa965f0ca262eccb3e29a86997a419 util-vserver-patches-0.30.211-rc2.tar.bz2 8455
-RMD160 324afb36ef1a096c043698964efa4ebb414ff694 util-vserver-patches-0.30.211-rc2.tar.bz2 8455
-SHA256 48ef909a048a8abc1667de5f102bdb759cdb330e9292bc126f00f5708f09e549 util-vserver-patches-0.30.211-rc2.tar.bz2 8455
diff --git a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc3 b/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc3
deleted file mode 100644
index 563c44f..0000000
--- a/sys-cluster/util-vserver/files/digest-util-vserver-0.30.211_rc3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 2912d72bec28561bee2b7814e0ebec25 util-vserver-0.30.211-rc3.tar.bz2 636970
-RMD160 fad699d26a7cb8655e500d3621cc0b6bd0755c9c util-vserver-0.30.211-rc3.tar.bz2 636970
-SHA256 88a2914e6d3ce9ddaf6bd9f90342def24bdbd6f2a73beeec465ced0fa76c2412 util-vserver-0.30.211-rc3.tar.bz2 636970
-MD5 9301f9b4f69704a8c600e9f505159d2f util-vserver-patches-0.30.211-rc3.tar.bz2 8452
-RMD160 361c3d48e64ff89121b063a471f85035b00d5c2e util-vserver-patches-0.30.211-rc3.tar.bz2 8452
-SHA256 99cc4c0ede45ca7ed0ed67e525893ea3ed9bfa8448f8cf58651d13da6d3d87ae util-vserver-patches-0.30.211-rc3.tar.bz2 8452
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.211_rc1.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.211_rc1.ebuild
deleted file mode 100644
index 80a0429..0000000
--- a/sys-cluster/util-vserver/util-vserver-0.30.211_rc1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils bash-completion autotools
-
-DESCRIPTION="Linux-VServer admin utilities"
-HOMEPAGE="http://www.nongnu.org/util-vserver/"
-SRC_URI="http://people.linux-vserver.org/~dhozac/p/uv/experimental/${P/_rc/-rc}.tar.bz2
- http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2
- http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-S=${WORKDIR}/${P/_rc/-rc}
-
-IUSE="legacy"
-
-DEPEND=">=dev-libs/dietlibc-0.28
- dev-libs/beecrypt
- net-firewall/iptables
- net-misc/vconfig
- sys-apps/iproute2
- sys-process/procps
- =sys-devel/automake-1.9*"
-
-RDEPEND="sys-apps/iproute2
- net-misc/vconfig
- net-firewall/iptables
- dev-libs/beecrypt
- sys-process/procps"
-
-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
-
- myconf="${myconf} --with-vrootdir=${VDIRBASE}"
-
- # default paths
- myconf="${myconf} --localstatedir=/var"
- myconf="${myconf} --with-initrddir=/etc/init.d"
-
- # needed for older vserver kernels not in portage (default: v13,net)
- # we provide this just for convenience for people using self-made kernels
- use legacy && myconf="${myconf} --enable-apis=compat,v11,fscompat,v13,net"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- cp "${WORKDIR}/tools/"* scripts/ || die "failed to copy gentoo tools"
- epatch "${FILESDIR}"/*.patch
-
- eautomake
-}
-
-src_compile() {
- econf ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "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}"
- fperms 000 "${VDIRBASE}"
-
- # remove the non-gentoo init-scripts:
- rm -f "${D}"/etc/init.d/*
-
- # and install gentoo'ized init-scripts:
- doinitd "${WORKDIR}/init.d/vservers"
- doconfd "${WORKDIR}/conf.d/vservers"
-
- # bash-completion
- dobashcompletion "${S}"/contrib/bash_completion util-vserver
-
- newdoc "${FILESDIR}"/README ${PN}-patches
- dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec
-}
-
-pkg_postinst() {
- einfo
- einfo "You have to run the vprocunhide command after every reboot"
- einfo "in order to setup /proc permissions correctly for vserver"
- einfo "use. An init script has been installed by this package."
- einfo "To use it you should add it to a runlevel:"
- einfo
- einfo " rc-update add vservers default"
- einfo
- einfo "This init script will also help you to start/stop your vservers"
- einfo "on reboot. See ${ROOT}etc/conf.d/vserver for details"
- ewarn
- ewarn "You should definitly fix up the barrier of your vserver"
- ewarn "base directory by using the following command in a root shell:"
- ewarn
- ewarn " setattr --barrier ${VDIRBASE}"
- ewarn
- ewarn "IMPORTANT UPGRADE WARNING:"
- ewarn
- ewarn "Since 0.30.208-r3 the vprocunhide init-script has been merged"
- ewarn "with the vservers init script. The following steps are"
- ewarn "required to keep current behaviour:"
- ewarn
- ewarn " rc-update del vprocunhide"
- ewarn " rc-update add vservers default"
- ewarn
-}
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.211_rc2.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.211_rc2.ebuild
deleted file mode 100644
index 9a66902..0000000
--- a/sys-cluster/util-vserver/util-vserver-0.30.211_rc2.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils bash-completion autotools
-
-DESCRIPTION="Linux-VServer admin utilities"
-HOMEPAGE="http://www.nongnu.org/util-vserver/"
-SRC_URI="http://people.linux-vserver.org/~dhozac/p/uv/experimental/${P/_rc/-rc}.tar.bz2
- http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2
- http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-S=${WORKDIR}/${P/_rc/-rc}
-
-IUSE="legacy"
-
-DEPEND=">=dev-libs/dietlibc-0.28
- dev-libs/beecrypt
- net-firewall/iptables
- net-misc/vconfig
- sys-apps/iproute2
- sys-process/procps
- =sys-devel/automake-1.9*"
-
-RDEPEND="sys-apps/iproute2
- net-misc/vconfig
- net-firewall/iptables
- dev-libs/beecrypt
- sys-process/procps"
-
-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
-
- myconf="${myconf} --with-vrootdir=${VDIRBASE}"
-
- # default paths
- myconf="${myconf} --localstatedir=/var"
- myconf="${myconf} --with-initrddir=/etc/init.d"
-
- # needed for older vserver kernels not in portage (default: v13,net)
- # we provide this just for convenience for people using self-made kernels
- use legacy && myconf="${myconf} --enable-apis=compat,v11,fscompat,v13,net"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- cp "${WORKDIR}/tools/"* scripts/ || die "failed to copy gentoo tools"
- epatch "${FILESDIR}"/*.patch
-
- eautomake
-}
-
-src_compile() {
- econf ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "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}"
- fperms 000 "${VDIRBASE}"
-
- # remove the non-gentoo init-scripts:
- rm -f "${D}"/etc/init.d/*
-
- # and install gentoo'ized init-scripts:
- doconfd "${WORKDIR}/conf.d/vservers"
- doinitd "${WORKDIR}/init.d/vservers"
-
- # bash-completion
- dobashcompletion "${S}"/contrib/bash_completion util-vserver
-
- newdoc "${FILESDIR}"/README ${PN}-patches
- dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec
-}
-
-pkg_postinst() {
- einfo
- einfo "You have to run the vprocunhide command after every reboot"
- einfo "in order to setup /proc permissions correctly for vserver"
- einfo "use. An init script has been installed by this package."
- einfo "To use it you should add it to a runlevel:"
- einfo
- einfo " rc-update add vservers default"
- einfo
- einfo "This init script will also help you to start/stop your vservers"
- einfo "on reboot. See ${ROOT}etc/conf.d/vserver for details"
- ewarn
- ewarn "You should definitly fix up the barrier of your vserver"
- ewarn "base directory by using the following command in a root shell:"
- ewarn
- ewarn " setattr --barrier ${VDIRBASE}"
- ewarn
- ewarn "IMPORTANT UPGRADE WARNING:"
- ewarn
- ewarn "Since 0.30.208-r3 the vprocunhide init-script has been merged"
- ewarn "with the vservers init script. The following steps are"
- ewarn "required to keep current behaviour:"
- ewarn
- ewarn " rc-update del vprocunhide"
- ewarn " rc-update add vservers default"
- ewarn
-}
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild
deleted file mode 100644
index 9a66902..0000000
--- a/sys-cluster/util-vserver/util-vserver-0.30.211_rc3.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils bash-completion autotools
-
-DESCRIPTION="Linux-VServer admin utilities"
-HOMEPAGE="http://www.nongnu.org/util-vserver/"
-SRC_URI="http://people.linux-vserver.org/~dhozac/p/uv/experimental/${P/_rc/-rc}.tar.bz2
- http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2
- http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR/_rc/-rc}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-S=${WORKDIR}/${P/_rc/-rc}
-
-IUSE="legacy"
-
-DEPEND=">=dev-libs/dietlibc-0.28
- dev-libs/beecrypt
- net-firewall/iptables
- net-misc/vconfig
- sys-apps/iproute2
- sys-process/procps
- =sys-devel/automake-1.9*"
-
-RDEPEND="sys-apps/iproute2
- net-misc/vconfig
- net-firewall/iptables
- dev-libs/beecrypt
- sys-process/procps"
-
-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
-
- myconf="${myconf} --with-vrootdir=${VDIRBASE}"
-
- # default paths
- myconf="${myconf} --localstatedir=/var"
- myconf="${myconf} --with-initrddir=/etc/init.d"
-
- # needed for older vserver kernels not in portage (default: v13,net)
- # we provide this just for convenience for people using self-made kernels
- use legacy && myconf="${myconf} --enable-apis=compat,v11,fscompat,v13,net"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- cp "${WORKDIR}/tools/"* scripts/ || die "failed to copy gentoo tools"
- epatch "${FILESDIR}"/*.patch
-
- eautomake
-}
-
-src_compile() {
- econf ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "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}"
- fperms 000 "${VDIRBASE}"
-
- # remove the non-gentoo init-scripts:
- rm -f "${D}"/etc/init.d/*
-
- # and install gentoo'ized init-scripts:
- doconfd "${WORKDIR}/conf.d/vservers"
- doinitd "${WORKDIR}/init.d/vservers"
-
- # bash-completion
- dobashcompletion "${S}"/contrib/bash_completion util-vserver
-
- newdoc "${FILESDIR}"/README ${PN}-patches
- dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec
-}
-
-pkg_postinst() {
- einfo
- einfo "You have to run the vprocunhide command after every reboot"
- einfo "in order to setup /proc permissions correctly for vserver"
- einfo "use. An init script has been installed by this package."
- einfo "To use it you should add it to a runlevel:"
- einfo
- einfo " rc-update add vservers default"
- einfo
- einfo "This init script will also help you to start/stop your vservers"
- einfo "on reboot. See ${ROOT}etc/conf.d/vserver for details"
- ewarn
- ewarn "You should definitly fix up the barrier of your vserver"
- ewarn "base directory by using the following command in a root shell:"
- ewarn
- ewarn " setattr --barrier ${VDIRBASE}"
- ewarn
- ewarn "IMPORTANT UPGRADE WARNING:"
- ewarn
- ewarn "Since 0.30.208-r3 the vprocunhide init-script has been merged"
- ewarn "with the vservers init script. The following steps are"
- ewarn "required to keep current behaviour:"
- ewarn
- ewarn " rc-update del vprocunhide"
- ewarn " rc-update add vservers default"
- ewarn
-}