pkgsrc/security/gnutls/Makefile
adam 394cbb8f6b Changes 3.2.12:
** libgnutls: Corrected certificate verification issue (GNUTLS-SA-2014-2)

** libgnutls: Corrected issue in gnutls_pcert_list_import_x509_raw
when provided with invalid data. Reported by Dmitriy Anisimkov.

** libgnutls: Corrected timeout issue in subsequent to the first
DTLS handshakes.

** libgnutls: Removed unconditional not-trusted message in
gnutls_certificate_verification_status_print() when used with
OpenPGP certificates. Reported by Michel Briand.

** libgnutls: All ciphersuites that were available in TLS1.0 or
later are now made available in SSL3.0 or later to prevent
any incompatibilities with servers that negotiate them in SSL 3.0.

** ocsptool: When verifying a response and a signer isn't provided
assume that the signer is the issuer.

** ocsptool: When sending a nonce, verify that the nonce exists
in the OCSP response.

** gnutls-cli: Added --strict-tofu option; contributed by Jens
Lechtenboerger.

** API and ABI modifications:
No changes since last version.
2014-03-04 09:34:19 +00:00

65 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.144 2014/03/04 09:34:19 adam Exp $
DISTNAME= gnutls-3.2.12
CATEGORIES= security devel
MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnutls.org/
COMMENT= GNU Transport Layer Security library
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake perl pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-p11-kit
# this library duplicates (and conflicts with) openssl
CONFIGURE_ARGS+= --disable-openssl-compatibility
CONFIGURE_ARGS+= --disable-guile
CONFIGURE_ARGS+= --disable-libdane
CONFIGURE_ARGS+= --without-tpm
CONFIGURE_ARGS+= AUTOGEN=/bin/true
TEST_TARGET= check
INFO_FILES= yes
REPLACE_PERL+= doc/scripts/gdoc doc/scripts/sort2.pl
PKGCONFIG_OVERRIDE= lib/gnutls.pc.in
PKGCONFIG_OVERRIDE+= libdane/gnutls-dane.pc.in
MAKE_ENV+= RM=${RM:Q}
MAKE_ENV+= TZ=UTC
EGDIR= ${PREFIX}/share/examples/gnutls
.include "../../mk/bsd.prefs.mk"
# Assembler support is broken for SunOS in 3.2.9.
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --disable-hardware-acceleration
.endif
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} include/gnutls
post-install:
cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${DESTDIR}${EGDIR}
.include "../../archivers/lzo/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libcfg+/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
BUILDLINK_API_DEPENDS.libtasn1+= libtasn1>=0.3.4
.include "../../security/libtasn1/buildlink3.mk"
.include "../../security/nettle/buildlink3.mk"
# guile is useful for selftests, but bindings should be separate pkgs
#.include "../../lang/guile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"