Bug 208182

Summary: [new port] net/corosync: Corosync Cluster Engine
Product: Ports & Packages Reporter: David Shane Holden <dpejesh>
Component: Individual Port(s)Assignee: Tijl Coosemans <tijl>
Status: Closed FIXED    
Severity: Affects Only Me CC: lukasz
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 208181    
Bug Blocks: 208221    
Attachments:
Description Flags
corosync.shar
none
poudriere testport none

Description David Shane Holden 2016-03-21 15:51:40 UTC
Created attachment 168458 [details]
corosync.shar
Comment 1 David Shane Holden 2016-03-21 15:52:04 UTC
Created attachment 168459 [details]
poudriere testport
Comment 2 David Shane Holden 2016-03-22 21:06:25 UTC
I made a mistake in the pkg-plist for this.

share/snmp/mibs/COROSYNC-MIB.txt

should be

%%SNMP%%share/snmp/mibs/COROSYNC-MIB.txt
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-03-24 10:15:04 UTC
A commit references this bug:

Author: tijl
Date: Thu Mar 24 10:14:12 UTC 2016
New revision: 411764
URL: https://svnweb.freebsd.org/changeset/ports/411764

Log:
  Add net/corosync.

  The Corosync Cluster Engine is a Group Communication System with additional
  features for implementing high availability within applications. The project
  provides four C Application Programming Interface features:

  * A closed process group communication model with virtual synchrony
    guarantees for creating replicated state machines.
  * A simple availability manager that restarts the application process when it
    has failed.
  * A configuration and statistics in-memory database that provide the ability
    to set, retrieve, and receive change notifications of information.
  * A quorum system that notifies applications when quorum is achieved or
    lost.

  Corosync is used as a High Availability framework by projects such as Apache
  Qpid and Pacemaker.

  PR:		208182
  Submitted by:	David Shane Holden <dpejesh@yahoo.com>

Changes:
  head/net/Makefile
  head/net/corosync/
  head/net/corosync/Makefile
  head/net/corosync/distinfo
  head/net/corosync/files/
  head/net/corosync/files/corosync-notifyd.in
  head/net/corosync/files/corosync.in
  head/net/corosync/files/patch-exec-votequorum.c
  head/net/corosync/files/patch-test-cpghum.c
  head/net/corosync/pkg-descr
  head/net/corosync/pkg-plist
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2016-03-24 10:17:03 UTC
Committed without USE_GCC because it seems to build fine with Clang.  Was there a reason it needed GCC?
Comment 5 David Shane Holden 2016-03-24 11:07:28 UTC
It actually needs GCC.  When built with clang it segfaults.

# corosync -f
error   [QB    ] Invalid shared object handle 0x801cf6910
Segmentation fault (core dumped)
Comment 6 commit-hook freebsd_committer freebsd_triage 2016-03-24 11:53:32 UTC
A commit references this bug:

Author: tijl
Date: Thu Mar 24 11:52:34 UTC 2016
New revision: 411773
URL: https://svnweb.freebsd.org/changeset/ports/411773

Log:
  Build with GCC.  It segfaults with Clang.

  PR:		208182

Changes:
  head/net/corosync/Makefile