Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 11:41:57 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335088 - in head/net: . libzmq4 libzmq4/files
Message-ID:  <201311281141.rASBfv5b012603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Nov 28 11:41:56 2013
New Revision: 335088
URL: http://svnweb.freebsd.org/changeset/ports/335088

Log:
  net/libzmq4:  ZeroMQ core library (Version 4) [NEW PORT]
  
  ZeroMQ - Distributed Computing Made Simple
  
   * The socket library that acts as a concurrency framework.
   * Carries messages across inproc, IPC, TCP, and multicast.
   * Connect N-to-N via fanout, pubsub, pipeline, request-reply.
   * Asynch I/O for scalable multicore message-passing apps.
  
  Version 4 Features:
  
   * New wire level protocol, ZMTP/3.0
   * New security framework with PLAIN and CURVE mechanisms
   * New ZMQ_STREAM socket type
  
  WWW: http://www.zeromq.org/
  
  PR:		ports/183730
  Reviewed by:	kwm, wg

Added:
  head/net/libzmq4/
     - copied from r335008, head/devel/zmq-devel/
Deleted:
  head/net/libzmq4/files/
Modified:
  head/net/Makefile
  head/net/libzmq4/Makefile
  head/net/libzmq4/distinfo
  head/net/libzmq4/pkg-descr
  head/net/libzmq4/pkg-plist   (contents, props changed)

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Nov 28 11:13:27 2013	(r335087)
+++ head/net/Makefile	Thu Nov 28 11:41:56 2013	(r335088)
@@ -348,6 +348,7 @@
     SUBDIR += libunp
     SUBDIR += libutp
     SUBDIR += libvncserver
+    SUBDIR += libzmq4
     SUBDIR += liferea
     SUBDIR += linc
     SUBDIR += linc-reference

Modified: head/net/libzmq4/Makefile
==============================================================================
--- head/devel/zmq-devel/Makefile	Wed Nov 27 11:56:53 2013	(r335008)
+++ head/net/libzmq4/Makefile	Thu Nov 28 11:41:56 2013	(r335088)
@@ -1,24 +1,42 @@
 # $FreeBSD$
 
-PORTNAME=	zmq
-PORTVERSION=	3.2.4
-CATEGORIES=	devel net
+PORTNAME=	libzmq4
+PORTVERSION=	4.0.2
+CATEGORIES=	net
 MASTER_SITES=	http://download.zeromq.org/
-PKGNAMESUFFIX=	-devel
 DISTNAME=	zeromq-${DISTVERSION}
 
 MAINTAINER=	koobs@FreeBSD.org
-COMMENT=	Lightweight messaging kernel
+COMMENT=	ZeroMQ core library (Version 4)
+
+LICENSE=	LGPL3
 
 USES=		pathfix
 USE_LDCONFIG=	yes
 
+OPTIONS_DEFINE=	CURVE DEBUG PGM
+CURVE_DESC=	CURVE security mechanism via libsodium
+PGM_DESC=	Reliable multicast transport using PGM via OpenPGM
+
+CURVE_CONFIGURE_ON=	--with-libsodium=${LOCALBASE}
+CURVE_LIB_DEPENDS=	libsodium.so:${PORTSDIR}/security/libsodium
+DEBUG_CONFIGURE_ON=	--enable-debug
+PGM_CONFIGURE_ON=	--with-system-pgm
+PGM_LIB_DEPENDS=	libpgm.so:${PORTSDIR}/net/openpgm
+PGM_USES=		pkgconfig
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDEBUG}
+WITH_DEBUG=	yes
+.endif
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-silent-rules
+CFLAGS+=	-Wno-long-long
 
-CONFLICTS=	zmq-[0-9]*
+CONFLICTS=	zmq-[0-9]* libzmq[^4]-[0-9]*
 
-regression-test:
+regression-test: build
 	cd ${WRKSRC} && ${MAKE}	check
 
 .include <bsd.port.mk>

Modified: head/net/libzmq4/distinfo
==============================================================================
--- head/devel/zmq-devel/distinfo	Wed Nov 27 11:56:53 2013	(r335008)
+++ head/net/libzmq4/distinfo	Thu Nov 28 11:41:56 2013	(r335088)
@@ -1,2 +1,2 @@
-SHA256 (zeromq-3.2.4.tar.gz) = df96a141c85b65c2cb6c0db22223126623a09eecbfccb7f74400f3f938742f59
-SIZE (zeromq-3.2.4.tar.gz) = 2083123
+SHA256 (zeromq-4.0.2.tar.gz) = c8b2b1e8fe47fd6e1ca710ba68d71086ddb323e8ab5c5bd96155390dc5c8d75a
+SIZE (zeromq-4.0.2.tar.gz) = 2168988

Modified: head/net/libzmq4/pkg-descr
==============================================================================
--- head/devel/zmq-devel/pkg-descr	Wed Nov 27 11:56:53 2013	(r335008)
+++ head/net/libzmq4/pkg-descr	Thu Nov 28 11:41:56 2013	(r335088)
@@ -1,3 +1,14 @@
-An open source message queue optimised for performance.
+ZeroMQ - Distributed Computing Made Simple 
+
+ * The socket library that acts as a concurrency framework.
+ * Carries messages across inproc, IPC, TCP, and multicast.
+ * Connect N-to-N via fanout, pubsub, pipeline, request-reply.
+ * Asynch I/O for scalable multicore message-passing apps.
+
+Version 4 Features:
+
+ * New wire level protocol, ZMTP/3.0
+ * New security framework with PLAIN and CURVE mechanisms
+ * New ZMQ_STREAM socket type
 
 WWW: http://www.zeromq.org/

Modified: head/net/libzmq4/pkg-plist
==============================================================================
--- head/devel/zmq-devel/pkg-plist	Wed Nov 27 11:56:53 2013	(r335008)
+++ head/net/libzmq4/pkg-plist	Thu Nov 28 11:41:56 2013	(r335088)
@@ -1,9 +1,10 @@
+bin/curve_keygen
 include/zmq.h
 include/zmq_utils.h
 lib/libzmq.a
 lib/libzmq.la
 lib/libzmq.so
-lib/libzmq.so.3
+lib/libzmq.so.4
 libdata/pkgconfig/libzmq.pc
 man/man3/zmq_bind.3.gz
 man/man3/zmq_close.3.gz
@@ -12,6 +13,9 @@ man/man3/zmq_ctx_destroy.3.gz
 man/man3/zmq_ctx_get.3.gz
 man/man3/zmq_ctx_new.3.gz
 man/man3/zmq_ctx_set.3.gz
+man/man3/zmq_ctx_term.3.gz
+man/man7/zmq_curve.7.gz
+man/man3/zmq_curve_keypair.3.gz
 man/man3/zmq_disconnect.3.gz
 man/man3/zmq_errno.3.gz
 man/man3/zmq_getsockopt.3.gz
@@ -29,11 +33,14 @@ man/man3/zmq_msg_recv.3.gz
 man/man3/zmq_msg_send.3.gz
 man/man3/zmq_msg_set.3.gz
 man/man3/zmq_msg_size.3.gz
+man/man7/zmq_null.7.gz
 man/man3/zmq_poll.3.gz
+man/man7/zmq_plain.7.gz
 man/man3/zmq_proxy.3.gz
 man/man3/zmq_recv.3.gz
 man/man3/zmq_recvmsg.3.gz
 man/man3/zmq_send.3.gz
+man/man3/zmq_send_const.3.gz
 man/man3/zmq_sendmsg.3.gz
 man/man3/zmq_setsockopt.3.gz
 man/man3/zmq_socket.3.gz
@@ -42,6 +49,8 @@ man/man3/zmq_strerror.3.gz
 man/man3/zmq_term.3.gz
 man/man3/zmq_unbind.3.gz
 man/man3/zmq_version.3.gz
+man/man3/zmq_z85_decode.3.gz
+man/man3/zmq_z85_encode.3.gz
 man/man7/zmq.7.gz
 man/man7/zmq_epgm.7.gz
 man/man7/zmq_inproc.7.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311281141.rASBfv5b012603>