Ignore:
Timestamp:
Apr 11, 2016, 9:39:19 AM (3 years ago)
Author:
jeremyhu@…
Message:

libressl: Bump to 2.3.3

Location:
trunk/dports/security/libressl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/libressl/Portfile

    r145426 r147636  
    77
    88name                libressl
    9 version             2.2.6
     9version             2.3.3
    1010
    1111categories          security devel
     
    2525
    2626master_sites        http://ftp.openbsd.org/pub/OpenBSD/LibreSSL
    27 checksums           rmd160  ca39eba38a33ec61ea5616699de16f79a1c82a70 \
    28                     sha256  1ee19994cffd047d40f63ba149115dba18a681b0cc923beec301bf424b58d64f
     27checksums           rmd160  69a7b84e16668c8e83ed30ec8ae4c24f69e39778 \
     28                    sha256  76733166187cc8587e0ebe1e83965ef257262a1a676a36806edd3b6d51b50aa9
    2929
    3030patchfiles \
    3131    openssldir-cert.pem.patch
    3232
    33 use_autoreconf  yes
    34 autoreconf.args -fvi
    35 
    3633configure.args \
    3734    --disable-silent-rules \
    3835    --with-openssldir=${prefix}/etc/ssl
     36
     37post-patch {
     38    reinplace "s|@OPENSSLDIR@|${prefix}/etc/ssl|" ${worksrcpath}/include/openssl/opensslconf.h
     39}
    3940
    4041# gcc-4.2 from Xcode 3.2.6 fails to handle some of the asm
  • trunk/dports/security/libressl/files/openssldir-cert.pem.patch

    r142007 r147636  
    1 --- tls/tls_internal.h.orig     2015-02-22 13:39:36.000000000 -0800
    2 +++ tls/tls_internal.h  2015-03-24 04:34:38.000000000 -0700
    3 @@ -23,7 +23,7 @@
     1--- include/openssl/opensslconf.h.orig  2016-03-21 19:45:22.000000000 -0700
     2+++ include/openssl/opensslconf.h       2016-04-11 01:33:38.000000000 -0700
     3@@ -9,7 +9,7 @@
     4 #undef I386_ONLY
    45 
    5  #define HTTPS_PORT "443"
     6 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
     7-#define OPENSSLDIR "/etc/ssl"
     8+#define OPENSSLDIR "@OPENSSLDIR@"
     9 #endif
    610 
    7 -#define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem"
    8 +#define _PATH_SSL_CA_FILE OPENSSLDIR"/cert.pem"
    9  
    10  #define TLS_CIPHERS_COMPAT     "ALL:!aNULL:!eNULL"
    11  #define TLS_CIPHERS_DEFAULT    "TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE"
    12 --- tls/Makefile.am.orig        2015-08-07 20:41:08.000000000 -0700
    13 +++ tls/Makefile.am     2015-08-07 20:42:32.000000000 -0700
    14 @@ -5,6 +5,14 @@ lib_LTLIBRARIES = libtls.la
    15  EXTRA_DIST = VERSION
    16  EXTRA_DIST += CMakeLists.txt
    17  
    18 +libtls_la_CPPFLAGS = $(AM_CPPFLAGS)
    19 +
    20 +if OPENSSLDIR_DEFINED
    21 +libtls_la_CPPFLAGS += -DOPENSSLDIR=\"@OPENSSLDIR@\"
    22 +else
    23 +libtls_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\"
    24 +endif
    25 +
    26  libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined
    27  libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD)
    28  
     11 #undef OPENSSL_UNISTD
Note: See TracChangeset for help on using the changeset viewer.