author | Rich Burridge <rich.burridge@oracle.com> |
Fri, 08 Jan 2016 14:43:57 -0800 | |
changeset 5251 | 884af3874810 |
parent 5008 | 7a4cf1e8bc15 |
child 6399 | 6205769a2639 |
permissions | -rw-r--r-- |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1456
diff
changeset
|
21 |
|
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1456
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3497
diff
changeset
|
23 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
127
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
25 |
include ../../../make-rules/shared-macros.mk |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
26 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
27 |
COMPONENT_NAME= pyOpenSSL |
1456
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
28 |
COMPONENT_VERSION= 0.13 |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
706
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
1456
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
32 |
sha256:21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= https://launchpad.net/pyopenssl |
1122
b156e774aad0
16172208 Need to adjust COMPONENT_BUGDB for net-ssleay and pyopenssl
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
35 |
COMPONENT_BUGDB= python-mod/pyopenssl |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
36 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1890
diff
changeset
|
37 |
TPNO= 9207 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1890
diff
changeset
|
38 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3497
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3497
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/setup.py.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3497
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/ips.mk |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
42 |
|
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1456
diff
changeset
|
43 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1456
diff
changeset
|
44 |
|
1456
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
45 |
COMPONENT_TEST_DIR = $(COMPONENT_SRC)/OpenSSL/test |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
46 |
# The .so files are under ./OpenSSL/64 not ./64/OpenSSL so the |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
47 |
# $(PYTHON_VENDOR_PACKAGES) variable for 64bit Python is wrong. |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
48 |
# Everything works fine if we just add the 32bit path. |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
49 |
COMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32) |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
50 |
COMPONENT_TEST_CMD = $(SHELL) |
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
51 |
COMPONENT_TEST_ARGS = $(COMPONENT_DIR)/files/runtests |
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1122
diff
changeset
|
52 |
|
5008
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
53 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
54 |
|
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
55 |
# Using nawk for easier test results processing and stripping out the |
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
56 |
# random portions (like time to complete the tests). |
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
57 |
COMPONENT_TEST_TRANSFORMER = $(NAWK) |
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
58 |
COMPONENT_TEST_TRANSFORMS = "'/^Running / { print }; /^ERROR: / { print }; /^FAIL: / { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^OK / { print };'" |
7a4cf1e8bc15
20461038 PYOPENSSL should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
59 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
60 |
build: $(BUILD_32_and_64) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
61 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
62 |
install: $(INSTALL_32_and_64) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
63 |
|
1456
b367e3ae9667
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
1434
diff
changeset
|
64 |
test: $(TEST_32_and_64) |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
65 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
66 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
67 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
68 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3497
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3497
diff
changeset
|
70 |
REQUIRED_PACKAGES += system/library |