Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/vchkuser/
Date: Wed, 03 Jan 2018 18:39:14
Message-Id: 1515004658.fd6aa0ce70dbee30e03abe7f5a4d54789e86c1db.soap@gentoo
1 commit: fd6aa0ce70dbee30e03abe7f5a4d54789e86c1db
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 18:37:38 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 18:37:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6aa0ce
7
8 net-mail/vchkuser: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 net-mail/vchkuser/vchkuser-0.4.ebuild | 18 ++++++++++++------
13 1 file changed, 12 insertions(+), 6 deletions(-)
14
15 diff --git a/net-mail/vchkuser/vchkuser-0.4.ebuild b/net-mail/vchkuser/vchkuser-0.4.ebuild
16 index f007e274eae..93faf978ed0 100644
17 --- a/net-mail/vchkuser/vchkuser-0.4.ebuild
18 +++ b/net-mail/vchkuser/vchkuser-0.4.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="3"
25 +EAPI=6
26
27 inherit autotools qmail
28
29 @@ -14,13 +14,18 @@ SLOT="0"
30 KEYWORDS="amd64 x86"
31 IUSE="debug"
32
33 -DEPEND="net-mail/vpopmail
34 - || ( mail-mta/netqmail[qmail-spp] mail-mta/qmail-ldap[qmail-spp] )"
35 +DEPEND="
36 + net-mail/vpopmail
37 + || (
38 + mail-mta/netqmail[qmail-spp]
39 + mail-mta/qmail-ldap[qmail-spp]
40 + )"
41 RDEPEND=""
42
43 S="${WORKDIR}/hollow-${PN}-8a048f7"
44
45 src_prepare() {
46 + default
47 eautoreconf
48 }
49
50 @@ -29,12 +34,13 @@ src_configure() {
51 $(use_enable debug) \
52 --with-vpopuser=vpopmail \
53 --with-qmailgroup=nofiles \
54 - --with-vpopmaildir=/var/vpopmail \
55 + --with-vpopmaildir="${EPREFIX}"/var/vpopmail \
56 --with-qmaildir=${QMAIL_HOME}
57 }
58
59 src_install() {
60 - emake DESTDIR="${D}" install || die "emake failed"
61 + default
62 +
63 fowners vpopmail:nofiles "${QMAIL_HOME}"/plugins/vchkuser
64 fperms 4750 "${QMAIL_HOME}"/plugins/vchkuser
65 }