Andreas Wacknitz
2024-03-20 7a6642816d676bb633c14d9c14efa2b1e73161b2
fix corosync

2 files deleted
3 files modified
108 ■■■■ changed files
components/cluster/corosync/Makefile 33 ●●●● patch | view | raw | blame | history
components/cluster/corosync/corosync.license 59 ●●●●● patch | view | raw | blame | history
components/cluster/corosync/manifests/sample-manifest.p5m 2 ●●● patch | view | raw | blame | history
components/cluster/corosync/patches/configure-ac.patch 11 ●●●●● patch | view | raw | blame | history
components/cluster/corosync/pkg5 3 ●●●● patch | view | raw | blame | history
components/cluster/corosync/Makefile
@@ -13,41 +13,41 @@
# Copyright 2019 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
#
BUILD_STYLE=configure
BUILD_BITS=64
BUILD_STYLE= configure
BUILD_BITS= 64
USE_PARALLEL_BUILD= yes
include ../../../make-rules/shared-macros.mk
PATH= $(PATH.gnu)
COMPONENT_NAME=         corosync
COMPONENT_VERSION=      2.4.5
COMPONENT_REVISION=     2
COMPONENT_FMRI=         application/cluster/$(COMPONENT_NAME)
COMPONENT_CLASSIFICATION=System/Services
COMPONENT_REVISION=     3
COMPONENT_SUMMARY=      The Corosync cluster engine.
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:1637b9fcc90ecb719f0c24bdb5bf98bbe7b7f8dbaf19fbe1e5ca5640512565e1
COMPONENT_PROJECT_URL=  https://github.com/corosync/corosync
COMPONENT_ARCHIVE_URL=  https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/archive/v$(COMPONENT_VERSION).tar.gz
COMPONENT_FMRI=         application/cluster/$(COMPONENT_NAME)
COMPONENT_CLASSIFICATION=System/Services
COMPONENT_LICENSE=      BSD
COMPONENT_SUMMARY=      The Corosync cluster engine.
COMPONENT_LICENSE_FILE= LICENSE
include $(WS_MAKE_RULES)/common.mk
COMPONENT_PREP_ACTION=(cd $(SOURCE_DIR); $(CONFIG_SHELL) autogen.sh )
COMPONENT_PREP_ACTION= ( cd $(SOURCE_DIR); $(CONFIG_SHELL) autogen.sh )
COMPONENT_PRE_CONFIGURE_ACTION=($(CLONEY) $(SOURCE_DIR) $(@D))
COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
CONFIGURE_SCRIPT= $(@D)/configure
SNMPCONFIG= /usr/bin/net-snmp-config-64
CFLAGS += -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
CFLAGS += $(XPG6MODE) -D_POSIX_PTHREAD_SEMANTICS
LDFLAGS += -R/usr/lib/mps/$(MACH64)
CONFIGURE_OPTIONS += --sysconfdir=/etc
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/lib
CONFIGURE_OPTIONS += --sharedstatedir=/var/hacluster
CONFIGURE_OPTIONS += --localstatedir=/var
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
CONFIGURE_OPTIONS += --sharedstatedir=$(VARDIR)/hacluster
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
CONFIGURE_OPTIONS += --enable-monitoring
CONFIGURE_OPTIONS += --enable-snmp
CONFIGURE_OPTIONS += --enable-xmlconf
@@ -55,7 +55,7 @@
CONFIGURE_OPTIONS += --enable-augeas
CONFIGURE_OPTIONS += --enable-qdevices
CONFIGURE_OPTIONS += --disable-rpath
CONFIGURE_OPTIONS += --with-logdir=/var/log/hacluster
CONFIGURE_OPTIONS += --with-logdir=$(VARDIR)/log/hacluster
CONFIGURE_ENV.64 += LT_SYS_LIBRARY_PATH="/lib/$(MACH64):/usr/lib/$(MACH64)"
@@ -67,9 +67,6 @@
    $(RM)    $(PROTO_DIR)/etc/corosync/corosync.conf.example; \
    $(RM)    $(PROTO_DIR)/etc/corosync/corosync.conf.example.udpu; \
    $(RM)    $(PROTO_DIR)/etc/corosync/corosync.xml.example )
# if compilation fails make output verbose
#COMPONENT_BUILD_GMAKE_ARGS= V=1
# Auto-generated dependencies
REQUIRED_PACKAGES += library/libqb
components/cluster/corosync/corosync.license
File was deleted
components/cluster/corosync/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2022 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
components/cluster/corosync/patches/configure-ac.patch
File was deleted
components/cluster/corosync/pkg5
@@ -1,6 +1,5 @@
{
    "dependencies": [
        "SUNWcs",
        "library/libqb",
        "library/libstatgrab",
        "library/nspr",
@@ -14,4 +13,4 @@
        "application/cluster/corosync"
    ],
    "name": "corosync"
}
}