1 |
laffer1 |
15462 |
# $MidnightBSD$ |
2 |
laffer1 |
131 |
|
3 |
|
|
PORTNAME= gnutls |
4 |
laffer1 |
17321 |
PORTVERSION= 3.2.16 |
5 |
|
|
PORTREVISION= 0 |
6 |
laffer1 |
131 |
CATEGORIES= security net |
7 |
laffer1 |
17321 |
MASTER_SITES= GNUPG/gnutls/v3.2 |
8 |
laffer1 |
131 |
|
9 |
laffer1 |
16031 |
MAINTAINER= novel@FreeBSD.org |
10 |
laffer1 |
131 |
COMMENT= GNU Transport Layer Security library |
11 |
laffer1 |
16031 |
|
12 |
laffer1 |
17321 |
LICENSE= gpl3 lgpl2.1 |
13 |
|
|
LICENSE_COMB= multi |
14 |
|
|
LICENSE_FILE_gpl3= ${WRKSRC}/COPYING |
15 |
|
|
LICENSE_FILE_lgpl2.1= ${WRKSRC}/COPYING.LESSER |
16 |
laffer1 |
7767 |
|
17 |
laffer1 |
17321 |
LIB_DEPENDS= libnettle.so:${PORTSDIR}/security/nettle \ |
18 |
|
|
libtasn1.so:${PORTSDIR}/security/libtasn1 |
19 |
laffer1 |
131 |
|
20 |
laffer1 |
17321 |
USES= gmake iconv libtool makeinfo pathfix pkgconfig tar:xz |
21 |
|
|
USE_LDCONFIG= yes |
22 |
laffer1 |
131 |
GNU_CONFIGURE= yes |
23 |
laffer1 |
17321 |
CONFIGURE_ARGS= --disable-guile \ |
24 |
|
|
--disable-silent-rules \ |
25 |
|
|
--enable-local-libopts |
26 |
laffer1 |
131 |
CPPFLAGS+= -I${LOCALBASE}/include |
27 |
|
|
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
laffer1 |
17321 |
MAKE_ENV= MAKEINFOFLAGS=--no-split |
29 |
laffer1 |
131 |
|
30 |
laffer1 |
17321 |
OPTIONS_DEFINE= CRYWRAP EXAMPLES LIBDANE NLS P11KIT TPM ZLIB |
31 |
|
|
OPTIONS_DEFAULT= CRYWRAP P11KIT TPM ZLIB |
32 |
|
|
OPTIONS_SUB= yes |
33 |
laffer1 |
16031 |
|
34 |
laffer1 |
17321 |
CRYWRAP_DESC= Enable Crywrap TLS proxy service |
35 |
|
|
CRYWRAP_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn |
36 |
|
|
CRYWRAP_CONFIGURE_ENABLE= crywrap |
37 |
laffer1 |
16031 |
|
38 |
laffer1 |
17321 |
LIBDANE_DESC= DNSSEC support for DANE (danetool --check) |
39 |
|
|
LIBDANE_LIB_DEPENDS= libunbound.so:${PORTSDIR}/dns/unbound |
40 |
|
|
LIBDANE_CONFIGURE_ENABLE= libdane |
41 |
laffer1 |
131 |
|
42 |
laffer1 |
17321 |
NLS_CONFIGURE_ENABLE= nls |
43 |
|
|
NLS_USES= gettext |
44 |
laffer1 |
14169 |
|
45 |
laffer1 |
17321 |
P11KIT_DESC= PKCS\#11 and p11-kit support |
46 |
|
|
P11KIT_CONFIGURE_WITH= p11-kit |
47 |
|
|
P11KIT_LIB_DEPENDS= libp11-kit.so:${PORTSDIR}/security/p11-kit |
48 |
laffer1 |
14169 |
|
49 |
laffer1 |
17321 |
TPM_DESC= TPM (trousers) support |
50 |
|
|
TPM_CONFIGURE_WITH= tpm |
51 |
|
|
TPM_LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers |
52 |
laffer1 |
14169 |
|
53 |
laffer1 |
17321 |
ZLIB_CONFIGURE_WITH= zlib |
54 |
laffer1 |
131 |
|
55 |
laffer1 |
17321 |
INFO= gnutls gnutls-guile |
56 |
laffer1 |
7767 |
|
57 |
laffer1 |
14169 |
post-patch: |
58 |
laffer1 |
17321 |
@${RM} ${WRKSRC}/doc/*.info* |
59 |
laffer1 |
131 |
|
60 |
|
|
post-install: |
61 |
laffer1 |
17321 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
62 |
|
|
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR} |
63 |
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnutls*.so.* |
64 |
laffer1 |
131 |
|
65 |
laffer1 |
14169 |
.include <bsd.port.mk> |