3877N/A#
3877N/A# CDDL HEADER START
3877N/A#
3877N/A# The contents of this file are subject to the terms of the
3877N/A# Common Development and Distribution License (the "License").
3877N/A# You may not use this file except in compliance with the License.
3877N/A#
3877N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3877N/A# or http://www.opensolaris.org/os/licensing.
3877N/A# See the License for the specific language governing permissions
3877N/A# and limitations under the License.
3877N/A#
3877N/A# When distributing Covered Code, include this CDDL HEADER in each
3877N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3877N/A# If applicable, add the following below this CDDL HEADER, with the
3877N/A# fields enclosed by brackets "[]" replaced with your own identifying
3877N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3877N/A#
3877N/A# CDDL HEADER END
3877N/A#
6720N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
3877N/A#
3877N/Ainclude ../../make-rules/shared-macros.mk
3877N/A
3877N/ACOMPONENT_NAME= apache2
6720N/ACOMPONENT_VERSION= 2.4.23
3877N/ACOMPONENT_PROJECT_URL= http://httpd.apache.org/
3877N/ACOMPONENT_SRC_NAME= httpd
3877N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
3877N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3877N/ACOMPONENT_ARCHIVE_HASH= \
6720N/A sha256:b71a13f56b8061c6b4086fdcc9ffdddd904449735eadec0f0e2947e33eec91d7
3877N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE)
3877N/ACOMPONENT_BUGDB= utility/apache
3877N/A
6720N/ATPNO= 30187
3877N/A
3877N/ACONFIGURE_DEFAULT_DIRS=no
3877N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3877N/A
6720N/A# Newer compiler is needed to fix 23197423.
6720N/ASPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.4
6720N/A
3877N/AASLR_MODE = $(ASLR_ENABLE)
3877N/A
3877N/APATCH_LEVEL=0
3877N/A
3877N/A# We will build two separate mod_ssl versions.
3877N/ACOMPONENT_POST_UNPACK_ACTION = (cd $(SOURCE_DIR)/modules; $(CP) -r ssl ssl-fips-140)
3877N/A
3877N/A# Some patches need configure script re-creation.
3877N/ACOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.c $(@D)/modules/aaa);
3877N/ACOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.html $(@D)/docs/manual/mod);
3877N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
3877N/A
3877N/ACONFIGURE_PREFIX = /usr/apache2/2.4
3877N/A
3877N/ACONFIGURE_OPTIONS += --enable-layout=Solaris
3877N/ACONFIGURE_OPTIONS += --enable-mpms-shared=all
3877N/ACONFIGURE_OPTIONS += --enable-mods-shared=all
3877N/ACONFIGURE_OPTIONS += --enable-exception-hook
3877N/ACONFIGURE_OPTIONS += --enable-cgi
3877N/ACONFIGURE_OPTIONS += --enable-suexec
3877N/ACONFIGURE_OPTIONS += --with-suexec-caller=webservd
3877N/ACONFIGURE_OPTIONS += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
3877N/ACONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.5/bin/$(MACH64)/apu-1-config
3877N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3877N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
3877N/A
3877N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
3877N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
3877N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
3877N/Aendif
3877N/A
3877N/ACOMPONENT_POST_INSTALL_ACTION += ($(KSH93) Solaris/customization.sh $(PROTO_DIR))
3877N/A
3877N/Aconfigure: $(CONFIGURE_64)
3877N/A
3877N/Abuild: $(BUILD_64)
3877N/A
3877N/Ainstall: $(INSTALL_64)
3877N/A
3877N/Atest: $(NO_TESTS)
3877N/A
3877N/A
3996N/AREQUIRED_PACKAGES += library/apr-15
3996N/AREQUIRED_PACKAGES += library/apr-util-15
3996N/AREQUIRED_PACKAGES += library/apr-util-15/apr-ldap
3996N/AREQUIRED_PACKAGES += library/apr-util-15/dbd-mysql
3996N/AREQUIRED_PACKAGES += library/apr-util-15/dbd-sqlite
3996N/AREQUIRED_PACKAGES += library/libxml2
3996N/AREQUIRED_PACKAGES += library/openldap
3996N/AREQUIRED_PACKAGES += library/pcre
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += runtime/lua
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += system/library/security/gss
3996N/AREQUIRED_PACKAGES += system/network