summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-09 22:37:37 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-09 22:43:58 -0500
commit4cab8b1cd40389faca36deb252c8128ca77b6d18 (patch)
treeb257e73fcc83d4c2e8ec17de1189b4120f964475 /net-mail
parentnet-misc/ntpsec: fix logrotate, inherit user, QA issues (really) (diff)
downloadgentoo-4cab8b1cd40389faca36deb252c8128ca77b6d18.tar.gz
gentoo-4cab8b1cd40389faca36deb252c8128ca77b6d18.tar.bz2
gentoo-4cab8b1cd40389faca36deb252c8128ca77b6d18.zip
net-mail/qmhandle: bump EAPI and stuff
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/qmhandle/qmhandle-1.3.2.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-mail/qmhandle/qmhandle-1.3.2.ebuild b/net-mail/qmhandle/qmhandle-1.3.2.ebuild
index ca310ec47ede..b335ed852a20 100644
--- a/net-mail/qmhandle/qmhandle-1.3.2.ebuild
+++ b/net-mail/qmhandle/qmhandle-1.3.2.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
-
-inherit eutils
+EAPI=7
DESCRIPTION="Qmail message queue tool"
HOMEPAGE="http://qmhandle.sourceforge.net/"
@@ -20,16 +18,15 @@ RDEPEND="virtual/qmail
"
DEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed \
-e 's|/usr/local/bin/svc|/usr/bin/svc|g' \
-e 's|/service/qmail-deliver|/var/qmail/supervise/qmail-send|g' \
- -i qmHandle
+ -i qmHandle || die "Fixing qmHandle failed"
+ eapply_user
}
src_install() {
dodoc README HISTORY
- dobin qmHandle || die "dobin failed"
+ dobin qmHandle
}