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#
5680N/A
278N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64
278N/Ainclude ../../../make-rules/shared-macros.mk
278N/A
5738N/ACOMPONENT_NAME= modsecurity
5738N/ACOMPONENT_VERSION= 2.9.1
618N/ACOMPONENT_PROJECT_URL= http://www.modsecurity.org/
844N/ACOMPONENT_ARCHIVE_HASH= \
5738N/A sha256:958cc5a7a7430f93fac0fd6f8b9aa92fc1801efce0cda797d6029d44080a9b24
1509N/ACOMPONENT_ARCHIVE_URL= \
1509N/A $(COMPONENT_PROJECT_URL)tarball/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
278N/A
5738N/ATPNO= 27509
2899N/A
5680N/AMODULES_INSTALL=
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
5738N/ACONFIGURE_OPTIONS += --disable-mlogc
1509N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
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
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
5738N/AREQUIRED_PACKAGES += web/curl