4721N/A#
4721N/A# CDDL HEADER START
4721N/A#
4721N/A# The contents of this file are subject to the terms of the
4721N/A# Common Development and Distribution License (the "License").
4721N/A# You may not use this file except in compliance with the License.
4721N/A#
4721N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4721N/A# or http://www.opensolaris.org/os/licensing.
4721N/A# See the License for the specific language governing permissions
4721N/A# and limitations under the License.
4721N/A#
4721N/A# When distributing Covered Code, include this CDDL HEADER in each
4721N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4721N/A# If applicable, add the following below this CDDL HEADER, with the
4721N/A# fields enclosed by brackets "[]" replaced with your own identifying
4721N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4721N/A#
4721N/A# CDDL HEADER END
4721N/A#
4721N/A
4721N/A#
5680N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
4721N/A#
5680N/Ainclude ../../../make-rules/shared-macros.mk
6238N/A
6238N/ACOMPONENT_NAME= pyOpenSSL
6238N/ACOMPONENT_VERSION= 0.13
6238N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6238N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6238N/ACOMPONENT_ARCHIVE_HASH= \
6238N/A sha256:21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b
6238N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
6238N/ACOMPONENT_PROJECT_URL= https://launchpad.net/pyopenssl
6238N/ACOMPONENT_BUGDB= python-mod/pyopenssl
4721N/A
4721N/ATPNO= 9207
4721N/A
6653N/Ainclude $(WS_MAKE_RULES)/prep.mk
4721N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
4721N/Ainclude $(WS_MAKE_RULES)/ips.mk
4721N/A
6653N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4721N/A
4721N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)/OpenSSL/test
4721N/A# The .so files are under ./OpenSSL/64 not ./64/OpenSSL so the
6653N/A# $(PYTHON_VENDOR_PACKAGES) variable for 64bit Python is wrong.
4721N/A# Everything works fine if we just add the 32bit path.
6059N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
6059N/ACOMPONENT_TEST_CMD = $(SHELL)
6059N/ACOMPONENT_TEST_ARGS = $(COMPONENT_DIR)/files/runtests
6059N/A
6059N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6059N/A
6059N/A# Using nawk for easier test results processing and stripping out the
6059N/A# random portions (like time to complete the tests).
4721N/ACOMPONENT_TEST_TRANSFORMER = $(NAWK)
4721N/ACOMPONENT_TEST_TRANSFORMS = "'/^Running / { print }; /^ERROR: / { print }; /^FAIL: / { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^OK / { print };'"
5680N/A
6049N/Abuild: $(BUILD_32_and_64)
6049N/A
6049N/Ainstall: $(INSTALL_32_and_64)
6049N/A
6049N/Atest: $(TEST_32_and_64)
6049N/A
6049N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6049N/A
6049N/A
5680N/AREQUIRED_PACKAGES += library/security/openssl
4721N/AREQUIRED_PACKAGES += system/library
4721N/A