#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/library/python/pyopenssl-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Python interface to the OpenSSL library"
set name=pkg.description \
value="The pyOpenSSL package provides a high-level, Python interface to the functions in the OpenSSL library. It includes a generic cryptographic module, an interface to the OpenSSL pseudo random number generator, and an interface to the SSL-specific parts of OpenSSL. The latter defines SSL Context objects and SSL Connection objects, using Python sockets as a transport layer. The Connection object wraps all the socket methods and can therefore be used interchangeably."
set name=com.oracle.info.description value="Python bindings for OpenSSL"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
value=org.opensolaris.category.2008:Development/Python \
value=org.opensolaris.category.2008:System/Security
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2009/176
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/64/SSL.so
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/64/crypto.so
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/64/rand.so
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/SSL.so
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/crypto.so
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/rand.so
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/test/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/test/test_crypto.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/test/test_rand.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/test/test_ssl.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/test/util.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/tsafe.py
file path=usr/lib/python$(PYVER)/vendor-packages/OpenSSL/version.py
file path=usr/lib/python$(PYVER)/vendor-packages/pyOpenSSL-$(COMPONENT_VERSION)-py$(PYVER).egg-info
#
license LICENSE license=Apache2
# force the rename with an optional dependency on the old name
depend type=optional \
fmri=library/python-2/pyopenssl-$(PYV)@0.13,5.11-0.175.3.0.0.16.0
# force a dependency on the Python runtime
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
pkg.debug.depend.path=usr/bin
# force a dependency on the pyopenssl package
depend type=require \
fmri=library/python/pyopenssl@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)