4416N/A#
4416N/A# CDDL HEADER START
4416N/A#
4416N/A# The contents of this file are subject to the terms of the
4416N/A# Common Development and Distribution License (the "License").
4416N/A# You may not use this file except in compliance with the License.
4416N/A#
4416N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4416N/A# or http://www.opensolaris.org/os/licensing.
4416N/A# See the License for the specific language governing permissions
4416N/A# and limitations under the License.
4416N/A#
4416N/A# When distributing Covered Code, include this CDDL HEADER in each
4416N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4416N/A# If applicable, add the following below this CDDL HEADER, with the
4416N/A# fields enclosed by brackets "[]" replaced with your own identifying
4416N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4416N/A#
4416N/A# CDDL HEADER END
4416N/A#
4416N/A
4416N/A#
4416N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4416N/A#
4416N/A
4416N/Ainclude ../../../make-rules/shared-macros.mk
4416N/Ainclude $(WS_COMPONENTS)/php/php-metadata.mk
4416N/A
4416N/ACOMPONENT_NAME= suhosin
4416N/ACOMPONENT_VERSION= 0.9.37.1
4416N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4416N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4416N/ACOMPONENT_ARCHIVE_HASH= \
4416N/A sha256:322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba
4416N/ACOMPONENT_ARCHIVE_URL= http://download.suhosin.org/$(COMPONENT_ARCHIVE)
4416N/ACOMPONENT_PROJECT_URL= http://www.suhosin.org/
4416N/A
4416N/ATPNO= 22432
4416N/A
4416N/Ainclude $(WS_MAKE_RULES)/prep.mk
4416N/Ainclude $(WS_MAKE_RULES)/configure.mk
4416N/Ainclude $(WS_MAKE_RULES)/ips.mk
4416N/A
4416N/Ainclude $(PHP_TOP_DIR)/phpize.mk
4416N/A
4416N/ACONFIGURE_OPTIONS += --enable-suhosin
4416N/A
4416N/A# Run MySQL tests - requires MySQL (and maybe configuration!)
4416N/A#COMPONENT_TEST_ENV += TEST_SUHOSIN_MYSQL=1
4416N/A
4416N/Aconfigure: $(CONFIGURE_64)
4416N/Abuild: $(BUILD_64)
4416N/Ainstall: $(INSTALL_64)
4416N/Atest: $(TEST_64)
4416N/A
4416N/AREQUIRED_PACKAGES += system/library