author | Petr Sumbera <petr.sumbera@oracle.com> |
Wed, 25 Nov 2015 05:01:40 -0800 | |
changeset 5172 | 2ac937ed383b |
parent 5125 | 34cc580c62c2 |
child 5682 | 94c0ca64c022 |
permissions | -rw-r--r-- |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
1 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
3 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
7 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
12 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
18 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
20 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
21 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
23 |
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
24 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
25 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
27 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= mod_wsgi |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
29 |
COMPONENT_VERSION= 4.3.0 |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= sha256:89dfcc8564bb8781f36370c80c6fbeef9ec0723dec273231f4f760760d8e813d |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= https://pypi.python.org/packages/source/m/mod_wsgi/$(COMPONENT_ARCHIVE) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://code.google.com/p/modwsgi/ |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
804
diff
changeset
|
35 |
COMPONENT_BUGDB= utility/apache |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
36 |
|
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
37 |
TPNO= 19269 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
38 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/prep.mk |
5125
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
40 |
# Don't use default CPPFLAGS; it causes Apache's custom CPP to fail. |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
41 |
CONFIGURE_CPPFLAGS= |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
44 |
include ../modules.mk |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
45 |
|
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
46 |
APACHE_USR_PREFIX = /usr/apache2/ |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
47 |
|
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
48 |
VARIANT_AP_24_PY27 = $(BUILD_DIR)/apache24-python27 |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
49 |
VARIANT_AP_24_PY34 = $(BUILD_DIR)/apache24-python34 |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
50 |
|
5172
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
51 |
VARIANTS_64 = $(VARIANT_AP_24_PY27) $(VARIANT_AP_24_PY34) |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
52 |
|
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
53 |
$(BUILD_DIR)/apache24-%/$(MACH64)/.configured: APXS=$(APACHE_USR_PREFIX)/2.4/bin/apxs |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
54 |
|
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
55 |
$(BUILD_DIR)/apache2%-python27/$(MACH64)/.configured: PYTHON=$(PYTHON.2.7.64) |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
56 |
$(BUILD_DIR)/apache2%-python34/$(MACH64)/.configured: PYTHON=$(PYTHON.3.4.64) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
57 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
58 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
59 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
60 |
|
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --with-python=$(PYTHON) |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --with-apxs=$(APXS) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
63 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1394
diff
changeset
|
64 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1394
diff
changeset
|
65 |
|
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
66 |
# common targets |
5172
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
67 |
configure: $(MODULES_CONFIGURE) |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2163
diff
changeset
|
68 |
|
5172
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
69 |
build: $(MODULES_BUILD) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
70 |
|
5172
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
71 |
install: $(MODULES_INSTALL) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
72 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3936
diff
changeset
|
73 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3936
diff
changeset
|
74 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
75 |
REQUIRED_PACKAGES += runtime/python-27 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
76 |
REQUIRED_PACKAGES += runtime/python-34 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
77 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
78 |
REQUIRED_PACKAGES += system/library/math |