pkgsrc/net/rabbitmq-c/Makefile
fhajny c52d0cced9 Update net/rabbitmq-c to 0.8.0.
Added:
- SSL: peer certificate and hostname validation can now be
  controlled separately using amqp_ssl_socket_set_verify_peer and
  amqp_ssl_socket_set_verify_hostname.
- SSL: the desire SSL version range can now be specified using the
  amqp_ssl_socket_set_ssl_versions function.
- Add flags to SSL examples on controlling hostname verification.

Changed:
- SSL: SSLv2, and SSLv3 have been disabled by default.
- SSL: OpenSSL hostname validation has been improved.
- Win32 debug information is built with /Z7 on MSVC to embed debug
  info instead of using a .pdb

Fixed:
- Connection failure results in hang on Win32
- Rabbitmq-c may block when attempting to close an SSL socket
- amqp_parse_url does not correctly initialize default parameters
- x509 objects are leaked in verify_hostname
- TCP_NOPUSH doesn't work under cygwin

Deprecated
- SSL: amqp_ssl_socket_set_verify is being replaced by
- amqp_ssl_socket_set_verify_peer and
- amqp_ssl_socket_set_verify_hostname.

Removed:
- OpenVMS build system and related files.
- Unmaintained PolarSSL, CyaSSL, and gnuTLS SSL backends
2016-04-12 08:50:43 +00:00

33 lines
931 B
Makefile

# $NetBSD: Makefile,v 1.11 2016/04/12 08:50:43 fhajny Exp $
DISTNAME= rabbitmq-c-0.8.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=alanxz/}
MAINTAINER= filip@joyent.com
HOMEPAGE= https://github.com/alanxz/rabbitmq-c
COMMENT= C-language AMQP client library for use with AMQP servers
LICENSE= mit
GITHUB_TAG= v${PKGVERSION_NOREV}
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
USE_CMAKE= yes
USE_LANGUAGES= c c99
USE_TOOLS+= pkg-config
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-build
SUBST_MESSAGE.man= Fix man installation path
SUBST_FILES.man+= tools/CMakeLists.txt tools/cmake_install.cmake
SUBST_SED.man= -e "s|share/man|${PKGMANDIR}|g"
CMAKE_ARGS+= -DBUILD_TOOLS=ON
CMAKE_ARGS+= -DBUILD_TOOLS_DOCS=ON
CMAKE_ARGS+= -DENABLE_SSL_SUPPORT=ON
.include "../../devel/popt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"