c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# CDDL HEADER START
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# The contents of this file are subject to the terms of the
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# Common Development and Distribution License (the "License").
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# You may not use this file except in compliance with the License.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78f87ea1d30f3f54bdf8560ea947ab7ee094283aTeemu Huovila# See the License for the specific language governing permissions
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# and limitations under the License.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# CDDL HEADER END
78f87ea1d30f3f54bdf8560ea947ab7ee094283aTeemu Huovila# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCOMPONENT_PROJECT_URL= http://httpd.apache.org/
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen sha256:b71a13f56b8061c6b4086fdcc9ffdddd904449735eadec0f0e2947e33eec91d7
78f87ea1d30f3f54bdf8560ea947ab7ee094283aTeemu HuovilaCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE)
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# Requires newer Kerberos, unavailable in 11.3
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# This is baked into the Apache module build configuration and is used by apxs
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# to build modules.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# Enable adiheap and adistack security extensions
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# We will build two separate mod_ssl versions.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCOMPONENT_POST_UNPACK_ACTION = (cd $(SOURCE_DIR)/modules; $(CP) -r ssl ssl-fips-140)
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen# Some patches need configure script re-creation.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.c $(@D)/modules/aaa);
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.html $(@D)/docs/manual/mod);
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCONFIGURE_OPTIONS += --with-suexec-caller=webservd
3dc5a231160859c9627157dc53a94d5e4494fe9fTeemu HuovilaCONFIGURE_OPTIONS += --with-apr=$(USRDIR)/apr/1.5/bin/$(MACH64)/apr-1-config
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCONFIGURE_OPTIONS += --with-apr-util=$(USRDIR)/apr-util/1.5/bin/$(MACH64)/apu-1-config
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenPATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenCOMPONENT_POST_INSTALL_ACTION += ($(KSH93) Solaris/customization.sh $(PROTO_DIR))
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenREQUIRED_PACKAGES += library/apr-util-15/apr-ldap
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenREQUIRED_PACKAGES += library/apr-util-15/dbd-mysql
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenREQUIRED_PACKAGES += library/apr-util-15/dbd-sqlite
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo SirainenREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140