Makefile revision 3817
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#
3817N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
278N/A#
278N/Ainclude ../../../make-rules/shared-macros.mk
278N/A
1244N/ACOMPONENT_NAME= mod_security2
3338N/ACOMPONENT_VERSION= 2.8.0
618N/ACOMPONENT_PROJECT_URL= http://www.modsecurity.org/
1244N/ACOMPONENT_SRC_NAME= modsecurity-apache
1244N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)_$(COMPONENT_VERSION)
278N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
3338N/A sha256:95de6ec30982e5bde7981929ba89be89488e9f237ee8c4236e064b074bbb6f28
1509N/ACOMPONENT_ARCHIVE_URL= \
1509N/A $(COMPONENT_PROJECT_URL)tarball/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/apache
278N/A
3338N/ATPNO= 18233
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
3351N/Ainclude ../modules.mk
278N/A
3351N/ACOMPONENT_POST_UNPACK_ACTION += \
3351N/A (cd $(SOURCE_DIR); \
3351N/A $(CP) modsecurity.conf-recommended modsecurity-24.conf-recommended)
278N/A
1509N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1509N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
3351N/ACONFIGURE_OPTIONS += --with-apxs=$(APXS)
3351N/ACONFIGURE_OPTIONS += --with-apr=`$(APXS) -q APR_CONFIG`
3351N/ACONFIGURE_OPTIONS += --with-apu=`$(APXS) -q APU_CONFIG`
278N/A
1509N/ACOMPONENT_TEST_ARGS += CFLAGS="$(CFLAGS) -DMSC_TEST"
278N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
278N/Abuild: $(BUILD_32_and_64)
278N/A
1509N/Atest: $(TEST_32_and_64)
278N/A
278N/A
3817N/AREQUIRED_PACKAGES += library/apr-15
3817N/AREQUIRED_PACKAGES += library/apr-util-15
3817N/AREQUIRED_PACKAGES += library/libxml2
3817N/AREQUIRED_PACKAGES += library/pcre
3817N/AREQUIRED_PACKAGES += runtime/lua
3817N/AREQUIRED_PACKAGES += system/library