[147636] trunk/dports/security/libressl

jeremyhu at macports.org jeremyhu at macports.org
Mon Apr 11 02:39:19 PDT 2016


Revision: 147636
          https://trac.macports.org/changeset/147636
Author:   jeremyhu at macports.org
Date:     2016-04-11 02:39:19 -0700 (Mon, 11 Apr 2016)
Log Message:
-----------
libressl: Bump to 2.3.3

Modified Paths:
--------------
    trunk/dports/security/libressl/Portfile
    trunk/dports/security/libressl/files/openssldir-cert.pem.patch

Modified: trunk/dports/security/libressl/Portfile
===================================================================
--- trunk/dports/security/libressl/Portfile	2016-04-11 08:29:50 UTC (rev 147635)
+++ trunk/dports/security/libressl/Portfile	2016-04-11 09:39:19 UTC (rev 147636)
@@ -6,7 +6,7 @@
 PortGroup           compiler_blacklist_versions 1.0
 
 name                libressl
-version             2.2.6
+version             2.3.3
 
 categories          security devel
 platforms           darwin
@@ -24,19 +24,20 @@
 conflicts           openssl
 
 master_sites        http://ftp.openbsd.org/pub/OpenBSD/LibreSSL
-checksums           rmd160  ca39eba38a33ec61ea5616699de16f79a1c82a70 \
-                    sha256  1ee19994cffd047d40f63ba149115dba18a681b0cc923beec301bf424b58d64f
+checksums           rmd160  69a7b84e16668c8e83ed30ec8ae4c24f69e39778 \
+                    sha256  76733166187cc8587e0ebe1e83965ef257262a1a676a36806edd3b6d51b50aa9
 
 patchfiles \
     openssldir-cert.pem.patch
 
-use_autoreconf  yes
-autoreconf.args -fvi
-
 configure.args \
     --disable-silent-rules \
     --with-openssldir=${prefix}/etc/ssl
 
+post-patch {
+    reinplace "s|@OPENSSLDIR@|${prefix}/etc/ssl|" ${worksrcpath}/include/openssl/opensslconf.h
+}
+
 # gcc-4.2 from Xcode 3.2.6 fails to handle some of the asm
 compiler.blacklist *gcc-4.2* {clang < 100}
 

Modified: trunk/dports/security/libressl/files/openssldir-cert.pem.patch
===================================================================
--- trunk/dports/security/libressl/files/openssldir-cert.pem.patch	2016-04-11 08:29:50 UTC (rev 147635)
+++ trunk/dports/security/libressl/files/openssldir-cert.pem.patch	2016-04-11 09:39:19 UTC (rev 147636)
@@ -1,28 +1,11 @@
---- tls/tls_internal.h.orig	2015-02-22 13:39:36.000000000 -0800
-+++ tls/tls_internal.h	2015-03-24 04:34:38.000000000 -0700
-@@ -23,7 +23,7 @@
+--- include/openssl/opensslconf.h.orig	2016-03-21 19:45:22.000000000 -0700
++++ include/openssl/opensslconf.h	2016-04-11 01:33:38.000000000 -0700
+@@ -9,7 +9,7 @@
+ #undef I386_ONLY
  
- #define HTTPS_PORT "443"
+ #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
+-#define OPENSSLDIR "/etc/ssl"
++#define OPENSSLDIR "@OPENSSLDIR@"
+ #endif
  
--#define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem"
-+#define _PATH_SSL_CA_FILE OPENSSLDIR"/cert.pem"
- 
- #define TLS_CIPHERS_COMPAT	"ALL:!aNULL:!eNULL"
- #define TLS_CIPHERS_DEFAULT	"TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE"
---- tls/Makefile.am.orig	2015-08-07 20:41:08.000000000 -0700
-+++ tls/Makefile.am	2015-08-07 20:42:32.000000000 -0700
-@@ -5,6 +5,14 @@ lib_LTLIBRARIES = libtls.la
- EXTRA_DIST = VERSION
- EXTRA_DIST += CMakeLists.txt
- 
-+libtls_la_CPPFLAGS = $(AM_CPPFLAGS)
-+
-+if OPENSSLDIR_DEFINED
-+libtls_la_CPPFLAGS += -DOPENSSLDIR=\"@OPENSSLDIR@\"
-+else
-+libtls_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\"
-+endif
-+
- libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined
- libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD)
- 
+ #undef OPENSSL_UNISTD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160411/f50faaa8/attachment-0001.html>


More information about the macports-changes mailing list