openbsd-ports/security/gnutls/Makefile
jasper c17dc39d1f - SECURITY UPDATE of gnutls to 2.6.1
fixes CVE-2008-4989: GnuTLS Library X.509 Certificate Chain Validation
Vulnerability

ok landry@ naddy@
2008-11-12 17:09:25 +00:00

52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2008/11/12 17:09:25 jasper Exp $
COMMENT= GNU Transport Layer Security library
DISTNAME= gnutls-2.6.1
CATEGORIES= security
SHARED_LIBS= gnutls-extra 14.0 \
gnutls-openssl 14.0 \
gnutls 14.0 \
gnutlsxx 14.0 # 37.1
HOMEPAGE= http://www.gnutls.org/
# LGPLv2.1 / GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c gpg-error intl ncurses readline z
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/ \
http://josefsson.org/gnutls/releases/ \
http://ftp.linux.it/pub/mirrors/gnupg/gnutls/
MODULES= devel/gettext
LIB_DEPENDS= gcrypt.>=14::security/libgcrypt \
tasn1::security/libtasn1 \
lzo::archivers/lzo
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--with-included-libcfg \
--with-lzo \
--with-libtasn1-prefix=${LOCALBASE} \
--with-libgcrypt-prefix=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnutls
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnutls
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gnutls
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c \
${PREFIX}/share/examples/gnutls
.include <bsd.port.mk>