1487N/A#
1487N/A# CDDL HEADER START
1487N/A#
1487N/A# The contents of this file are subject to the terms of the
1487N/A# Common Development and Distribution License (the "License").
1487N/A# You may not use this file except in compliance with the License.
1487N/A#
1487N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1487N/A# or http://www.opensolaris.org/os/licensing.
1487N/A# See the License for the specific language governing permissions
1487N/A# and limitations under the License.
1487N/A#
1487N/A# When distributing Covered Code, include this CDDL HEADER in each
1487N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1487N/A# If applicable, add the following below this CDDL HEADER, with the
1487N/A# fields enclosed by brackets "[]" replaced with your own identifying
1487N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1487N/A#
1487N/A# CDDL HEADER END
1487N/A#
5680N/A
5680N/A#
5353N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1487N/A#
5441N/Ainclude ../../../../make-rules/shared-macros.mk
5441N/A
5441N/A
6616N/AGIT_REPO= https://github.com/oracle/puppet-solaris_providers
6343N/AGIT_BRANCH= v1.2.2-userland
6616N/AGIT_COMMIT_ID= 519bc2aa
6616N/AGIT_HASH= sha256:3276d213249c0e00dd90224c221bc450964f37b0ea49677fc4caecb1703b75a2
1487N/A
5441N/ACOMPONENT_NAME= puppet-solaris_providers
6343N/ACOMPONENT_VERSION= 1.2.2
6616N/ACOMPONENT_PROJECT_URL= https://github.com/oracle/puppet-solaris_providers
5441N/A# Construct our own SRC instead of using the default with GIT_COMMIT_ID
5441N/A# archive from github strips leading v from release for vN named release tags
5441N/ACOMPONENT_SRC=$(COMPONENT_NAME)-$(shell echo $(GIT_BRANCH) | sed -e 's/v//')
1487N/ACOMPONENT_BUGDB= utility/puppet
1487N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
5441N/Ainclude $(WS_MAKE_RULES)/puppetmodule.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
1487N/A
5441N/AMODULE_NAME = solaris_providers
1487N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
5463N/APKG_OPTIONS += -I $(COMPONENT_DIR)
5463N/A
6343N/A# Dump a list of files installed in the proto dir but not in the manifest
6343N/A# this is a convenience target for the package maintainer
6343N/Anew-files: install
6343N/A $(PKGSEND) generate $(PROTO_DIR)/etc/puppet/modules/ | $(GSED) -e 's/\(file\).*path=/\1 path=/' | \
6343N/A $(CAT) oracle-solaris_providers.p5m - | $(GNU_GREP) -h '^file' | sort | uniq -c | \
6343N/A $(GSED) -e '/ 2 /d' -e 's/ 1 //'
1487N/A
5441N/A# common targets
5441N/Abuild: $(BUILD_NO_ARCH)
1888N/A
5441N/Ainstall: $(INSTALL_NO_ARCH)
5441N/A
1487N/Atest: $(NO_TESTS)
1487N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
5441N/AREQUIRED_PACKAGES += system/management/puppet