Index: head/net/corosync/Makefile =================================================================== --- head/net/corosync/Makefile +++ head/net/corosync/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= corosync -PORTVERSION= 2.3.5 -PORTREVISION= 4 +PORTVERSION= 2.4.2 CATEGORIES= net MASTER_SITES= http://build.clusterlabs.org/corosync/releases/ @@ -12,16 +11,15 @@ LICENSE= BSD3CLAUSE -BROKEN= fails to build - -LIB_DEPENDS= libnss3.so:security/nss \ +LIB_DEPENDS= libnspr4.so:devel/nspr \ + libnss3.so:security/nss \ libqb.so:devel/libqb USES= gmake groff libtool pathfix pkgconfig -USE_GCC= yes # segfaults when built with Clang USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} ${PORTNAME}-notifyd GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-secure-build INSTALL_TARGET= install-strip OPTIONS_DEFINE= DBUS SNMP Index: head/net/corosync/distinfo =================================================================== --- head/net/corosync/distinfo +++ head/net/corosync/distinfo @@ -1,2 +1,3 @@ -SHA256 (corosync-2.3.5.tar.gz) = 1d48cdfa224b0ceb02e27fe9d56b738fb2a92262b04b15bb3a67e1c4248da8e2 -SIZE (corosync-2.3.5.tar.gz) = 1012915 +TIMESTAMP = 1479205097 +SHA256 (corosync-2.4.2.tar.gz) = f26e3011309fe4bcce94b1dc20ea8c462f19483a73f3ca62f13b925d011a4ba9 +SIZE (corosync-2.4.2.tar.gz) = 1152240 Index: head/net/corosync/files/patch-exec-votequorum.c =================================================================== --- head/net/corosync/files/patch-exec-votequorum.c +++ head/net/corosync/files/patch-exec-votequorum.c @@ -1,11 +0,0 @@ ---- exec/votequorum.c.orig 2015-06-22 14:03:28 UTC -+++ exec/votequorum.c -@@ -893,7 +893,7 @@ static void update_ev_tracking_barrier(u - log_printf(LOGSYS_LEVEL_WARNING, - "Unable to update ev_tracking_barrier on disk data!!!"); - } -- fdatasync(ev_tracking_fd); -+ fsync(ev_tracking_fd); - - LEAVE(); - } Index: head/net/corosync/files/patch-test-cpghum.c =================================================================== --- head/net/corosync/files/patch-test-cpghum.c +++ head/net/corosync/files/patch-test-cpghum.c @@ -1,11 +0,0 @@ ---- test/cpghum.c.orig 2015-06-22 14:03:28 UTC -+++ test/cpghum.c -@@ -116,7 +116,7 @@ static void cpg_bm_deliver_fn ( - { - int *value = msg; - uLong crc=0; -- ulong recv_crc = value[1] & 0xFFFFFFFF; -+ uLong recv_crc = value[1] & 0xFFFFFFFF; - - packets_recvd++; - g_recv_length = msg_len; Index: head/net/corosync/pkg-plist =================================================================== --- head/net/corosync/pkg-plist +++ head/net/corosync/pkg-plist @@ -44,8 +44,8 @@ lib/libtotem_pg.so.5.0.0 lib/libvotequorum.a lib/libvotequorum.so -lib/libvotequorum.so.7 -lib/libvotequorum.so.7.0.0 +lib/libvotequorum.so.8 +lib/libvotequorum.so.8.0.0 libdata/pkgconfig/corosync.pc libdata/pkgconfig/libcfg.pc libdata/pkgconfig/libcmap.pc