diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-04-27 05:09:30 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-04-27 05:09:30 +0000 |
commit | e20235e5c0e50078524b80b836ff6c815575547c (patch) | |
tree | 2172ff4e97c192c01174495c5ca08492f3a07576 /mail/msmtp | |
parent | dd7fbd87c001b5d823325dc906450dc723f8ac50 (diff) | |
download | ports-e20235e5c0e50078524b80b836ff6c815575547c.tar.gz ports-e20235e5c0e50078524b80b836ff6c815575547c.zip |
Notes
Diffstat (limited to 'mail/msmtp')
-rw-r--r-- | mail/msmtp/Makefile | 4 | ||||
-rw-r--r-- | mail/msmtp/files/patch-doc-msmtp.1 | 23 |
2 files changed, 27 insertions, 0 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile index f0403582753f..c03b81caf06f 100644 --- a/mail/msmtp/Makefile +++ b/mail/msmtp/Makefile @@ -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 diff --git a/mail/msmtp/files/patch-doc-msmtp.1 b/mail/msmtp/files/patch-doc-msmtp.1 new file mode 100644 index 000000000000..3f214f57fdc5 --- /dev/null +++ b/mail/msmtp/files/patch-doc-msmtp.1 @@ -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 |