2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2013 Adam Stevko. All rights reserved.
13 # Copyright 2019 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= resource-agents
19 COMPONENT_VERSION
= 4.1.0
21 COMPONENT_FMRI
= application
/cluster
/$(COMPONENT_NAME
)
22 COMPONENT_CLASSIFICATION
=System
/Libraries
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:e9391b3c1d2d8828a36547440597c50a983ac2779c411d0b5ab26e06412b499f
26 COMPONENT_PROJECT_URL
= https
://github.com
/ClusterLabs
/resource-agents
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/ClusterLabs
/$(COMPONENT_NAME
)/archive
/v
$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_LICENSE
= LGPLv2
,GPLv2
,GPLv3
29 COMPONENT_SUMMARY
= Combined repository of OCF agents from the RHCS and Linux-HA projects
31 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_SCRIPT
= $(@D
)/configure
38 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
39 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_PREFIX
)/lib
40 CONFIGURE_OPTIONS
+= --sharedstatedir
=/var
/hacluster
41 CONFIGURE_OPTIONS
+= --localstatedir
=/var
42 CONFIGURE_OPTIONS
+= --enable-fatal-warnings
=no
43 CONFIGURE_OPTIONS
+= --enable-ansi
44 CONFIGURE_OPTIONS
+= --with-ocf-root
=$(CONFIGURE_PREFIX
)/lib
/ocf
46 COMPONENT_PREP_ACTION
=(cd
$(SOURCE_DIR
); .
/autogen.sh
)
48 COMPONENT_PRE_CONFIGURE_ACTION
=($(CLONEY
) $(SOURCE_DIR
) $(@D
))
50 # leaving this folder prevents repeated install actions
51 COMPONENT_PRE_INSTALL_ACTION
= ( $(RM
) -r
$(PROTO_DIR
)/usr
/lib
/ocf
/; )
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
55 REQUIRED_PACKAGES
+= application
/cluster
/cluster-glue
56 REQUIRED_PACKAGES
+= runtime
/perl
57 REQUIRED_PACKAGES
+= shell/bash
58 REQUIRED_PACKAGES
+= shell/ksh93
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/libnet
61 REQUIRED_PACKAGES
+= text
/gawk