commit | author | age
|
73753b
|
1 |
# |
AP |
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 |
# |
00e2ae
|
21 |
|
73753b
|
22 |
# |
00e2ae
|
23 |
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
MN |
24 |
# Copyright (c) 2019, Michal Nowak |
a2e023
|
25 |
# Copyright (c) 2023, Niklas Poslovski |
00e2ae
|
26 |
# |
MN |
27 |
|
1e7e83
|
28 |
OPENSSL_VERSION= 3.1 |
5fc55a
|
29 |
include ../../../make-rules/shared-macros.mk |
73753b
|
30 |
|
AP |
31 |
COMPONENT_NAME= apache2 |
5a9394
|
32 |
COMPONENT_VERSION= 2.4.59 |
ad3fb4
|
33 |
COMPONENT_PROJECT_URL= https://httpd.apache.org/ |
73753b
|
34 |
COMPONENT_SRC_NAME= httpd |
AP |
35 |
COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) |
|
36 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
5a9394
|
37 |
COMPONENT_ARCHIVE_HASH= sha256:e4ec4ce12c6c8f5a794dc2263d126cb1d6ef667f034c4678ec945d61286e8b0f |
ad3fb4
|
38 |
COMPONENT_ARCHIVE_URL= https://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE) |
73753b
|
39 |
|
991067
|
40 |
CONFIGURE_DEFAULT_DIRS= no |
73753b
|
41 |
|
991067
|
42 |
TEST_TARGET= $(NO_TESTS) |
ad3fb4
|
43 |
include $(WS_MAKE_RULES)/common.mk |
73753b
|
44 |
|
991067
|
45 |
PATCH_LEVEL= 0 |
73753b
|
46 |
|
AP |
47 |
# Some patches need configure script re-creation. |
|
48 |
COMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.c $(@D)/modules/aaa); |
|
49 |
COMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.html $(@D)/docs/manual/mod); |
|
50 |
COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf); |
|
51 |
|
|
52 |
CFLAGS += -DSSL_EXPERIMENTAL -DSSL_ENGINE |
|
53 |
|
|
54 |
# pipefail wouldn't allow APR-util version check |
|
55 |
CONFIGURE_ENV += SHELLOPTS= |
|
56 |
|
|
57 |
CONFIGURE_PREFIX = /usr/apache2/2.4 |
|
58 |
|
|
59 |
CONFIGURE_OPTIONS += --enable-mods-shared=all |
3d9f32
|
60 |
CONFIGURE_OPTIONS += --enable-mpms-shared=all |
73753b
|
61 |
CONFIGURE_OPTIONS += --enable-so |
AP |
62 |
CONFIGURE_OPTIONS += --enable-suexec |
|
63 |
CONFIGURE_OPTIONS += --with-suexec-caller=webservd |
|
64 |
CONFIGURE_OPTIONS += --enable-proxy |
|
65 |
CONFIGURE_OPTIONS += --enable-proxy-connect |
|
66 |
CONFIGURE_OPTIONS += --enable-proxy-ftp |
|
67 |
CONFIGURE_OPTIONS += --enable-proxy-http |
|
68 |
CONFIGURE_OPTIONS += --enable-proxy-ajp |
|
69 |
CONFIGURE_OPTIONS += --enable-proxy-balancer |
|
70 |
CONFIGURE_OPTIONS += --enable-cache |
|
71 |
CONFIGURE_OPTIONS += --enable-file-cache |
|
72 |
CONFIGURE_OPTIONS += --enable-disk-cache |
|
73 |
CONFIGURE_OPTIONS += --enable-mem-cache |
bbad97
|
74 |
CONFIGURE_OPTIONS += --enable-brotli |
73753b
|
75 |
CONFIGURE_OPTIONS += --enable-deflate |
AP |
76 |
CONFIGURE_OPTIONS += --enable-cgid |
|
77 |
CONFIGURE_OPTIONS += --enable-cgi |
|
78 |
CONFIGURE_OPTIONS += --enable-authnz-ldap |
|
79 |
CONFIGURE_OPTIONS += --enable-ldap |
|
80 |
CONFIGURE_OPTIONS += --enable-ssl |
|
81 |
CONFIGURE_OPTIONS += --enable-exception-hook |
|
82 |
CONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC" |
3d9f32
|
83 |
CONFIGURE_OPTIONS += --enable-layout=Solaris-Apache2 |
AP |
84 |
CONFIGURE_OPTIONS += CC="$(CC) -m$(BITS)" |
d46df7
|
85 |
CONFIGURE_OPTIONS += --with-apr=/usr/apr/bin/apr-1-config |
K |
86 |
CONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/bin/apu-1-config |
73753b
|
87 |
|
3d9f32
|
88 |
install: $(INSTALL_64) |
73753b
|
89 |
# Some files installed in proto area need to be fixed. |
3d9f32
|
90 |
$(KSH93) Solaris/customization.sh $(PROTO_DIR) |
AP |
91 |
$(TOUCH) $(BUILD_DIR) |
73753b
|
92 |
|
61e95c
|
93 |
# Auto-generated dependencies |
117328
|
94 |
REQUIRED_PACKAGES += SUNWcs |
be11ba
|
95 |
REQUIRED_PACKAGES += library/apr |
AP |
96 |
REQUIRED_PACKAGES += library/apr-util |
|
97 |
REQUIRED_PACKAGES += library/apr-util/apr-ldap |
|
98 |
REQUIRED_PACKAGES += library/apr-util/dbd-mysql |
|
99 |
REQUIRED_PACKAGES += library/apr-util/dbd-sqlite |
bbad97
|
100 |
REQUIRED_PACKAGES += library/brotli |
be11ba
|
101 |
REQUIRED_PACKAGES += library/libxml2 |
AP |
102 |
REQUIRED_PACKAGES += library/nghttp2 |
|
103 |
REQUIRED_PACKAGES += library/openldap |
fa2697
|
104 |
REQUIRED_PACKAGES += library/pcre2 |
1e7e83
|
105 |
REQUIRED_PACKAGES += library/security/openssl-31 |
be11ba
|
106 |
REQUIRED_PACKAGES += library/zlib |
ad3fb4
|
107 |
REQUIRED_PACKAGES += runtime/lua |
a2e023
|
108 |
REQUIRED_PACKAGES += runtime/perl |
ad3fb4
|
109 |
REQUIRED_PACKAGES += shell/ksh93 |
be11ba
|
110 |
REQUIRED_PACKAGES += system/library |
AP |
111 |
REQUIRED_PACKAGES += system/library/math |
|
112 |
REQUIRED_PACKAGES += system/library/security/gss |