Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2020 11:47:18 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r541412 - head/mail/libesmtp
Message-ID:  <202007071147.067BlIEf000133@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Jul  7 11:47:18 2020
New Revision: 541412
URL: https://svnweb.freebsd.org/changeset/ports/541412

Log:
  Pull the patch from Gentoo Linux to unbreak the build against contemporary
  versions of OpenSSL.
  
  PR:	238133

Modified:
  head/mail/libesmtp/Makefile
  head/mail/libesmtp/distinfo

Modified: head/mail/libesmtp/Makefile
==============================================================================
--- head/mail/libesmtp/Makefile	Tue Jul  7 11:33:47 2020	(r541411)
+++ head/mail/libesmtp/Makefile	Tue Jul  7 11:47:18 2020	(r541412)
@@ -10,6 +10,10 @@ MASTER_SITES=	http://www.stafford.uklinux.net/libesmtp
 		http://ftp.osuosl.org/pub/blfs/svn/l/ \
 		GENTOO
 
+PATCH_SITES=	https://gitweb.gentoo.org/repo/gentoo.git/plain/net-libs/libesmtp/files/ \
+		https://raw.githubusercontent.com/gentoo/gentoo/master/net-libs/libesmtp/files/
+PATCHFILES=	libesmtp-1.0.6-openssl-1.1-api-compatibility.patch:-p1
+
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library for posting electronic mail
 
@@ -18,7 +22,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
 BROKEN_SSL=	openssl
 
-USES=		gmake libtool tar:bzip2
+USES=		autoreconf gmake libtool tar:bzip2
 GNU_CONFIGURE=	yes
 # require-all-recipients (implied by enable-all) is required for Balsa
 CONFIGURE_ARGS=	--enable-all --disable-isoc
@@ -33,13 +37,6 @@ DEBUG_CONFIGURE_ENABLE=	debug
 OPENSSL_CONFIGURE_WITH=	openssl=${OPENSSLBASE}
 OPENSSL_USES=		ssl
 
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12=	error: cannot find the ssl library
-BROKEN_FreeBSD_13=	error: cannot find the ssl library
-.endif
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in AUTHORS ChangeLog NEWS Notes README TODO
@@ -50,4 +47,4 @@ post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/libesmtp/distinfo
==============================================================================
--- head/mail/libesmtp/distinfo	Tue Jul  7 11:33:47 2020	(r541411)
+++ head/mail/libesmtp/distinfo	Tue Jul  7 11:47:18 2020	(r541412)
@@ -1,2 +1,5 @@
+TIMESTAMP = 1281387021
 SHA256 (libesmtp-1.0.6.tar.bz2) = d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b
 SIZE (libesmtp-1.0.6.tar.bz2) = 365506
+SHA256 (libesmtp-1.0.6-openssl-1.1-api-compatibility.patch) = d10161f8b01c7865dcb948f8e65e61b8596752856953a605632d2c09dd41494c
+SIZE (libesmtp-1.0.6-openssl-1.1-api-compatibility.patch) = 2243



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