components/python/websockify/websockify-PYVER.p5m
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:40 -0700
changeset 6845 878a6cd0d0f9
parent 4984 7145b15b7f0d
child 6890 f11758d2db28
permissions -rw-r--r--
23209257 Upgrade Websockify to 0.8.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
043f53535ed4 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.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
043f53535ed4 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
043f53535ed4 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.
043f53535ed4 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
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
6845
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    23
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
set name=pkg.fmri \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
    value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
043f53535ed4 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"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
set name=pkg.description \
043f53535ed4 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."
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
set name=com.oracle.info.description \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
    value="Websockify, the WebSockets translater"
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1920
diff changeset
    33
set name=com.oracle.info.tpno value=$(TPNO)
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
set name=info.classification \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
    value=org.opensolaris.category.2008:Development/Python \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
    value="org.opensolaris.category.2008:Web Services/Communications"
043f53535ed4 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)
043f53535ed4 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]>"
043f53535ed4 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)
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
#
043f53535ed4 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 \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
    mediator-version=$(PYVER)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
file path=usr/bin/websockify-$(PYVER)
6845
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    46
file path=usr/lib/python$(PYVER)/vendor-packages/share/websockify/include/base64.js
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    47
file path=usr/lib/python$(PYVER)/vendor-packages/share/websockify/include/util.js
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    48
file path=usr/lib/python$(PYVER)/vendor-packages/share/websockify/include/web-socket-js/WebSocketMain.swf
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    49
file path=usr/lib/python$(PYVER)/vendor-packages/share/websockify/include/web-socket-js/swfobject.js
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    50
file path=usr/lib/python$(PYVER)/vendor-packages/share/websockify/include/web-socket-js/web_socket.js
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    51
file path=usr/lib/python$(PYVER)/vendor-packages/share/websockify/include/websock.js
1691
043f53535ed4 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/PKG-INFO
043f53535ed4 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-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt
043f53535ed4 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-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    58
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    59
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/__init__.py
6845
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    60
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/auth_plugins.py
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    61
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/token_plugins.py
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    62
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocket.py \
1907
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1890
diff changeset
    63
    pkg.depend.bypass-generate=.*/SimpleHTTPServer.* \
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1890
diff changeset
    64
    pkg.depend.bypass-generate=.*/cStringIO.* \
6845
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    65
    pkg.depend.bypass-generate=.*/http.* pkg.depend.bypass-generate=.*/sha.*
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    66
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3732
diff changeset
    67
    pkg.depend.bypass-generate=.*/BaseHTTPServer.* \
6845
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    68
    pkg.depend.bypass-generate=.*/[Ss]ocket[Ss]erver.* \
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3732
diff changeset
    69
    pkg.depend.bypass-generate=.*/http.* \
1907
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1890
diff changeset
    70
    pkg.depend.bypass-generate=.*/urllib.* \
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    71
    pkg.depend.bypass-generate=.*/urlparse.*
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    72
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    73
license websockify.license license="LGPL3, BSD, MIT"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    74
1738
b0b1ae2fe392 18339469 Additional Python modules need rename packages for updating from 11.2
Drew Fisher <drew.fisher@oracle.com>
parents: 1693
diff changeset
    75
# force the rename with an optional dependency on the old name
b0b1ae2fe392 18339469 Additional Python modules need rename packages for updating from 11.2
Drew Fisher <drew.fisher@oracle.com>
parents: 1693
diff changeset
    76
depend type=optional \
1762
318f8ff09ac3 18339469 Additional Python modules need rename packages for updating from 11.2 (fix build number)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1738
diff changeset
    77
    fmri=library/python-2/websockify-$(PYV)@0.3.0,5.12-5.12.0.0.0.44.0
1738
b0b1ae2fe392 18339469 Additional Python modules need rename packages for updating from 11.2
Drew Fisher <drew.fisher@oracle.com>
parents: 1693
diff changeset
    78
6845
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    79
# force a dependency on requests; pkgdepend work is needed to flush this out.
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    80
depend type=require fmri=library/python/requests-$(PYV)
878a6cd0d0f9 23209257 Upgrade Websockify to 0.8.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    81
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    82
# force a dependency on the websockify package
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    83
depend type=require \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    84
    fmri=library/python/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)