summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openssl/Makefile10
-rw-r--r--security/openssl/PLIST.common10
-rw-r--r--security/openssl/distinfo11
-rw-r--r--security/openssl/patches/patch-Makefile.shared23
4 files changed, 43 insertions, 11 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index ad2c0a9232b..877aaa54cee 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.213 2015/08/31 19:49:44 wiz Exp $
+# $NetBSD: Makefile,v 1.213.2.1 2015/12/26 23:07:24 bsiegert Exp $
-DISTNAME= openssl-1.0.2d
+DISTNAME= openssl-1.0.2e
CATEGORIES= security
MASTER_SITES= https://www.openssl.org/source/
@@ -21,6 +21,7 @@ USE_GCC_RUNTIME= yes
.include "../../mk/compiler.mk"
USE_TOOLS+= fgrep gmake perl
+BUILD_TARGET= depend all
TEST_TARGET= tests
MAKE_JOBS_SAFE= no
@@ -43,7 +44,7 @@ OPENSSL_MACHINE_ARCH= ${MACHINE_ARCH}
# back to ./config's autodetection if not.
. if defined(OPENSSL_MACHINE_ARCH) && !empty(OPENSSL_MACHINE_ARCH)
CONFIGURE_SCRIPT= ./Configure
-. if !empty(CC_VERSION:Mgcc*)
+. if ${PKGSRC_COMPILER} == "clang" || ${PKGSRC_COMPILER} == "gcc"
CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-gcc
. else
CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc
@@ -123,6 +124,9 @@ CONFIGURE_ARGS+= hpux-ia64-${CC}
. if ${MACHINE_ARCH} == "powerpc64"
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= linux-ppc64
+. elif ${MACHINE_ARCH} == "i386"
+CONFIGURE_SCRIPT= ./Configure
+CONFIGURE_ARGS+= linux-elf
. endif
.elif ${OS_VARIANT} == "SCOOSR5"
# SIGILL in _sha1_block_data_order_ssse3().
diff --git a/security/openssl/PLIST.common b/security/openssl/PLIST.common
index bab07c1ef18..32b9a63d4cb 100644
--- a/security/openssl/PLIST.common
+++ b/security/openssl/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.25 2015/07/09 13:37:56 wiz Exp $
+@comment $NetBSD: PLIST.common,v 1.25.2.1 2015/12/26 23:07:24 bsiegert Exp $
bin/c_rehash
bin/openssl
include/openssl/aes.h
@@ -416,7 +416,12 @@ man/man3/BN_zero.3
man/man3/BUF_MEM_free.3
man/man3/BUF_MEM_grow.3
man/man3/BUF_MEM_new.3
+man/man3/BUF_MEM_new_ex.3
+man/man3/BUF_memdup.3
man/man3/BUF_strdup.3
+man/man3/BUF_strlcat.3
+man/man3/BUF_strlcpy.3
+man/man3/BUF_strndup.3
man/man3/CMS_ReceiptRequest_create0.3
man/man3/CMS_ReceiptRequest_get0_values.3
man/man3/CMS_RecipientInfo_decrypt.3
@@ -838,6 +843,7 @@ man/man3/EVP_SealInit.3
man/man3/EVP_SealUpdate.3
man/man3/EVP_SignFinal.3
man/man3/EVP_SignInit.3
+man/man3/EVP_SignInit_ex.3
man/man3/EVP_SignUpdate.3
man/man3/EVP_VerifyFinal.3
man/man3/EVP_VerifyInit.3
@@ -1146,6 +1152,7 @@ man/man3/SSL_CTX_build_cert_chain.3
man/man3/SSL_CTX_callback_ctrl.3
man/man3/SSL_CTX_check_private_key.3
man/man3/SSL_CTX_clear_chain_certs.3
+man/man3/SSL_CTX_clear_extra_chain_certs.3
man/man3/SSL_CTX_clear_options.3
man/man3/SSL_CTX_ctrl.3
man/man3/SSL_CTX_flush_sessions.3
@@ -1271,6 +1278,7 @@ man/man3/SSL_alert_type_string.3
man/man3/SSL_alert_type_string_long.3
man/man3/SSL_build_cert_chain.3
man/man3/SSL_callback_ctrl.3
+man/man3/SSL_check_chain.3
man/man3/SSL_check_private_key.3
man/man3/SSL_clear.3
man/man3/SSL_clear_chain_certs.3
diff --git a/security/openssl/distinfo b/security/openssl/distinfo
index eac4dfc3622..7de3becf3b2 100644
--- a/security/openssl/distinfo
+++ b/security/openssl/distinfo
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.115 2015/07/09 13:37:56 wiz Exp $
+$NetBSD: distinfo,v 1.115.2.1 2015/12/26 23:07:24 bsiegert Exp $
-SHA1 (openssl-1.0.2d.tar.gz) = d01d17b44663e8ffa6a33a5a30053779d9593c3d
-RMD160 (openssl-1.0.2d.tar.gz) = a4389911e5f7436dc2f52e4968eb613a11e33027
-Size (openssl-1.0.2d.tar.gz) = 5295447 bytes
+SHA1 (openssl-1.0.2e.tar.gz) = 2c5691496761cb18f98476eefa4d35c835448fb6
+RMD160 (openssl-1.0.2e.tar.gz) = 324ed411043364af2ea908124225eece7d604a94
+SHA512 (openssl-1.0.2e.tar.gz) = b73f114a117ccab284cf5891dac050e3016d28e0b1fc71639442cdb42accef676115af90a12deff4bcc1f599cc0cbdeb38142cbf4570bd7d03634786ad32c95f
+Size (openssl-1.0.2e.tar.gz) = 5256555 bytes
SHA1 (patch-Configure) = ce5f4ab244f49d3a556b1123190f2424b38fd789
SHA1 (patch-Makefile.org) = 72f023aeead660decaa09b6664936bd73a214069
-SHA1 (patch-Makefile.shared) = 709283ba4bb4bd568e289fe111b8dea319968328
+SHA1 (patch-Makefile.shared) = effbea94f9e7f399f4f46542bed6d54fc42748e6
SHA1 (patch-apps_Makefile) = 745e01fb967979f5105896f8a728fd7a041af6c9
SHA1 (patch-config) = ac8ced00cfa7d31b84afb08aedc38102fd777824
SHA1 (patch-crypto_bn_bn__prime.pl) = c07e8ccba319e4260af46e714c3be56f70579fa6
diff --git a/security/openssl/patches/patch-Makefile.shared b/security/openssl/patches/patch-Makefile.shared
index 0eea0d130c8..9e30f2e1a78 100644
--- a/security/openssl/patches/patch-Makefile.shared
+++ b/security/openssl/patches/patch-Makefile.shared
@@ -1,8 +1,9 @@
-$NetBSD: patch-Makefile.shared,v 1.2 2014/05/13 02:23:11 rodent Exp $
+$NetBSD: patch-Makefile.shared,v 1.2.12.1 2015/12/26 23:07:24 bsiegert Exp $
Adjust build procedure.
+Fix SunOS -h linker argument.
---- Makefile.shared.orig Mon Mar 17 16:14:20 2014
+--- Makefile.shared.orig 2015-07-09 11:53:21.000000000 +0000
+++ Makefile.shared
@@ -315,6 +315,11 @@ link_o.alpha-osf1:
@ if $(DETECT_GNU_LD); then \
@@ -58,6 +59,24 @@ Adjust build procedure.
fi; \
fi; \
$(LINK_SO_A)
+@@ -372,7 +382,7 @@ link_o.solaris:
+ SHLIB_SUFFIX=; \
+ ALLSYMSFLAGS="$${MINUSZ}allextract"; \
+ NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
+- SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
++ SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
+ fi; \
+ $(LINK_SO_O)
+ link_a.solaris:
+@@ -386,7 +396,7 @@ link_a.solaris:
+ SHLIB_SUFFIX=;\
+ ALLSYMSFLAGS="$${MINUSZ}allextract"; \
+ NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
+- SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
++ SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
+ fi; \
+ $(LINK_SO_A)
+ link_app.solaris:
@@ -484,7 +494,7 @@ link_a.irix:
($(CC) -v 2>&1 | grep gcc) > /dev/null && MINUSWL="-Wl,"; \
ALLSYMSFLAGS="$${MINUSWL}-all"; \