components/python/websockify/websockify-PYVER.p5m
author John Beck <John.Beck@Oracle.COM>
Mon, 27 Mar 2017 15:35:14 -0700
branchs11u3-sru
changeset 7811 9126e6f58cd8
parent 4072 db0cec748ec0
permissions -rw-r--r--
PSARC 2014/190 Python 2.6 EOF 21136303 Python 2.6 EOF 25552242 downrevved cherrypy-26 package in s12 will block update from s11.3 25552335 library/python/idna-26 (only in s11.3 SRU14+) prevents upgrade to S12 25552353 library/python/ipaddress-26 (only in s11.3 SRU14+) prevents upgrade to S12

#
# 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) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
#

set name=pkg.fmri \
    value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="WebSocket to TCP proxy/bridge"
set name=pkg.description \
    value="Websockify translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions."
set name=com.oracle.info.description \
    value="Websockify, the WebSockets translater"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
    value=org.opensolaris.category.2008:Development/Python \
    value="org.opensolaris.category.2008:Web Services/Communications"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream value="Joel Martin <[email protected]>"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2013/418
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
link path=usr/bin/websockify target=websockify-$(PYVER) mediator=python \
    mediator-version=$(PYVER)
file path=usr/bin/websockify-$(PYVER)
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/__init__.py
# The bypasses for array, select & time are temporary until pkgdepend learns
# about PEP 3149, new in Python 3.x; see 19510349.
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocket.py \
    pkg.depend.bypass-generate=.*/SimpleHTTPServer.* \
    pkg.depend.bypass-generate=.*/array.* \
    pkg.depend.bypass-generate=.*/cStringIO.* \
    pkg.depend.bypass-generate=.*/http.* pkg.depend.bypass-generate=.*/md5.* \
    pkg.depend.bypass-generate=.*/select.* \
    pkg.depend.bypass-generate=.*/sha.* pkg.depend.bypass-generate=.*/time.*
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \
    pkg.depend.bypass-generate=.*/BaseHTTPServer.* \
    pkg.depend.bypass-generate=.*/SocketServer.* \
    pkg.depend.bypass-generate=.*/http.* \
    pkg.depend.bypass-generate=.*/select.* \
    pkg.depend.bypass-generate=.*/socketserver.* \
    pkg.depend.bypass-generate=.*/time.* \
    pkg.depend.bypass-generate=.*/urllib.* \
    pkg.depend.bypass-generate=.*/urlparse.*
#
license websockify.license license="LGPL3, BSD, MIT"

# force a group dependency on the optional python-extra; pkgdepend work is
# needed to flush this out.
$(PYTHON_2.7_ONLY)depend type=group fmri=library/python/python-extra-$(PYV)

# force the rename with an optional dependency on the old name
depend type=optional \
    fmri=library/python-2/websockify-$(PYV)@0.3.0,5.11-0.175.2.0.0.41.0

# force a dependency on the websockify package
depend type=require \
    fmri=library/python/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)