Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 19:26:28 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438115 - head/security/bearssl
Message-ID:  <201704091926.v39JQS2q099605@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sun Apr  9 19:26:28 2017
New Revision: 438115
URL: https://svnweb.freebsd.org/changeset/ports/438115

Log:
  security/bearssl: Update to 0.4
  
  Now requires GCC. The Clang build is not functional as it fails to link.
  The cause is under investigation.

Modified:
  head/security/bearssl/Makefile
  head/security/bearssl/distinfo
  head/security/bearssl/pkg-plist

Modified: head/security/bearssl/Makefile
==============================================================================
--- head/security/bearssl/Makefile	Sun Apr  9 18:29:32 2017	(r438114)
+++ head/security/bearssl/Makefile	Sun Apr  9 19:26:28 2017	(r438115)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	bearssl
-PORTVERSION=	0.2
-PORTREVISION=	1
+PORTVERSION=	0.4
+PORTREVISION=	0
 CATEGORIES=	security devel
 MASTER_SITES=	https://bearssl.org/
 
@@ -12,14 +12,12 @@ COMMENT=	Implementation of TLS/SSL in C
 
 LICENSE=	MIT
 
-USES=		compiler:c11
-
-post-patch:
-	${REINPLACE_CMD} 's|CC = gcc|CC ?= gcc|' ${WRKSRC}/Makefile
+USES=		compiler
+USE_GCC=	yes
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/brssl ${STAGEDIR}${LOCALBASE}/bin/
-	(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/include/)
-	${INSTALL_DATA} ${WRKSRC}/libbearssl.a ${STAGEDIR}${LOCALBASE}/lib/
+	${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${LOCALBASE}/bin/
+	${INSTALL_DATA} ${WRKSRC}/build/libbearssl.so ${STAGEDIR}${LOCALBASE}/lib/
+	(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${LOCALBASE}/include)
 
 .include <bsd.port.mk>

Modified: head/security/bearssl/distinfo
==============================================================================
--- head/security/bearssl/distinfo	Sun Apr  9 18:29:32 2017	(r438114)
+++ head/security/bearssl/distinfo	Sun Apr  9 19:26:28 2017	(r438115)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1483992695
-SHA256 (bearssl-0.2.tar.gz) = 8d7640b4112e7cf677a4a5f22a997cf89c4a18e51bc4843f6f16b7db7fe93f73
-SIZE (bearssl-0.2.tar.gz) = 531000
+TIMESTAMP = 1491764060
+SHA256 (bearssl-0.4.tar.gz) = 674d69ca6811a4a091de96d5866e22f06ffbf8d3765f0e884d9daeb80aa904d4
+SIZE (bearssl-0.4.tar.gz) = 633401

Modified: head/security/bearssl/pkg-plist
==============================================================================
--- head/security/bearssl/pkg-plist	Sun Apr  9 18:29:32 2017	(r438114)
+++ head/security/bearssl/pkg-plist	Sun Apr  9 19:26:28 2017	(r438115)
@@ -10,4 +10,4 @@ include/bearssl_rsa.h
 include/bearssl_prf.h
 include/bearssl_pem.h
 include/bearssl_block.h
-lib/libbearssl.a
+lib/libbearssl.so



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