From e8b5e3f3a2b90e9cabacd6aa453261b88567bf9f Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Fri, 5 Jul 2019 09:14:20 +0200 Subject: [PATCH] net-mail/courier-imap: Install a monthly cron job for dhparams Closes: https://bugs.gentoo.org/517682 Signed-off-by: Alfredo Tupone Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 ++ net-mail/courier-imap/files/courier-imap.cron | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 net-mail/courier-imap/files/courier-imap.cron 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 c109323e7fa2..859c7b600a2d 100644 --- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild +++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild @@ -233,6 +233,8 @@ src_install() { dodoc libs/rfc2045/*.html docinto tcpd dodoc libs/tcpd/README* libs/tcpd/*.html + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/${PN}.cron ${PN} } pkg_postinst() { diff --git a/net-mail/courier-imap/files/courier-imap.cron b/net-mail/courier-imap/files/courier-imap.cron new file mode 100644 index 000000000000..c1c517d55546 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap.cron @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/sbin/mkdhparams -- 2.26.2