9658657e918981d91c8647ed8c220464f10a6235Christian Maeder# CDDL HEADER START
64c2422e1ba0691556a6639e959820add102315cChristian Maeder# The contents of this file are subject to the terms of the
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# Common Development and Distribution License (the "License").
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# You may not use this file except in compliance with the License.
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# or http://www.opensolaris.org/os/licensing.
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# See the License for the specific language governing permissions
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# and limitations under the License.
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
951bd6674ebe0958d7ac959f3de9be6c49f3fa79Christian Maeder# CDDL HEADER END
9f08800df9da91d444560875167fbf7acb8396edChristian Maeder# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
b53688bfed888214b485cf76439d57262d80e0a7Christian MaederCOMPONENT_PROJECT_URL= http://www.lighttpd.net/
c64d33a7fbeae730cbe65193fe3cc24e7aa1ddd6Christian MaederCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
46b1095ba983ce859e17c2a12f48b50583b7150cChristian Maeder sha256:8a5749e218237fafc3119dd8a4fcf510ea728728b3fcf1193fcad7209be4b6d7
64c2422e1ba0691556a6639e959820add102315cChristian MaederCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# lighttpd is logging using __FILE__ macro. Cloning will make this happen
46b1095ba983ce859e17c2a12f48b50583b7150cChristian Maeder# using just source file names (without full absolute paths).
9f08800df9da91d444560875167fbf7acb8396edChristian MaederCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
b53688bfed888214b485cf76439d57262d80e0a7Christian MaederCONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
b53688bfed888214b485cf76439d57262d80e0a7Christian MaederCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -R/usr/mysql/5.5/lib"
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder# Enable ASLR for this component
f11b87e6fd9aeb5514f97da1ce0149f30f3e3f8aChristian Maeder# common targets
f11b87e6fd9aeb5514f97da1ce0149f30f3e3f8aChristian MaederREQUIRED_PACKAGES += database/mysql-55/library
951bd6674ebe0958d7ac959f3de9be6c49f3fa79Christian MaederREQUIRED_PACKAGES += library/security/openssl