[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / bearssl

File: [cvs.NetBSD.org] / pkgsrc / security / bearssl / Makefile (download)

Revision 1.3, Wed Jun 14 01:14:30 2017 UTC (6 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.2: +2 -2 lines

Update bearssl from version 0.3 to version 0.4

Changes from previous version:

+ New AES and GHASH implementations for POWER8 processors (provides
AES/GCM at more than 2 gigabytes per second!).

+ Improved GHASH implementation with AES-NI opcodes (pclmulqdq).

+ New Poly1305 implementation with 64 -> 128 multiplications,
available on some 64-bit architectures.

+ New "i62" big-integer code with 64 -> 128 multiplications, available
on some 64-bit architectures (RSA is much faster).

+ Some mostly cosmetic patches to support very old systems (BearSSL
now compiles and run on Debian 2.2 "potato" from 2000, with GCC
2.95).

# $NetBSD: Makefile,v 1.3 2017/06/14 01:14:30 agc Exp $

DISTNAME=	bearssl-0.4
CATEGORIES=	security
MASTER_SITES=	https://bearssl.org/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://bearssl.org/
COMMENT=	Implementation of the SSL/TLS protocol (RFC 5246)
LICENSE=	mit

INSTALLATION_DIRS=	bin include lib

do-install:
	cd ${WRKSRC}/build && \
		${INSTALL_PROGRAM} brssl ${DESTDIR}${PREFIX}/bin
	cd ${WRKSRC}/inc && \
		${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include
	cd ${WRKSRC}/build && \
		${INSTALL_LIB} libbearssl.* ${DESTDIR}${PREFIX}/lib

do-test:
	cd ${WRKSRC} && \
		./build/testcrypto all && \
		./build/testspeed all && \
		./build/testx509

.include "../../mk/bsd.pkg.mk"