View | Details | Raw Unified | Return to bug 228164 | Differences between
and this patch

Collapse All | Expand All

(-)net/Makefile (-1 / +1 lines)
Lines 88-94 Link Here
88
    SUBDIR += coda6_server
88
    SUBDIR += coda6_server
89
    SUBDIR += concourse-fly
89
    SUBDIR += concourse-fly
90
    SUBDIR += corkscrew
90
    SUBDIR += corkscrew
91
    SUBDIR += corosync
91
    SUBDIR += corosync2
92
    SUBDIR += courier-authlib-ldap
92
    SUBDIR += courier-authlib-ldap
93
    SUBDIR += cppzmq
93
    SUBDIR += cppzmq
94
    SUBDIR += crtmpserver
94
    SUBDIR += crtmpserver
(-)net/corosync/Makefile (-42 lines)
Lines 1-42 Link Here
1
# Created by: dpejesh@yahoo.com
2
# $FreeBSD$
3
4
PORTNAME=	corosync
5
PORTVERSION=	2.4.2
6
PORTREVISION=	1
7
CATEGORIES=	net
8
MASTER_SITES=	http://build.clusterlabs.org/corosync/releases/
9
10
MAINTAINER=	dpejesh@yahoo.com
11
COMMENT=	Corosync Cluster Engine
12
13
LICENSE=	BSD3CLAUSE
14
15
LIB_DEPENDS=	libnspr4.so:devel/nspr \
16
		libnss3.so:security/nss \
17
		libqb.so.0:devel/libqb
18
19
USES=		gmake groff libtool pathfix pkgconfig
20
USE_BINUTILS=	yes
21
USE_LDCONFIG=	yes
22
USE_RC_SUBR=	${PORTNAME} ${PORTNAME}-notifyd
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--disable-secure-build
25
LDFLAGS+=	-B${LOCALBASE}/bin
26
INSTALL_TARGET=	install-strip
27
28
OPTIONS_DEFINE=	DBUS SNMP
29
OPTIONS_SUB=	yes
30
31
DBUS_LIB_DEPENDS+=	libdbus-1.so:devel/dbus
32
DBUS_CONFIGURE_ENABLE=	dbus
33
34
SNMP_LIB_DEPENDS+=	libnetsnmp.so:net-mgmt/net-snmp
35
SNMP_CONFIGURE_ENABLE=	snmp
36
37
post-install:
38
	${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync
39
	${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync-notifyd
40
	${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d
41
42
.include <bsd.port.mk>
(-)net/corosync/distinfo (-3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1479205097
2
SHA256 (corosync-2.4.2.tar.gz) = f26e3011309fe4bcce94b1dc20ea8c462f19483a73f3ca62f13b925d011a4ba9
3
SIZE (corosync-2.4.2.tar.gz) = 1152240
(-)net/corosync/files/corosync-notifyd.in (-20 lines)
Lines 1-20 Link Here
1
#!/bin/sh
2
# $FreeBSD$
3
4
# PROVIDE: corosync-notifyd
5
# REQUIRE: LOGIN FILESYSTEMS
6
# KEYWORD: shutdown
7
8
. /etc/rc.subr
9
10
name="corosync_notifyd"
11
rcvar="corosync_notifyd_enable"
12
13
load_rc_config $name
14
15
: ${corosync_notifyd_enable:=NO}
16
17
command="%%PREFIX%%/sbin/corosync-notifyd"
18
command_args="-l"
19
20
run_rc_command "$1"
(-)net/corosync/files/corosync.in (-19 lines)
Lines 1-19 Link Here
1
#!/bin/sh
2
# $FreeBSD$
3
4
# PROVIDE: corosync
5
# REQUIRE: LOGIN FILESYSTEMS
6
# KEYWORD: shutdown
7
8
. /etc/rc.subr
9
10
name="corosync"
11
rcvar="corosync_enable"
12
13
load_rc_config $name
14
15
: ${corosync_enable:=NO}
16
17
command="%%PREFIX%%/sbin/corosync"
18
19
run_rc_command "$1"
(-)net/corosync/pkg-descr (-16 lines)
Lines 1-16 Link Here
1
The Corosync Cluster Engine is a Group Communication System with additional
2
features for implementing high availability within applications. The project
3
provides four C Application Programming Interface features:
4
5
* A closed process group communication model with virtual synchrony guarantees
6
  for creating replicated state machines.
7
* A simple availability manager that restarts the application process when it
8
  has failed.
9
* A configuration and statistics in-memory database that provide the ability
10
  to set, retrieve, and receive change notifications of information.
11
* A quorum system that notifies applications when quorum is achieved or lost.
12
13
Corosync is used as a High Availability framework by projects such as Apache
14
Qpid and Pacemaker.
15
16
WWW: https://corosync.github.io/corosync/
(-)net/corosync/pkg-plist (-253 lines)
Lines 1-253 Link Here
1
bin/corosync-blackbox
2
%%ETCDIR%%/corosync.conf.example
3
%%ETCDIR%%/corosync.conf.example.udpu
4
etc/logrotate.d/corosync
5
include/corosync/cfg.h
6
include/corosync/cmap.h
7
include/corosync/corodefs.h
8
include/corosync/corotypes.h
9
include/corosync/cpg.h
10
include/corosync/hdb.h
11
include/corosync/quorum.h
12
include/corosync/sam.h
13
include/corosync/totem/totem.h
14
include/corosync/totem/totemip.h
15
include/corosync/totem/totempg.h
16
include/corosync/votequorum.h
17
lib/libcfg.a
18
lib/libcfg.so
19
lib/libcfg.so.6
20
lib/libcfg.so.6.0.0
21
lib/libcmap.a
22
lib/libcmap.so
23
lib/libcmap.so.4
24
lib/libcmap.so.4.1.0
25
lib/libcorosync_common.a
26
lib/libcorosync_common.so
27
lib/libcorosync_common.so.4
28
lib/libcorosync_common.so.4.0.0
29
lib/libcpg.a
30
lib/libcpg.so
31
lib/libcpg.so.4
32
lib/libcpg.so.4.1.0
33
lib/libquorum.a
34
lib/libquorum.so
35
lib/libquorum.so.5
36
lib/libquorum.so.5.0.0
37
lib/libsam.a
38
lib/libsam.so
39
lib/libsam.so.4
40
lib/libsam.so.4.4.0
41
lib/libtotem_pg.a
42
lib/libtotem_pg.so
43
lib/libtotem_pg.so.5
44
lib/libtotem_pg.so.5.0.0
45
lib/libvotequorum.a
46
lib/libvotequorum.so
47
lib/libvotequorum.so.8
48
lib/libvotequorum.so.8.0.0
49
libdata/pkgconfig/corosync.pc
50
libdata/pkgconfig/libcfg.pc
51
libdata/pkgconfig/libcmap.pc
52
libdata/pkgconfig/libcorosync_common.pc
53
libdata/pkgconfig/libcpg.pc
54
libdata/pkgconfig/libquorum.pc
55
libdata/pkgconfig/libsam.pc
56
libdata/pkgconfig/libtotem_pg.pc
57
libdata/pkgconfig/libvotequorum.pc
58
man/man3/cmap_context_get.3.gz
59
man/man3/cmap_context_set.3.gz
60
man/man3/cmap_dec.3.gz
61
man/man3/cmap_delete.3.gz
62
man/man3/cmap_dispatch.3.gz
63
man/man3/cmap_fd_get.3.gz
64
man/man3/cmap_finalize.3.gz
65
man/man3/cmap_get.3.gz
66
man/man3/cmap_inc.3.gz
67
man/man3/cmap_initialize.3.gz
68
man/man3/cmap_iter_finalize.3.gz
69
man/man3/cmap_iter_init.3.gz
70
man/man3/cmap_iter_next.3.gz
71
man/man3/cmap_set.3.gz
72
man/man3/cmap_track_add.3.gz
73
man/man3/cmap_track_delete.3.gz
74
man/man3/cpg_context_get.3.gz
75
man/man3/cpg_context_set.3.gz
76
man/man3/cpg_dispatch.3.gz
77
man/man3/cpg_fd_get.3.gz
78
man/man3/cpg_finalize.3.gz
79
man/man3/cpg_initialize.3.gz
80
man/man3/cpg_iteration_finalize.3.gz
81
man/man3/cpg_iteration_initialize.3.gz
82
man/man3/cpg_iteration_next.3.gz
83
man/man3/cpg_join.3.gz
84
man/man3/cpg_leave.3.gz
85
man/man3/cpg_local_get.3.gz
86
man/man3/cpg_mcast_joined.3.gz
87
man/man3/cpg_membership_get.3.gz
88
man/man3/cpg_model_initialize.3.gz
89
man/man3/cpg_zcb_alloc.3.gz
90
man/man3/cpg_zcb_free.3.gz
91
man/man3/cpg_zcb_mcast_joined.3.gz
92
man/man3/quorum_context_get.3.gz
93
man/man3/quorum_context_set.3.gz
94
man/man3/quorum_dispatch.3.gz
95
man/man3/quorum_fd_get.3.gz
96
man/man3/quorum_finalize.3.gz
97
man/man3/quorum_getquorate.3.gz
98
man/man3/quorum_initialize.3.gz
99
man/man3/quorum_trackstart.3.gz
100
man/man3/quorum_trackstop.3.gz
101
man/man3/sam_data_getsize.3.gz
102
man/man3/sam_data_restore.3.gz
103
man/man3/sam_data_store.3.gz
104
man/man3/sam_finalize.3.gz
105
man/man3/sam_hc_callback_register.3.gz
106
man/man3/sam_hc_send.3.gz
107
man/man3/sam_initialize.3.gz
108
man/man3/sam_mark_failed.3.gz
109
man/man3/sam_register.3.gz
110
man/man3/sam_start.3.gz
111
man/man3/sam_stop.3.gz
112
man/man3/sam_warn_signal_set.3.gz
113
man/man3/votequorum_context_get.3.gz
114
man/man3/votequorum_context_set.3.gz
115
man/man3/votequorum_dispatch.3.gz
116
man/man3/votequorum_fd_get.3.gz
117
man/man3/votequorum_finalize.3.gz
118
man/man3/votequorum_getinfo.3.gz
119
man/man3/votequorum_initialize.3.gz
120
man/man3/votequorum_qdevice_master_wins.3.gz
121
man/man3/votequorum_qdevice_poll.3.gz
122
man/man3/votequorum_qdevice_register.3.gz
123
man/man3/votequorum_qdevice_unregister.3.gz
124
man/man3/votequorum_qdevice_update.3.gz
125
man/man3/votequorum_setexpected.3.gz
126
man/man3/votequorum_setvotes.3.gz
127
man/man3/votequorum_trackstart.3.gz
128
man/man3/votequorum_trackstop.3.gz
129
man/man5/corosync.conf.5.gz
130
man/man5/votequorum.5.gz
131
man/man8/cmap_keys.8.gz
132
man/man8/cmap_overview.8.gz
133
man/man8/corosync-blackbox.8.gz
134
man/man8/corosync-cfgtool.8.gz
135
man/man8/corosync-cmapctl.8.gz
136
man/man8/corosync-cpgtool.8.gz
137
man/man8/corosync-keygen.8.gz
138
man/man8/corosync-notifyd.8.gz
139
man/man8/corosync-quorumtool.8.gz
140
man/man8/corosync.8.gz
141
man/man8/corosync_overview.8.gz
142
man/man8/cpg_overview.8.gz
143
man/man8/quorum_overview.8.gz
144
man/man8/sam_overview.8.gz
145
man/man8/votequorum_overview.8.gz
146
sbin/corosync
147
sbin/corosync-cfgtool
148
sbin/corosync-cmapctl
149
sbin/corosync-cpgtool
150
sbin/corosync-keygen
151
sbin/corosync-notifyd
152
sbin/corosync-quorumtool
153
%%SNMP%%share/snmp/mibs/COROSYNC-MIB.txt
154
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
155
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
156
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
157
%%PORTDOCS%%%%DOCSDIR%%/README.recovery
158
%%PORTDOCS%%%%DOCSDIR%%/SECURITY
159
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_context_get.3.html
160
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_context_set.3.html
161
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_dec.3.html
162
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_delete.3.html
163
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_dispatch.3.html
164
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_fd_get.3.html
165
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_finalize.3.html
166
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_get.3.html
167
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_inc.3.html
168
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_initialize.3.html
169
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_finalize.3.html
170
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_init.3.html
171
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_next.3.html
172
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_keys.8.html
173
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_overview.8.html
174
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_set.3.html
175
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_track_add.3.html
176
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_track_delete.3.html
177
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-blackbox.8.html
178
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-cfgtool.8.html
179
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-cmapctl.8.html
180
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-cpgtool.8.html
181
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-keygen.8.html
182
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-notifyd.8.html
183
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-quorumtool.8.html
184
%%PORTDOCS%%%%DOCSDIR%%/html/corosync.8.html
185
%%PORTDOCS%%%%DOCSDIR%%/html/corosync.conf.5.html
186
%%PORTDOCS%%%%DOCSDIR%%/html/corosync_overview.8.html
187
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_context_get.3.html
188
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_context_set.3.html
189
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_dispatch.3.html
190
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_fd_get.3.html
191
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_finalize.3.html
192
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_initialize.3.html
193
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_finalize.3.html
194
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_initialize.3.html
195
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_next.3.html
196
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_join.3.html
197
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_leave.3.html
198
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_local_get.3.html
199
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_mcast_joined.3.html
200
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_membership_get.3.html
201
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_model_initialize.3.html
202
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_overview.8.html
203
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_alloc.3.html
204
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_free.3.html
205
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_mcast_joined.3.html
206
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
207
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_context_get.3.html
208
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_context_set.3.html
209
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_dispatch.3.html
210
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_fd_get.3.html
211
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_finalize.3.html
212
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_getquorate.3.html
213
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_initialize.3.html
214
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_overview.8.html
215
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_trackstart.3.html
216
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_trackstop.3.html
217
%%PORTDOCS%%%%DOCSDIR%%/html/sam_data_getsize.3.html
218
%%PORTDOCS%%%%DOCSDIR%%/html/sam_data_restore.3.html
219
%%PORTDOCS%%%%DOCSDIR%%/html/sam_data_store.3.html
220
%%PORTDOCS%%%%DOCSDIR%%/html/sam_finalize.3.html
221
%%PORTDOCS%%%%DOCSDIR%%/html/sam_hc_callback_register.3.html
222
%%PORTDOCS%%%%DOCSDIR%%/html/sam_hc_send.3.html
223
%%PORTDOCS%%%%DOCSDIR%%/html/sam_initialize.3.html
224
%%PORTDOCS%%%%DOCSDIR%%/html/sam_mark_failed.3.html
225
%%PORTDOCS%%%%DOCSDIR%%/html/sam_overview.8.html
226
%%PORTDOCS%%%%DOCSDIR%%/html/sam_register.3.html
227
%%PORTDOCS%%%%DOCSDIR%%/html/sam_start.3.html
228
%%PORTDOCS%%%%DOCSDIR%%/html/sam_stop.3.html
229
%%PORTDOCS%%%%DOCSDIR%%/html/sam_warn_signal_set.3.html
230
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum.5.html
231
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_context_get.3.html
232
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_context_set.3.html
233
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_dispatch.3.html
234
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_fd_get.3.html
235
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_finalize.3.html
236
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_getinfo.3.html
237
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_initialize.3.html
238
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_overview.8.html
239
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_master_wins.3.html
240
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_poll.3.html
241
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_register.3.html
242
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_unregister.3.html
243
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_update.3.html
244
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_setexpected.3.html
245
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_setvotes.3.html
246
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_trackstart.3.html
247
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_trackstop.3.html
248
%%DBUS%%etc/dbus-1/system.d/corosync-signals.conf
249
@dir %%ETCDIR%%/service.d
250
@dir %%ETCDIR%%/uidgid.d
251
@dir /var/lib/corosync
252
@dir /var/lib
253
@dir /var/log/cluster
(-)net/corosync2/Makefile (+11 lines)
Line 0 Link Here
1
# Created by: David Shane Holden <dpejesh@yahoo.com>
2
# $FreeBSD$
3
4
PORTVERSION=		2.4.4
5
PKGNAMESUFFIX=		2
6
7
.include "${.CURDIR}/Makefile.common"
8
9
CONFLICTS=		corosync3-[0-9]*
10
11
.include <bsd.port.mk>
(-)net/corosync2/Makefile.common (+41 lines)
Line 0 Link Here
1
# Created by: David Shane Holden <dpejesh@yahoo.com>
2
# $FreeBSD$
3
4
PORTNAME=		corosync
5
CATEGORIES=		net
6
MASTER_SITES=		http://build.clusterlabs.org/corosync/releases/
7
8
MAINTAINER=		dpejesh@yahoo.com
9
COMMENT=		Corosync Cluster Engine
10
11
LICENSE=		BSD3CLAUSE
12
13
LIB_DEPENDS=		libnspr4.so:devel/nspr \
14
			libnss3.so:security/nss \
15
			libqb.so.0:devel/libqb
16
17
TEST_DEPENDS=		augparse:textproc/augeas
18
19
USES=			gmake groff libtool pathfix pkgconfig
20
USE_BINUTILS=		yes
21
USE_LDCONFIG=		yes
22
USE_RC_SUBR=		${PORTNAME} ${PORTNAME}-notifyd
23
GNU_CONFIGURE=		yes
24
CONFIGURE_ARGS=		--disable-secure-build
25
LDFLAGS+=		-B${LOCALBASE}/bin
26
INSTALL_TARGET=		install-strip
27
TEST_TARGET=		check
28
29
OPTIONS_DEFINE=		DBUS SNMP
30
OPTIONS_SUB=		yes
31
32
DBUS_LIB_DEPENDS+=	libdbus-1.so:devel/dbus
33
DBUS_CONFIGURE_ENABLE=	dbus
34
35
SNMP_LIB_DEPENDS+=	libnetsnmp.so:net-mgmt/net-snmp
36
SNMP_CONFIGURE_ENABLE=	snmp
37
38
post-install:
39
	${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync
40
	${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync-notifyd
41
	${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d
(-)net/corosync2/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1523569567
2
SHA256 (corosync-2.4.4.tar.gz) = 9bd4707bb271df16f8d543ec782eb4c35ec0330b7be696b797da4bd8f058a25d
3
SIZE (corosync-2.4.4.tar.gz) = 1204051
(-)net/corosync2/files/corosync-notifyd.in (+20 lines)
Line 0 Link Here
1
#!/bin/sh
2
# $FreeBSD$
3
4
# PROVIDE: corosync-notifyd
5
# REQUIRE: LOGIN FILESYSTEMS
6
# KEYWORD: shutdown
7
8
. /etc/rc.subr
9
10
name="corosync_notifyd"
11
rcvar="corosync_notifyd_enable"
12
13
load_rc_config $name
14
15
: ${corosync_notifyd_enable:=NO}
16
17
command="%%PREFIX%%/sbin/corosync-notifyd"
18
command_args="-l"
19
20
run_rc_command "$1"
(-)net/corosync2/files/corosync.in (+27 lines)
Line 0 Link Here
1
#!/bin/sh
2
# $FreeBSD$
3
4
# PROVIDE: corosync
5
# REQUIRE: LOGIN FILESYSTEMS
6
# KEYWORD: shutdown
7
8
. /etc/rc.subr
9
10
name="corosync"
11
rcvar="corosync_enable"
12
start_precmd="corosync_precmd"
13
14
corosync_precmd()
15
{
16
	if [ `${SYSCTL_N} kern.ipc.maxsockbuf` -lt 18874368 ]; then
17
		err 3 "sysctl:kern.ipc.maxsockbuf must be at least 18874368"
18
	fi
19
}
20
21
load_rc_config $name
22
23
: ${corosync_enable:=NO}
24
25
command="%%PREFIX%%/sbin/corosync"
26
27
run_rc_command "$1"
(-)net/corosync2/pkg-descr (+16 lines)
Line 0 Link Here
1
The Corosync Cluster Engine is a Group Communication System with additional
2
features for implementing high availability within applications. The project
3
provides four C Application Programming Interface features:
4
5
* A closed process group communication model with virtual synchrony guarantees
6
  for creating replicated state machines.
7
* A simple availability manager that restarts the application process when it
8
  has failed.
9
* A configuration and statistics in-memory database that provide the ability
10
  to set, retrieve, and receive change notifications of information.
11
* A quorum system that notifies applications when quorum is achieved or lost.
12
13
Corosync is used as a High Availability framework by projects such as Apache
14
Qpid and Pacemaker.
15
16
WWW: https://corosync.github.io/corosync/
(-)net/corosync2/pkg-message (+9 lines)
Line 0 Link Here
1
For correct operation, maximum socket buffer size must be tuned
2
by performing the following command as root :
3
4
# sysctl kern.ipc.maxsockbuf=18874368
5
6
To preserve this setting across reboots, append the following
7
to /etc/sysctl.conf :
8
9
kern.ipc.maxsockbuf=18874368
(-)net/corosync2/pkg-plist (+253 lines)
Line 0 Link Here
1
bin/corosync-blackbox
2
%%ETCDIR%%/corosync.conf.example
3
%%ETCDIR%%/corosync.conf.example.udpu
4
etc/logrotate.d/corosync
5
include/corosync/cfg.h
6
include/corosync/cmap.h
7
include/corosync/corodefs.h
8
include/corosync/corotypes.h
9
include/corosync/cpg.h
10
include/corosync/hdb.h
11
include/corosync/quorum.h
12
include/corosync/sam.h
13
include/corosync/totem/totem.h
14
include/corosync/totem/totemip.h
15
include/corosync/totem/totempg.h
16
include/corosync/votequorum.h
17
lib/libcfg.a
18
lib/libcfg.so
19
lib/libcfg.so.6
20
lib/libcfg.so.6.0.0
21
lib/libcmap.a
22
lib/libcmap.so
23
lib/libcmap.so.4
24
lib/libcmap.so.4.1.0
25
lib/libcorosync_common.a
26
lib/libcorosync_common.so
27
lib/libcorosync_common.so.4
28
lib/libcorosync_common.so.4.0.0
29
lib/libcpg.a
30
lib/libcpg.so
31
lib/libcpg.so.4
32
lib/libcpg.so.4.1.0
33
lib/libquorum.a
34
lib/libquorum.so
35
lib/libquorum.so.5
36
lib/libquorum.so.5.0.0
37
lib/libsam.a
38
lib/libsam.so
39
lib/libsam.so.4
40
lib/libsam.so.4.4.0
41
lib/libtotem_pg.a
42
lib/libtotem_pg.so
43
lib/libtotem_pg.so.5
44
lib/libtotem_pg.so.5.0.0
45
lib/libvotequorum.a
46
lib/libvotequorum.so
47
lib/libvotequorum.so.8
48
lib/libvotequorum.so.8.0.0
49
libdata/pkgconfig/corosync.pc
50
libdata/pkgconfig/libcfg.pc
51
libdata/pkgconfig/libcmap.pc
52
libdata/pkgconfig/libcorosync_common.pc
53
libdata/pkgconfig/libcpg.pc
54
libdata/pkgconfig/libquorum.pc
55
libdata/pkgconfig/libsam.pc
56
libdata/pkgconfig/libtotem_pg.pc
57
libdata/pkgconfig/libvotequorum.pc
58
man/man3/cmap_context_get.3.gz
59
man/man3/cmap_context_set.3.gz
60
man/man3/cmap_dec.3.gz
61
man/man3/cmap_delete.3.gz
62
man/man3/cmap_dispatch.3.gz
63
man/man3/cmap_fd_get.3.gz
64
man/man3/cmap_finalize.3.gz
65
man/man3/cmap_get.3.gz
66
man/man3/cmap_inc.3.gz
67
man/man3/cmap_initialize.3.gz
68
man/man3/cmap_iter_finalize.3.gz
69
man/man3/cmap_iter_init.3.gz
70
man/man3/cmap_iter_next.3.gz
71
man/man3/cmap_set.3.gz
72
man/man3/cmap_track_add.3.gz
73
man/man3/cmap_track_delete.3.gz
74
man/man3/cpg_context_get.3.gz
75
man/man3/cpg_context_set.3.gz
76
man/man3/cpg_dispatch.3.gz
77
man/man3/cpg_fd_get.3.gz
78
man/man3/cpg_finalize.3.gz
79
man/man3/cpg_initialize.3.gz
80
man/man3/cpg_iteration_finalize.3.gz
81
man/man3/cpg_iteration_initialize.3.gz
82
man/man3/cpg_iteration_next.3.gz
83
man/man3/cpg_join.3.gz
84
man/man3/cpg_leave.3.gz
85
man/man3/cpg_local_get.3.gz
86
man/man3/cpg_mcast_joined.3.gz
87
man/man3/cpg_membership_get.3.gz
88
man/man3/cpg_model_initialize.3.gz
89
man/man3/cpg_zcb_alloc.3.gz
90
man/man3/cpg_zcb_free.3.gz
91
man/man3/cpg_zcb_mcast_joined.3.gz
92
man/man3/quorum_context_get.3.gz
93
man/man3/quorum_context_set.3.gz
94
man/man3/quorum_dispatch.3.gz
95
man/man3/quorum_fd_get.3.gz
96
man/man3/quorum_finalize.3.gz
97
man/man3/quorum_getquorate.3.gz
98
man/man3/quorum_initialize.3.gz
99
man/man3/quorum_trackstart.3.gz
100
man/man3/quorum_trackstop.3.gz
101
man/man3/sam_data_getsize.3.gz
102
man/man3/sam_data_restore.3.gz
103
man/man3/sam_data_store.3.gz
104
man/man3/sam_finalize.3.gz
105
man/man3/sam_hc_callback_register.3.gz
106
man/man3/sam_hc_send.3.gz
107
man/man3/sam_initialize.3.gz
108
man/man3/sam_mark_failed.3.gz
109
man/man3/sam_register.3.gz
110
man/man3/sam_start.3.gz
111
man/man3/sam_stop.3.gz
112
man/man3/sam_warn_signal_set.3.gz
113
man/man3/votequorum_context_get.3.gz
114
man/man3/votequorum_context_set.3.gz
115
man/man3/votequorum_dispatch.3.gz
116
man/man3/votequorum_fd_get.3.gz
117
man/man3/votequorum_finalize.3.gz
118
man/man3/votequorum_getinfo.3.gz
119
man/man3/votequorum_initialize.3.gz
120
man/man3/votequorum_qdevice_master_wins.3.gz
121
man/man3/votequorum_qdevice_poll.3.gz
122
man/man3/votequorum_qdevice_register.3.gz
123
man/man3/votequorum_qdevice_unregister.3.gz
124
man/man3/votequorum_qdevice_update.3.gz
125
man/man3/votequorum_setexpected.3.gz
126
man/man3/votequorum_setvotes.3.gz
127
man/man3/votequorum_trackstart.3.gz
128
man/man3/votequorum_trackstop.3.gz
129
man/man5/corosync.conf.5.gz
130
man/man5/votequorum.5.gz
131
man/man8/cmap_keys.8.gz
132
man/man8/cmap_overview.8.gz
133
man/man8/corosync-blackbox.8.gz
134
man/man8/corosync-cfgtool.8.gz
135
man/man8/corosync-cmapctl.8.gz
136
man/man8/corosync-cpgtool.8.gz
137
man/man8/corosync-keygen.8.gz
138
man/man8/corosync-notifyd.8.gz
139
man/man8/corosync-quorumtool.8.gz
140
man/man8/corosync.8.gz
141
man/man8/corosync_overview.8.gz
142
man/man8/cpg_overview.8.gz
143
man/man8/quorum_overview.8.gz
144
man/man8/sam_overview.8.gz
145
man/man8/votequorum_overview.8.gz
146
sbin/corosync
147
sbin/corosync-cfgtool
148
sbin/corosync-cmapctl
149
sbin/corosync-cpgtool
150
sbin/corosync-keygen
151
sbin/corosync-notifyd
152
sbin/corosync-quorumtool
153
%%SNMP%%share/snmp/mibs/COROSYNC-MIB.txt
154
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
155
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
156
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
157
%%PORTDOCS%%%%DOCSDIR%%/README.recovery
158
%%PORTDOCS%%%%DOCSDIR%%/SECURITY
159
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_context_get.3.html
160
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_context_set.3.html
161
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_dec.3.html
162
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_delete.3.html
163
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_dispatch.3.html
164
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_fd_get.3.html
165
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_finalize.3.html
166
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_get.3.html
167
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_inc.3.html
168
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_initialize.3.html
169
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_finalize.3.html
170
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_init.3.html
171
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_iter_next.3.html
172
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_keys.8.html
173
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_overview.8.html
174
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_set.3.html
175
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_track_add.3.html
176
%%PORTDOCS%%%%DOCSDIR%%/html/cmap_track_delete.3.html
177
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-blackbox.8.html
178
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-cfgtool.8.html
179
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-cmapctl.8.html
180
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-cpgtool.8.html
181
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-keygen.8.html
182
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-notifyd.8.html
183
%%PORTDOCS%%%%DOCSDIR%%/html/corosync-quorumtool.8.html
184
%%PORTDOCS%%%%DOCSDIR%%/html/corosync.8.html
185
%%PORTDOCS%%%%DOCSDIR%%/html/corosync.conf.5.html
186
%%PORTDOCS%%%%DOCSDIR%%/html/corosync_overview.8.html
187
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_context_get.3.html
188
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_context_set.3.html
189
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_dispatch.3.html
190
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_fd_get.3.html
191
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_finalize.3.html
192
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_initialize.3.html
193
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_finalize.3.html
194
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_initialize.3.html
195
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_iteration_next.3.html
196
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_join.3.html
197
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_leave.3.html
198
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_local_get.3.html
199
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_mcast_joined.3.html
200
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_membership_get.3.html
201
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_model_initialize.3.html
202
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_overview.8.html
203
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_alloc.3.html
204
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_free.3.html
205
%%PORTDOCS%%%%DOCSDIR%%/html/cpg_zcb_mcast_joined.3.html
206
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
207
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_context_get.3.html
208
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_context_set.3.html
209
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_dispatch.3.html
210
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_fd_get.3.html
211
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_finalize.3.html
212
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_getquorate.3.html
213
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_initialize.3.html
214
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_overview.8.html
215
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_trackstart.3.html
216
%%PORTDOCS%%%%DOCSDIR%%/html/quorum_trackstop.3.html
217
%%PORTDOCS%%%%DOCSDIR%%/html/sam_data_getsize.3.html
218
%%PORTDOCS%%%%DOCSDIR%%/html/sam_data_restore.3.html
219
%%PORTDOCS%%%%DOCSDIR%%/html/sam_data_store.3.html
220
%%PORTDOCS%%%%DOCSDIR%%/html/sam_finalize.3.html
221
%%PORTDOCS%%%%DOCSDIR%%/html/sam_hc_callback_register.3.html
222
%%PORTDOCS%%%%DOCSDIR%%/html/sam_hc_send.3.html
223
%%PORTDOCS%%%%DOCSDIR%%/html/sam_initialize.3.html
224
%%PORTDOCS%%%%DOCSDIR%%/html/sam_mark_failed.3.html
225
%%PORTDOCS%%%%DOCSDIR%%/html/sam_overview.8.html
226
%%PORTDOCS%%%%DOCSDIR%%/html/sam_register.3.html
227
%%PORTDOCS%%%%DOCSDIR%%/html/sam_start.3.html
228
%%PORTDOCS%%%%DOCSDIR%%/html/sam_stop.3.html
229
%%PORTDOCS%%%%DOCSDIR%%/html/sam_warn_signal_set.3.html
230
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum.5.html
231
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_context_get.3.html
232
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_context_set.3.html
233
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_dispatch.3.html
234
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_fd_get.3.html
235
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_finalize.3.html
236
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_getinfo.3.html
237
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_initialize.3.html
238
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_overview.8.html
239
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_master_wins.3.html
240
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_poll.3.html
241
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_register.3.html
242
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_unregister.3.html
243
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_qdevice_update.3.html
244
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_setexpected.3.html
245
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_setvotes.3.html
246
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_trackstart.3.html
247
%%PORTDOCS%%%%DOCSDIR%%/html/votequorum_trackstop.3.html
248
%%DBUS%%etc/dbus-1/system.d/corosync-signals.conf
249
@dir %%ETCDIR%%/service.d
250
@dir %%ETCDIR%%/uidgid.d
251
@dir /var/lib/corosync
252
@dir /var/lib
253
@dir /var/log/cluster
(-)net/pacemaker/Makefile (-3 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	pacemaker
4
PORTNAME=	pacemaker
5
PORTVERSION=	1.1.16
5
PORTVERSION=	1.1.16
6
PORTREVISION=	2
6
PORTREVISION=	3
7
DISTVERSIONPREFIX=	Pacemaker-
7
DISTVERSIONPREFIX=	Pacemaker-
8
CATEGORIES=	net
8
CATEGORIES=	net
9
9
Lines 15-21 Link Here
15
BROKEN_armv6=		fails to install: help2man: can't get '--help' info from pacemakerd
15
BROKEN_armv6=		fails to install: help2man: can't get '--help' info from pacemakerd
16
16
17
BUILD_DEPENDS=	bash:shells/bash \
17
BUILD_DEPENDS=	bash:shells/bash \
18
		corosync:net/corosync \
18
		corosync:net/corosync2 \
19
		getopt>=0:misc/getopt
19
		getopt>=0:misc/getopt
20
LIB_DEPENDS=	libgnutls.so:security/gnutls \
20
LIB_DEPENDS=	libgnutls.so:security/gnutls \
21
		libltdl.so:devel/libltdl \
21
		libltdl.so:devel/libltdl \
Lines 24-30 Link Here
24
		libxml2.so:textproc/libxml2 \
24
		libxml2.so:textproc/libxml2 \
25
		libxslt.so:textproc/libxslt
25
		libxslt.so:textproc/libxslt
26
RUN_DEPENDS=	bash:shells/bash \
26
RUN_DEPENDS=	bash:shells/bash \
27
		corosync:net/corosync \
27
		corosync:net/corosync2 \
28
		getopt>=0:misc/getopt \
28
		getopt>=0:misc/getopt \
29
		ocf-tester:net-mgmt/resource-agents
29
		ocf-tester:net-mgmt/resource-agents
30
30

Return to bug 228164