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 |
|