Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 02:56:37 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482131 - in head/mail/heirloom-mailx: . files
Message-ID:  <201810150256.w9F2ubFb037410@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Mon Oct 15 02:56:36 2018
New Revision: 482131
URL: https://svnweb.freebsd.org/changeset/ports/482131

Log:
  Jettison SSLv2 support. Not only does this allow mail/mailx to
  build using openssl111 in base but SSLv2 is insecure.

Added:
  head/mail/heirloom-mailx/files/patch-mailx.1   (contents, props changed)
  head/mail/heirloom-mailx/files/patch-mailx.1.html   (contents, props changed)
Modified:
  head/mail/heirloom-mailx/Makefile   (contents, props changed)

Modified: head/mail/heirloom-mailx/Makefile
==============================================================================
--- head/mail/heirloom-mailx/Makefile	Mon Oct 15 00:58:09 2018	(r482130)
+++ head/mail/heirloom-mailx/Makefile	Mon Oct 15 02:56:36 2018	(r482131)
@@ -2,7 +2,7 @@
 
 PORTNAME=	mailx
 PORTVERSION=	12.4
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	mail ipv6
 MASTER_SITES=	SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
 PKGNAMEPREFIX=	heirloom-
@@ -18,6 +18,7 @@ CONFLICTS=	mailx-[0-9]*
 
 MAKE_JOBS_UNSAFE=	yes
 USES=		iconv localbase ssl tar:bzip2
+CPPFLAGS+=	-DOPENSSL_NO_SSL2
 MAKE_ARGS=	PREFIX="${PREFIX}" \
 		SYSCONFDIR="${PREFIX}/etc" \
 		SENDMAIL="/usr/sbin/sendmail" \

Added: head/mail/heirloom-mailx/files/patch-mailx.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/heirloom-mailx/files/patch-mailx.1	Mon Oct 15 02:56:36 2018	(r482131)
@@ -0,0 +1,14 @@
+--- mailx.1.orig	2007-10-01 06:00:39.000000000 -0700
++++ mailx.1	2018-10-14 19:36:55.360353000 -0700
+@@ -2683,11 +2683,6 @@
+ to verify SSL/TLS server certificates.
+ Only applicable if SSL/TLS support is built using OpenSSL.
+ .TP
+-.B ssl-v2-allow
+-Accept SSLv2 connections.
+-These are normally not allowed
+-because this protocol version is insecure.
+-.TP
+ .B stealthmua
+ Inhibits the generation of
+ the \fI`Message-Id:'\fR and \fI`User-Agent:'\fR

Added: head/mail/heirloom-mailx/files/patch-mailx.1.html
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/heirloom-mailx/files/patch-mailx.1.html	Mon Oct 15 02:56:36 2018	(r482131)
@@ -0,0 +1,15 @@
+--- mailx.1.html.orig	2008-07-28 15:33:37.000000000 -0700
++++ mailx.1.html	2018-10-14 19:38:44.077272000 -0700
+@@ -2953,12 +2953,6 @@
+ Only applicable if SSL/TLS support is built using OpenSSL.
+ </TD></TR>
+ <TR valign=top><TD colspan=2>
+-<B>ssl-v2-allow</B> </TD></TR><TR valign=top><TD width=6%>&nbsp;</TD><TD>
+-Accept SSLv2 connections.
+-These are normally not allowed
+-because this protocol version is insecure.
+-</TD></TR>
+-<TR valign=top><TD colspan=2>
+ <B>stealthmua</B> </TD></TR><TR valign=top><TD width=6%>&nbsp;</TD><TD>
+ Inhibits the generation of
+ the <I>&#39;Message-Id:&#39;</I> and <I>&#39;User-Agent:&#39;</I>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810150256.w9F2ubFb037410>