Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 15:24:58 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450903 - head/security/bearssl
Message-ID:  <201709291524.v8TFOwhi009650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Sep 29 15:24:58 2017
New Revision: 450903
URL: https://svnweb.freebsd.org/changeset/ports/450903

Log:
  Update to 0.5 [1]
  
  While here: port related changes:
  - Respect PREFIX
  - Build a real shared library (with SONAME)
  
  PR:		222483 [1]
  Submitted by:	takefu@airport.fm [1]

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

Modified: head/security/bearssl/Makefile
==============================================================================
--- head/security/bearssl/Makefile	Fri Sep 29 15:23:57 2017	(r450902)
+++ head/security/bearssl/Makefile	Fri Sep 29 15:24:58 2017	(r450903)
@@ -2,21 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	bearssl
-PORTVERSION=	0.4
-PORTREVISION=	2
+PORTVERSION=	0.5
 CATEGORIES=	security devel
 MASTER_SITES=	https://bearssl.org/
 
-MAINTAINER=	feld@FreeBSD.org
+MAINTAINER=	bapt@FreeBSD.org
 COMMENT=	Implementation of TLS/SSL in C
 
 LICENSE=	MIT
+LIBBEARSSL=	libbearssl.so.0
 
-MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}"
+MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}" LDDLLFLAGS="-shared -Wl,-soname=${LIBBEARSSL}" \
+		BEARSSLDLL=${LIBBEARSSL}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${LOCALBASE}/bin/
-	${INSTALL_LIB} ${WRKSRC}/build/libbearssl.so ${STAGEDIR}${LOCALBASE}/lib/
-	(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${LOCALBASE}/include)
+	${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_LIB} ${WRKSRC}/${LIBBEARSSL} ${STAGEDIR}${PREFIX}/lib/
+	${RLN} ${STAGEDIR}${PREFIX}/lib/${LIBBEARSSL} ${STAGEDIR}${PREFIX}/lib/libbearssl.so
+	(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include)
 
 .include <bsd.port.mk>

Modified: head/security/bearssl/distinfo
==============================================================================
--- head/security/bearssl/distinfo	Fri Sep 29 15:23:57 2017	(r450902)
+++ head/security/bearssl/distinfo	Fri Sep 29 15:24:58 2017	(r450903)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1491764060
-SHA256 (bearssl-0.4.tar.gz) = 674d69ca6811a4a091de96d5866e22f06ffbf8d3765f0e884d9daeb80aa904d4
-SIZE (bearssl-0.4.tar.gz) = 633401
+TIMESTAMP = 1506696986
+SHA256 (bearssl-0.5.tar.gz) = 400f7027f309f5c0e3784ad1f5a612cfadfa108a33d867f50c75974cabd7830c
+SIZE (bearssl-0.5.tar.gz) = 666905

Modified: head/security/bearssl/pkg-plist
==============================================================================
--- head/security/bearssl/pkg-plist	Fri Sep 29 15:23:57 2017	(r450902)
+++ head/security/bearssl/pkg-plist	Fri Sep 29 15:24:58 2017	(r450903)
@@ -1,13 +1,15 @@
 bin/brssl
-include/bearssl_ssl.h
-include/bearssl_rand.h
-include/bearssl_hmac.h
-include/bearssl_ec.h
 include/bearssl.h
+include/bearssl_aead.h
+include/bearssl_block.h
+include/bearssl_ec.h
 include/bearssl_hash.h
-include/bearssl_x509.h
-include/bearssl_rsa.h
-include/bearssl_prf.h
+include/bearssl_hmac.h
 include/bearssl_pem.h
-include/bearssl_block.h
+include/bearssl_prf.h
+include/bearssl_rand.h
+include/bearssl_rsa.h
+include/bearssl_ssl.h
+include/bearssl_x509.h
+lib/libbearssl.so.0
 lib/libbearssl.so



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