diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_cloudflare/Makefile | 27 | ||||
-rw-r--r-- | www/mod_cloudflare/distinfo | 2 | ||||
-rw-r--r-- | www/mod_cloudflare/pkg-descr | 6 |
4 files changed, 36 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d627bf82044b..7158988263d5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -469,6 +469,7 @@ SUBDIR += mod_cfg_ldap SUBDIR += mod_chroot SUBDIR += mod_clamav + SUBDIR += mod_cloudflare SUBDIR += mod_cplusplus SUBDIR += mod_cvs2 SUBDIR += mod_dnssd diff --git a/www/mod_cloudflare/Makefile b/www/mod_cloudflare/Makefile new file mode 100644 index 000000000000..5dcfcc482a8c --- /dev/null +++ b/www/mod_cloudflare/Makefile @@ -0,0 +1,27 @@ +# Created by: Mark Felder <feld@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= mod_cloudflare +PORTVERSION= 0.0.20140409 +CATEGORIES= www +MASTER_SITES= GH + +MAINTAINER= feld@FreeBSD.org +COMMENT= Cloudflare fork of mod_remoteip + +LICENSE= APACHE20 + +USE_GITHUB= yes +GH_ACCOUNT= cloudflare +GH_PROJECT= mod_cloudflare +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= da8436d + +USE_APACHE= 22+ +AP_FAST_BUILD= yes +AP_GENPLIST= yes +SHORTMODNAME= cloudflare + +SRC_FILE= mod_cloudflare.c + +.include <bsd.port.mk> diff --git a/www/mod_cloudflare/distinfo b/www/mod_cloudflare/distinfo new file mode 100644 index 000000000000..046e3c7039bc --- /dev/null +++ b/www/mod_cloudflare/distinfo @@ -0,0 +1,2 @@ +SHA256 (mod_cloudflare-0.0.20140409.tar.gz) = 934fc0995334462436ea92a45df2c7dfab0fb790ae651396eee34a546cfee5ca +SIZE (mod_cloudflare-0.0.20140409.tar.gz) = 9969 diff --git a/www/mod_cloudflare/pkg-descr b/www/mod_cloudflare/pkg-descr new file mode 100644 index 000000000000..9a982070c2f5 --- /dev/null +++ b/www/mod_cloudflare/pkg-descr @@ -0,0 +1,6 @@ +Based on mod_remoteip.c, this Apache extension will replace the +remote_ip variable in user's logs with the correct remote IP sent from +CloudFlare. The module only performs the IP substitution for requests +originating from CloudFlare IPs by default. + +WWW: https://github.com/cloudflare/mod_cloudflare |