View | Details | Raw Unified | Return to bug 260961
Collapse All | Expand All

(-)b/security/intel-ipsec-mb/Makefile (-8 / +16 lines)
Lines 1-8 Link Here
1
PORTNAME=	intel-ipsec-mb
1
PORTNAME=	intel-ipsec-mb
2
DISTVERSION=	0.55.0
2
DISTVERSIONPREFIX=	v
3
DISTVERSIONSUFFIX=	-dev
3
DISTVERSION=	1.1
4
CATEGORIES=	security
4
CATEGORIES=	security
5
5
6
PATCH_SITES=	https://github.com/intel/intel-ipsec-mb/commit/
7
PATCHFILES=	3a1c8c1c2c24a9d6cb56439c6aa6bea4d4fb1093.patch:-p1
8
6
MAINTAINER=	freebsd@sysctl.cz
9
MAINTAINER=	freebsd@sysctl.cz
7
COMMENT=	Intel(R) Multi-Buffer Crypto for IPsec Library
10
COMMENT=	Intel(R) Multi-Buffer Crypto for IPsec Library
8
11
Lines 17-39 USES= gmake compiler:c11 localbase:ldflags Link Here
17
20
18
USE_GITHUB=	yes
21
USE_GITHUB=	yes
19
GH_ACCOUNT=	intel
22
GH_ACCOUNT=	intel
20
GH_TAGNAME=	55179f0
21
23
22
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
23
PLIST_FILES=	include/intel-ipsec-mb.h \
26
PLIST_FILES=	include/intel-ipsec-mb.h \
24
		lib/libIPSec_MB.so \
27
		lib/libIPSec_MB.so \
25
		lib/libIPSec_MB.so.0 \
28
		lib/libIPSec_MB.so.1 \
26
		lib/libIPSec_MB.so.${DISTVERSION} \
29
		lib/libIPSec_MB.so.${DISTVERSION}.0 \
27
		man/man7/libipsec-mb.7.gz
30
		man/man7/libipsec-mb.7.gz
28
31
32
# While parallel compiling works it can easily eat up 8+ Gb of RAM which will
33
# result in unnecessary OOM errors
34
MAKE_JOBS_UNSAFE=	yes
35
29
do-install:
36
do-install:
30
	${INSTALL_DATA} ${WRKSRC}/lib/intel-ipsec-mb.h ${STAGEDIR}${PREFIX}/include/
37
	${INSTALL_DATA} ${WRKSRC}/lib/intel-ipsec-mb.h ${STAGEDIR}${PREFIX}/include/
31
	${INSTALL_LIB} ${WRKSRC}/lib/libIPSec_MB.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}
38
	${INSTALL_LIB} ${WRKSRC}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}.0
32
	${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.0
39
	${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.1
33
	${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so
40
	${RLN} ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${STAGEDIR}${PREFIX}/lib/libIPSec_MB.so
34
	${INSTALL_MAN} ${WRKSRC}/lib/libipsec-mb.7 ${STAGEDIR}${PREFIX}/man/man7
41
	${INSTALL_MAN} ${WRKSRC}/lib/libipsec-mb.7 ${STAGEDIR}${PREFIX}/man/man7
35
42
36
do-test:
43
do-test:
44
	${RLN} ${WRKSRC}/lib/libIPSec_MB.so.${DISTVERSION}.0 ${WRKSRC}/test/libIPSec_MB.so.1
37
	cd ${WRKSRC}/test && ./ipsec_xvalid_test -v
45
	cd ${WRKSRC}/test && ./ipsec_xvalid_test -v
38
	cd ${WRKSRC}/test && ./ipsec_MB_testapp --auto-detect
46
	cd ${WRKSRC}/test && ./ipsec_MB_testapp --auto-detect
39
47
(-)b/security/intel-ipsec-mb/distinfo (-3 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1605371320
1
TIMESTAMP = 1641389422
2
SHA256 (intel-intel-ipsec-mb-0.55.0-dev-55179f0_GH0.tar.gz) = acd90fae86dea1f86c7a8be649e0ab3981f7df9f4e80b1f2b922d5edc8ebcd87
2
SHA256 (intel-intel-ipsec-mb-v1.1_GH0.tar.gz) = 0eed29151f57c98ed30fb899fab81438264bc5578bd7cc11d23ccc619af9beac
3
SIZE (intel-intel-ipsec-mb-0.55.0-dev-55179f0_GH0.tar.gz) = 1019534
3
SIZE (intel-intel-ipsec-mb-v1.1_GH0.tar.gz) = 1227915
4
SHA256 (3a1c8c1c2c24a9d6cb56439c6aa6bea4d4fb1093.patch) = 076d4069033ace59c3508f249cac095c09c6bffb449f6d0fc0772372e5803a17
5
SIZE (3a1c8c1c2c24a9d6cb56439c6aa6bea4d4fb1093.patch) = 1811
(-)b/security/intel-ipsec-mb/files/patch-test_Makefile (+15 lines)
Added Link Here
1
--- test/Makefile.orig	2022-01-05 18:18:41 UTC
2
+++ test/Makefile
3
@@ -139,10 +139,10 @@ endif
4
 all: $(TEST_APP) $(XVALID_APP) $(FUZZ_APP)
5
 
6
 $(TEST_APP): $(OBJECTS)
7
-	$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
8
+	$(CC) $(LDFLAGS) $^ $(LDLIBS) -Wl,-rpath,. -o $@
9
 
10
 $(XVALID_APP): $(XVALID_OBJECTS)
11
-	$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
12
+	$(CC) $(LDFLAGS) $^ $(LDLIBS) -Wl,-rpath,. -o $@
13
 
14
 $(FUZZ_APP): $(FUZZ_SOURCES)
15
 ifneq (, $(shell which clang))

Return to bug 260961