aboutsummaryrefslogtreecommitdiffstats
path: root/mail/msmtp
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2007-04-27 13:09:30 +0800
committernovel <novel@FreeBSD.org>2007-04-27 13:09:30 +0800
commit446185286758a3532d1e9b26192dc5233464e026 (patch)
treeb0466958909d3468e0cf7a1fe6004393cfe5dd0c /mail/msmtp
parenta4d0e2195f98a5d40aed45cb44af49f5c02b8e78 (diff)
downloadfreebsd-ports-gnome-446185286758a3532d1e9b26192dc5233464e026.tar.gz
freebsd-ports-gnome-446185286758a3532d1e9b26192dc5233464e026.tar.zst
freebsd-ports-gnome-446185286758a3532d1e9b26192dc5233464e026.zip
- 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>
Diffstat (limited to 'mail/msmtp')
-rw-r--r--mail/msmtp/Makefile4
-rw-r--r--mail/msmtp/files/patch-doc-msmtp.123
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