Index: head/net/corosync/Makefile =================================================================== --- head/net/corosync/Makefile (revision 443500) +++ head/net/corosync/Makefile (revision 443501) @@ -1,41 +1,39 @@ # Created by: dpejesh@yahoo.com # $FreeBSD$ PORTNAME= corosync -PORTVERSION= 2.3.5 -PORTREVISION= 4 +PORTVERSION= 2.4.2 CATEGORIES= net MASTER_SITES= http://build.clusterlabs.org/corosync/releases/ MAINTAINER= dpejesh@yahoo.com COMMENT= Corosync Cluster Engine 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 OPTIONS_SUB= yes DBUS_LIB_DEPENDS+= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus SNMP_LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_ENABLE= snmp post-install: ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync-notifyd ${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d .include Index: head/net/corosync/distinfo =================================================================== --- head/net/corosync/distinfo (revision 443500) +++ head/net/corosync/distinfo (revision 443501) @@ -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-test-cpghum.c =================================================================== --- head/net/corosync/files/patch-test-cpghum.c (revision 443500) +++ head/net/corosync/files/patch-test-cpghum.c (nonexistent) @@ -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; Property changes on: head/net/corosync/files/patch-test-cpghum.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/corosync/files/patch-exec-votequorum.c =================================================================== --- head/net/corosync/files/patch-exec-votequorum.c (revision 443500) +++ head/net/corosync/files/patch-exec-votequorum.c (nonexistent) @@ -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(); - } Property changes on: head/net/corosync/files/patch-exec-votequorum.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/corosync/pkg-plist =================================================================== --- head/net/corosync/pkg-plist (revision 443500) +++ head/net/corosync/pkg-plist (revision 443501) @@ -1,253 +1,253 @@ bin/corosync-blackbox %%ETCDIR%%/corosync.conf.example %%ETCDIR%%/corosync.conf.example.udpu etc/logrotate.d/corosync include/corosync/cfg.h include/corosync/cmap.h include/corosync/corodefs.h include/corosync/corotypes.h include/corosync/cpg.h include/corosync/hdb.h include/corosync/quorum.h include/corosync/sam.h include/corosync/totem/totem.h include/corosync/totem/totemip.h include/corosync/totem/totempg.h include/corosync/votequorum.h lib/libcfg.a lib/libcfg.so lib/libcfg.so.6 lib/libcfg.so.6.0.0 lib/libcmap.a lib/libcmap.so lib/libcmap.so.4 lib/libcmap.so.4.1.0 lib/libcorosync_common.a lib/libcorosync_common.so lib/libcorosync_common.so.4 lib/libcorosync_common.so.4.0.0 lib/libcpg.a lib/libcpg.so lib/libcpg.so.4 lib/libcpg.so.4.1.0 lib/libquorum.a lib/libquorum.so lib/libquorum.so.5 lib/libquorum.so.5.0.0 lib/libsam.a lib/libsam.so lib/libsam.so.4 lib/libsam.so.4.4.0 lib/libtotem_pg.a lib/libtotem_pg.so lib/libtotem_pg.so.5 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 libdata/pkgconfig/libcorosync_common.pc libdata/pkgconfig/libcpg.pc libdata/pkgconfig/libquorum.pc libdata/pkgconfig/libsam.pc libdata/pkgconfig/libtotem_pg.pc libdata/pkgconfig/libvotequorum.pc man/man3/cmap_context_get.3.gz man/man3/cmap_context_set.3.gz man/man3/cmap_dec.3.gz man/man3/cmap_delete.3.gz man/man3/cmap_dispatch.3.gz man/man3/cmap_fd_get.3.gz man/man3/cmap_finalize.3.gz man/man3/cmap_get.3.gz man/man3/cmap_inc.3.gz man/man3/cmap_initialize.3.gz man/man3/cmap_iter_finalize.3.gz man/man3/cmap_iter_init.3.gz man/man3/cmap_iter_next.3.gz man/man3/cmap_set.3.gz man/man3/cmap_track_add.3.gz man/man3/cmap_track_delete.3.gz man/man3/cpg_context_get.3.gz man/man3/cpg_context_set.3.gz man/man3/cpg_dispatch.3.gz man/man3/cpg_fd_get.3.gz man/man3/cpg_finalize.3.gz man/man3/cpg_initialize.3.gz man/man3/cpg_iteration_finalize.3.gz man/man3/cpg_iteration_initialize.3.gz man/man3/cpg_iteration_next.3.gz man/man3/cpg_join.3.gz man/man3/cpg_leave.3.gz man/man3/cpg_local_get.3.gz man/man3/cpg_mcast_joined.3.gz man/man3/cpg_membership_get.3.gz man/man3/cpg_model_initialize.3.gz man/man3/cpg_zcb_alloc.3.gz man/man3/cpg_zcb_free.3.gz man/man3/cpg_zcb_mcast_joined.3.gz man/man3/quorum_context_get.3.gz man/man3/quorum_context_set.3.gz man/man3/quorum_dispatch.3.gz man/man3/quorum_fd_get.3.gz man/man3/quorum_finalize.3.gz man/man3/quorum_getquorate.3.gz man/man3/quorum_initialize.3.gz man/man3/quorum_trackstart.3.gz man/man3/quorum_trackstop.3.gz man/man3/sam_data_getsize.3.gz man/man3/sam_data_restore.3.gz man/man3/sam_data_store.3.gz man/man3/sam_finalize.3.gz man/man3/sam_hc_callback_register.3.gz man/man3/sam_hc_send.3.gz man/man3/sam_initialize.3.gz man/man3/sam_mark_failed.3.gz man/man3/sam_register.3.gz man/man3/sam_start.3.gz man/man3/sam_stop.3.gz man/man3/sam_warn_signal_set.3.gz man/man3/votequorum_context_get.3.gz man/man3/votequorum_context_set.3.gz man/man3/votequorum_dispatch.3.gz man/man3/votequorum_fd_get.3.gz man/man3/votequorum_finalize.3.gz man/man3/votequorum_getinfo.3.gz man/man3/votequorum_initialize.3.gz man/man3/votequorum_qdevice_master_wins.3.gz man/man3/votequorum_qdevice_poll.3.gz man/man3/votequorum_qdevice_register.3.gz man/man3/votequorum_qdevice_unregister.3.gz man/man3/votequorum_qdevice_update.3.gz man/man3/votequorum_setexpected.3.gz man/man3/votequorum_setvotes.3.gz man/man3/votequorum_trackstart.3.gz man/man3/votequorum_trackstop.3.gz man/man5/corosync.conf.5.gz man/man5/votequorum.5.gz man/man8/cmap_keys.8.gz man/man8/cmap_overview.8.gz man/man8/corosync-blackbox.8.gz man/man8/corosync-cfgtool.8.gz man/man8/corosync-cmapctl.8.gz man/man8/corosync-cpgtool.8.gz man/man8/corosync-keygen.8.gz man/man8/corosync-notifyd.8.gz man/man8/corosync-quorumtool.8.gz man/man8/corosync.8.gz man/man8/corosync_overview.8.gz man/man8/cpg_overview.8.gz man/man8/quorum_overview.8.gz man/man8/sam_overview.8.gz man/man8/votequorum_overview.8.gz sbin/corosync sbin/corosync-cfgtool sbin/corosync-cmapctl sbin/corosync-cpgtool sbin/corosync-keygen sbin/corosync-notifyd sbin/corosync-quorumtool %%SNMP%%share/snmp/mibs/COROSYNC-MIB.txt %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README.recovery %%PORTDOCS%%%%DOCSDIR%%/SECURITY %%PORTDOCS%%%%DOCSDIR%%/html/cmap_context_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_context_set.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_dec.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_delete.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_dispatch.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_fd_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_inc.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_init.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_next.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_keys.8.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_overview.8.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_set.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_track_add.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cmap_track_delete.3.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-blackbox.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-cfgtool.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-cmapctl.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-cpgtool.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-keygen.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-notifyd.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync-quorumtool.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync.8.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync.conf.5.html %%PORTDOCS%%%%DOCSDIR%%/html/corosync_overview.8.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_context_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_context_set.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_dispatch.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_fd_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_next.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_join.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_leave.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_local_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_mcast_joined.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_membership_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_model_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_overview.8.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_alloc.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_free.3.html %%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_mcast_joined.3.html %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_context_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_context_set.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_dispatch.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_fd_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_getquorate.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_overview.8.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_trackstart.3.html %%PORTDOCS%%%%DOCSDIR%%/html/quorum_trackstop.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_data_getsize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_data_restore.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_data_store.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_hc_callback_register.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_hc_send.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_mark_failed.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_overview.8.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_register.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_start.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_stop.3.html %%PORTDOCS%%%%DOCSDIR%%/html/sam_warn_signal_set.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum.5.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_context_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_context_set.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_dispatch.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_fd_get.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_finalize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_getinfo.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_initialize.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_overview.8.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_master_wins.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_poll.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_register.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_unregister.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_update.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_setexpected.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_setvotes.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_trackstart.3.html %%PORTDOCS%%%%DOCSDIR%%/html/votequorum_trackstop.3.html %%DBUS%%etc/dbus-1/system.d/corosync-signals.conf @dir %%ETCDIR%%/service.d @dir %%ETCDIR%%/uidgid.d @dir /var/lib/corosync @dir /var/lib @dir /var/log/cluster