File:  [cvs.NetBSD.org] / pkgsrc / mail / courier-mta / patches / patch-ag
Revision 1.5: download - view: text, annotated - select for diffs
Mon Feb 12 21:06:43 2024 UTC (11 months, 1 week ago) by hans
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, HEAD
Update Courier-MTA to 1.3.5

This updates the following packages that are all built from the same
source:
mail/courier-mta
mail/courier-maildir
net/couriertcpd

Changes since 0.68.1: Too many to list here (0.68.1 was released in 2012).
The full changelog can be found here:
https://sourceforge.net/p/courier/courier.git/ci/713d051033c8d94b594b6bc61f0652b0951af752/tree/courier/ChangeLog

Note that the Maildir unicode format has changed in the 1.0 release. See
mail/courier-maildir/MESSAGE.UTF8 for details.

$NetBSD: patch-ag,v 1.5 2024/02/12 21:06:43 hans Exp $

--- courier/module.esmtp/mkesmtpdcert.in.orig	2021-05-23 13:32:53.000000000 +0000
+++ courier/module.esmtp/mkesmtpdcert.in
@@ -14,7 +14,13 @@ if [ -z "$PEMFILE" ]; then
 	PEMFILE=@certsdir@/esmtpd
 fi
 
-if test "@ssllib@" = "openssl"
+case "$1" in
+gnutls)		ssllib=gnutls ;;
+openssl)	ssllib=openssl ;;
+*)		ssllib="@ssllib@" ;;
+esac   
+
+if test "$ssllib" = "openssl"
 then
 	test -x @OPENSSL@ || exit 0
 else
@@ -40,7 +46,7 @@ umask 077
 BITS="$BITS"
 set -e
 
-if test "@ssllib@" = "openssl"
+if test "$ssllib" = "openssl"
 then
 	cp /dev/null "$PEMFILE".pem
 	chmod 600 "$PEMFILE".pem

CVSweb <webmaster@jp.NetBSD.org>