18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# CDDL HEADER START
18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# The contents of this file are subject to the terms of the
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# Common Development and Distribution License (the "License").
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# You may not use this file except in compliance with the License.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# or http://www.opensolaris.org/os/licensing.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# See the License for the specific language governing permissions
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# and limitations under the License.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# When distributing Covered Code, include this CDDL HEADER in each
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# If applicable, add the following below this CDDL HEADER, with the
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# fields enclosed by brackets "[]" replaced with your own identifying
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# information: Portions Copyright [yyyy] [name of copyright owner]
18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# CDDL HEADER END
18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem#
18c2aff776a775d34a4c9893a4c72e0434d68e36arteminclude ../../../make-rules/shared-macros.mk
18c2aff776a775d34a4c9893a4c72e0434d68e36artem
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_NAME= suhosin
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_VERSION= 0.9.33
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_ARCHIVE_HASH= \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem sha256:865b1c72bae9a5a710fe0b07a0635556ce6c838653ec364d2a2a6e6f594529c5
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_ARCHIVE_URL= http://download.suhosin.org/$(COMPONENT_ARCHIVE)
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_PROJECT_URL= http://www.hardened-php.net/suhosin/index.html
18c2aff776a775d34a4c9893a4c72e0434d68e36artem
18c2aff776a775d34a4c9893a4c72e0434d68e36arteminclude ../extensions.mk
18c2aff776a775d34a4c9893a4c72e0434d68e36artem
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCONFIGURE_OPTIONS += --enable-suhosin
18c2aff776a775d34a4c9893a4c72e0434d68e36artem
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_POST_INSTALL_ACTION = ( \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem set -e; \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem $(FIX_CONFIG_FILES); \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem )
18c2aff776a775d34a4c9893a4c72e0434d68e36artem
18c2aff776a775d34a4c9893a4c72e0434d68e36artemPKG_PROTO_DIRS += $(COMPONENT_DIR)/../suhosin-zts/build/prototype/$(MACH)
18c2aff776a775d34a4c9893a4c72e0434d68e36artem
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# test failures; keep going
18c2aff776a775d34a4c9893a4c72e0434d68e36artemCOMPONENT_TEST_ARGS += -k -i
18c2aff776a775d34a4c9893a4c72e0434d68e36artem