From owner-svn-ports-all@freebsd.org Sun Sep 13 12:52:19 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8AC253D95BB; Sun, 13 Sep 2020 12:52:19 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bq8XM3CWNz485b; Sun, 13 Sep 2020 12:52:19 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52AA526518; Sun, 13 Sep 2020 12:52:19 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08DCqJvS030580; Sun, 13 Sep 2020 12:52:19 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08DCqIrm030575; Sun, 13 Sep 2020 12:52:18 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <202009131252.08DCqIrm030575@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Sun, 13 Sep 2020 12:52:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r548475 - in head/security: . intel-ipsec-mb intel-ipsec-mb/files X-SVN-Group: ports-head X-SVN-Commit-Author: vanilla X-SVN-Commit-Paths: in head/security: . intel-ipsec-mb intel-ipsec-mb/files X-SVN-Commit-Revision: 548475 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2020 12:52:19 -0000 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@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@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 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 + #include + #include ++#if defined (__linux__) || defined (__FreeBSD__) ++#include ++#else + #include /* memalign() or _aligned_malloc()/aligned_free() */ +- ++#endif + #ifdef _WIN32 + #include + #include 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