aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_security3/Makefile
blob: ed72816b92d674389e742fdd70208c60d0a5af6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $FreeBSD$

PORTNAME=   mod_security
DISTVERSIONPREFIX=  v
DISTVERSION=    3.0.2
CATEGORIES= www security
PKGNAMESUFFIX=  3

MAINTAINER= marius.halden@modirum.com
COMMENT=    Intrusion detection and prevention engine

LICENSE=    APACHE20

LIB_DEPENDS=    libcurl.so:ftp/curl \
        libpcre.so:devel/pcre \
        libyajl.so:devel/yajl \
        libGeoIP.so:net/GeoIP

USES=       gmake autoreconf libtool pkgconfig:build
USE_GNOME=  libxml2
# GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411
USE_GCC=    yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

USE_GITHUB= yes
GH_ACCOUNT= SpiderLabs
GH_PROJECT= ModSecurity

GH_TUPLE+=  SpiderLabs:secrules-language-tests:add8f63:secrules_language_tests/test/test-cases/secrules-language-tests
GH_TUPLE+=  client9:libinjection:da027ab:libinjection/others/libinjection
GH_TUPLE+=  SpiderLabs:ModSecurity-Python-bindings:bc625d5:modsecurity_python_bindings/bindings/python

ETCDIR=     ${PREFIX}/etc/modsecurity

post-install:
    @${MKDIR}   ${STAGEDIR}${ETCDIR}
    ${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \
        ${STAGEDIR}${ETCDIR}/modsecurity.conf.sample

.include <bsd.port.mk>