mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
- Add a dependency on security/ca-roots if using OpenSSL or gnutls
- Adjust manpage to point to the right SSL keys location PR: ports/112011 Submitted by: Scott Robbins <scottro@nyc.rr.com>
This commit is contained in:
parent
dd7fbd87c0
commit
e20235e5c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190989
@ -35,6 +35,10 @@ CONFIGURE_ARGS+= --with-ssl=openssl
|
||||
CONFIGURE_ARGS+= --without-ssl
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GNUTLS) || defined(WITH_OPENSSL)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root.crt:${PORTSDIR}/security/ca-roots
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GSASL)
|
||||
LIB_DEPENDS+= gsasl.9:${PORTSDIR}/security/gsasl
|
||||
.else
|
||||
|
23
mail/msmtp/files/patch-doc-msmtp.1
Normal file
23
mail/msmtp/files/patch-doc-msmtp.1
Normal file
@ -0,0 +1,23 @@
|
||||
--- doc/msmtp.1.orig Thu Apr 26 20:11:59 2007
|
||||
+++ doc/msmtp.1 Thu Apr 26 20:31:22 2007
|
||||
@@ -332,6 +332,11 @@
|
||||
.br
|
||||
On Debian based systems, you can install the \fBca-certificates\fP package and
|
||||
use the file \fB/etc/ssl/certs/ca-certificates.crt\fP.
|
||||
+.br
|
||||
+On FreeBSD based systems, you can install the \fBsecurity/ca-roots\fP port and
|
||||
+use the file \fB/usr/local/share/certs/ca-root.crt\fP. Please note that if
|
||||
+you are installing msmtp from ports with OpenSSL or gnutls support,
|
||||
+the \fBsecurity/ca-roots\fP port will be installed automaticly.
|
||||
.IP "tls_key_file [\fIfile\fP]"
|
||||
This command (together with the \fBtls_cert_file\fP command) enables msmtp to
|
||||
send a client certificate to the SMTP server if requested.
|
||||
@@ -418,7 +423,7 @@
|
||||
.br
|
||||
tls on
|
||||
.br
|
||||
-tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
+tls_trust_file /usr/local/share/certs/ca-root.crt
|
||||
.br
|
||||
logfile ~/.msmtp.log
|
||||
.br
|
Loading…
Reference in New Issue
Block a user