|
Lines 1-45
Link Here
|
| 1 |
# $FreeBSD: head/www/mod_security-devel/Makefile 455927 2017-12-11 07:18:48Z linimon $ |
|
|
| 2 |
|
| 3 |
PORTNAME= mod_security-devel |
| 4 |
PORTVERSION= 3.0.0.g2017080200 |
| 5 |
PORTREVISION= 1 |
| 6 |
CATEGORIES= www security |
| 7 |
|
| 8 |
MAINTAINER= marius.halden@modirum.com |
| 9 |
COMMENT= Intrusion detection and prevention engine |
| 10 |
|
| 11 |
LICENSE= APACHE20 |
| 12 |
|
| 13 |
LIB_DEPENDS= libcurl.so:ftp/curl \ |
| 14 |
libpcre.so:devel/pcre \ |
| 15 |
libyajl.so:devel/yajl \ |
| 16 |
libGeoIP.so:net/GeoIP |
| 17 |
|
| 18 |
BROKEN_aarch64= fails to compile: string.h:55:1: narrowing conversion of '-1' from 'int' to 'char' inside { } |
| 19 |
BROKEN_armv6= fails to compile: string.h:55:1: narrowing conversion of '-1' from 'int' to 'char' inside { } |
| 20 |
BROKEN_armv7= fails to compile: string.h:55:1: narrowing conversion of '-1' from 'int' to 'char' inside { } |
| 21 |
|
| 22 |
USES= gmake autoreconf libtool pkgconfig:build |
| 23 |
USE_GNOME= libxml2 |
| 24 |
# GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411 |
| 25 |
USE_GCC= yes |
| 26 |
USE_LDCONFIG= yes |
| 27 |
GNU_CONFIGURE= yes |
| 28 |
|
| 29 |
USE_GITHUB= yes |
| 30 |
GH_ACCOUNT= SpiderLabs |
| 31 |
GH_PROJECT= ModSecurity |
| 32 |
GH_TAGNAME= 0508395 |
| 33 |
|
| 34 |
GH_TUPLE+= SpiderLabs:secrules-language-tests:add8f63:secrules_language_tests/test/test-cases/secrules-language-tests |
| 35 |
GH_TUPLE+= client9:libinjection:da027ab:libinjection/others/libinjection |
| 36 |
GH_TUPLE+= SpiderLabs:ModSecurity-Python-bindings:bc625d5:modsecurity_python_bindings/bindings/python |
| 37 |
|
| 38 |
ETCDIR= ${PREFIX}/etc/modsecurity |
| 39 |
|
| 40 |
post-install: |
| 41 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
| 42 |
${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \ |
| 43 |
${STAGEDIR}${ETCDIR}/modsecurity.conf.sample |
| 44 |
|
| 45 |
.include <bsd.port.mk> |