svn commit: r454899 - in head/net/rabbitmq-c: . files
Rodrigo Osorio
rodrigo at FreeBSD.org
Sat Nov 25 22:15:14 UTC 2017
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 at unix-experience.fr
Reported by: freebsd at 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 at geoffgarside.co.uk
+MAINTAINER= freebsd at 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 <bsd.port.options.mk>
-
-.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 <bsd.port.mk>
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 <netinet/tcp.h>
+ #endif
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+
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.
- - <http://www.rabbitmq.com/>
- - <http://www.amqp.org/>
- - <http://hg.rabbitmq.com/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
More information about the svn-ports-all
mailing list