summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-07-05 09:14:20 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-07-05 09:14:20 +0200
commite8b5e3f3a2b90e9cabacd6aa453261b88567bf9f (patch)
tree708e68cf2f93ef89c01db2b058a3f71a704bb89a /net-mail
parentsys-fs/btrfs-progs: Bump to version 5.2_rc2. Removed old. (diff)
downloadgentoo-e8b5e3f3a2b90e9cabacd6aa453261b88567bf9f.tar.gz
gentoo-e8b5e3f3a2b90e9cabacd6aa453261b88567bf9f.tar.bz2
gentoo-e8b5e3f3a2b90e9cabacd6aa453261b88567bf9f.zip
net-mail/courier-imap: Install a monthly cron job for dhparams
Closes: https://bugs.gentoo.org/517682 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.ebuild2
-rw-r--r--net-mail/courier-imap/files/courier-imap.cron3
2 files changed, 5 insertions, 0 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 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