<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription lang="en">
-vzdump is a utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.
-There are several ways to provide consistency:
- - stop the VE during backup (very long downtime)
- - use rsync and suspend/resume (minimal downtime)
- - use LVM2 (no downtime)
-</longdescription>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ vzdump is a utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.
+ There are several ways to provide consistency:
+ - stop the VE during backup (very long downtime)
+ - use rsync and suspend/resume (minimal downtime)
+ - use LVM2 (no downtime)
+ </longdescription>
</pkgmetadata>
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=6
+
+inherit perl-functions
DESCRIPTION="A utility to make consistent snapshots of running OpenVZ containers"
HOMEPAGE="http://pve.proxmox.com/wiki/VZDump"
KEYWORDS="~x86 ~amd64"
IUSE=""
-RDEPEND="dev-lang/perl
+DEPEND="dev-lang/perl:="
+RDEPEND="${DEPEND}
+ app-misc/cstream
dev-perl/LockFile-Simple
- virtual/perl-Getopt-Long
- sys-cluster/vzctl
net-misc/rsync
- app-misc/cstream
+ sys-cluster/vzctl
+ sys-fs/lvm2
virtual/mta
- sys-fs/lvm2"
+ virtual/perl-Getopt-Long"
src_compile() {
- :;
+ return
}
src_install() {
- local installvendorlib
- eval "$(perl -V:installvendorlib )"
- make PERLLIBDIR="${installvendorlib}/PVE" DESTDIR="${D}" install || die "make install failed"
- dodoc ChangeLog TODO
+ emake PERLLIBDIR="$(perl_get_vendorlib)/PVE" DESTDIR="${D}" install
+ einstalldocs
}