From owner-svn-ports-head@freebsd.org Sat Nov 25 22:15:13 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF09BDF1E5E; Sat, 25 Nov 2017 22:15:13 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B21BE718BF; Sat, 25 Nov 2017 22:15:13 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAPMFCJp064634; Sat, 25 Nov 2017 22:15:12 GMT (envelope-from rodrigo@FreeBSD.org) Received: (from rodrigo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAPMFCuQ064629; Sat, 25 Nov 2017 22:15:12 GMT (envelope-from rodrigo@FreeBSD.org) Message-Id: <201711252215.vAPMFCuQ064629@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigo set sender to rodrigo@FreeBSD.org using -f From: Rodrigo Osorio Date: Sat, 25 Nov 2017 22:15:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454899 - in head/net/rabbitmq-c: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rodrigo X-SVN-Commit-Paths: in head/net/rabbitmq-c: . files X-SVN-Commit-Revision: 454899 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 22:15:14 -0000 Author: rodrigo Date: Sat Nov 25 22:15:12 2017 New Revision: 454899 URL: https://svnweb.freebsd.org/changeset/ports/454899 Log: Update v0.8.0 The 0.7.1 is very very outdated, 2 years ago. 0.8.0 was relesed in 2016 Added: SSL: peer certificate and hostname validation improvements SSL: the desire SSL version range can now be specified SSL: SSLv2, and SSLv3 have been disabled by default Fixed issues: 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 PR: 223566 Submitted by: loic.blot@unix-experience.fr Reported by: freebsd@geoffgarside.co.uk (maintainer) Added: head/net/rabbitmq-c/files/patch-librabbitmq_amqp__tcp__socket.c (contents, props changed) Deleted: head/net/rabbitmq-c/files/patch-configure.ac head/net/rabbitmq-c/files/patch-tools_common.c Modified: head/net/rabbitmq-c/Makefile head/net/rabbitmq-c/distinfo head/net/rabbitmq-c/pkg-descr head/net/rabbitmq-c/pkg-plist Modified: head/net/rabbitmq-c/Makefile ============================================================================== --- head/net/rabbitmq-c/Makefile Sat Nov 25 21:48:42 2017 (r454898) +++ head/net/rabbitmq-c/Makefile Sat Nov 25 22:15:12 2017 (r454899) @@ -2,57 +2,31 @@ # $FreeBSD$ PORTNAME= rabbitmq-c -PORTVERSION= 0.0.1 -PORTREVISION= 2 +PORTVERSION= 0.8.0 +DISTVERSIONPREFIX= v CATEGORIES= net -MASTER_SITES= http://hg.rabbitmq.com/rabbitmq-c/archive/:c \ - http://hg.rabbitmq.com/rabbitmq-codegen/archive/:codegen -DISTNAME= ${PORTNAME}-4e789c776a45 -DISTFILES= 4e789c776a45.tar.bz2:c \ - 821f5ee7b040.tar.bz2:codegen -DIST_SUBDIR= rabbitmq +PKGNAMESUFFIX= -devel -MAINTAINER= rabbitmq@geoffgarside.co.uk +MAINTAINER= freebsd@geoffgarside.co.uk COMMENT= RabbitMQ C AMQP client library -LICENSE= GPLv2 MPL11 -LICENSE_COMB= dual +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE-MIT -BUILD_DEPENDS= python:lang/python \ - ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:devel/py-simplejson +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:devel/py-simplejson -CONFLICTS= rabbitmq-c-devel-[0-9]* +CONFLICTS= rabbitmq-c-[0-9]* -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip -USES= autoreconf gmake libtool python tar:bzip2 +USES= cmake pathfix python tar:bzip2 +USE_GITHUB= yes USE_LDCONFIG= yes +GH_ACCOUNT= alanxz -OPTIONS_DEFINE= 64BIT POPT -64BIT_DESC= Produce 64-bit library +OPTIONS_DEFINE= POPT +OPTIONS_SUB= yes POPT_DESC= Popt support in tools - -.include - -.if ${PORT_OPTIONS:M64BIT} -ONLY_FOR_ARCHS= amd64 sparc64 powerpc -ONLY_FOR_ARCHS_REASON= 64BIT option is set -CONFIGURE_ARGS+= --enable-64-bit -.endif - -.if ${PORT_OPTIONS:MPOPT} -LIB_DEPENDS+= libpopt.so:devel/popt -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -PLIST_SUB+= POPT='' -CONFIGURE_ARGS+= --with-popt -.else -PLIST_SUB+= POPT='@comment ' -CONFIGURE_ARGS+= --without-popt -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|rabbitmq-codegen|rabbitmq-codegen-821f5ee7b040|g' ${WRKSRC}/configure.ac +POPT_LIB_DEPENDS= libpopt.so:devel/popt +POPT_CFLAGS= -I${LOCALBASE}/include +POPT_LDFLAGS= -L${LOCALBASE}/lib .include Modified: head/net/rabbitmq-c/distinfo ============================================================================== --- head/net/rabbitmq-c/distinfo Sat Nov 25 21:48:42 2017 (r454898) +++ head/net/rabbitmq-c/distinfo Sat Nov 25 22:15:12 2017 (r454899) @@ -1,4 +1,3 @@ -SHA256 (rabbitmq/4e789c776a45.tar.bz2) = 63a8ea4bebfbd57ab7caa3cb302e8d506ef16c19c7c9bb0b3995bc7af7b10e56 -SIZE (rabbitmq/4e789c776a45.tar.bz2) = 47462 -SHA256 (rabbitmq/821f5ee7b040.tar.bz2) = 6bfa3d30a4ccbc8ab930db695c8f4ecdc1282070e5bacc533acda79ba844500a -SIZE (rabbitmq/821f5ee7b040.tar.bz2) = 13248 +TIMESTAMP = 1510178940 +SHA256 (alanxz-rabbitmq-c-v0.8.0_GH0.tar.gz) = d8ed9dcb49903d83d79d7b227da35ef68c60e5e0b08d0fc1fb4e4dc577b8802b +SIZE (alanxz-rabbitmq-c-v0.8.0_GH0.tar.gz) = 149150 Added: head/net/rabbitmq-c/files/patch-librabbitmq_amqp__tcp__socket.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rabbitmq-c/files/patch-librabbitmq_amqp__tcp__socket.c Sat Nov 25 22:15:12 2017 (r454899) @@ -0,0 +1,12 @@ +--- librabbitmq/amqp_tcp_socket.c.orig 2015-06-17 07:41:33 UTC ++++ librabbitmq/amqp_tcp_socket.c +@@ -32,6 +32,9 @@ + #ifndef _WIN32 + # include + #endif ++#include ++#include ++#include + #include + #include + Modified: head/net/rabbitmq-c/pkg-descr ============================================================================== --- head/net/rabbitmq-c/pkg-descr Sat Nov 25 21:48:42 2017 (r454898) +++ head/net/rabbitmq-c/pkg-descr Sat Nov 25 22:15:12 2017 (r454899) @@ -1,9 +1,7 @@ This is a C-language AMQP client library for use with AMQP servers speaking protocol versions 0-8 and 0-9-1. This port only speaks the -0-8 protocol version, for 0-9-1 use net/rabbitmq-c-devel. +0-9-1 protocol version, for 0-8 use net/rabbitmq-c. - - - - - - - -WWW: http://hg.rabbitmq.com/rabbitmq-c +WWW: https://github.com/alanxz/rabbitmq-c +WWW: http://www.rabbitmq.com/ +WWW: http://www.amqp.org/ Modified: head/net/rabbitmq-c/pkg-plist ============================================================================== --- head/net/rabbitmq-c/pkg-plist Sat Nov 25 21:48:42 2017 (r454898) +++ head/net/rabbitmq-c/pkg-plist Sat Nov 25 22:15:12 2017 (r454899) @@ -1,17 +1,14 @@ %%POPT%%bin/amqp-consume +%%POPT%%bin/amqp-declare-queue +%%POPT%%bin/amqp-delete-queue %%POPT%%bin/amqp-get %%POPT%%bin/amqp-publish -bin/amqp_bind -bin/amqp_consumer -bin/amqp_exchange_declare -bin/amqp_listen -bin/amqp_listenq -bin/amqp_producer -bin/amqp_sendstring -bin/amqp_unbind include/amqp.h include/amqp_framing.h +include/amqp_ssl_socket.h +include/amqp_tcp_socket.h lib/librabbitmq.a lib/librabbitmq.so -lib/librabbitmq.so.0 -lib/librabbitmq.so.0.0.0 +lib/librabbitmq.so.4 +lib/librabbitmq.so.4.2.0 +libdata/pkgconfig/librabbitmq.pc