pkgsrc/www/neon/buildlink.mk
uebayasi 7ba2ef7087 Update to 19.3. Supplied by Alex Newman <dolemite@wuli.nu> in pkg/16078,
and reviewed by the maintainer, Eric Gillespie <epg@pretzelnet.org>.

Major version changed so that BUILDLINK_DEPENDS.neon bumped.

Part of changes from NEWS:

Changes in release 0.19.1-0.19.3:
* For platforms lacking snprintf or vsnprintf in libc, require trio.
* Add NE_FMT_OFF_T to fix Win32 build (Dan Berlin, Branko Èibej).
* Fix non-SSL build broken in 0.19.1.
* Working SOCKSv5 support (thanks to Torsten Kalix <torsten.kalix@bredex.de>)
* Add missing stubs for ne_ssl_* functions for non-SSL build.
* Fix some error messages in new SSL code.

Changes in release 0.19.0:
* Major API change: ne_session_create now takes (scheme, hostname, port)
 arguments: a session is clarified to be "a group of requests to a
 certain server".
 - removal of ne_session_server, ne_set_secure, and ne_set_proxy_decider
 - ne_session_proxy returns void.
 - DNS lookups are delayed until request dispatch time.
* Significant improvements to TLS/SSL support:
 - SSL is enabled if scheme passed to ne_session_create is "https"
 - new interfaces to load CA certs and to load SSL library's bundled CA certs
 - add server cert verification callback.  An SSL connection to a server
 with an unknown CA will now fail unless a verification callback is used.
 - enable SSL session caching (performance improvement)
 - support for wildcard server certs where commonName is "*.example.com".
 - thanks to Tommi Komulainen for the contribution of code from mutt's
 IMAP/SSL implementation under the LGPL, from which bits of this were derived.

Changes in release 0.18.4-0.18.5:
* Removed old neon.dsp, neon.dsw.
* Update Win32 build to add OpenSSL and zlib support (Branko Èibej).
* Fixes for Content-Type parsing using ne_content_type_handler (Greg Stein)
 - also now parses the charset parameter from header value.
* Removed ne_concat() function, which didn't work and wasn't used.
2002-04-01 01:28:04 +00:00

51 lines
1.7 KiB
Makefile

# $NetBSD: buildlink.mk,v 1.2 2002/04/01 01:28:04 uebayasi Exp $
#
# This Makefile fragment is included by packages that use neon.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.neon to the dependency patthern
# for the version of neon desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(NEON_BUILDLINK_MK)
NEON_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.neon?= neon>=0.19.3
DEPENDS+= ${BUILDLINK_DEPENDS.neon}:../../www/neon
EVAL_PREFIX+= BUILDLINK_PREFIX.neon=neon
BUILDLINK_PREFIX.neon_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.neon= include/neon/*
BUILDLINK_FILES.neon+= lib/libneon.*
.include "../../devel/zlib/buildlink.mk"
.include "../../security/openssl/buildlink.mk"
.include "../../textproc/libxml/buildlink.mk"
BUILDLINK_TARGETS.neon= neon-buildlink
BUILDLINK_TARGETS.neon+= neon-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.neon}
BUILDLINK_CONFIG.neon= ${BUILDLINK_PREFIX.neon}/bin/neon-config
BUILDLINK_CONFIG_WRAPPER.neon=${BUILDLINK_DIR}/bin/neon-config
REPLACE_BUILDLINK_SED+= \
-e "s|${BUILDLINK_CONFIG_WRAPPER.neon}|${BUILDLINK_CONFIG.neon}|g"
.if defined(USE_CONFIG_WRAPPER)
NEON_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.neon}
CONFIGURE_ENV+= NEON_CONFIG="${NEON_CONFIG}"
MAKE_ENV+= NEON_CONFIG="${NEON_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.neon}
neon-buildlink: _BUILDLINK_USE
neon-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
.endif # NEON_BUILDLINK_MK