mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
311e3b182f
- adjust ports depending on neon, bump PORTREVISION Changelog: Fix memory leak with GnuTLS (Werner Baumann, Patrick Ohly). Fix possible crash after DNS lookup errors on Windows (Olivier Goffart). Don't fail if the SSL cert changes between connections with OpenSSL, behaviour now matches that with GnuTLS. Fix PKCS#11 support under OpenSSL with TLS 1.2. Fix static linking with pkg-config file (Alan H) PR: 195786 Differential Revision: https://reviews.freebsd.org/D1319 Submitted by: ohauer Reviewed by: portmgr (bapt, mat) Approved by: portmgr, lev (implicit)
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= neon
|
|
PORTVERSION= 0.30.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.webdav.org/neon/
|
|
|
|
MAINTAINER= lev@FreeBSD.org
|
|
COMMENT= HTTP and WebDAV client library for Unix systems
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= pathfix libtool
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFINE= CA_BUNDLE DOCS GSSAPI NLS OPENSSL PROXY
|
|
OPTIONS_DEFAULT= CA_BUNDLE EXPAT GSSAPI NLS OPENSSL
|
|
OPTIONS_SINGLE= XML
|
|
OPTIONS_SINGLE_XML= EXPAT LIBXML
|
|
|
|
CA_BUNDLE_DESC= Install CA bundle for OpenSSL
|
|
LIBXML_DESC= libxml2 XML parser support
|
|
PROXY_DESC= libproxy support
|
|
XML_DESC= XML parser library
|
|
|
|
CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
|
|
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
|
EXPAT_CONFIGURE_WITH= expat
|
|
EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
|
|
GSSAPI_CONFIGURE_WITH= gssapi
|
|
LIBXML_CONFIGURE_WITH= libxml2
|
|
LIBXML_USE= GNOME=libxml2
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
OPENSSL_CONFIGURE_WITH= ssl
|
|
OPENSSL_USE= OPENSSL=yes
|
|
PROXY_CONFIGURE_WITH= libproxy
|
|
PROXY_LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
CONFIGURE_ARGS+=--enable-shared \
|
|
--with-libs=${LOCALBASE}:${PREFIX}
|
|
|
|
.if ${PORT_OPTIONS:MCA_BUNDLE} && !${PORT_OPTIONS:MOPENSSL}
|
|
WARNING+= "OpenSSL need for CA bundle support"
|
|
WARNING+= "Enable the OPENSSL option or disable the CA_BUNDLE option"
|
|
.endif
|
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
DOCSDIR= ${PREFIX}/share/doc/neon
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|-@NEON_VERSION@$$||' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libneon.so.27.*
|
|
|
|
.include <bsd.port.mk>
|