Index: head/security/Makefile =================================================================== --- head/security/Makefile +++ head/security/Makefile @@ -234,6 +234,7 @@ SUBDIR += ipsec-tools SUBDIR += ipv6toolkit SUBDIR += isakmpd + SUBDIR += isal-kmod SUBDIR += ismtp SUBDIR += isnprober SUBDIR += jbrofuzz Index: head/security/isal-kmod/Makefile =================================================================== --- head/security/isal-kmod/Makefile +++ head/security/isal-kmod/Makefile @@ -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 Index: head/security/isal-kmod/distinfo =================================================================== --- head/security/isal-kmod/distinfo +++ head/security/isal-kmod/distinfo @@ -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 Index: head/security/isal-kmod/pkg-descr =================================================================== --- head/security/isal-kmod/pkg-descr +++ head/security/isal-kmod/pkg-descr @@ -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