svn commit: r548475 - in head/security: . intel-ipsec-mb intel-ipsec-mb/files
Vanilla I. Shu
vanilla at FreeBSD.org
Sun Sep 13 12:52:19 UTC 2020
Author: vanilla
Date: Sun Sep 13 12:52:17 2020
New Revision: 548475
URL: https://svnweb.freebsd.org/changeset/ports/548475
Log:
Add intel-ipsec-mb g20200801, intel(R) Multi-Buffer Crypto for IPsec
Library.
PR: 248285
Submitted by: freebsd at sysctl.cz
Added:
head/security/intel-ipsec-mb/
head/security/intel-ipsec-mb/Makefile (contents, props changed)
head/security/intel-ipsec-mb/distinfo (contents, props changed)
head/security/intel-ipsec-mb/files/
head/security/intel-ipsec-mb/files/patch-perf_ipsec__perf.c (contents, props changed)
head/security/intel-ipsec-mb/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Sun Sep 13 12:28:18 2020 (r548474)
+++ head/security/Makefile Sun Sep 13 12:52:17 2020 (r548475)
@@ -225,6 +225,7 @@
SUBDIR += ike
SUBDIR += imds-filterd
SUBDIR += integrit
+ SUBDIR += intel-ipsec-mb
SUBDIR += ipfilter2dshield
SUBDIR += ipfmeta
SUBDIR += ipfw2dshield
Added: head/security/intel-ipsec-mb/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/intel-ipsec-mb/Makefile Sun Sep 13 12:52:17 2020 (r548475)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME= intel-ipsec-mb
+DISTVERSION= g20200801
+CATEGORIES= security
+
+MAINTAINER= freebsd at sysctl.cz
+COMMENT= Intel(R) Multi-Buffer Crypto for IPsec Library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS= amd64
+
+BUILD_DEPENDS= nasm:devel/nasm
+
+USES= gmake compiler:c11 localbase:ldflags
+
+USE_GITHUB= yes
+GH_ACCOUNT= intel
+GH_PROJECT= intel-ipsec-mb
+GH_TAGNAME= 3209c57
+
+USE_LDCONFIG= yes
+PLIST_FILES= include/intel-ipsec-mb.h \
+ lib/libIPSec_MB.so \
+ lib/libIPSec_MB.so.0 \
+ lib/libIPSec_MB.so.0.54.1 \
+ man/man7/libipsec-mb.7.gz
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/lib/intel-ipsec-mb.h ${STAGEDIR}${PREFIX}/include/
+ ${INSTALL_LIB} ${WRKSRC}/lib/libIPSec_MB.so.0.54.1-dev ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.0.54.1
+ ${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.0.54.1 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.0
+ ${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so
+ ${INSTALL_MAN} ${WRKSRC}/lib/libipsec-mb.7 ${STAGEDIR}${PREFIX}/man/man7
+
+do-test:
+ cd ${WRKSRC}/test && ./ipsec_xvalid_test -v
+ cd ${WRKSRC}/test && ./ipsec_MB_testapp -v
+
+.include <bsd.port.mk>
Added: head/security/intel-ipsec-mb/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/intel-ipsec-mb/distinfo Sun Sep 13 12:52:17 2020 (r548475)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1596650698
+SHA256 (intel-intel-ipsec-mb-g20200801-3209c57_GH0.tar.gz) = 31e968fb9ffa8188a706592b9db8a5af0cca37f82429494a5f37d6eb187d910d
+SIZE (intel-intel-ipsec-mb-g20200801-3209c57_GH0.tar.gz) = 962139
Added: head/security/intel-ipsec-mb/files/patch-perf_ipsec__perf.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/intel-ipsec-mb/files/patch-perf_ipsec__perf.c Sun Sep 13 12:52:17 2020 (r548475)
@@ -0,0 +1,15 @@
+--- perf/ipsec_perf.c.orig 2020-07-30 14:06:18 UTC
++++ perf/ipsec_perf.c
+@@ -32,8 +32,11 @@
+ #include <inttypes.h>
+ #include <string.h>
+ #include <errno.h>
++#if defined (__linux__) || defined (__FreeBSD__)
++#include <stdlib.h>
++#else
+ #include <malloc.h> /* memalign() or _aligned_malloc()/aligned_free() */
+-
++#endif
+ #ifdef _WIN32
+ #include <windows.h>
+ #include <process.h>
Added: head/security/intel-ipsec-mb/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/intel-ipsec-mb/pkg-descr Sun Sep 13 12:52:17 2020 (r548475)
@@ -0,0 +1,5 @@
+Intel Multi-Buffer Crypto for IPsec Library is highly-optimized software
+implementations of the core cryptographic processing for IPsec, which
+provides industry-leading performance on a range of Intel(R) Processors.
+
+WWW: https://github.com/intel/intel-ipsec-mb
More information about the svn-ports-head
mailing list