diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2019-07-04 18:59:48 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2019-07-04 18:59:48 +0200 |
commit | 52a96cc0fe6858f286691984b6fcb3beec23aca9 (patch) | |
tree | 550e77adf01c7effa816722541032b56c1fbd037 /net-mail | |
parent | net-misc/ntpsec: version bump to 1.1.4, bug #688494 (diff) | |
download | gentoo-52a96cc0fe6858f286691984b6fcb3beec23aca9.tar.gz gentoo-52a96cc0fe6858f286691984b6fcb3beec23aca9.tar.bz2 gentoo-52a96cc0fe6858f286691984b6fcb3beec23aca9.zip |
net-mail/courier-imap: Move dhparams.pem directory to /etc/courier-imap
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.ebuild | 13 |
1 files changed, 3 insertions, 10 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 ca3d3db18005..c109323e7fa2 100644 --- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild +++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild @@ -61,6 +61,7 @@ For a quick-start howto please refer to ${PN}-gentoo.readme in /usr/share/doc/${PF} Please convert maildir to utf8 +and rerun mkdhparams if needed. Locatio has changed " PATCHES=( @@ -111,19 +112,11 @@ src_configure() { --enable-workarounds-for-imap-client-bugs \ --with-mailuser=mail \ --with-mailgroup=mail \ + --with-certsdir="/etc/courier-imap" \ $(use_with fam) \ $(use_with ipv6) \ $(use_with gnutls) \ ${myconf} - - # Change the pem file location. - sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ - libs/imap/imapd-ssl.dist || \ - die "sed failed" - - sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ - libs/imap/pop3d-ssl.dist || \ - die "sed failed" } #src_compile() { @@ -190,7 +183,7 @@ src_install() { dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" - dosym /usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" + dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" for initd in courier-{imapd,pop3d}{,-ssl} ; do sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \ |