Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2015 18:10:16 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r393086 - branches/2015Q3/security/polarssl
Message-ID:  <201507281810.t6SIAGvs052020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Jul 28 18:10:15 2015
New Revision: 393086
URL: https://svnweb.freebsd.org/changeset/ports/393086

Log:
  MFH: r393085
  
  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
  Approved by:	ports-secteam (with hat)

Modified:
  branches/2015Q3/security/polarssl/Makefile
  branches/2015Q3/security/polarssl/distinfo
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/security/polarssl/Makefile
==============================================================================
--- branches/2015Q3/security/polarssl/Makefile	Tue Jul 28 18:08:30 2015	(r393085)
+++ branches/2015Q3/security/polarssl/Makefile	Tue Jul 28 18:10:15 2015	(r393086)
@@ -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: branches/2015Q3/security/polarssl/distinfo
==============================================================================
--- branches/2015Q3/security/polarssl/distinfo	Tue Jul 28 18:08:30 2015	(r393085)
+++ branches/2015Q3/security/polarssl/distinfo	Tue Jul 28 18:10:15 2015	(r393086)
@@ -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



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