update to czmq-4.0.2

This commit is contained in:
jasper 2017-12-14 11:46:54 +00:00
parent 1b97313b5d
commit 2cbc2fb1fa
4 changed files with 99 additions and 23 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.2 2015/10/30 22:20:21 espie Exp $
# $OpenBSD: Makefile,v 1.3 2017/12/14 11:46:54 jasper Exp $
COMMENT= high-level C binding for ZeroMQ
DISTNAME= czmq-3.0.2
V = 4.0.2
DISTNAME= czmq-$V
SHARED_LIBS += czmq 0.0 # 3.0
SHARED_LIBS += czmq 1.0 # 4.2
CATEGORIES= net
@ -13,19 +14,19 @@ HOMEPAGE= http://czmq.zeromq.org/
# MPLv2.0
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c pthread sodium zmq
WANTLIB += c ossp-uuid pthread sodium zmq
MASTER_SITES= http://download.zeromq.org/
MASTER_SITES= https://github.com/zeromq/czmq/releases/download/v$V/
LIB_DEPENDS= net/zeromq
LIB_DEPENDS= devel/uuid \
net/zeromq
CONFIGURE_STYLE= gnu
# conflicts with lang/mono
CONFIGURE_ARGS += --without-makecert
CONFIGURE_ENV += ac_cv_prog_czmq_have_xmlto=no \
ac_cv_prog_czmq_have_asciidoc=no
ac_cv_prog_czmq_have_asciidoc=no \
uuid_CFLAGS="`pkg-config --cflags ossp-uuid`" \
uuid_LIBS="`pkg-config --libs ossp-uuid`"
### XXX error: stray '\357' in program
UTFAIL= zactor zauth zarmour zbeacon zcertstore zchunk zconfig \

View File

@ -1,2 +1,2 @@
SHA256 (czmq-3.0.2.tar.gz) = i8o5q2k3X6Tpgdr4ez/q6FOE1bQM72rb6dXrBjNXaZo=
SIZE (czmq-3.0.2.tar.gz) = 818110
SHA256 (czmq-4.0.2.tar.gz) = gIx6ImLKcz16LDYuCgD9vl7FF9kPoBe6QFt820+B64k=
SIZE (czmq-4.0.2.tar.gz) = 839331

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-include_czmq_prelude_h,v 1.1 2017/12/14 11:46:54 jasper Exp $
From 6054b8e9a54f5113fb65e1a060b9044068661795 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Thu, 14 Dec 2017 10:46:45 +0100
Subject: [PATCH] Problem: uuid header not correctly included on OpenBSD
Index: include/czmq_prelude.h
--- include/czmq_prelude.h.orig
+++ include/czmq_prelude.h
@@ -596,7 +596,7 @@ unsigned int if_nametoindex (const char *ifname);
# define HAVE_UUID 1
#endif
#if defined (HAVE_UUID)
-# if defined (__UTYPE_FREEBSD) || defined (__UTYPE_NETBSD)
+# if defined (__UTYPE_FREEBSD) || defined (__UTYPE_NETBSD) || defined(__UTYPE_OPENBSD)
# include <uuid.h>
# elif defined __UTYPE_HPUX
# include <dce/uuid.h>

View File

@ -1,19 +1,17 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/06/23 10:26:44 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.2 2017/12/14 11:46:54 jasper Exp $
@bin bin/zmakecert
include/czmq.h
include/czmq_library.h
include/czmq_prelude.h
include/zactor.h
include/zarmour.h
include/zauth.h
include/zauth_v2.h
include/zbeacon.h
include/zbeacon_v2.h
include/zcert.h
include/zcertstore.h
include/zchunk.h
include/zclock.h
include/zconfig.h
include/zctx.h
include/zdigest.h
include/zdir.h
include/zdir_patch.h
@ -27,22 +25,80 @@ include/zlist.h
include/zlistx.h
include/zloop.h
include/zmonitor.h
include/zmonitor_v2.h
include/zmsg.h
include/zmutex.h
include/zpoller.h
include/zproxy.h
include/zproxy_v2.h
include/zrex.h
include/zsock.h
include/zsock_option.h
include/zsocket.h
include/zsockopt.h
include/zstr.h
include/zsys.h
include/zthread.h
include/zuuid.h
lib/libczmq.a
lib/libczmq.la
@lib lib/libczmq.so.${LIBczmq_VERSION}
lib/pkgconfig/libczmq.pc
@man man/man1/zmakecert.1
@man man/man3/zactor.3
@man man/man3/zarmour.3
@man man/man3/zauth.3
@man man/man3/zbeacon.3
@man man/man3/zcert.3
@man man/man3/zcertstore.3
@man man/man3/zchunk.3
@man man/man3/zclock.3
@man man/man3/zconfig.3
@man man/man3/zdigest.3
@man man/man3/zdir.3
@man man/man3/zdir_patch.3
@man man/man3/zfile.3
@man man/man3/zframe.3
@man man/man3/zgossip.3
@man man/man3/zhash.3
@man man/man3/zhashx.3
@man man/man3/ziflist.3
@man man/man3/zlist.3
@man man/man3/zlistx.3
@man man/man3/zloop.3
@man man/man3/zmonitor.3
@man man/man3/zmsg.3
@man man/man3/zpoller.3
@man man/man3/zproc.3
@man man/man3/zproxy.3
@man man/man3/zrex.3
@man man/man3/zsock.3
@man man/man3/zstr.3
@man man/man3/zsys.3
@man man/man3/ztimerset.3
@man man/man3/ztrie.3
@man man/man3/zuuid.3
@man man/man7/czmq.7
share/zproject/
share/zproject/czmq/
share/zproject/czmq/zactor.api
share/zproject/czmq/zarmour.api
share/zproject/czmq/zcert.api
share/zproject/czmq/zcertstore.api
share/zproject/czmq/zchunk.api
share/zproject/czmq/zclock.api
share/zproject/czmq/zconfig.api
share/zproject/czmq/zdigest.api
share/zproject/czmq/zdir.api
share/zproject/czmq/zdir_patch.api
share/zproject/czmq/zfile.api
share/zproject/czmq/zframe.api
share/zproject/czmq/zgossip_msg.api
share/zproject/czmq/zhash.api
share/zproject/czmq/zhashx.api
share/zproject/czmq/ziflist.api
share/zproject/czmq/zlist.api
share/zproject/czmq/zlistx.api
share/zproject/czmq/zloop.api
share/zproject/czmq/zmsg.api
share/zproject/czmq/zpoller.api
share/zproject/czmq/zproc.api
share/zproject/czmq/zsock.api
share/zproject/czmq/zsock_option.api
share/zproject/czmq/zstr.api
share/zproject/czmq/ztimerset.api
share/zproject/czmq/ztrie.api
share/zproject/czmq/zuuid.api