5416N/A#
5416N/A# CDDL HEADER START
5416N/A#
5416N/A# The contents of this file are subject to the terms of the
5416N/A# Common Development and Distribution License (the "License").
5416N/A# You may not use this file except in compliance with the License.
5416N/A#
5416N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5416N/A# or http://www.opensolaris.org/os/licensing.
5416N/A# See the License for the specific language governing permissions
5416N/A# and limitations under the License.
5416N/A#
5416N/A# When distributing Covered Code, include this CDDL HEADER in each
5416N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5416N/A# If applicable, add the following below this CDDL HEADER, with the
5416N/A# fields enclosed by brackets "[]" replaced with your own identifying
5416N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5416N/A#
5416N/A# CDDL HEADER END
5416N/A#
5416N/A
5416N/A#
5416N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
5416N/A#
5416N/A
7177N/ABUILD_BITS= NO_ARCH
5416N/Ainclude ../../../make-rules/shared-macros.mk
5416N/A
5416N/ACOMPONENT_NAME= cloudbase-init
5416N/ACOMPONENT_VERSION= 0.9.9
5416N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6175N/ACOMPONENT_ARCHIVE= $(COMPONENT_VERSION).tar.gz
5416N/ACOMPONENT_ARCHIVE_HASH= \
5416N/A sha256:0385c905952132ce944c821ea4f57ccffd660db7965ca8a62f28600939e659c1
5416N/A
6175N/ACOMPONENT_ARCHIVE_URL= \
6175N/A https://github.com/openstack/cloudbase-init/archive/$(COMPONENT_ARCHIVE)
5416N/ACOMPONENT_PROJECT_URL= https://github.com/stackforge/cloudbase-init
5416N/ACOMPONENT_BUGDB= service/cloudbase-init
5416N/A
5416N/ATPNO= 26420
5416N/A
7177N/Aifneq ($(BUILD_TYPE), evaluation)
7177N/ABUILD_STYLE= setup.py
7177N/Aendif
5416N/A
7177N/A# FOSS eval upgrade instructions lead to maintenance state; just skip.
7177N/A# On S12, the same problem if the pkg is installed, but it's not on the
7177N/A# default install list for S12. If the S12 issue gets fixed, we can drop
7177N/A# the following line and thus remove this from the do-not-publish list.
7177N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
5416N/A
5416N/A# Upstream only supports 3.3 from the Python 3 series
5416N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
5416N/A
7177N/Ainclude $(WS_MAKE_RULES)/common.mk
7177N/A
7177N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
7177N/A
5416N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
5416N/APKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
5416N/A
5416N/A# Copy the PKG-INFO file to the build root
5416N/ACOMPONENT_PRE_BUILD_ACTION = \
6175N/A $(CP) $(COMPONENT_DIR)/PKG-INFO $(SOURCE_DIR)
5416N/A
5416N/A# common targets
5416N/Abuild: $(BUILD_NO_ARCH)
5416N/A
5416N/Ainstall: $(INSTALL_NO_ARCH)
5416N/A
5416N/A# Tests require testr which is not integrated
5416N/Atest: $(NO_TESTS)
5416N/A
7078N/AREQUIRED_PACKAGES += system/core-os
5416N/AREQUIRED_PACKAGES += system/network