mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Add www/mod_defensible: Apache 2.4 module aiming to block IP listed in DNSBL
PR: 261236
This commit is contained in:
parent
3c626f52f8
commit
c1e76f6758
@ -374,6 +374,7 @@
|
||||
SUBDIR += mod_cfg_ldap
|
||||
SUBDIR += mod_cloudflare
|
||||
SUBDIR += mod_dav_svn
|
||||
SUBDIR += mod_defensible
|
||||
SUBDIR += mod_dnssd
|
||||
SUBDIR += mod_evasive
|
||||
SUBDIR += mod_fastcgi
|
||||
|
28
www/mod_defensible/Makefile
Normal file
28
www/mod_defensible/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Created by: Peter Libassi <peter@libassi.se>
|
||||
|
||||
PORTNAME= mod_defensible
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.5
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= peter@libassi.se
|
||||
COMMENT= Apache 2.4 module aiming to block IP listed in DNSBL
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
USES= apache:2.4+
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jd
|
||||
|
||||
AP_FAST_BUILD= yes
|
||||
AP_GENPLIST= yes
|
||||
SHORTMODNAME= defensible
|
||||
|
||||
SRC_FILE= mod_defensible.c
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,%%PORTVERSION%%,${PORTVERSION},' \
|
||||
${WRKSRC}/mod_defensible.c
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/mod_defensible/distinfo
Normal file
3
www/mod_defensible/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1642253279
|
||||
SHA256 (jd-mod_defensible-v1.5_GH0.tar.gz) = 030f5cc41c80d6973eb893f1fbbe24427cd03855a89009d198384164c02a4082
|
||||
SIZE (jd-mod_defensible-v1.5_GH0.tar.gz) = 5416
|
12
www/mod_defensible/files/patch-mod_defensible.c
Normal file
12
www/mod_defensible/files/patch-mod_defensible.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- mod_defensible.c.orig 2012-04-03 14:50:25 UTC
|
||||
+++ mod_defensible.c
|
||||
@@ -19,7 +19,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-#include <config.h>
|
||||
+/*#include <config.h>*/
|
||||
+#define VERSION "%%PORTVERSION%%"
|
||||
|
||||
#include "apr_strings.h"
|
||||
|
11
www/mod_defensible/pkg-descr
Normal file
11
www/mod_defensible/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
mod_defensible is a Apache 2.x module aiming to forbid IP listed
|
||||
in DNSBL.
|
||||
|
||||
httpd.conf configuration example:
|
||||
|
||||
DnsblUse On
|
||||
DnsblServers bsb.spamlookup.net bl.blbl.org opm.blitzed.org sbl-xbl.spamhaus.org
|
||||
|
||||
No UDNS support in this FreeBSD port version
|
||||
|
||||
WWW: https://github.com/jd/mod_defensible
|
Loading…
Reference in New Issue
Block a user