Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 11:23:42 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469628 - in head/mail/fetchmail: . files
Message-ID:  <201805111123.w4BBNgLM068613@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Fri May 11 11:23:42 2018
New Revision: 469628
URL: https://svnweb.freebsd.org/changeset/ports/469628

Log:
  Fix build with openssl-devel, remove BROKEN_SSL.
  
  Approved by: (blanket approval for unbreaking builds)

Modified:
  head/mail/fetchmail/Makefile
  head/mail/fetchmail/files/patch-socket.c

Modified: head/mail/fetchmail/Makefile
==============================================================================
--- head/mail/fetchmail/Makefile	Fri May 11 11:06:47 2018	(r469627)
+++ head/mail/fetchmail/Makefile	Fri May 11 11:23:42 2018	(r469628)
@@ -14,8 +14,6 @@ COMMENT=	Batch mail retrieval utility for IMAP/POP3/ET
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	dual
 
-BROKEN_SSL=	openssl-devel
-
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
 USERS=		${PORTNAME}

Modified: head/mail/fetchmail/files/patch-socket.c
==============================================================================
--- head/mail/fetchmail/files/patch-socket.c	Fri May 11 11:06:47 2018	(r469627)
+++ head/mail/fetchmail/files/patch-socket.c	Fri May 11 11:23:42 2018	(r469628)
@@ -5,7 +5,7 @@
  	if(myproto) {
  		if(!strcasecmp("ssl2",myproto)) {
 -#if HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0
-+#ifndef OPENSSL_NO_SSL2
++#if (HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0) && !defined(OPENSSL_NO_SSL2)
  			_ctx[sock] = SSL_CTX_new(SSLv2_client_method());
  #else
 -			report(stderr, GT_("Your operating system does not support SSLv2.\n"));



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