The recent stabilization of net-mail/courier-imap-5.0.7 results in a monthly cron error arising from bug 517682's "[i]nstall [of] a monthly cron job for dhparams" and the 5.0.7's version of this file including a reference to the non-existent /usr/local/bin/certtool: # grep -n -B3 -A3 local /usr/sbin/mkdhparams 62- BITS=high 63- fi 64- 65: /usr/local/bin/certtool --generate-dh-params --sec-param $BITS >$TLS_DHPARAMS.tmp 66- mv -f $TLS_DHPARAMS.tmp $TLS_DHPARAMS 67-fi It seems that ssl implementation may be an issue, my USEs on net-mail/courier-imap are: [ebuild R ] net-mail/courier-imap-5.0.7::gentoo USE="berkdb fam gdbm gnutls ipv6 -debug -libressl (-selinux) -trashquota" 0 KiB Reproducible: Always Steps to Reproduce: 1.Install net-mail/courier-imap 2. wait 3. Actual Results: when monthly cron job runs note error "/usr/sbin/mkdhparams: line 65: /usr/local/bin/certtool: No such file or directory" Expected Results: No error
Could you please rebuild gnutls with USE=tools and the courier-imap. Report the result so I can fix it
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309fee1b3d402bbf7506610e1737d955d3fa9e89 commit 309fee1b3d402bbf7506610e1737d955d3fa9e89 Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2019-11-06 19:27:24 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2019-11-06 19:27:24 +0000 net-mail/courier-imap: add tools to gnutls dependency Closes: https://bugs.gentoo.org/699342 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Rebuilt gnutls with USE=tools and then emerged courier-imap - /usr/sbin/mkdhparams now runs w/o errors. # grep -n -B3 -A3 certtool /usr/sbin/mkdhparams 62- BITS=high 63- fi 64- 65: /usr/bin/certtool --generate-dh-params --sec-param $BITS >$TLS_DHPARAMS.tmp 66- mv -f $TLS_DHPARAMS.tmp $TLS_DHPARAMS 67-fi Many thanks.