diff options
author | Florian Smeets <flo@FreeBSD.org> | 2018-05-24 18:24:50 +0000 |
---|---|---|
committer | Florian Smeets <flo@FreeBSD.org> | 2018-05-24 18:24:50 +0000 |
commit | ce5d6d0b91fa05a02202ed6e88acbea8bcdc1ec0 (patch) | |
tree | a793dfc3544527fe94e724352edcf8fe22cf2bdc /net/corosync2/files | |
parent | 3d5f40d19137feed15f2581d00b19a3fdda65da7 (diff) | |
download | ports-ce5d6d0b91fa05a02202ed6e88acbea8bcdc1ec0.tar.gz ports-ce5d6d0b91fa05a02202ed6e88acbea8bcdc1ec0.zip |
- add net/corosync3 (2.99.2)
- add net/pacemaker2 (2.0.0-rc4)
- net/corosync -> net/corosync2 (update to 2.4.4)
- net/pacemaker -> net/pacemaker1 (update to 1.1.18)
- add USES=corosync to deal with multiple versions
PR: 228164, 228165
Submitted by: David Shane Holden <dpejesh@yahoo.com>
Notes
Notes:
svn path=/head/; revision=470799
Diffstat (limited to 'net/corosync2/files')
-rw-r--r-- | net/corosync2/files/corosync-notifyd.in | 20 | ||||
-rw-r--r-- | net/corosync2/files/corosync.in | 27 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net/corosync2/files/corosync-notifyd.in b/net/corosync2/files/corosync-notifyd.in new file mode 100644 index 000000000000..22b03ca33b11 --- /dev/null +++ b/net/corosync2/files/corosync-notifyd.in @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: corosync-notifyd +# REQUIRE: LOGIN FILESYSTEMS +# KEYWORD: shutdown + +. /etc/rc.subr + +name="corosync_notifyd" +rcvar="corosync_notifyd_enable" + +load_rc_config $name + +: ${corosync_notifyd_enable:=NO} + +command="%%PREFIX%%/sbin/corosync-notifyd" +command_args="-l" + +run_rc_command "$1" diff --git a/net/corosync2/files/corosync.in b/net/corosync2/files/corosync.in new file mode 100644 index 000000000000..58e82ffa08fe --- /dev/null +++ b/net/corosync2/files/corosync.in @@ -0,0 +1,27 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: corosync +# REQUIRE: LOGIN FILESYSTEMS +# KEYWORD: shutdown + +. /etc/rc.subr + +name="corosync" +rcvar="corosync_enable" +start_precmd="corosync_precmd" + +corosync_precmd() +{ + if [ `${SYSCTL_N} kern.ipc.maxsockbuf` -lt 18874368 ]; then + err 3 "sysctl:kern.ipc.maxsockbuf must be at least 18874368" + fi +} + +load_rc_config $name + +: ${corosync_enable:=NO} + +command="%%PREFIX%%/sbin/corosync" + +run_rc_command "$1" |