author | Drew Fisher <drew.fisher@oracle.com> |
Wed, 05 Feb 2014 14:41:11 -0800 | |
changeset 1693 | 31ad79640e2f |
parent 1691 | 043f53535ed4 |
child 1738 | b0b1ae2fe392 |
permissions | -rw-r--r-- |
1691 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
23 |
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
|
24 |
# |
|
25 |
||
1693
31ad79640e2f
17780769 The Websockify module is needed by the openstack project (fix deps)
Drew Fisher <drew.fisher@oracle.com>
parents:
1691
diff
changeset
|
26 |
# python-extra is part of python 2.6 only |
31ad79640e2f
17780769 The Websockify module is needed by the openstack project (fix deps)
Drew Fisher <drew.fisher@oracle.com>
parents:
1691
diff
changeset
|
27 |
<transform depend type=require fmri=library/python-2/python-extra-27 -> drop> |
1691 | 28 |
set name=pkg.fmri \ |
29 |
value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
30 |
set name=pkg.summary value="WebSocket to TCP proxy/bridge" |
|
31 |
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." |
|
33 |
set name=com.oracle.info.description \ |
|
34 |
value="Websockify, the WebSockets translater" |
|
35 |
set name=com.oracle.info.tpno value=14503 |
|
36 |
set name=info.classification \ |
|
37 |
value=org.opensolaris.category.2008:Development/Python \ |
|
38 |
value="org.opensolaris.category.2008:Web Services/Communications" |
|
39 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
40 |
set name=info.upstream value="Joel Martin <[email protected]>" |
|
41 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
42 |
set name=org.opensolaris.arc-caseid value=PSARC/2013/418 |
|
43 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
44 |
# |
|
45 |
link path=usr/bin/websockify target=websockify-$(PYVER) mediator=python \ |
|
46 |
mediator-version=$(PYVER) |
|
47 |
file path=usr/bin/websockify-$(PYVER) |
|
48 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
|
49 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
|
50 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
|
51 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
|
52 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
|
53 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
|
54 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
|
55 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/__init__.py |
|
56 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocket.py \ |
|
57 |
pkg.depend.bypass-generate=.*/http.* |
|
58 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \ |
|
59 |
pkg.depend.bypass-generate=.*/urllib.* |
|
60 |
# |
|
61 |
license websockify.license license="LGPL3, BSD, MIT" |
|
62 |
||
63 |
# force a dependency on python-extra; pkgdepend work is needed to flush this |
|
64 |
# out. |
|
1693
31ad79640e2f
17780769 The Websockify module is needed by the openstack project (fix deps)
Drew Fisher <drew.fisher@oracle.com>
parents:
1691
diff
changeset
|
65 |
depend type=require fmri=library/python-2/python-extra-$(PYV) |
1691 | 66 |
|
67 |
# force a dependency on the websockify package |
|
68 |
depend type=require \ |
|
69 |
fmri=library/python/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |