Hi, attached patch updates ZeroMQ to the latest stable release. I'm sending this to the list instead of waiting for the reply from maintainer, because it's required by erlzmq port that will follow-up shortly.
Changes: - updated to ZeroMQ-2.1.7, - traded -pedantic for -Werror (per tedu@'s earlier comment), - SHARED_ONLY=Yes, because all binaries were removed in 2.1.x. Best regards, Piotr Sikora < [email protected] >
Index: Makefile =================================================================== RCS file: /cvs/ports/net/zeromq/Makefile,v retrieving revision 1.2 diff -a -u -p -r1.2 Makefile --- Makefile 2 Apr 2011 21:33:55 -0000 1.2 +++ Makefile 16 Jun 2011 01:13:57 -0000 @@ -2,8 +2,10 @@ COMMENT = open source message queue optimised for performance -DISTNAME = zeromq-2.0.10 -SHARED_LIBS += zmq 0.0 # 0.0 +DISTNAME = zeromq-2.1.7 + +SHARED_ONLY = Yes +SHARED_LIBS += zmq 1.0 # 1.0 CATEGORIES = net HOMEPAGE = http://zeromq.org Index: distinfo =================================================================== RCS file: /cvs/ports/net/zeromq/distinfo,v retrieving revision 1.1.1.1 diff -a -u -p -r1.1.1.1 distinfo --- distinfo 1 Apr 2011 22:26:54 -0000 1.1.1.1 +++ distinfo 16 Jun 2011 01:13:57 -0000 @@ -1,5 +1,5 @@ -MD5 (zeromq-2.0.10.tar.gz) = q3lKF0IQuegJak79HRpNQg== -RMD160 (zeromq-2.0.10.tar.gz) = N2zHU7nixdOZLgFadXZgTwaFJ68= -SHA1 (zeromq-2.0.10.tar.gz) = 0CLSMp44Loc36s/biczMIekJcjo= -SHA256 (zeromq-2.0.10.tar.gz) = BUTWGH+t70X6P+bDaEN6EwoGIa1aD67Z6+sQowZ5Qqo= -SIZE (zeromq-2.0.10.tar.gz) = 1067165 +MD5 (zeromq-2.1.7.tar.gz) = fTEg+Kj7kTp+VcV8brAk8w== +RMD160 (zeromq-2.1.7.tar.gz) = SH1eUi46W48bCzQVwAdk9E+uE40= +SHA1 (zeromq-2.1.7.tar.gz) = hifvyizdZ+BnAjq8yTRw8nU6EF4= +SHA256 (zeromq-2.1.7.tar.gz) = KhQW0KPqVa4X1DQX/ZvRk0EsyRAeFEvI070Z/jaBbg0= +SIZE (zeromq-2.1.7.tar.gz) = 1877380 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/net/zeromq/patches/patch-configure,v retrieving revision 1.1.1.1 diff -a -u -p -r1.1.1.1 patch-configure --- patches/patch-configure 1 Apr 2011 22:26:54 -0000 1.1.1.1 +++ patches/patch-configure 16 Jun 2011 01:13:57 -0000 @@ -1,19 +1,20 @@ -$OpenBSD: patch-configure,v 1.1.1.1 2011/04/01 22:26:54 jeremy Exp $ ---- configure.orig Mon Mar 21 10:24:35 2011 -+++ configure Mon Mar 21 10:24:54 2011 -@@ -15207,13 +15207,13 @@ fi - LIBZMQ_EXTRA_CXXFLAGS="" - - # Extra LDFLAGS are appended at the end of LDFLAGS for libzmq. --LIBZMQ_EXTRA_LDFLAGS="" -+LIBZMQ_EXTRA_LDFLAGS="-lstdc++ -lm -lssl -lcrypto" - - # By default compiling with -pedantic except QNX and OSX. - pedantic="yes" - - #By default compiling with -Werror except OSX. --werror="yes" -+werror="no" +$OpenBSD$ +--- configure.orig Thu May 12 12:09:22 2011 ++++ configure Thu Jun 16 02:59:55 2011 +@@ -16088,7 +16088,7 @@ + + + # Set pedantic +-libzmq_pedantic="yes" ++libzmq_pedantic="no" + + # By default compiling with -Werror except OSX. + libzmq_werror="yes" +@@ -16101,6 +16101,7 @@ + + # Set some default features required by 0MQ code. + CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE $CPPFLAGS" ++LIBS="-lstdc++ -lm -lssl -lcrypto $LIBS" + + # For host type checks - #Whether we are on mingw or not. - on_mingw32="no" Index: pkg/PFRAG.shared =================================================================== RCS file: pkg/PFRAG.shared diff -N pkg/PFRAG.shared --- pkg/PFRAG.shared 1 Apr 2011 22:26:54 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,2 +0,0 @@ -@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/04/01 22:26:54 jeremy Exp $ -@lib lib/libzmq.so.${LIBzmq_VERSION} Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/zeromq/pkg/PLIST,v retrieving revision 1.1.1.1 diff -a -u -p -r1.1.1.1 PLIST --- pkg/PLIST 1 Apr 2011 22:26:54 -0000 1.1.1.1 +++ pkg/PLIST 16 Jun 2011 01:13:57 -0000 @@ -1,21 +1,16 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/01 22:26:54 jeremy Exp $ -%%SHARED%% -@bin bin/zmq_forwarder -@bin bin/zmq_queue -@bin bin/zmq_streamer +@comment $OpenBSD$ include/zmq.h include/zmq.hpp include/zmq_utils.h lib/libzmq.a lib/libzmq.la +@lib lib/libzmq.so.${LIBzmq_VERSION} lib/pkgconfig/ lib/pkgconfig/libzmq.pc -@man man/man1/zmq_forwarder.1 -@man man/man1/zmq_queue.1 -@man man/man1/zmq_streamer.1 @man man/man3/zmq_bind.3 @man man/man3/zmq_close.3 @man man/man3/zmq_connect.3 +@man man/man3/zmq_device.3 @man man/man3/zmq_errno.3 @man man/man3/zmq_getsockopt.3 @man man/man3/zmq_init.3
