Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 15:58:20 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r401112 - in head/security: mbedtls polarssl polarssl13
Message-ID:  <201511091558.tA9FwKF6046762@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Nov  9 15:58:20 2015
New Revision: 401112
URL: https://svnweb.freebsd.org/changeset/ports/401112

Log:
  - Update polarssl/mbedtls ports
  - Mark polarssl 1.2.x deprecated
  - Fix sparc64 build by removing -fpic (leaving only -fPIC)
  
  MFH:		2015Q4
  Security:	https://tls.mbed.org/tech-updates/releases/mbedtls-2.2.0-2.1.3-1.3.15-and-polarssl.1.2.18-released

Modified:
  head/security/mbedtls/Makefile
  head/security/mbedtls/distinfo
  head/security/mbedtls/pkg-plist
  head/security/polarssl/Makefile
  head/security/polarssl/distinfo
  head/security/polarssl13/Makefile
  head/security/polarssl13/distinfo

Modified: head/security/mbedtls/Makefile
==============================================================================
--- head/security/mbedtls/Makefile	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/mbedtls/Makefile	Mon Nov  9 15:58:20 2015	(r401112)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	mbedtls
-PORTVERSION=	2.1.2
+PORTVERSION=	2.2.0
 DISTVERSIONSUFFIX=	-apache
 CATEGORIES=	security devel
 MASTER_SITES=	https://tls.mbed.org/download/
@@ -26,6 +26,7 @@ post-patch:
 		-e 's/PREFIX/NAMEPREFIX/' \
 		-e 's/$$(DESTDIR)/&$$(PREFIX)/' \
 		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} 's/-fpic//' ${WRKSRC}/library/Makefile
 
 post-install:
 	${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f | \

Modified: head/security/mbedtls/distinfo
==============================================================================
--- head/security/mbedtls/distinfo	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/mbedtls/distinfo	Mon Nov  9 15:58:20 2015	(r401112)
@@ -1,2 +1,2 @@
-SHA256 (mbedtls-2.1.2-apache.tgz) = ce57cb9085f976ffde945af7e8cec058a66ad181a96fd228fbcbc485213a7c58
-SIZE (mbedtls-2.1.2-apache.tgz) = 1830208
+SHA256 (mbedtls-2.2.0-apache.tgz) = 3c6d3487ab056da94450cf907afc84f026aff7880182baffe137c98e3d00fb55
+SIZE (mbedtls-2.2.0-apache.tgz) = 1860353

Modified: head/security/mbedtls/pkg-plist
==============================================================================
--- head/security/mbedtls/pkg-plist	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/mbedtls/pkg-plist	Mon Nov  9 15:58:20 2015	(r401112)
@@ -10,6 +10,7 @@ bin/mbedtls_dh_genprime
 bin/mbedtls_dh_server
 bin/mbedtls_dtls_client
 bin/mbedtls_dtls_server
+bin/mbedtls_ecdh_curve25519
 bin/mbedtls_ecdsa
 bin/mbedtls_gen_entropy
 bin/mbedtls_gen_key
@@ -67,6 +68,7 @@ include/mbedtls/des.h
 include/mbedtls/dhm.h
 include/mbedtls/ecdh.h
 include/mbedtls/ecdsa.h
+include/mbedtls/ecjpake.h
 include/mbedtls/ecp.h
 include/mbedtls/entropy.h
 include/mbedtls/entropy_poll.h

Modified: head/security/polarssl/Makefile
==============================================================================
--- head/security/polarssl/Makefile	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/polarssl/Makefile	Mon Nov  9 15:58:20 2015	(r401112)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	polarssl
-PORTVERSION=	1.2.17
+PORTVERSION=	1.2.18
 DISTVERSIONSUFFIX=	-gpl
 CATEGORIES=	security devel
 MASTER_SITES=	https://polarssl.org/download/
@@ -11,6 +11,9 @@ COMMENT=	Open Source embedded SSL/TLS cr
 
 LICENSE=	GPLv2
 
+DEPRECATED=	Upstream is ending support for 1.2.x
+EXPIRATION_DATE=2015-12-31
+
 ALL_TARGET=	no_test
 
 USES=		cpe gmake tar:tgz

Modified: head/security/polarssl/distinfo
==============================================================================
--- head/security/polarssl/distinfo	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/polarssl/distinfo	Mon Nov  9 15:58:20 2015	(r401112)
@@ -1,2 +1,2 @@
-SHA256 (polarssl-1.2.17-gpl.tgz) = 9301d4ebec3eb45bc9f28f2d79bfdb0c3dd351c386aa6cc66643e1b2be274d52
-SIZE (polarssl-1.2.17-gpl.tgz) = 1025523
+SHA256 (polarssl-1.2.18-gpl.tgz) = 63c4ed4d9f6a241088e2287958f265403f874248d6a98b98f27cd3aa2f90f030
+SIZE (polarssl-1.2.18-gpl.tgz) = 1039402

Modified: head/security/polarssl13/Makefile
==============================================================================
--- head/security/polarssl13/Makefile	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/polarssl13/Makefile	Mon Nov  9 15:58:20 2015	(r401112)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	polarssl
-PORTVERSION=	1.3.14
+PORTVERSION=	1.3.15
 DISTVERSIONSUFFIX=	-gpl
 CATEGORIES=	security devel
 MASTER_SITES=	https://polarssl.org/download/
@@ -14,8 +14,6 @@ COMMENT=	SSL/TLS and cryptography librar
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_sparc64=	fails to compile: relocation error
-
 ALL_TARGET=	no_test
 MAKE_ENV=	SHARED=1
 USES=		cpe gmake tar:tgz
@@ -30,6 +28,7 @@ post-patch:
 		-e 's/PREFIX/NAMEPREFIX/' \
 		-e 's/$$(DESTDIR)/&$$(PREFIX)/' \
 		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} 's/-fpic//' ${WRKSRC}/library/Makefile
 
 post-install:
 	${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f | \

Modified: head/security/polarssl13/distinfo
==============================================================================
--- head/security/polarssl13/distinfo	Mon Nov  9 15:54:03 2015	(r401111)
+++ head/security/polarssl13/distinfo	Mon Nov  9 15:58:20 2015	(r401112)
@@ -1,2 +1,2 @@
-SHA256 (mbedtls-1.3.14-gpl.tgz) = be76915bc406b4c4109629624baa5bf610a805d9976404e4086d44e5e6c86ff8
-SIZE (mbedtls-1.3.14-gpl.tgz) = 1744343
+SHA256 (mbedtls-1.3.15-gpl.tgz) = ed0be9905ba08f614772ac2b6dcce0c65cf3fb235cab7e6894838efc19518da3
+SIZE (mbedtls-1.3.15-gpl.tgz) = 1758935



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