sys-cluster/vzctl: Security cleanup (bug #560522)
authorThomas Deutschmann <whissi@gentoo.org>
Tue, 10 Jan 2017 16:28:18 +0000 (17:28 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Wed, 11 Jan 2017 00:52:51 +0000 (01:52 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-cluster/vzctl/Manifest
sys-cluster/vzctl/vzctl-4.9.1.ebuild [deleted file]

index 3c4f93eb4caea1be98bbf2199169d787070ce08d..49e88e6f4da37a2804cab82791da837475081767 100644 (file)
@@ -1,2 +1 @@
-DIST vzctl-4.9.1.tar.bz2 517940 SHA256 b15f4b4eacd88d2a5e745f556dfe6ae079a77c0d3f0fa818674bc98715ad7d72 SHA512 998882a1f628104a9e0c6a598ee84046fb03da03b7b2ce703396659cf7d7bd0bb67bf1590596e5e43ff1223ef23078fb7cab2228e768e79d3c3136b1ba418e50 WHIRLPOOL feff55376fa5f470627f7fcbd4e9a0c24e04b8575219d33ffa5eb4a67d79e64682975b89fbf06953d4d88044e1771c9dfef3a5b578914900e5f88f59eb2d3895
 DIST vzctl-4.9.4.tar.bz2 550370 SHA256 bc3c63841b5244181e71bd1daf7c9aca6df3d42ed886a161fa5ba4b1b4520420 SHA512 651aa7882ba77442666a09441769f821a7374f417199380667b27c9980203597575dfe12ad5c261da22941b6a2bc6e032d3f9c2d88dcb03af6412634cc5b4706 WHIRLPOOL ed3c2531919b68fc2ae8acd9ac7b582b91f0eb6976155f12e2b35dbb236044c538e6499129aca579f9bc7697379c323bc6b32d0796a74a28b816a2dfb188c84f
diff --git a/sys-cluster/vzctl/vzctl-4.9.1.ebuild b/sys-cluster/vzctl/vzctl-4.9.1.ebuild
deleted file mode 100644 (file)
index 29c22c8..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit base bash-completion-r1 eutils toolchain-funcs udev
-
-DESCRIPTION="OpenVZ ConTainers control utility"
-HOMEPAGE="http://openvz.org/"
-SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86 -amd64-fbsd -sparc-fbsd -x86-fbsd"
-IUSE="+ploop  +vzmigrate"
-
-RDEPEND="net-firewall/iptables
-               sys-apps/ed
-               >=sys-apps/iproute2-3.3.0
-               >=sys-fs/vzquota-3.1
-               ploop? (
-                       >=sys-cluster/ploop-1.13
-                       sys-block/parted
-                       sys-fs/quota
-                       dev-libs/libxml2
-                       )
-               >=dev-libs/libcgroup-0.38
-               vzmigrate? (
-               net-misc/openssh
-               net-misc/rsync[xattr,acl]
-               app-arch/tar[xattr,acl]
-               net-misc/bridge-utils
-               virtual/awk
-                       )
-               virtual/udev
-               "
-
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       "
-
-src_prepare() {
-
-       # Set default OSTEMPLATE on gentoo
-       sed -i -e 's:=redhat-:=gentoo-:' etc/dists/default || die 'sed on etc/dists/default failed'
-       # Set proper udev directory
-       sed -i -e "s:/lib/udev:$(get_udevdir):" src/lib/dev.c || die 'sed on src/lib/dev.c failed'
-}
-
-src_configure() {
-
-       econf \
-               --localstatedir=/var \
-               --enable-udev \
-               --enable-bashcomp \
-               --enable-logrotate \
-               --with-vz \
-               $(use_with ploop) \
-               --with-cgroup
-}
-
-src_install() {
-
-       emake DESTDIR="${D}" udevdir="$(get_udevdir)"/rules.d install install-gentoo
-
-       # install the bash-completion script into the right location
-       rm -rf "${ED}"/etc/bash_completion.d
-       newbashcomp etc/bash_completion.d/vzctl.sh ${PN}
-
-       # We need to keep some dirs
-       keepdir /vz/{dump,lock,root,private,template/cache}
-       keepdir /etc/vz/names /var/lib/vzctl/veip
-}
-
-pkg_postinst() {
-       einfo "This vzctl release required kernel above 2.6.32.92"
-
-       einfo "If you have checkpoint suspend/restore feature in vanilla kernel"
-       einfo "please install "sys-process/criu" "
-       einfo "This is experimental and not stable ( in gentoo ) now"
-
-       einfo "if you have work with  .xz compressed template, please install app-arch/xz-utils"
-       einfo "if you have check signature donwloaded template - install gpg "
-}