6dfe0bd3bc
* Prevent the bypassing of ACLs by direct IPC (CVE-2020-25654); * PE: don't select instance to be promoted on a guest that can't run; * PE: don't schedule a dangling migration stop if one already occurred; * tools: crmadmin -D/--dc_lookup supports --quiet to print DC name only. https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-1.1.24
39 lines
940 B
Makefile
39 lines
940 B
Makefile
# Created by: David Shane Holden <dpejesh@yahoo.com>
|
|
# $FreeBSD$
|
|
|
|
PORTVERSION= 1.1.24
|
|
PKGNAMESUFFIX= 1
|
|
|
|
.include "${.CURDIR}/Makefile.common"
|
|
|
|
CONFLICTS+= pacemaker2-[0-9]*
|
|
|
|
SHEBANG_FILES+= cts/cts \
|
|
cts/lxc_autogen.sh.in \
|
|
fencing/* \
|
|
lrmd/* \
|
|
mcp/* \
|
|
tools/* \
|
|
xml/* \
|
|
BasicSanity.sh \
|
|
coverage.sh.in \
|
|
cts/CTSlab.py \
|
|
pengine/regression.sh
|
|
|
|
REPLACE_ARGS_GETOPT= -e 's,getopt,${LOCALBASE}/bin/getopt,'
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_SUFFIX} > 36
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-cts_remote.py \
|
|
${PATCHDIR}/extra-patch-cts_watcher.py
|
|
.endif
|
|
|
|
post-patch: post-patch-common
|
|
@${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_failcount
|
|
@${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_master
|
|
@${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_report.in
|
|
@${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_standby
|
|
|
|
.include <bsd.port.post.mk>
|