4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra
48fdc5265a40d40c8b9be05b37a1855a6cae49c6Eric Ferraiuolo# CDDL HEADER START
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra#
4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra# The contents of this file are subject to the terms of the
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo Mitra# Common Development and Distribution License (the "License").
4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra# You may not use this file except in compliance with the License.
4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra#
4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra# or http://www.opensolaris.org/os/licensing.
4f4ba013cd866a655a896f39f944674d19ad1387Tilo Mitra# See the License for the specific language governing permissions
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra# and limitations under the License.
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra#
c714ee41455a161bf18197074d7e205b9d03b377Tilo Mitra# When distributing Covered Code, include this CDDL HEADER in each
c714ee41455a161bf18197074d7e205b9d03b377Tilo Mitra# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d9311c9547eb9d58cdf0b0453313755cb37c4155Tilo Mitra# If applicable, add the following below this CDDL HEADER, with the
897547688bb5907542df4114fc4a55979ad7ec12Tilo Mitra# fields enclosed by brackets "[]" replaced with your own identifying
897547688bb5907542df4114fc4a55979ad7ec12Tilo Mitra# information: Portions Copyright [yyyy] [name of copyright owner]
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra#
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra# CDDL HEADER END
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra#
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra#
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra#
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitrainclude ../../../make-rules/shared-macros.mk
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitrainclude ../../../make-rules/shared-targets.mk
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitrainclude ../../../make-rules/ruby.mk
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo Mitra
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo MitraRUBY_VERSION= 2.1
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraRUBY_LIB_VERSION= 2.1.0
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraRUBY_VERSIONS= 2.1.0
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraPATCH_EACH_ARCHIVE = 1
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
60e5271418c47637445291f3120af2a30d144471Tilo MitraCOMPONENT= mcollective
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_NAME= marionette-collective
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_VERSION= 2.8.8
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_ARCHIVE_HASH= \
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra sha256:503b26cb0beeb505bf9cd2abbb8724c67bc743ffff4fbaddc321e2a4d663b133
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_ARCHIVE_URL= https://github.com/puppetlabs/marionette-collective/archive/$(COMPONENT_VERSION).tar.gz
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_PROJECT_URL= https://github.com/puppetlabs/marionette-collective
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_BUGDB= utility/mcollective
60e5271418c47637445291f3120af2a30d144471Tilo Mitra
60e5271418c47637445291f3120af2a30d144471Tilo MitraTPNO_FRMWK= 29321
60e5271418c47637445291f3120af2a30d144471Tilo MitraTPNO_PKG_AGENT= 26722
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraTPNO_PPT_AGENT= 26719
48fdc5265a40d40c8b9be05b37a1855a6cae49c6Eric FerraiuoloTPNO_FCT_AGENT= 26723
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraTPNO_SVC_AGENT= 26724
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
10d8bafc5c24f3a4285cf6060a1935ba5cfc4b85Luke SmithCOMPONENT_NAME_1= mcollective-puppet-agent
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraVERSION_PPT_AGENT= 1.10.0
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraGIT_REPO_1= https://github.com/puppetlabs/$(COMPONENT_NAME_1)
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraGIT_COMMIT_ID_1= cfa4b5e4a9752f6b631f0231b25051c3c16e89d8
60e5271418c47637445291f3120af2a30d144471Tilo MitraPKG_PROTO_DIRS += $(COMPONENT_NAME_1)-$(GIT_COMMIT_ID_1)
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_NAME_2= mcollective-package-agent
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraVERSION_PKG_AGENT= 4.4.0
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraGIT_REPO_2= https://github.com/puppetlabs/$(COMPONENT_NAME_2)
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraGIT_COMMIT_ID_2= 8520f756cbe4ce8a1e0fc416ed4d79ee774bcb71
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraPKG_PROTO_DIRS += $(COMPONENT_NAME_2)-$(GIT_COMMIT_ID_2)
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_NAME_3= mcollective-service-agent
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo MitraVERSION_SVC_AGENT= 3.3.1
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo MitraGIT_REPO_3= https://github.com/puppetlabs/$(COMPONENT_NAME_3)
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo MitraGIT_COMMIT_ID_3= 75478ac81f80bfd5ebaab05fe5dc5b92d90af815
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo MitraPKG_PROTO_DIRS += $(COMPONENT_NAME_3)-$(GIT_COMMIT_ID_3)
2cbd03cf7d25ed7f8942ecaf21a4b58d7f41ff11Tilo Mitra
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraCOMPONENT_NAME_4= mcollective-facter-facts
60e5271418c47637445291f3120af2a30d144471Tilo MitraVERSION_FCT_AGENT= 1.0.0
48fdc5265a40d40c8b9be05b37a1855a6cae49c6Eric FerraiuoloGIT_REPO_4= https://github.com/puppetlabs/$(COMPONENT_NAME_4)
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric FerraiuoloGIT_COMMIT_ID_4= 30adc0e50bc38fc261cae437e84a1b69a08fdae3
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric FerraiuoloPKG_PROTO_DIRS += $(COMPONENT_NAME_4)-$(GIT_COMMIT_ID_4)
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric Ferraiuolo
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric Ferraiuoloinclude $(WS_MAKE_RULES)/prep.mk
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric Ferraiuoloinclude $(WS_MAKE_RULES)/install.rb.mk
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric Ferraiuoloinclude $(WS_MAKE_RULES)/ips.mk
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric Ferraiuolo
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric Ferraiuolo# --mandir option not supported by mcollective install.rb
08576e37cf5c5f89dfba08b7f4fb0b63c7cc3a42Eric FerraiuoloINSTALL_RB_MANDIR_OPTION =
60e5271418c47637445291f3120af2a30d144471Tilo Mitra
60e5271418c47637445291f3120af2a30d144471Tilo MitraASLR_MODE = $(ASLR_NOT_APPLICABLE)
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra
60e5271418c47637445291f3120af2a30d144471Tilo MitraCOMPONENT_POST_UNPACK_ACTION_3 += \
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra $(GPATCH) -d \
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra $(COMPONENT_DIR)/$(COMPONENT_NAME_3)-$(GIT_COMMIT_ID_3) \
dc02f346c16a47973a2f3f375bf43937b86b3e75Tilo Mitra $(GPATCH_FLAGS) \
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra < patches/03-mco-service-name
60e5271418c47637445291f3120af2a30d144471Tilo Mitra
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra# common targets
60e5271418c47637445291f3120af2a30d144471Tilo Mitrabuild: $(BUILD_NO_ARCH)
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitra
60e5271418c47637445291f3120af2a30d144471Tilo Mitrainstall: $(INSTALL_NO_ARCH)
60e5271418c47637445291f3120af2a30d144471Tilo Mitra
853244a9af0549d584b80ac65d4fcb92de7c58bcTilo Mitratest: $(NO_TESTS)
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitrasystem-test: $(NO_TESTS)
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraREQUIRED_PACKAGES += runtime/ruby-21
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo MitraREQUIRED_PACKAGES += system/core-os
c3db5f41661b8fee6566b38dbffeabe56e4dce12Tilo Mitra