summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/vzctl/Manifest8
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.14.ebuild9
2 files changed, 11 insertions, 6 deletions
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
index 4ae3f7a..c0032f4 100644
--- a/sys-cluster/vzctl/Manifest
+++ b/sys-cluster/vzctl/Manifest
@@ -3,10 +3,10 @@ MD5 10807ba11492d1d129a88aaa5259912c files/vzctl-3.0.14-ndsend.c.patch 333
RMD160 0a1fda036be77bfc5b4569ba5c0df395deb0ec7a files/vzctl-3.0.14-ndsend.c.patch 333
SHA256 8fef90a7b4c8193c0df7b8460fc5345bf7eca5b07d7a00691a7468fe45967418 files/vzctl-3.0.14-ndsend.c.patch 333
DIST vzctl-3.0.14.tar.bz2 356300 RMD160 529b4e3bb1fbcf673831d2891becedf6e003dcd8 SHA1 c773b495d688ee6b172d1c0941a5a57e2c188c57 SHA256 86be0231fd12f97e45bae8dae86fadc466e631051d4ee04569d40bb8f82d8b83
-EBUILD vzctl-3.0.14.ebuild 1441 RMD160 9b740bbd9cde75cd5fe30e4f440aed8db9b07c4a SHA1 4c78e0e4311ccb2f690b95b647795b7e7a2b6c64 SHA256 9fc160f7ea15b52c2f699cc8172cc695f2cd5e804d540e41f5f3dfa765df668f
-MD5 da7d7be36c2072280d44437c017dec18 vzctl-3.0.14.ebuild 1441
-RMD160 9b740bbd9cde75cd5fe30e4f440aed8db9b07c4a vzctl-3.0.14.ebuild 1441
-SHA256 9fc160f7ea15b52c2f699cc8172cc695f2cd5e804d540e41f5f3dfa765df668f vzctl-3.0.14.ebuild 1441
+EBUILD vzctl-3.0.14.ebuild 1636 RMD160 6e242162ade6aedc52f6dd2354b02e669784b9ea SHA1 d0a8848c3fa2cb0ddfba62858303e655e44b6151 SHA256 951eea0139b6557d49471b5ef78645370605bb8322bc74f64a89e7f2f3f15fb2
+MD5 76b914fda782576056caddc77847cce1 vzctl-3.0.14.ebuild 1636
+RMD160 6e242162ade6aedc52f6dd2354b02e669784b9ea vzctl-3.0.14.ebuild 1636
+SHA256 951eea0139b6557d49471b5ef78645370605bb8322bc74f64a89e7f2f3f15fb2 vzctl-3.0.14.ebuild 1636
MD5 604d30b9c731718babaeebabb624dd01 files/digest-vzctl-3.0.14 241
RMD160 f2ada0ab328e14ff8b97255c320a6fdc82b9f89a files/digest-vzctl-3.0.14 241
SHA256 f31d206d22b741c4a7e5b5acee694512e153e1d7f8c4e61e1e9d31c9d633d611 files/digest-vzctl-3.0.14 241
diff --git a/sys-cluster/vzctl/vzctl-3.0.14.ebuild b/sys-cluster/vzctl/vzctl-3.0.14.ebuild
index 2891832..2f8c542 100644
--- a/sys-cluster/vzctl/vzctl-3.0.14.ebuild
+++ b/sys-cluster/vzctl/vzctl-3.0.14.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.14.ebuild,v 1.1 2007/01/18 09:40:03 phreak Exp $
-inherit eutils multilib
+inherit bash-completion eutils multilib
DESCRIPTION="OpenVZ VPS control utility"
HOMEPAGE="http://openvz.org/"
@@ -11,7 +11,7 @@ SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
-IUSE="bash-completion logrotate udev"
+IUSE="logrotate udev"
RDEPEND="logrotate? ( app-admin/logrotate )
net-firewall/iptables
@@ -39,9 +39,14 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install install-gentoo || die "make install failed"
+
+ # install the bash-completion script into the right location
+ rm -rf "${D}"/etc/bash_completion.d
+ dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh.in vzctl
}
pkg_postinst() {
+ bash-completion_pkg_postinst
if has_version "<3.0.10"; then
ewarn
ewarn "The location of some vzctl files have changed. Most notably,"