ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
(Generate patch)

Comparing trunk/security/gnutls/Makefile (file contents):
Revision 21588 by laffer1, Sat Aug 13 15:43:05 2016 UTC vs.
Revision 23016 by laffer1, Sat Feb 17 22:40:01 2018 UTC

# Line 1 | Line 1
1   # $MidnightBSD$
2  
3   PORTNAME=       gnutls
4 < PORTVERSION=    3.3.17.1
5 < PORTREVISION=   3
4 > PORTVERSION=    3.5.18
5   CATEGORIES=     security net
6 < MASTER_SITES=   GNUPG/gnutls/v${PORTVERSION:R:R}
6 > MASTER_SITES=   GNUPG/gnutls/v${PORTVERSION:R}
7  
8   MAINTAINER=     novel@FreeBSD.org
9   COMMENT=        GNU Transport Layer Security library
10  
11   LICENSE=        gpl3 lgpl2.1
12   LICENSE_COMB=   multi
13 < LICENSE_FILE_gpl3=      ${WRKSRC}/COPYING
14 < LICENSE_FILE_lgpl2.1=   ${WRKSRC}/COPYING.LESSER
13 > LICENSE_FILE_gpl3=      ${WRKSRC}/doc/COPYING
14 > LICENSE_FILE_lgpl2.1=   ${WRKSRC}/doc/COPYING.LESSER
15  
16 < LIB_DEPENDS=    libnettle.so:${PORTSDIR}/security/nettle \
17 <                libtasn1.so:${PORTSDIR}/security/libtasn1
18 < BUILD_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
19 < RUN_DEPENDS+=   ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
16 > LIB_DEPENDS=    libgmp.so:math/gmp \
17 >                libnettle.so:security/nettle \
18 >                libtasn1.so:security/libtasn1 \
19 >                libunistring.so:devel/libunistring
20 > BUILD_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
21 > RUN_DEPENDS+=   ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
22  
23 < USES=           cpe gmake iconv libtool makeinfo pathfix pkgconfig tar:xz
23 > USES=           cpe gmake iconv libtool localbase makeinfo \
24 >                pathfix pkgconfig tar:xz
25   USE_LDCONFIG=   yes
26   GNU_CONFIGURE=  yes
27   CONFIGURE_ARGS= --disable-guile \
28 <                --disable-silent-rules \
29 <                --enable-local-libopts
30 < CPPFLAGS+=      -I${LOCALBASE}/include
29 < LDFLAGS+=       -L${LOCALBASE}/lib
28 >                --enable-local-libopts \
29 >                --with-trousers-lib=${LOCALBASE}/lib/libtspi.so.1 \
30 >                ac_cv_type_max_align_t=yes
31   MAKE_ENV=       MAKEINFOFLAGS=--no-split
32 + INSTALL_TARGET= install-strip
33  
34   CPE_VENDOR=     gnu
35  
36 < OPTIONS_DEFINE=         CRYWRAP EXAMPLES LIBDANE NLS P11KIT TPM ZLIB
37 < OPTIONS_DEFAULT=        CRYWRAP P11KIT TPM ZLIB
36 > OPTIONS_DEFINE=         DANE DOCS EXAMPLES IDN NLS P11KIT TPM ZLIB
37 > OPTIONS_DEFAULT=        IDN P11KIT TPM ZLIB
38   OPTIONS_SUB=            yes
39  
40 < CRYWRAP_DESC=                   Enable Crywrap TLS proxy service
41 < CRYWRAP_LIB_DEPENDS=            libidn.so:${PORTSDIR}/dns/libidn
42 < CRYWRAP_CONFIGURE_ENABLE=       crywrap
40 > DANE_DESC=              Certificate verification via DNSSEC
41 > DANE_LIB_DEPENDS=       libunbound.so:dns/unbound
42 > DANE_CONFIGURE_ENABLE=  libdane
43  
44 < LIBDANE_DESC=                   DNSSEC support for DANE (danetool --check)
45 < LIBDANE_LIB_DEPENDS=            libunbound.so:${PORTSDIR}/dns/unbound
44 < LIBDANE_CONFIGURE_ENABLE=       libdane
44 > IDN_CONFIGURE_WITH=     idn
45 > IDN_LIB_DEPENDS=        libidn2.so:dns/libidn2
46  
47   NLS_CONFIGURE_ENABLE=   nls
48 + NLS_CONFIGURE_OFF=      ac_cv_lib_intl_gettext=no
49   NLS_USES=               gettext
50  
51   P11KIT_DESC=            PKCS\#11 and p11-kit support
52   P11KIT_CONFIGURE_WITH=  p11-kit
53 < P11KIT_LIB_DEPENDS=     libp11-kit.so:${PORTSDIR}/security/p11-kit
53 > P11KIT_LIB_DEPENDS=     libp11-kit.so:security/p11-kit
54  
55 < TPM_DESC=               TPM (trousers) support
55 > TPM_DESC=               Trusted Platform Module support
56   TPM_CONFIGURE_WITH=     tpm
57 < TPM_LIB_DEPENDS=        libtspi.so:${PORTSDIR}/security/trousers
57 > TPM_LIB_DEPENDS=        libtspi.so:security/trousers
58  
59   ZLIB_CONFIGURE_WITH=    zlib
60  
# Line 60 | Line 62 | INFO=          gnutls gnutls-guile
62  
63   post-patch:
64          @${RM} ${WRKSRC}/doc/*.info*
63        ${SED} -i '' -e 's|^+_NORETURN_H|_NORETURN_H|' \
64          ${WRKSRC}/src/libopts/Makefile.in
65  
66   post-install:
67          @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
68          ${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
69        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnutls*.so.*
69  
70   .include <bsd.port.mk>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines