Makefile revision 5641
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# CDDL HEADER START
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# The contents of this file are subject to the terms of the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Common Development and Distribution License (the "License").
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You may not use this file except in compliance with the License.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
199767f8919635c4928607450d9e0abb932109ceToomas Soome# or http://www.opensolaris.org/os/licensing.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# See the License for the specific language governing permissions
199767f8919635c4928607450d9e0abb932109ceToomas Soome# and limitations under the License.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# When distributing Covered Code, include this CDDL HEADER in each
199767f8919635c4928607450d9e0abb932109ceToomas Soome# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If applicable, add the following below this CDDL HEADER, with the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# fields enclosed by brackets "[]" replaced with your own identifying
199767f8919635c4928607450d9e0abb932109ceToomas Soome# information: Portions Copyright [yyyy] [name of copyright owner]
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# CDDL HEADER END
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude ../../../make-rules/shared-macros.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude ../../../make-rules/shared-targets.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeRUBY_VERSION= 2.1
199767f8919635c4928607450d9e0abb932109ceToomas SoomeRUBY_LIB_VERSION= 2.1.0
199767f8919635c4928607450d9e0abb932109ceToomas SoomeRUBY_VERSIONS= 2.1.0
199767f8919635c4928607450d9e0abb932109ceToomas SoomePATCH_EACH_ARCHIVE = 1
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_NAME= mcollective
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_VERSION= 2.8.2
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE_HASH= \
199767f8919635c4928607450d9e0abb932109ceToomas Soome sha256:03e23d8e79ccee6394f0dd31456fb56c3ae4ca2891027062377a2aaa5b5c5fe9
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE_URL= https://downloads.puppetlabs.com/mcollective/$(COMPONENT_ARCHIVE)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_PROJECT_URL= https://puppetlabs.com/mcollective
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_BUGDB= utility/mcollective
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTPNO_FRMWK= 23491
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTPNO_PKG_AGENT= 26722
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTPNO_PPT_AGENT= 26719
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTPNO_FCT_AGENT= 26723
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTPNO_SVC_AGENT= 26724
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_NAME_1= mcollective-puppet-agent
199767f8919635c4928607450d9e0abb932109ceToomas SoomeVERSION_PPT_AGENT= 1.10.0
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_REPO_1= https://github.com/puppetlabs/$(COMPONENT_NAME_1)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_COMMIT_ID_1= cfa4b5e4a9752f6b631f0231b25051c3c16e89d8
199767f8919635c4928607450d9e0abb932109ceToomas SoomePKG_PROTO_DIRS += $(COMPONENT_NAME_1)-$(GIT_COMMIT_ID_1)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_NAME_2= mcollective-package-agent
199767f8919635c4928607450d9e0abb932109ceToomas SoomeVERSION_PKG_AGENT= 4.4.0
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_REPO_2= https://github.com/puppetlabs/$(COMPONENT_NAME_2)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_COMMIT_ID_2= 8520f756cbe4ce8a1e0fc416ed4d79ee774bcb71
199767f8919635c4928607450d9e0abb932109ceToomas SoomePKG_PROTO_DIRS += $(COMPONENT_NAME_2)-$(GIT_COMMIT_ID_2)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_NAME_3= mcollective-service-agent
199767f8919635c4928607450d9e0abb932109ceToomas SoomeVERSION_SVC_AGENT= 3.3.1
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_REPO_3= https://github.com/puppetlabs/$(COMPONENT_NAME_3)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_COMMIT_ID_3= 75478ac81f80bfd5ebaab05fe5dc5b92d90af815
199767f8919635c4928607450d9e0abb932109ceToomas SoomePKG_PROTO_DIRS += $(COMPONENT_NAME_3)-$(GIT_COMMIT_ID_3)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_NAME_4= mcollective-facter-facts
199767f8919635c4928607450d9e0abb932109ceToomas SoomeVERSION_FCT_AGENT= 1.0.0
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_REPO_4= https://github.com/puppetlabs/$(COMPONENT_NAME_4)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeGIT_COMMIT_ID_4= 30adc0e50bc38fc261cae437e84a1b69a08fdae3
199767f8919635c4928607450d9e0abb932109ceToomas SoomePKG_PROTO_DIRS += $(COMPONENT_NAME_4)-$(GIT_COMMIT_ID_4)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(WS_MAKE_RULES)/prep.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(WS_MAKE_RULES)/install.rb.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(WS_MAKE_RULES)/ips.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# --mandir option not supported by mcollective install.rb
199767f8919635c4928607450d9e0abb932109ceToomas SoomeINSTALL_RB_MANDIR_OPTION =
199767f8919635c4928607450d9e0abb932109ceToomas Soome
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
COMPONENT_POST_UNPACK_ACTION_3 += \
$(GPATCH) -d \
$(COMPONENT_DIR)/$(COMPONENT_NAME_3)-$(GIT_COMMIT_ID_3) \
$(GPATCH_FLAGS) \
< patches/03-mco-service-name
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
system-test: $(NO_TESTS)
REQUIRED_PACKAGES += runtime/ruby-21
REQUIRED_PACKAGES += system/core-os