21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 # python-extra is part of python 2.6 only |
|
27 <transform depend fmri=library/python-2/python-extra-27 -> drop> |
|
28 set name=pkg.fmri \ |
26 set name=pkg.fmri \ |
29 value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
27 value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
30 set name=pkg.summary value="WebSocket to TCP proxy/bridge" |
28 set name=pkg.summary value="WebSocket to TCP proxy/bridge" |
31 set name=pkg.description \ |
29 set name=pkg.description \ |
32 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." |
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." |
61 pkg.depend.bypass-generate=.*/cStringIO.* \ |
59 pkg.depend.bypass-generate=.*/cStringIO.* \ |
62 pkg.depend.bypass-generate=.*/http.* pkg.depend.bypass-generate=.*/md5.* \ |
60 pkg.depend.bypass-generate=.*/http.* pkg.depend.bypass-generate=.*/md5.* \ |
63 pkg.depend.bypass-generate=.*/select.* \ |
61 pkg.depend.bypass-generate=.*/select.* \ |
64 pkg.depend.bypass-generate=.*/sha.* pkg.depend.bypass-generate=.*/time.* |
62 pkg.depend.bypass-generate=.*/sha.* pkg.depend.bypass-generate=.*/time.* |
65 file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \ |
63 file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \ |
|
64 pkg.depend.bypass-generate=.*/BaseHTTPServer.* \ |
|
65 pkg.depend.bypass-generate=.*/SocketServer.* \ |
|
66 pkg.depend.bypass-generate=.*/http.* \ |
66 pkg.depend.bypass-generate=.*/select.* \ |
67 pkg.depend.bypass-generate=.*/select.* \ |
|
68 pkg.depend.bypass-generate=.*/socketserver.* \ |
67 pkg.depend.bypass-generate=.*/time.* \ |
69 pkg.depend.bypass-generate=.*/time.* \ |
68 pkg.depend.bypass-generate=.*/urllib.* \ |
70 pkg.depend.bypass-generate=.*/urllib.* \ |
69 pkg.depend.bypass-generate=.*/urlparse.* |
71 pkg.depend.bypass-generate=.*/urlparse.* |
70 # |
72 # |
71 license websockify.license license="LGPL3, BSD, MIT" |
73 license websockify.license license="LGPL3, BSD, MIT" |
72 |
74 |
73 # force a group dependency on the optional python-extra; pkgdepend work is |
75 # force a group dependency on the optional python-extra; pkgdepend work is |
74 # needed to flush this out. |
76 # needed to flush this out. |
75 depend type=group fmri=library/python-2/python-extra-$(PYV) |
77 $(PYTHON_2.6_ONLY)depend type=group fmri=library/python-2/python-extra-$(PYV) |
|
78 $(PYTHON_2.7_ONLY)depend type=group fmri=library/python/python-extra-$(PYV) |
76 |
79 |
77 # force the rename with an optional dependency on the old name |
80 # force the rename with an optional dependency on the old name |
78 depend type=optional \ |
81 depend type=optional \ |
79 fmri=library/python-2/websockify-$(PYV)@0.3.0,5.11-0.175.2.0.0.41.0 |
82 fmri=library/python-2/websockify-$(PYV)@0.3.0,5.11-0.175.2.0.0.41.0 |
80 |
83 |