svn commit: r393085 - head/security/polarssl

Mark Felder feld at FreeBSD.org
Tue Jul 28 18:08:32 UTC 2015


Author: feld
Date: Tue Jul 28 18:08:30 2015
New Revision: 393085
URL: https://svnweb.freebsd.org/changeset/ports/393085

Log:
  Update to 1.2.14
  Includes backported security fixes
  
  Changes:	https://tls.mbed.org/tech-updates/releases/polarssl-1.2.14-released
  
  PR:		201603
  Security:	d3216606-2b47-11e5-a668-080027ef73ec

Modified:
  head/security/polarssl/Makefile
  head/security/polarssl/distinfo

Modified: head/security/polarssl/Makefile
==============================================================================
--- head/security/polarssl/Makefile	Tue Jul 28 17:52:11 2015	(r393084)
+++ head/security/polarssl/Makefile	Tue Jul 28 18:08:30 2015	(r393085)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	polarssl
-PORTVERSION=	1.2.13
+PORTVERSION=	1.2.14
 DISTVERSIONSUFFIX=	-gpl
 CATEGORIES=	security devel
 MASTER_SITES=	https://polarssl.org/download/
@@ -18,8 +18,8 @@ USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-# PolarSSL 1.3 branch introduces API changes that would best be served at this
-# time by a new/seperate polarssl13 port. Therefore, limit Portscout to the
+# PolarSSL's 1.3 branch introduces API changes that are served at this
+# time by a separate polarssl13 port. Therefore, limit Portscout to the
 # 1.2 branch for this port.
 PORTSCOUT=	limit:^1\.2\.
 
@@ -29,6 +29,15 @@ BINFILES=	aescrypt2 benchmark dh_client 
 		sha1sum sha2sum ssl_cert_test ssl_client1 ssl_client2 \
 		ssl_server ssl_test
 
+OPTIONS_DEFINE=	DOCS TEST
+
+.include <bsd.port.options.mk>
+
+post-build:
+	cd ${WRKSRC} && LD_LIBRARY_PATH="`pwd`/library" programs/test/selftest
+post-build-TEST-on:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH="`pwd`/library" ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} check
+
 # cmake install is broken, so we do it by hand
 do-install:
 	@cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include "! -name *.orig"
@@ -40,20 +49,14 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/programs/*/${i} ${STAGEDIR}${PREFIX}/bin/polarssl_${i}
 .endfor
 
-OPTIONS_DEFINE=	DOCS
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${DOCFILES}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not compile on powerpc
-.endif
+TEST_USES=	perl5
+
+BROKEN_powerpc=		Does not compile on powerpc
 
 .include <bsd.port.mk>

Modified: head/security/polarssl/distinfo
==============================================================================
--- head/security/polarssl/distinfo	Tue Jul 28 17:52:11 2015	(r393084)
+++ head/security/polarssl/distinfo	Tue Jul 28 18:08:30 2015	(r393085)
@@ -1,2 +1,2 @@
-SHA256 (polarssl-1.2.13-gpl.tgz) = 62f44f2a9f39b5cefb229e5dd2644ca20ead477cb1843d6ff30671624315b021
-SIZE (polarssl-1.2.13-gpl.tgz) = 1023128
+SHA256 (polarssl-1.2.14-gpl.tgz) = d7cbd8314aa3a5441f6282d13d07df610f49b4bc678088b04188adf093d17d37
+SIZE (polarssl-1.2.14-gpl.tgz) = 1023322


More information about the svn-ports-all mailing list