1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Welcome mod_cloudflare to the tree.

Unfortunately, Cloudflare doesn't seem to be handling release management
of mod_cloudflare very well so for now we are pulling from their public
Github repository and the version number will be 0.0.YYYYMMDD based on
the date of the commit we're pulling. They don't commit updates very
often, so this should be fine until they figure out their release
process.
This commit is contained in:
Mark Felder 2014-04-23 14:54:27 +00:00
parent 98d4b5ce7f
commit 6ca3655e7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351951
4 changed files with 36 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (mod_cloudflare-0.0.20140409.tar.gz) = 934fc0995334462436ea92a45df2c7dfab0fb790ae651396eee34a546cfee5ca
SIZE (mod_cloudflare-0.0.20140409.tar.gz) = 9969

View File

@ -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