| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/security/modsecurity3/ |
Upload File : |
PORTNAME= modsecurity
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.6
CATEGORIES= security www
MASTER_SITES= https://github.com/SpiderLabs/ModSecurity/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= 3
MAINTAINER= marius.halden@modirum.com
COMMENT= Intrusion detection and prevention engine
WWW= https://www.modsecurity.org/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre.so:devel/pcre \
libyajl.so:devel/yajl \
libmaxminddb.so:net/libmaxminddb
USES= cpe gmake gnome libtool pkgconfig:build
USE_GNOME= libxml2
# GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411
USE_LDCONFIG= yes
CPE_VENDOR= trustwave
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua
PLIST_SUB= SHLIBVER=${DISTVERSION}
ETCDIR= ${PREFIX}/etc/modsecurity
CONFLICTS_INSTALL= ap??-mod_security mod_security3
INSTALL_TARGET= install-strip
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \
${STAGEDIR}${ETCDIR}/modsecurity.conf.sample
${INSTALL_DATA} ${WRKSRC}/unicode.mapping \
${STAGEDIR}${ETCDIR}/unicode.mapping
.include <bsd.port.mk>