From nobody Sat Nov 18 09:27:13 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SXT1t49hLz50qRH; Sat, 18 Nov 2023 09:27:14 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXT1t33kVz3cdb; Sat, 18 Nov 2023 09:27:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700299634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+c//TuYVveKlWaar9Fz4B/4avRAtMrfH+Vhgs8ns+Ic=; b=DLnq+rv0izvAnFdyoj73iNRM5UiREdEymfnYxAA+9oXbHngbfCaTOvjbWaOSXyAM0UBIjR M0jVJkwe7RWy6utVQfpqQZQeZAqDH7DZbLSKoeWrAtODJ/ENgCK6WZZE+9yW+2xHMDsNJp AzJsEVBcUHxa1/7BNJWwhWAcfIn1gbw1K6nnJniXJzHwUKCIltAKSp64YAQAwc+DNJpv9v 8YIjTHzrHfc+exVdreTi6MDcwWGikTYMunkdN86qWw16YUDumFK/qAFAh9ysr56ryhXL4P pqcyw4GMi2SPzm3LLrvKlm+4uW1VymQ8LMnC8NSK1SJztnp6r1bMFNy7srd13Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700299634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+c//TuYVveKlWaar9Fz4B/4avRAtMrfH+Vhgs8ns+Ic=; b=dsq2w40kyJUuH1iQIfAgLzVL4a0tzoFjZeWhVICqCcrlw2dwDNSfDMDbb5r2dlgHGrkAAA UW0ye5TJt8I+jjOvfKzMyG4tkHcbnjdbs19gAw6A7sY5+UrT85GhtO3Itw1X37ymplBBzJ J6DB3QeSzX7MPbHCwHa1mmXLnqcu5UlUpRD2/1c4zN+2CISPTDXsomKAcXpYM4p086Igiy KdpgMdgSnT6UxFPxdDzn3W6W4fTZF7bKTxW/WUCUsSsi7B8D1cCY7SlBGnjmcrEeG4KYF8 dqYaCiclZeETPrPOjmF6uVBP3Hh5PytyGbIqTGN+owEa8ZH792cqELjhCfZQJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700299634; a=rsa-sha256; cv=none; b=WpbWxTOg8efdv1x/QGdtCAWAjEA/mOlXwVWhxDyYadskwmwhYKHlSQPBez1VXDdbduzvxq pN9mF6SI+VPsXi42vvZSJ2ahYcCqv5Vweag0+JFhNEvqbCKd7LErpVn2lLrIWWQ5h0x1J7 m1j1oPp2/rIAnZIlpxbVpzuRQrrXckKJHruqaHSCMsxjQ5aksJaR8Sk4inDNSHRMFoI76o VlpdhXMvzoT4qpbE8QNkqtWCT1lIvJtYmY6sIIBxFoJnAHL1QfbVtLaNVqp1P6iQ+jY+8P 0O697ucV64qHfeboR6/AwU23eToV9FmxB+EK+Oeo5bxRCVvkgwJUenNKTP4p3Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SXT1t0MX3z6JS; Sat, 18 Nov 2023 09:27:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AI9RDwm014758; Sat, 18 Nov 2023 09:27:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AI9RDsc014755; Sat, 18 Nov 2023 09:27:13 GMT (envelope-from git) Date: Sat, 18 Nov 2023 09:27:13 GMT Message-Id: <202311180927.3AI9RDsc014755@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: a57146c2cbd2 - main - security/intel-ipsec-mb: Update to 1.5 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a57146c2cbd26e44f8f83d6a9df0204e53da1a14 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a57146c2cbd26e44f8f83d6a9df0204e53da1a14 commit a57146c2cbd26e44f8f83d6a9df0204e53da1a14 Author: Daniel Engberg AuthorDate: 2023-11-17 19:05:23 +0000 Commit: Daniel Engberg CommitDate: 2023-11-18 09:24:49 +0000 security/intel-ipsec-mb: Update to 1.5 * Switch to CMake * Backport upstream commit c266eb633019bf0eef2c9df1ce814f22b9ee2d51 * Disable AES-NI emulation by default References: https://github.com/intel/intel-ipsec-mb/commit/c266eb633019bf0eef2c9df1ce814f22b9ee2d51 PR: 275133 Reviewed by: Martin Filla (Maintainer) --- security/intel-ipsec-mb/Makefile | 31 +++++++---------------- security/intel-ipsec-mb/distinfo | 8 +++--- security/intel-ipsec-mb/files/patch-test_Makefile | 15 ----------- 3 files changed, 14 insertions(+), 40 deletions(-) diff --git a/security/intel-ipsec-mb/Makefile b/security/intel-ipsec-mb/Makefile index 9a9a70b3d8ed..59e0d3666af1 100644 --- a/security/intel-ipsec-mb/Makefile +++ b/security/intel-ipsec-mb/Makefile @@ -1,8 +1,11 @@ PORTNAME= intel-ipsec-mb DISTVERSIONPREFIX= v -DISTVERSION= 1.3 +DISTVERSION= 1.5 CATEGORIES= security +PATCH_SITES= https://github.com/intel/${PORTNAME}/commit/ +PATCHFILES= c266eb633019bf0eef2c9df1ce814f22b9ee2d51.patch:-p1 + MAINTAINER= freebsd@sysctl.cz COMMENT= Intel(R) Multi-Buffer Crypto for IPsec Library WWW= https://github.com/intel/intel-ipsec-mb @@ -14,40 +17,24 @@ ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= nasm:devel/nasm -USES= gmake compiler:c11 localbase:ldflags - +USES= cmake USE_GITHUB= yes GH_ACCOUNT= intel - USE_LDCONFIG= yes +TEST_TARGET= test + PLIST_FILES= include/intel-ipsec-mb.h \ lib/libIPSec_MB.so \ lib/libIPSec_MB.so.1 \ lib/libIPSec_MB.so.${DISTVERSION}.0 \ + man/man7/libipsec-mb-dev.7.gz \ man/man7/libipsec-mb.7.gz -# While parallel compiling works it can easily eat up 8+ Gb of RAM which will -# 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 - ${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.1 - ${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so - ${INSTALL_MAN} ${WRKSRC}/lib/libipsec-mb.7 ${STAGEDIR}${PREFIX}/man/man7 - -do-test: - ${RLN} ${WRKSRC}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${WRKSRC}/test/libIPSec_MB.so.1 - cd ${WRKSRC}/test && ./ipsec_xvalid_test -v - cd ${WRKSRC}/test && ./ipsec_MB_testapp --auto-detect +AESNIEMU_CMAKE_BOOL= AESNI_EMU .include diff --git a/security/intel-ipsec-mb/distinfo b/security/intel-ipsec-mb/distinfo index e7e6998a00c3..2e74896ac3ba 100644 --- a/security/intel-ipsec-mb/distinfo +++ b/security/intel-ipsec-mb/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1664704976 -SHA256 (intel-intel-ipsec-mb-v1.3_GH0.tar.gz) = 2337ead1c80897e487abd5fac263aaba9ab9cacb48ad5c23b87fd61a180d9e55 -SIZE (intel-intel-ipsec-mb-v1.3_GH0.tar.gz) = 2139105 +TIMESTAMP = 1700159065 +SHA256 (intel-intel-ipsec-mb-v1.5_GH0.tar.gz) = 8d3f0a561b539303d81fda82584663daea65af85e07c40b393a4e8cfe839e057 +SIZE (intel-intel-ipsec-mb-v1.5_GH0.tar.gz) = 2214942 +SHA256 (c266eb633019bf0eef2c9df1ce814f22b9ee2d51.patch) = 5465147b13bbdcbc95eda31ad8e5e2ccff48ab2a755b74542d67c282deb88196 +SIZE (c266eb633019bf0eef2c9df1ce814f22b9ee2d51.patch) = 3542 diff --git a/security/intel-ipsec-mb/files/patch-test_Makefile b/security/intel-ipsec-mb/files/patch-test_Makefile deleted file mode 100644 index c7a8371445f8..000000000000 --- a/security/intel-ipsec-mb/files/patch-test_Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- test/Makefile.orig 2022-01-05 18:18:41 UTC -+++ test/Makefile -@@ -139,10 +139,10 @@ endif - all: $(TEST_APP) $(XVALID_APP) $(FUZZ_APP) - - $(TEST_APP): $(OBJECTS) -- $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ -+ $(CC) $(LDFLAGS) $^ $(LDLIBS) -Wl,-rpath,. -o $@ - - $(XVALID_APP): $(XVALID_OBJECTS) -- $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ -+ $(CC) $(LDFLAGS) $^ $(LDLIBS) -Wl,-rpath,. -o $@ - - $(FUZZ_APP): $(FUZZ_SOURCES) - ifneq (, $(shell which clang))