Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/vzdump/
Date: Thu, 28 Dec 2017 15:07:47
Message-Id: 1514473638.0e161febc73b6a3713f76fd64f0584cb7fa1ebfe.soap@gentoo
1 commit: 0e161febc73b6a3713f76fd64f0584cb7fa1ebfe
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 28 14:54:31 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 28 15:07:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e161feb
7
8 app-backup/vzdump: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-backup/vzdump/metadata.xml | 16 ++++++++--------
13 app-backup/vzdump/vzdump-1.2.ebuild | 25 +++++++++++++------------
14 2 files changed, 21 insertions(+), 20 deletions(-)
15
16 diff --git a/app-backup/vzdump/metadata.xml b/app-backup/vzdump/metadata.xml
17 index 1c2b9403b15..da366eec9b7 100644
18 --- a/app-backup/vzdump/metadata.xml
19 +++ b/app-backup/vzdump/metadata.xml
20 @@ -1,12 +1,12 @@
21 <?xml version="1.0" encoding="UTF-8"?>
22 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
23 <pkgmetadata>
24 -<!-- maintainer-needed -->
25 -<longdescription lang="en">
26 -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.
27 -There are several ways to provide consistency:
28 - - stop the VE during backup (very long downtime)
29 - - use rsync and suspend/resume (minimal downtime)
30 - - use LVM2 (no downtime)
31 -</longdescription>
32 + <!-- maintainer-needed -->
33 + <longdescription lang="en">
34 + 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.
35 + There are several ways to provide consistency:
36 + - stop the VE during backup (very long downtime)
37 + - use rsync and suspend/resume (minimal downtime)
38 + - use LVM2 (no downtime)
39 + </longdescription>
40 </pkgmetadata>
41
42 diff --git a/app-backup/vzdump/vzdump-1.2.ebuild b/app-backup/vzdump/vzdump-1.2.ebuild
43 index eb385bda069..7027a1cd9fe 100644
44 --- a/app-backup/vzdump/vzdump-1.2.ebuild
45 +++ b/app-backup/vzdump/vzdump-1.2.ebuild
46 @@ -1,7 +1,9 @@
47 -# Copyright 1999-2014 Gentoo Foundation
48 +# Copyright 1999-2017 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50
51 -EAPI="2"
52 +EAPI=6
53 +
54 +inherit perl-functions
55
56 DESCRIPTION="A utility to make consistent snapshots of running OpenVZ containers"
57 HOMEPAGE="http://pve.proxmox.com/wiki/VZDump"
58 @@ -12,22 +14,21 @@ SLOT="0"
59 KEYWORDS="~x86 ~amd64"
60 IUSE=""
61
62 -RDEPEND="dev-lang/perl
63 +DEPEND="dev-lang/perl:="
64 +RDEPEND="${DEPEND}
65 + app-misc/cstream
66 dev-perl/LockFile-Simple
67 - virtual/perl-Getopt-Long
68 - sys-cluster/vzctl
69 net-misc/rsync
70 - app-misc/cstream
71 + sys-cluster/vzctl
72 + sys-fs/lvm2
73 virtual/mta
74 - sys-fs/lvm2"
75 + virtual/perl-Getopt-Long"
76
77 src_compile() {
78 - :;
79 + return
80 }
81
82 src_install() {
83 - local installvendorlib
84 - eval "$(perl -V:installvendorlib )"
85 - make PERLLIBDIR="${installvendorlib}/PVE" DESTDIR="${D}" install || die "make install failed"
86 - dodoc ChangeLog TODO
87 + emake PERLLIBDIR="$(perl_get_vendorlib)/PVE" DESTDIR="${D}" install
88 + einstalldocs
89 }