author | John Beck <John.Beck@Oracle.COM> |
Wed, 27 Aug 2014 09:04:47 -0700 | |
changeset 2060 | a9ad5cd0ec29 |
parent 1948 | 2d1537e7942d |
child 3732 | 0f62cc221c7e |
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 |
||
26 |
set name=pkg.fmri \ |
|
27 |
value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
28 |
set name=pkg.summary value="WebSocket to TCP proxy/bridge" |
|
29 |
set name=pkg.description \ |
|
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." |
|
31 |
set name=com.oracle.info.description \ |
|
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 | 34 |
set name=info.classification \ |
35 |
value=org.opensolaris.category.2008:Development/Python \ |
|
36 |
value="org.opensolaris.category.2008:Web Services/Communications" |
|
37 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
38 |
set name=info.upstream value="Joel Martin <[email protected]>" |
|
39 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
40 |
set name=org.opensolaris.arc-caseid value=PSARC/2013/418 |
|
41 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
42 |
# |
|
43 |
link path=usr/bin/websockify target=websockify-$(PYVER) mediator=python \ |
|
44 |
mediator-version=$(PYVER) |
|
45 |
file path=usr/bin/websockify-$(PYVER) |
|
46 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
|
47 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
|
48 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
|
49 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
|
50 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
|
51 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
|
52 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
|
53 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/__init__.py |
|
2060
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
54 |
# The bypasses for array, select & time are temporary until pkgdepend learns |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
55 |
# about PEP 3149, new in Python 3.x; see 19510349. |
1691 | 56 |
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
|
57 |
pkg.depend.bypass-generate=.*/SimpleHTTPServer.* \ |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1890
diff
changeset
|
58 |
pkg.depend.bypass-generate=.*/cStringIO.* \ |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1890
diff
changeset
|
59 |
pkg.depend.bypass-generate=.*/http.* pkg.depend.bypass-generate=.*/md5.* \ |
2060
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
60 |
pkg.depend.bypass-generate=.*/sha.* \ |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
61 |
pkg.depend.bypass-generate=.*/array.* \ |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
62 |
pkg.depend.bypass-generate=.*/select.* \ |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
63 |
pkg.depend.bypass-generate=.*/time.* |
1691 | 64 |
file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \ |
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1890
diff
changeset
|
65 |
pkg.depend.bypass-generate=.*/urllib.* \ |
2060
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
66 |
pkg.depend.bypass-generate=.*/urlparse.* \ |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
67 |
pkg.depend.bypass-generate=.*/select.* \ |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
68 |
pkg.depend.bypass-generate=.*/time.* |
1691 | 69 |
# |
70 |
license websockify.license license="LGPL3, BSD, MIT" |
|
71 |
||
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1762
diff
changeset
|
72 |
# force a group dependency on the optional python-extra; pkgdepend work is |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1762
diff
changeset
|
73 |
# needed to flush this out. |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1762
diff
changeset
|
74 |
depend type=group fmri=library/python-2/python-extra-$(PYV) |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1762
diff
changeset
|
75 |
|
1738
b0b1ae2fe392
18339469 Additional Python modules need rename packages for updating from 11.2
Drew Fisher <drew.fisher@oracle.com>
parents:
1693
diff
changeset
|
76 |
# 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
|
77 |
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
|
78 |
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
|
79 |
|
1691 | 80 |
# force a dependency on the websockify package |
81 |
depend type=require \ |
|
82 |
fmri=library/python/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |