blob: 18907219b4fffbeccaefbaaabb6437d98a6a7d5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
PORTNAME= wolfssl
PORTVERSION= 4.7.0
CATEGORIES= security devel
MASTER_SITES= https://www.wolfssl.com/ \
LOCAL/fox
MAINTAINER= fox@FreeBSD.org
COMMENT= Embedded SSL C-Library
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool zip
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-certgen \
--enable-des3 \
--enable-dh \
--enable-dsa \
--enable-dtls \
--enable-ecc \
--enable-ipv6 \
--enable-keygen \
--enable-opensslall \
--enable-opensslextra \
--enable-ripemd \
--enable-sessioncerts \
--enable-sha512 \
--enable-shared \
--enable-sni \
--enable-ssh \
--enable-static \
--enable-tls13 \
--enable-tls13-draft18
TEST_TARGET= check
CFLAGS+= -DWOLFSSL_ALT_NAMES
OPTIONS_DEFINE= DEBUG DOCS
DEBUG_CONFIGURE_ON= --enable-debug
post-configure:
@${REINPLACE_CMD} \
-e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \
-e 's|$${prefix}/cyassl/lib|$${prefix}/lib/cyassl|' \
-e '/^pkgconfigdir/s|(libdir)|&data|' \
${WRKSRC}/Makefile
post-install-DEBUG-off:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwolfssl.so
.include <bsd.port.mk>
|