Index: head/net-mgmt/resource-agents/Makefile =================================================================== --- head/net-mgmt/resource-agents/Makefile (revision 525485) +++ head/net-mgmt/resource-agents/Makefile (revision 525486) @@ -1,63 +1,59 @@ # Created by: dpejesh@yahoo.com # $FreeBSD$ PORTNAME= resource-agents PORTVERSION= 4.4.0 DISTVERSIONPREFIX=v CATEGORIES= net-mgmt MAINTAINER= egypcio@FreeBSD.org COMMENT= OCF Compliant Resource Agents LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake gnome pkgconfig python shebangfix USE_GNOME= glib20 USE_GITHUB= yes GH_ACCOUNT= ClusterLabs GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-fatal-warnings --with-version=${PORTVERSION} \ PACKAGE_STRING="${PORTNAME} ${PORTVERSION}" \ PACKAGE_VERSION="${PORTVERSION}" CONFLICTS= heartbeat-[0-9]* SHEBANG_LANG= sh sh_OLD_CMD= /bin/sh sh_CMD= ${LOCALBASE}/bin/bash SHEBANG_FILES= heartbeat/* \ ldirectord/ldirectord.in \ rgmanager/src/resources/*.sh.in \ rgmanager/src/resources/utils/*.pl \ rgmanager/src/resources/utils/*.sh \ tools/ocft/ocft.in \ tools/ocf-tester.in OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ xsltproc:textproc/libxslt post-patch: ${REINPLACE_CMD} 's|v=UNKNOWN|v=${PORTVERSION}|g' \ ${WRKSRC}/make/git-version-gen ${REINPLACE_CMD} 's|/etc/cluster|${LOCALBASE}/etc/cluster|g' \ ${WRKSRC}/heartbeat/sybaseASE.in \ ${WRKSRC}/rgmanager/src/resources/utils/config-utils.sh.in \ ${WRKSRC}/rgmanager/src/resources/ASEHAagent.sh.in -post-configure: - ${REINPLACE_CMD} 's|md5sum|md5|g' \ - ${WRKSRC}/heartbeat/iSCSILogicalUnit - post-install: ${RM} ${STAGEDIR}/${LOCALBASE}/resource-agents.conf .include Index: head/net-mgmt/resource-agents/files/patch-heartbeat_IPaddr2 =================================================================== --- head/net-mgmt/resource-agents/files/patch-heartbeat_IPaddr2 (nonexistent) +++ head/net-mgmt/resource-agents/files/patch-heartbeat_IPaddr2 (revision 525486) @@ -0,0 +1,11 @@ +--- heartbeat/IPaddr2.orig 2020-02-07 12:39:35 UTC ++++ heartbeat/IPaddr2 +@@ -555,7 +555,7 @@ ip_init() { + # 5. Make sure the first octet is odd, + # so the result is a multicast MAC + IF_MAC=`echo $OCF_RESKEY_ip $NETMASK $BRDCAST | \ +- md5sum | \ ++ md5 | \ + sed -e 's#\(............\).*#\1#' \ + -e 's#..#&:#g; s#:$##' \ + -e 's#^\(.\)[02468aAcCeE]#\11#'` Property changes on: head/net-mgmt/resource-agents/files/patch-heartbeat_IPaddr2 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/resource-agents/files/patch-heartbeat_iSCSILogicalUnit.in =================================================================== --- head/net-mgmt/resource-agents/files/patch-heartbeat_iSCSILogicalUnit.in (nonexistent) +++ head/net-mgmt/resource-agents/files/patch-heartbeat_iSCSILogicalUnit.in (revision 525486) @@ -0,0 +1,11 @@ +--- heartbeat/iSCSILogicalUnit.in.orig 2020-02-07 12:35:45 UTC ++++ heartbeat/iSCSILogicalUnit.in +@@ -56,7 +56,7 @@ OCF_RESKEY_scsi_id_default="${OCF_RESOURCE_INSTANCE:0: + : ${OCF_RESKEY_scsi_id=${OCF_RESKEY_scsi_id_default}} + # To have a reasonably unique default SCSI SN, use the first 8 bytes + # of an MD5 hash of of $OCF_RESOURCE_INSTANCE +-sn=`echo -n "${OCF_RESOURCE_INSTANCE}" | md5sum | sed -e 's/ .*//'` ++sn=`echo -n "${OCF_RESOURCE_INSTANCE}" | md5 | sed -e 's/ .*//'` + OCF_RESKEY_scsi_sn_default=${sn:0:8} + : ${OCF_RESKEY_scsi_sn=${OCF_RESKEY_scsi_sn_default}} + OCF_RESKEY_allowed_initiators_default="" Property changes on: head/net-mgmt/resource-agents/files/patch-heartbeat_iSCSILogicalUnit.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property