FreeBSD Bugzilla – Attachment 216789 Details for
Bug 248285
[NEW PORT] security/intel-ipsec-mb: Intel(R) Multi-Buffer Crypto for IPsec Library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
intel-ipsec-mb.shar
intel-ipsec-mb.shar (text/plain), 9.01 KB, created by
Martin Filla
on 2020-07-26 23:01:54 UTC
(
hide
)
Description:
intel-ipsec-mb.shar
Filename:
MIME Type:
Creator:
Martin Filla
Created:
2020-07-26 23:01:54 UTC
Size:
9.01 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># intel-ipsec-mb/ ># intel-ipsec-mb/files ># intel-ipsec-mb/files/patch-Makefile ># intel-ipsec-mb/files/patch-md5__one__block.c ># intel-ipsec-mb/files/patch-include_wireless__common.h ># intel-ipsec-mb/files/patch-LibTestApp_misc.asm ># intel-ipsec-mb/files/patch-LibTestApp_ipsec__xvalid.c ># intel-ipsec-mb/files/patch-LibTestApp_direct__api__test.c ># intel-ipsec-mb/files/patch-alloc.c ># intel-ipsec-mb/files/patch-include_constant__lookup.h ># intel-ipsec-mb/files/patch-LibTestApp_Makefile ># intel-ipsec-mb/pkg-descr ># intel-ipsec-mb/Makefile ># intel-ipsec-mb/distinfo ># >echo c - intel-ipsec-mb/ >mkdir -p intel-ipsec-mb/ > /dev/null 2>&1 >echo c - intel-ipsec-mb/files >mkdir -p intel-ipsec-mb/files > /dev/null 2>&1 >echo x - intel-ipsec-mb/files/patch-Makefile >sed 's/^X//' >intel-ipsec-mb/files/patch-Makefile << 'b64eb8724b19be35c138277a6b7a69f3' >X--- Makefile.orig 2020-04-14 17:13:02 UTC >X+++ Makefile >X@@ -81,7 +81,7 @@ INCLUDES := $(foreach i,$(INCLUDE_DIRS),-I $i) >X >X CC ?= gcc >X >X-CFLAGS := -DLINUX $(EXTRA_CFLAGS) $(INCLUDES) \ >X+CFLAGS := -DFREEBSD $(EXTRA_CFLAGS) $(INCLUDES) \ >X -W -Wall -Wextra -Wmissing-declarations -Wpointer-arith \ >X -Wcast-qual -Wundef -Wwrite-strings \ >X -Wformat -Wformat-security \ >X@@ -92,10 +92,10 @@ CFLAGS := -DLINUX $(EXTRA_CFLAGS) $(INCLUDES) \ >X ASM_INCLUDE_DIRS := . >X >X YASM_INCLUDES := $(foreach i,$(ASM_INCLUDE_DIRS),-I $i) >X-YASM_FLAGS := -f x64 -f elf64 -X gnu -g dwarf2 -DLINUX -D__linux__ $(YASM_INCLUDES) >X+YASM_FLAGS := -f x64 -f elf64 -X gnu -g dwarf2 -D__FreeBSD__ $(YASM_INCLUDES) >X >X NASM_INCLUDES := $(foreach i,$(ASM_INCLUDE_DIRS),-I$i/) >X-NASM_FLAGS := -felf64 -Xgnu -gdwarf -DLINUX -D__linux__ $(NASM_INCLUDES) >X+NASM_FLAGS := -felf64 -Xgnu -gdwarf -D__FreeBSD__ $(NASM_INCLUDES) >X >X ifeq ($(DEBUG),y) >X CFLAGS += -g -DDEBUG >b64eb8724b19be35c138277a6b7a69f3 >echo x - intel-ipsec-mb/files/patch-md5__one__block.c >sed 's/^X//' >intel-ipsec-mb/files/patch-md5__one__block.c << 'afa967beefe1a7af440ac1b0eda8c0ea' >X--- md5_one_block.c.orig 2020-07-26 16:32:57 UTC >X+++ md5_one_block.c >X@@ -30,7 +30,7 @@ >X #include "intel-ipsec-mb.h" >X #include "include/clear_regs_mem.h" >X >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X #define ROTATE(a, n) (((a) << (n)) ^ ((a) >> (32 - (n)))) >X #else >X #include <intrin.h> >afa967beefe1a7af440ac1b0eda8c0ea >echo x - intel-ipsec-mb/files/patch-include_wireless__common.h >sed 's/^X//' >intel-ipsec-mb/files/patch-include_wireless__common.h << '77b7f99c3167b103e36f6df0eeb722ed' >X--- include/wireless_common.h.orig 2020-04-14 17:13:02 UTC >X+++ include/wireless_common.h >X@@ -29,7 +29,7 @@ >X #define _WIRELESS_COMMON_H_ >X >X #include <string.h> >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X #include <x86intrin.h> >X #else >X #include <intrin.h> >X@@ -42,7 +42,7 @@ >X #define NUM_PACKETS_8 8 >X #define NUM_PACKETS_16 16 >X >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X #define BSWAP32 __builtin_bswap32 >X #define BSWAP64 __builtin_bswap64 >X #else >77b7f99c3167b103e36f6df0eeb722ed >echo x - intel-ipsec-mb/files/patch-LibTestApp_misc.asm >sed 's/^X//' >intel-ipsec-mb/files/patch-LibTestApp_misc.asm << '958778c3b5048833d16d39f02e036456' >X--- LibTestApp/misc.asm.orig 2020-07-26 22:30:10 UTC >X+++ LibTestApp/misc.asm >X@@ -36,6 +36,14 @@ >X %define MKGLOBAL(name,type,scope) global name %+ : %+ type scope >X %endif >X >X+%ifdef FREEBSD >X+;;; macro to declare global symbols >X+;;; - name : symbol name >X+;;; - type : funtion or data >X+;;; - scope : internal, private, default >X+%define MKGLOBAL(name,type,scope) global name %+ : %+ type scope >X+%endif >X+ >X %ifdef WIN_ABI >X ;;; macro to declare global symbols >X ;;; - name : symbol name >958778c3b5048833d16d39f02e036456 >echo x - intel-ipsec-mb/files/patch-LibTestApp_ipsec__xvalid.c >sed 's/^X//' >intel-ipsec-mb/files/patch-LibTestApp_ipsec__xvalid.c << '81b8c635acb3367ff745b0406079c53f' >X--- LibTestApp/ipsec_xvalid.c.orig 2020-07-26 21:48:10 UTC >X+++ LibTestApp/ipsec_xvalid.c >X@@ -32,8 +32,13 @@ >X #include <inttypes.h> >X #include <string.h> >X #include <errno.h> >X-#include <malloc.h> /* memalign() or _aligned_malloc()/aligned_free() */ >X #include "misc.h" >X+ >X+#if defined(LINUX) || defined(FREEBSD) >X+#include <stdlib.h> /* posix_memalign() and free() */ >X+#else >X+#include <malloc.h> /* _aligned_malloc() and aligned_free() */ >X+#endif >X >X #ifdef _WIN32 >X #include <intrin.h> >81b8c635acb3367ff745b0406079c53f >echo x - intel-ipsec-mb/files/patch-LibTestApp_direct__api__test.c >sed 's/^X//' >intel-ipsec-mb/files/patch-LibTestApp_direct__api__test.c << 'c6e453fdc0f2bf5fbc0734daf85c2b22' >X--- LibTestApp/direct_api_test.c.orig 2020-07-26 20:49:08 UTC >X+++ LibTestApp/direct_api_test.c >X@@ -1113,6 +1113,8 @@ direct_api_test(const enum arch_type arch, struct IMB_ >X #ifndef DEBUG >X #ifdef _WIN32 >X void *handler; >X+#elif __FreeBSD__ >X+ sig_t handler; >X #else >X sighandler_t handler; >X #endif >c6e453fdc0f2bf5fbc0734daf85c2b22 >echo x - intel-ipsec-mb/files/patch-alloc.c >sed 's/^X//' >intel-ipsec-mb/files/patch-alloc.c << 'd95c0035b95692a4f2aab426610bd4dd' >X--- alloc.c.orig 2020-04-14 17:13:02 UTC >X+++ alloc.c >X@@ -26,7 +26,7 @@ >X *******************************************************************************/ >X >X #include <stdint.h> >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X #include <stdlib.h> /* posix_memalign() and free() */ >X #else >X #include <malloc.h> /* _aligned_malloc() and aligned_free() */ >X@@ -42,7 +42,7 @@ alloc_aligned_mem(const size_t size) >X void *ptr; >X >X const size_t alignment = 64; >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X if (posix_memalign((void **)&ptr, alignment, size)) >X return NULL; >X #else >X@@ -59,7 +59,7 @@ alloc_aligned_mem(const size_t size) >X static void >X free_mem(void *ptr) >X { >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X free(ptr); >X #else >X _aligned_free(ptr); >d95c0035b95692a4f2aab426610bd4dd >echo x - intel-ipsec-mb/files/patch-include_constant__lookup.h >sed 's/^X//' >intel-ipsec-mb/files/patch-include_constant__lookup.h << 'e80fd8f6f9d97062faac6f90aa36f836' >X--- include/constant_lookup.h.orig 2020-07-26 16:19:20 UTC >X+++ include/constant_lookup.h >X@@ -31,7 +31,7 @@ >X #include "intel-ipsec-mb.h" >X >X /* instrinsic include is needed for data types used in prototypes */ >X-#ifdef LINUX >X+#if defined(LINUX) || defined(FREEBSD) >X #include <x86intrin.h> >X #else >X #include <intrin.h> >e80fd8f6f9d97062faac6f90aa36f836 >echo x - intel-ipsec-mb/files/patch-LibTestApp_Makefile >sed 's/^X//' >intel-ipsec-mb/files/patch-LibTestApp_Makefile << 'b7756d2873545cace30c3a4ae3ac64cb' >X--- LibTestApp/Makefile.orig 2020-07-26 20:55:47 UTC >X+++ LibTestApp/Makefile >X@@ -34,7 +34,7 @@ USE_YASM ?= n >X YASM ?= yasm >X NASM ?= nasm >X >X-CFLAGS = -g -DLINUX -D_GNU_SOURCE -DNO_COMPAT_IMB_API_053 \ >X+CFLAGS = -g -DFREEBSD -D_GNU_SOURCE -DNO_COMPAT_IMB_API_053 \ >X -W -Wall -Wextra -Wmissing-declarations -Wpointer-arith \ >X -Wcast-qual -Wundef -Wwrite-strings \ >X -Wformat -Wformat-security \ >X@@ -42,8 +42,8 @@ CFLAGS = -g -DLINUX -D_GNU_SOURCE -DNO_COMPAT_IMB_API_ >X -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition \ >X -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv >X >X-YASM_FLAGS := -f x64 -f elf64 -X gnu -g dwarf2 -DLINUX -D__linux__ >X-NASM_FLAGS := -felf64 -Xgnu -gdwarf -DLINUX -D__linux__ >X+YASM_FLAGS := -f x64 -f elf64 -X gnu -g dwarf2 -DFREEBSD -D__FreeBSD__ >X+NASM_FLAGS := -felf64 -Xgnu -gdwarf -DFREEBSD -D__FreeBSD__ >X >X LDFLAGS = -fPIE -z noexecstack -z relro -z now >X LDLIBS = -lIPSec_MB >b7756d2873545cace30c3a4ae3ac64cb >echo x - intel-ipsec-mb/pkg-descr >sed 's/^X//' >intel-ipsec-mb/pkg-descr << '82b13c3fc9415d09574265fc721de54b' >XIntel Multi-Buffer Crypto for IPsec Library is highly-optimized software >Ximplementations of the core cryptographic processing for IPsec, which >Xprovides industry-leading performance on a range of Intel(R) Processors. >X >XWWW: https://github.com/intel/intel-ipsec-mb >82b13c3fc9415d09574265fc721de54b >echo x - intel-ipsec-mb/Makefile >sed 's/^X//' >intel-ipsec-mb/Makefile << '912818f716cfda37f602a7e9cfc42fb8' >X# $FreeBSD$ >X >XPORTNAME= intel-ipsec-mb >XDISTVERSIONPREFIX= v >XDISTVERSION= 0.54 >XCATEGORIES= security >X >XMAINTAINER= martinfilla@sysctl.cz >XCOMMENT= Intel(R) Multi-Buffer Crypto for IPsec Library >X >XLICENSE= BSD3CLAUSE >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XONLY_FOR_ARCHS= amd64 >X >XBUILD_DEPENDS= nasm:devel/nasm >X >XUSES= gmake compiler:c11 >X >XUSE_GITHUB= yes >XGH_ACCOUNT= intel >XGH_PROJECT= intel-ipsec-mb >X >XMAKE_ARGS= SHARED="n" >X >X.include <bsd.port.mk> >912818f716cfda37f602a7e9cfc42fb8 >echo x - intel-ipsec-mb/distinfo >sed 's/^X//' >intel-ipsec-mb/distinfo << '7f9b84139dfac88cee12f7027660cc5e' >XTIMESTAMP = 1595778029 >XSHA256 (intel-intel-ipsec-mb-v0.54_GH0.tar.gz) = 8c6d59d68ee567a3c9db0967e3ca18cb61cddd73d07feed8a9b232106607228d >XSIZE (intel-intel-ipsec-mb-v0.54_GH0.tar.gz) = 848635 >7f9b84139dfac88cee12f7027660cc5e >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 248285
:
216789
|
216937
|
217044
|
217045
|
217052