git: b9908aa90605 - main - security/intel-ipsec-mb: Update to 1.2

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 19:39:05 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b9908aa9060532aacbdd214251fb7559ef03309e

commit b9908aa9060532aacbdd214251fb7559ef03309e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-07-18 19:34:18 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-07-18 19:34:25 +0000

    security/intel-ipsec-mb: Update to 1.2
    
    Changelog: https://github.com/intel/intel-ipsec-mb/releases/tag/v1.2
    
    Add option to disable AES-NI emulation (default on in previous version)
    
    PR:             265239
    Reviewed by:    Martin Filla <freebsd@sysctl.cz> (maintainer)
---
 security/intel-ipsec-mb/Makefile | 12 ++++++++----
 security/intel-ipsec-mb/distinfo |  8 +++-----
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/security/intel-ipsec-mb/Makefile b/security/intel-ipsec-mb/Makefile
index d68b50cde663..7fb1fe9eaa37 100644
--- a/security/intel-ipsec-mb/Makefile
+++ b/security/intel-ipsec-mb/Makefile
@@ -1,11 +1,8 @@
 PORTNAME=	intel-ipsec-mb
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1
+DISTVERSION=	1.2
 CATEGORIES=	security
 
-PATCH_SITES=	https://github.com/intel/intel-ipsec-mb/commit/
-PATCHFILES=	3a1c8c1c2c24a9d6cb56439c6aa6bea4d4fb1093.patch:-p1
-
 MAINTAINER=	freebsd@sysctl.cz
 COMMENT=	Intel(R) Multi-Buffer Crypto for IPsec Library
 
@@ -33,6 +30,13 @@ PLIST_FILES=	include/intel-ipsec-mb.h \
 # result in unnecessary OOM errors
 MAKE_JOBS_UNSAFE=	yes
 
+OPTIONS_DEFINE=	AESNIEMU
+OPTIONS_DEFAULT=AESNIEMU
+
+AESNIEMU_DESC=	Enable AESI-NI Emulation
+
+AESNIEMU_MAKE_ARGS=	AESNI_EMU=y
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/lib/intel-ipsec-mb.h ${STAGEDIR}${PREFIX}/include/
 	${INSTALL_LIB} ${WRKSRC}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}.0
diff --git a/security/intel-ipsec-mb/distinfo b/security/intel-ipsec-mb/distinfo
index 5e1d2ed8ce2e..757f7061a129 100644
--- a/security/intel-ipsec-mb/distinfo
+++ b/security/intel-ipsec-mb/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1641389422
-SHA256 (intel-intel-ipsec-mb-v1.1_GH0.tar.gz) = 0eed29151f57c98ed30fb899fab81438264bc5578bd7cc11d23ccc619af9beac
-SIZE (intel-intel-ipsec-mb-v1.1_GH0.tar.gz) = 1227915
-SHA256 (3a1c8c1c2c24a9d6cb56439c6aa6bea4d4fb1093.patch) = 076d4069033ace59c3508f249cac095c09c6bffb449f6d0fc0772372e5803a17
-SIZE (3a1c8c1c2c24a9d6cb56439c6aa6bea4d4fb1093.patch) = 1811
+TIMESTAMP = 1657579704
+SHA256 (intel-intel-ipsec-mb-v1.2_GH0.tar.gz) = f680b28369d02dc0978eb9b4bee6da9a132d66c666298e087a2b3e247548d99e
+SIZE (intel-intel-ipsec-mb-v1.2_GH0.tar.gz) = 1251965