summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-28 15:54:31 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-28 16:07:18 +0100
commit0e161febc73b6a3713f76fd64f0584cb7fa1ebfe (patch)
tree62dd6db3ca0a7756427f1da8eef2da8aec634f22 /app-backup
parentapp-backup/ccollect: Port to EAPI 6 (diff)
downloadgentoo-0e161febc73b6a3713f76fd64f0584cb7fa1ebfe.tar.gz
gentoo-0e161febc73b6a3713f76fd64f0584cb7fa1ebfe.tar.bz2
gentoo-0e161febc73b6a3713f76fd64f0584cb7fa1ebfe.zip
app-backup/vzdump: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/vzdump/metadata.xml16
-rw-r--r--app-backup/vzdump/vzdump-1.2.ebuild25
2 files changed, 21 insertions, 20 deletions
diff --git a/app-backup/vzdump/metadata.xml b/app-backup/vzdump/metadata.xml
index 1c2b9403b15..da366eec9b7 100644
--- a/app-backup/vzdump/metadata.xml
+++ b/app-backup/vzdump/metadata.xml
@@ -1,12 +1,12 @@
<?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>
diff --git a/app-backup/vzdump/vzdump-1.2.ebuild b/app-backup/vzdump/vzdump-1.2.ebuild
index eb385bda069..7027a1cd9fe 100644
--- a/app-backup/vzdump/vzdump-1.2.ebuild
+++ b/app-backup/vzdump/vzdump-1.2.ebuild
@@ -1,7 +1,9 @@
-# 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"
@@ -12,22 +14,21 @@ SLOT="0"
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
}