d6383a553b
vulnerability (portaudit ID: 84ab58cf-e4ac-11d8-9b0a-000347a4fa7d), described in the following advisories: - http://www.hornik.sk/SA/SA-20040802.txt - http://secunia.com/advisories/12156 PR: ports/71502 Submitted by: Koop Mast <kwm@rainbow-runner.nl> Approved by: portmgr (eik, marcus)
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: gnutls
|
|
# Date created: 13 Nov 2002
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnutls
|
|
PORTVERSION= 1.0.20
|
|
CATEGORIES= security net
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG} \
|
|
http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
|
|
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/ \
|
|
ftp://ftp.gnutls.org/pub/gnutls/
|
|
MASTER_SITE_SUBDIR= alpha/gnutls
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= GNU Transport Layer Security library
|
|
|
|
LIB_DEPENDS= gcrypt.12:${PORTSDIR}/security/libgcrypt \
|
|
gpg-error.1:${PORTSDIR}/security/libgpg-error \
|
|
opencdk.8:${PORTSDIR}/security/opencdk \
|
|
tasn1.2:${PORTSDIR}/security/libtasn1
|
|
|
|
CONFLICTS= gnutls-devel-*
|
|
|
|
USE_GPG?= yes
|
|
SIG_SUFFIX= .sig.asc
|
|
USE_ICONV= yes
|
|
USE_GETTEXT= yes
|
|
USE_INC_LIBTOOL_VER=15
|
|
INSTALLS_SHLIB= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-included-lzo
|
|
|
|
MAN1= certtool.1 gnutls-cli.1 gnutls-cli-debug.1 \
|
|
gnutls-serv.1 srptool.1
|
|
DOCS= AUTHORS NEWS README THANKS doc/tex/*.ps
|
|
EXAMPLES= doc/examples/*.c
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|