b7b9359510
- minitasn1: Upgraded to libtasn1 version 2.12 (pre-release). - Corrected SRP-RSA ciphersuites when used under TLS 1.2. - Fixed leaks in key generation.
70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.48 2012/03/21 16:05:36 sthen Exp $
|
|
|
|
COMMENT= GNU Transport Layer Security library
|
|
|
|
DISTNAME= gnutls-2.12.18
|
|
CATEGORIES= security
|
|
|
|
SHARED_LIBS += gnutls 18.2 # 47.4
|
|
SHARED_LIBS += gnutlsxx 17.0 # 27.0
|
|
SHARED_LIBS += gnutls-extra 18.1 # 47.4
|
|
SHARED_LIBS += gnutls-openssl 17.0 # 27.0
|
|
|
|
HOMEPAGE= http://www.gnutls.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@bsdfrog.org>
|
|
|
|
# LGPLv3 - GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c gmp hogweed lzo2 m ncurses nettle p11-kit pthread
|
|
WANTLIB += readline stdc++ tasn1 z
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= security/libtasn1 \
|
|
archivers/lzo2 \
|
|
security/libnettle \
|
|
security/p11-kit
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
# regression tests need this
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--disable-gtk-doc \
|
|
--disable-guile \
|
|
--disable-valgrind-tests \
|
|
--with-included-libcfg \
|
|
--with-lzo \
|
|
--with-libtasn1-prefix=${LOCALBASE} \
|
|
--with-packager="OpenBSD Ports"
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
|
|
|
pre-configure:
|
|
perl -pi -e 's,-lpthread,-pthread,g' \
|
|
${WRKSRC}/{,lib/,libextra/}configure
|
|
|
|
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
|
|
# needed by at least:
|
|
# devel/libvmime, security/prelude/manager, textproc/iksemel
|
|
${INSTALL} -m 555 ${FILESDIR}/libgnutls-config ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|