|
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 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 include ../../make-rules/shared-macros.mk |
|
24 |
|
25 COMPONENT_NAME= apache2 |
|
26 COMPONENT_VERSION= 2.4.10 |
|
27 COMPONENT_PROJECT_URL= http://httpd.apache.org/ |
|
28 COMPONENT_SRC_NAME= httpd |
|
29 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) |
|
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
31 COMPONENT_ARCHIVE_HASH= \ |
|
32 sha256:ab62f3283de03126fbd509866d8e4fdc9317235b6fca2734ae18827271f9c1fe |
|
33 COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE) |
|
34 COMPONENT_BUGDB= utility/apache |
|
35 |
|
36 TPNO= 18388 |
|
37 |
|
38 CONFIGURE_DEFAULT_DIRS=no |
|
39 |
|
40 include ../../make-rules/prep.mk |
|
41 include ../../make-rules/configure.mk |
|
42 include ../../make-rules/ips.mk |
|
43 |
|
44 ASLR_MODE = $(ASLR_ENABLE) |
|
45 |
|
46 PATCH_LEVEL=0 |
|
47 |
|
48 # Some patches need configure script re-creation. |
|
49 COMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.c $(@D)/modules/aaa); |
|
50 COMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.html $(@D)/docs/manual/mod); |
|
51 COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf); |
|
52 |
|
53 CONFIGURE_PREFIX = /usr/apache2/2.4 |
|
54 |
|
55 CONFIGURE_OPTIONS += --enable-layout=Solaris |
|
56 CONFIGURE_OPTIONS += --enable-mpms-shared=all |
|
57 CONFIGURE_OPTIONS += --enable-mods-shared=all |
|
58 CONFIGURE_OPTIONS += --enable-exception-hook |
|
59 CONFIGURE_OPTIONS += --enable-cgi |
|
60 CONFIGURE_OPTIONS += --enable-suexec |
|
61 CONFIGURE_OPTIONS += --with-suexec-caller=webservd |
|
62 CONFIGURE_OPTIONS += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config |
|
63 CONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.5/bin/$(MACH64)/apu-1-config |
|
64 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
65 CONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC" |
|
66 |
|
67 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin |
|
68 ifeq ($(strip $(PARFAIT_BUILD)),yes) |
|
69 PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin |
|
70 endif |
|
71 |
|
72 COMPONENT_POST_INSTALL_ACTION += ($(KSH93) Solaris/customization.sh $(PROTO_DIR)) |
|
73 |
|
74 build: $(BUILD_64) |
|
75 |
|
76 install: $(INSTALL_64) |
|
77 |
|
78 test: $(NO_TESTS) |
|
79 |
|
80 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
81 |
|
82 include ../../make-rules/depend.mk |