components/python/websockify/websockify-PYVER.p5m
author John Beck <John.Beck@Oracle.COM>
Tue, 08 Mar 2016 07:26:50 -0800
branchs11u3-sru
changeset 5632 4056b7992034
parent 4072 db0cec748ec0
child 7811 9126e6f58cd8
permissions -rw-r--r--
21699326 Userland package history simplification
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    23
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
set name=pkg.fmri \
3152
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    27
    value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
set name=pkg.summary value="WebSocket to TCP proxy/bridge"
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
set name=pkg.description \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
    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."
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
set name=com.oracle.info.description \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
    value="Websockify, the WebSockets translater"
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3167
diff changeset
    33
set name=com.oracle.info.tpno value=$(TPNO)
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
set name=info.classification \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
    value=org.opensolaris.category.2008:Development/Python \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
    value="org.opensolaris.category.2008:Web Services/Communications"
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
set name=info.upstream value="Joel Martin <[email protected]>"
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
set name=org.opensolaris.arc-caseid value=PSARC/2013/418
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
link path=usr/bin/websockify target=websockify-$(PYVER) mediator=python \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
    mediator-version=$(PYVER)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
file path=usr/bin/websockify-$(PYVER)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/__init__.py
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    54
# The bypasses for array, select & time are temporary until pkgdepend learns
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    55
# about PEP 3149, new in Python 3.x; see 19510349.
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocket.py \
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    57
    pkg.depend.bypass-generate=.*/SimpleHTTPServer.* \
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    58
    pkg.depend.bypass-generate=.*/array.* \
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    59
    pkg.depend.bypass-generate=.*/cStringIO.* \
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    60
    pkg.depend.bypass-generate=.*/http.* pkg.depend.bypass-generate=.*/md5.* \
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    61
    pkg.depend.bypass-generate=.*/select.* \
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    62
    pkg.depend.bypass-generate=.*/sha.* pkg.depend.bypass-generate=.*/time.*
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    63
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \
4072
db0cec748ec0 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3783
diff changeset
    64
    pkg.depend.bypass-generate=.*/BaseHTTPServer.* \
db0cec748ec0 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3783
diff changeset
    65
    pkg.depend.bypass-generate=.*/SocketServer.* \
db0cec748ec0 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3783
diff changeset
    66
    pkg.depend.bypass-generate=.*/http.* \
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    67
    pkg.depend.bypass-generate=.*/select.* \
4072
db0cec748ec0 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3783
diff changeset
    68
    pkg.depend.bypass-generate=.*/socketserver.* \
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    69
    pkg.depend.bypass-generate=.*/time.* \
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    70
    pkg.depend.bypass-generate=.*/urllib.* \
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    71
    pkg.depend.bypass-generate=.*/urlparse.*
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    72
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    73
license websockify.license license="LGPL3, BSD, MIT"
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    74
3152
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    75
# force a group dependency on the optional python-extra; pkgdepend work is
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    76
# needed to flush this out.
4072
db0cec748ec0 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3783
diff changeset
    77
$(PYTHON_2.6_ONLY)depend type=group fmri=library/python-2/python-extra-$(PYV)
db0cec748ec0 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3783
diff changeset
    78
$(PYTHON_2.7_ONLY)depend type=group fmri=library/python/python-extra-$(PYV)
3152
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    79
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    80
# force the rename with an optional dependency on the old name
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    81
depend type=optional \
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    82
    fmri=library/python-2/websockify-$(PYV)@0.3.0,5.11-0.175.2.0.0.41.0
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    83
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    84
# force a dependency on the websockify package
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    85
depend type=require \
3152
1572f2692c01 17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents: 2946
diff changeset
    86
    fmri=library/python/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)