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@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-09-06 17:43:24 +03:00
parent 85be5065c6
commit 8602de0e16
7 changed files with 0 additions and 158 deletions

View File

@@ -217,11 +217,6 @@ net-analyzer/rrdtool rados
# are missing keywords.
games-simulation/openttd openmedia
# Sergey Popov <pinkbyte@gentoo.org> (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 <xarthisius@gentoo.org> (2011-09-02)
# Mask www-client/seamonkey[ipc] on ppc64 wrt #381191
www-client/seamonkey ipc

View File

@@ -274,14 +274,6 @@ dev-ruby/ruby-openid
# Removal on 2025-09-07.
dev-java/jide-oss
# Eli Schwartz <eschwartz@gentoo.org> (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 <graaff@gentoo.org> (2025-07-28)
# Obsolete slots of cucumber components. These slots are no longer used
# by dev-util/cucumber. Removal on 2025-08-28.

View File

@@ -1 +0,0 @@
DIST vzctl-4.9.4.tar.bz2 550370 BLAKE2B 173d6cfe93b15aef6cb1903a5d711e29190964479c146625a3f9d2ff872161c51b7632213a5f0d47d5a14ec34d7d80499c1bc17f11cfbb80318c26630c05fd71 SHA512 651aa7882ba77442666a09441769f821a7374f417199380667b27c9980203597575dfe12ad5c261da22941b6a2bc6e032d3f9c2d88dcb03af6412634cc5b4706

View File

@@ -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"

View File

@@ -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>

View File

@@ -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>kir@openvz.org</email>
<name>Kir Kolyshkin</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -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
}