summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-07-02 09:27:09 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-07-02 09:27:09 +0200
commit04434151ae097d3153723b8086dd345dc76ed5b3 (patch)
treebe10fb601ee30e52f7e0893f7fdf358afb5d68d4 /net-mail
parentnet-analyzer/ettercap: version bump to 0.8.3 (diff)
downloadgentoo-04434151ae097d3153723b8086dd345dc76ed5b3.tar.gz
gentoo-04434151ae097d3153723b8086dd345dc76ed5b3.tar.bz2
gentoo-04434151ae097d3153723b8086dd345dc76ed5b3.zip
net-mail/courier-imap: Fix systemd files
Closes: https://bugs.gentoo.org/678762 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/courier-imap/courier-imap-5.0.7.ebuild13
-rw-r--r--net-mail/courier-imap/metadata.xml5
2 files changed, 14 insertions, 4 deletions
diff --git a/net-mail/courier-imap/courier-imap-5.0.7.ebuild b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
index 811fe4f3e026..ca3d3db18005 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -200,11 +200,18 @@ src_install() {
doinitd "${T}/${initd}"
done
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
+ cp "${FILESDIR}"/courier-*-r1.service .
+
+ sed -i \
+ -e "s:/usr/lib/:/usr/$(get_libdir)/:" \
+ courier-*-r1.service \
+ || die
+
+ systemd_newunit courier-authdaemond-r1.service \
courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
+ systemd_newunit courier-imapd-ssl-r1.service \
courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
+ systemd_newunit courier-imapd-r1.service \
courier-imapd.service
exeinto "/usr/$(get_libdir)/${PN}"
diff --git a/net-mail/courier-imap/metadata.xml b/net-mail/courier-imap/metadata.xml
index de3c5e7d18cd..3234ad92f494 100644
--- a/net-mail/courier-imap/metadata.xml
+++ b/net-mail/courier-imap/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
<use>
<flag name="trashquota">include deleted messages, and the Trash folder, in the estimated quota usage for maildirs</flag>
</use>