278N/A#
278N/A# CDDL HEADER START
278N/A#
278N/A# The contents of this file are subject to the terms of the
278N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
278N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
278N/A# or http://www.opensolaris.org/os/licensing.
278N/A# See the License for the specific language governing permissions
278N/A# and limitations under the License.
278N/A#
278N/A# When distributing Covered Code, include this CDDL HEADER in each
278N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
278N/A# If applicable, add the following below this CDDL HEADER, with the
278N/A# fields enclosed by brackets "[]" replaced with your own identifying
278N/A# information: Portions Copyright [yyyy] [name of copyright owner]
278N/A#
278N/A# CDDL HEADER END
278N/A#
3996N/A
278N/A#
278N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
278N/A#
1273N/A
4880N/Ainclude ../../make-rules/shared-macros.mk
618N/A
1273N/ACOMPONENT_NAME= lighttpd
1273N/ACOMPONENT_VERSION= 1.4.41
278N/ACOMPONENT_PROJECT_URL= http://www.lighttpd.net/
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4880N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4018N/ACOMPONENT_ARCHIVE_HASH= \
1273N/A sha256:8a5749e218237fafc3119dd8a4fcf510ea728728b3fcf1193fcad7209be4b6d7
278N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
4880N/ACOMPONENT_BUGDB= utility/lighttpd
4018N/A
4018N/ATPNO= 31753
4018N/A
3661N/ALIGHTTPD_INSTALLDIR=$(USRDIR)/lighttpd/1.4
3996N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
4018N/Ainclude $(WS_MAKE_RULES)/ips.mk
278N/A
278N/APATCH_LEVEL=0
278N/A
278N/A# lighttpd is logging using __FILE__ macro. Cloning will make this happen
278N/A# using just source file names (without full absolute paths).
4018N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
278N/A
4018N/ACONFIGURE_PREFIX= $(LIGHTTPD_INSTALLDIR)
278N/ACONFIGURE_MANDIR= $(CONFIGURE_PREFIX)/man
4018N/A
278N/ACONFIGURE_OPTIONS += --with-pic
278N/ACONFIGURE_OPTIONS += --with-lua
278N/ACONFIGURE_OPTIONS += --with-openssl
278N/ACONFIGURE_OPTIONS += --with-pcre
278N/ACONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
278N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -R/usr/mysql/5.5/lib"
3996N/A
# Enable ASLR for this component
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += database/mysql-55/library
REQUIRED_PACKAGES += library/pcre
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += runtime/lua
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/network
REQUIRED_PACKAGES += web/fastcgi/spawn-fcgi