cffe50abf66495ee08084f8e1081278a9b589985Brian Wellington# CDDL HEADER START
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# The contents of this file are subject to the terms of the
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# Common Development and Distribution License (the "License").
cffe50abf66495ee08084f8e1081278a9b589985Brian Wellington# You may not use this file except in compliance with the License.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# See the License for the specific language governing permissions
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# and limitations under the License.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# When distributing Covered Code, include this CDDL HEADER in each
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# If applicable, add the following below this CDDL HEADER, with the
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# fields enclosed by brackets "[]" replaced with your own identifying
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# information: Portions Copyright [yyyy] [name of copyright owner]
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# CDDL HEADER END
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
01f8e2b2bf6cc60b806984e2bf860221d5988e53Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
01f8e2b2bf6cc60b806984e2bf860221d5988e53Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce sha256:3828f8907d07901a3f0516b9ee99fbd42bd9d293e4fa137d850a46487c76bad3
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceCOMPONENT_ARCHIVE_URL= https://tarballs.openstack.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
01f8e2b2bf6cc60b806984e2bf860221d5988e53Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.openstack.org/
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# Since this is an app, and doesn't provide any public library interfaces, we
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# only need to deliver one version. The manifest is parameterized, though.
01f8e2b2bf6cc60b806984e2bf860221d5988e53Andreas GustafssonPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# keystone depends on keystone-upgrade so copy all of the service
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# manifests into the proto directory for pkgdepend(1) to find.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce $(MKDIR) $(PROTO_DIR)$(PYTHON_LIB)/keystone/httpd; \
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# common targets
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceREQUIRED_PACKAGES += cloud/openstack/openstack-common
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceREQUIRED_PACKAGES += web/server/apache-24/module/apache-ssl