libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / web / apache2-modules / mod_security2 / Makefile
blob06e46b5697a6aecbc4096167cce8a2ce35377929
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2022 Niklas Poslovski
24 USE_DEFAULT_TEST_TRANSFORMS= yes
25 include ../../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= mod_security2
28 COMPONENT_VERSION= 2.9.7
29 COMPONENT_PROJECT_URL= https://www.modsecurity.org/
30 COMPONENT_SRC_NAME= modsecurity
31 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:2a28fcfccfef21581486f98d8d5fe0397499749b8380f60ec7bb1c08478e1839
35 COMPONENT_ARCHIVE_URL= https://github.com/SpiderLabs/ModSecurity/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
36 COMPONENT_FMRI= web/server/apache-24/module/apache-security
37 COMPONENT_SUMMARY= Mod Security plugin for Apache Web Server V2.4
38 COMPONENT_CLASSIFICATION= Web Services/Application and Web Servers
40 include $(WS_MAKE_RULES)/common.mk
42 APXS= /usr/apache2/2.4/bin/apxs
44 CONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
45 CONFIGURE_OPTIONS += --with-apxs=$(APXS)
46 CONFIGURE_OPTIONS += --with-apr=`$(APXS) -q APR_CONFIG`
47 CONFIGURE_OPTIONS += --with-apu=`$(APXS) -q APU_CONFIG`
49 COMPONENT_PRE_INSTALL_ACTION = mkdir -p $(PROTOUSRDIR)/apache2/2.4/libexec
51 COMPONENT_TEST_ARGS += CFLAGS="$(CFLAGS) -DMSC_TEST"
53 # Build dependencies
54 REQUIRED_PACKAGES += web/server/apache-24
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += library/apr
58 REQUIRED_PACKAGES += library/apr-util
59 REQUIRED_PACKAGES += library/libxml2
60 REQUIRED_PACKAGES += library/libyajl2
61 REQUIRED_PACKAGES += library/pcre
62 REQUIRED_PACKAGES += runtime/lua
63 REQUIRED_PACKAGES += runtime/perl
64 REQUIRED_PACKAGES += system/library
65 REQUIRED_PACKAGES += web/curl