Add a new security/isal-kmod port.

This port builds a kernel crypto device driver which uses routines
from Intel's ISA-L crypto library to perform AES-GCM encryption and
decryption.

Reviewed by:	mat
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D25514
This commit is contained in:
John Baldwin 2020-08-05 23:52:56 +00:00
parent f661c01e58
commit 5dc90766cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544254
4 changed files with 47 additions and 0 deletions

View File

@ -234,6 +234,7 @@
SUBDIR += ipsec-tools
SUBDIR += ipv6toolkit
SUBDIR += isakmpd
SUBDIR += isal-kmod
SUBDIR += ismtp
SUBDIR += isnprober
SUBDIR += jbrofuzz

View File

@ -0,0 +1,33 @@
# $FreeBSD$
PORTNAME= isal
DISTVERSION= g20200702
CATEGORIES= security
PKGNAMESUFFIX= -kmod
MAINTAINER= jhb@FreeBSD.org
COMMENT= Kernel crypto driver using Intel(R) ISA-L crypto
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/isa-l_crypto/LICENSE
ONLY_FOR_ARCHS= amd64
IGNORE_FreeBSD_11=requires FreeBSD 13.0 or later
IGNORE_FreeBSD_12=requires FreeBSD 13.0 or later
BUILD_DEPENDS= yasm:devel/yasm
USES= kmod uidfix
USE_GITHUB= yes
GH_ACCOUNT= bsdjhb
GH_PROJECT= ocf_isa_l
GH_TAGNAME= ccf6408
GH_TUPLE= intel:isa-l_crypto:v2.22.0:isal_crypto/isa-l_crypto
PLIST_FILES= ${KMODDIR}/isal.ko man/man4/isal.4.gz
post-install:
${INSTALL_MAN} ${WRKSRC}/isal.4 ${STAGEDIR}${MANPREFIX}/man/man4/isal.4
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
TIMESTAMP = 1594921535
SHA256 (bsdjhb-ocf_isa_l-g20200702-ccf6408_GH0.tar.gz) = 4d36dff5c8b5db5e015b4675f56255a25d835f840a03eca242d01a2a6028677e
SIZE (bsdjhb-ocf_isa_l-g20200702-ccf6408_GH0.tar.gz) = 5431
SHA256 (intel-isa-l_crypto-v2.22.0_GH0.tar.gz) = c6503b455bdf0efcad74fdae4e9b30465e0e208cff2b0b34fd8f471553455527
SIZE (intel-isa-l_crypto-v2.22.0_GH0.tar.gz) = 518022

View File

@ -0,0 +1,8 @@
ISA-L crypto is a collection of optimized low-level functions
targeting cryptography applications.
This port provides a driver for the in-kernel opencrypto framework
that uses routines in the ISA-L crypto library.
WWW: https://github.com/bsdjhb/ocf_isa_l
https://github.com/01org/isa-l_crypto