commit:     8602de0e162de0ba30bf063f3d67a001c4722f79
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  6 14:43:24 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 14:43:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8602de0e

sys-cluster/vzctl: treeclean

Closes: https://bugs.gentoo.org/580516 (pkgremoved)
Closes: https://bugs.gentoo.org/605274 (pkgremoved)
Closes: https://bugs.gentoo.org/677190 (pkgremoved)
Closes: https://bugs.gentoo.org/840975 (pkgremoved)
Closes: https://bugs.gentoo.org/841251 (pkgremoved)
Closes: https://bugs.gentoo.org/852104 (pkgremoved)
Closes: https://bugs.gentoo.org/868252 (pkgremoved)
Closes: https://bugs.gentoo.org/932163 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 profiles/arch/powerpc/ppc64/package.use.mask       |  5 --
 profiles/package.mask                              |  8 --
 sys-cluster/vzctl/Manifest                         |  1 -
 .../vzctl/files/vzctl-4.9.4-glibc225-2.patch       | 33 ---------
 sys-cluster/vzctl/files/vzctl-4.9.4-glibc225.patch | 11 ---
 sys-cluster/vzctl/metadata.xml                     | 15 ----
 sys-cluster/vzctl/vzctl-4.9.4-r2.ebuild            | 85 ----------------------
 7 files changed, 158 deletions(-)

diff --git a/profiles/arch/powerpc/ppc64/package.use.mask 
b/profiles/arch/powerpc/ppc64/package.use.mask
index 9e5fd88c9a23..77ec1ec483b9 100644
--- a/profiles/arch/powerpc/ppc64/package.use.mask
+++ b/profiles/arch/powerpc/ppc64/package.use.mask
@@ -217,11 +217,6 @@ net-analyzer/rrdtool rados
 # are missing keywords.
 games-simulation/openttd openmedia
 
-# Sergey Popov <[email protected]> (2013-02-18)
-# sys-cluster/ploop can not be build on ppc64, bug #447644
-# Masking USE-dep on it
-sys-cluster/vzctl ploop
-
 # Kacper Kowalik <[email protected]> (2011-09-02)
 # Mask www-client/seamonkey[ipc] on ppc64 wrt #381191
 www-client/seamonkey ipc

diff --git a/profiles/package.mask b/profiles/package.mask
index a508836e13ed..799116bcae24 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -274,14 +274,6 @@ dev-ruby/ruby-openid
 # Removal on 2025-09-07.
 dev-java/jide-oss
 
-# Eli Schwartz <[email protected]> (2025-07-28)
-# Unmaintained, out of date, last upstream release in 2018, last
-# packaged release 2015. Broken with modern system interfaces for
-# some time. Entire OpenVZ ecosystem is vaporware these days,
-# openvz-sources was last-rited in 2017 already.
-# Removal on 2025-08-27.  Bug #580516, #868252.
-sys-cluster/vzctl
-
 # Hans de Graaff <[email protected]> (2025-07-28)
 # Obsolete slots of cucumber components. These slots are no longer used
 # by dev-util/cucumber. Removal on 2025-08-28.

diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest
deleted file mode 100644
index 35b03edbe1eb..000000000000
--- a/sys-cluster/vzctl/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST vzctl-4.9.4.tar.bz2 550370 BLAKE2B 
173d6cfe93b15aef6cb1903a5d711e29190964479c146625a3f9d2ff872161c51b7632213a5f0d47d5a14ec34d7d80499c1bc17f11cfbb80318c26630c05fd71
 SHA512 
651aa7882ba77442666a09441769f821a7374f417199380667b27c9980203597575dfe12ad5c261da22941b6a2bc6e032d3f9c2d88dcb03af6412634cc5b4706

diff --git a/sys-cluster/vzctl/files/vzctl-4.9.4-glibc225-2.patch 
b/sys-cluster/vzctl/files/vzctl-4.9.4-glibc225-2.patch
deleted file mode 100644
index de8eca658c0a..000000000000
--- a/sys-cluster/vzctl/files/vzctl-4.9.4-glibc225-2.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -ruN vzctl-4.9.4.orig/src/lib/dev.c vzctl-4.9.4/src/lib/dev.c
---- vzctl-4.9.4.orig/src/lib/dev.c     2017-10-20 23:22:14.689240049 +0200
-+++ vzctl-4.9.4/src/lib/dev.c  2017-10-20 23:24:28.972830730 +0200
-@@ -19,6 +19,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <sys/types.h>
-+#include <sys/sysmacros.h>
- #include <sys/stat.h>
- #include <unistd.h>
- #include <errno.h>
-diff -ruN vzctl-4.9.4.orig/src/lib/hooks_ct.c vzctl-4.9.4/src/lib/hooks_ct.c
---- vzctl-4.9.4.orig/src/lib/hooks_ct.c        2015-08-27 01:41:24.000000000 
+0200
-+++ vzctl-4.9.4/src/lib/hooks_ct.c     2017-10-20 23:24:14.508659254 +0200
-@@ -5,6 +5,7 @@
- #include <string.h>
- #include <sys/stat.h>
- #include <sys/types.h>
-+#include <sys/sysmacros.h>
- #include <sys/wait.h>
- #include <sys/mount.h>
- #include <fcntl.h>
-diff -ruN vzctl-4.9.4.orig/src/lib/vps_configure.c 
vzctl-4.9.4/src/lib/vps_configure.c
---- vzctl-4.9.4.orig/src/lib/vps_configure.c   2015-08-27 01:41:24.000000000 
+0200
-+++ vzctl-4.9.4/src/lib/vps_configure.c        2017-10-20 23:26:01.848931798 
+0200
-@@ -24,6 +24,7 @@
- #include <sys/stat.h>
- #include <netinet/in.h>
- #include <linux/vzcalluser.h>
-+#include <sys/sysmacros.h>
- 
- #include "vzerror.h"
- #include "logger.h"

diff --git a/sys-cluster/vzctl/files/vzctl-4.9.4-glibc225.patch 
b/sys-cluster/vzctl/files/vzctl-4.9.4-glibc225.patch
deleted file mode 100644
index 87f86270bdd9..000000000000
--- a/sys-cluster/vzctl/files/vzctl-4.9.4-glibc225.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN vzctl-4.9.4.orig/src/lib/config.c vzctl-4.9.4/src/lib/config.c
---- vzctl-4.9.4.orig/src/lib/config.c  2015-08-27 01:41:24.000000000 +0200
-+++ vzctl-4.9.4/src/lib/config.c       2017-10-20 23:19:14.651115558 +0200
-@@ -25,6 +25,7 @@
- #include <arpa/inet.h>
- #include <getopt.h>
- #include <sys/types.h>
-+#include <sys/sysmacros.h>
- #include <sys/stat.h>
- #include <linux/vzcalluser.h>
- #include <unistd.h>

diff --git a/sys-cluster/vzctl/metadata.xml b/sys-cluster/vzctl/metadata.xml
deleted file mode 100644
index 81e9c14e3dd3..000000000000
--- a/sys-cluster/vzctl/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <use>
-               <flag name="ploop">Add support for ploop devices via 
<pkg>sys-cluster/ploop</pkg></flag>
-               <flag name="vzmigrate">Add support for container 
migration</flag>
-       </use>
-       <upstream>
-               <maintainer status="active">
-                       <email>[email protected]</email>
-                       <name>Kir Kolyshkin</name>
-               </maintainer>
-       </upstream>
-</pkgmetadata>

diff --git a/sys-cluster/vzctl/vzctl-4.9.4-r2.ebuild 
b/sys-cluster/vzctl/vzctl-4.9.4-r2.ebuild
deleted file mode 100644
index 651d0fe86181..000000000000
--- a/sys-cluster/vzctl/vzctl-4.9.4-r2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 optfeature udev
-
-DESCRIPTION="OpenVZ ConTainers control utility"
-HOMEPAGE="https://openvz.org/";
-SRC_URI="https://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2";
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
-IUSE="+ploop +vzmigrate"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-       >=dev-libs/libcgroup-0.38
-       net-firewall/iptables
-       sys-apps/attr
-       sys-apps/ed
-       >=sys-apps/iproute2-3.3.0
-       >=sys-fs/vzquota-3.1
-       virtual/udev
-       ploop? (
-               dev-libs/libxml2:=
-               sys-block/parted
-               >=sys-cluster/ploop-1.13
-               sys-fs/quota
-       )
-       vzmigrate? (
-               app-alternatives/awk
-               app-arch/tar[xattr,acl]
-               net-misc/rsync[xattr,acl]
-               net-misc/bridge-utils
-               virtual/openssh
-       )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-glibc225.patch
-       "${FILESDIR}"/${P}-glibc225-2.patch
-)
-
-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'
-
-       default
-}
-
-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 || die
-       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 requires a kernel above 2.6.32.92"
-
-       optfeature "Checkpoint suspend/restore support (experimental)" 
sys-process/criu
-       optfeature "Compressed .xz templates" app-arch/xz-utils
-       optfeature "Signed templates" app-crypt/gnupg
-}

Reply via email to