svn commit: r351951 - in head/www: . mod_cloudflare
Mark Felder
feld at FreeBSD.org
Wed Apr 23 14:54:29 UTC 2014
Author: feld
Date: Wed Apr 23 14:54:27 2014
New Revision: 351951
URL: http://svnweb.freebsd.org/changeset/ports/351951
QAT: https://qat.redports.org/buildarchive/r351951/
Log:
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.
Added:
head/www/mod_cloudflare/
head/www/mod_cloudflare/Makefile (contents, props changed)
head/www/mod_cloudflare/distinfo (contents, props changed)
head/www/mod_cloudflare/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Wed Apr 23 14:52:17 2014 (r351950)
+++ head/www/Makefile Wed Apr 23 14:54:27 2014 (r351951)
@@ -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
Added: head/www/mod_cloudflare/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_cloudflare/Makefile Wed Apr 23 14:54:27 2014 (r351951)
@@ -0,0 +1,27 @@
+# Created by: Mark Felder <feld at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mod_cloudflare
+PORTVERSION= 0.0.20140409
+CATEGORIES= www
+MASTER_SITES= GH
+
+MAINTAINER= feld at 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>
Added: head/www/mod_cloudflare/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_cloudflare/distinfo Wed Apr 23 14:54:27 2014 (r351951)
@@ -0,0 +1,2 @@
+SHA256 (mod_cloudflare-0.0.20140409.tar.gz) = 934fc0995334462436ea92a45df2c7dfab0fb790ae651396eee34a546cfee5ca
+SIZE (mod_cloudflare-0.0.20140409.tar.gz) = 9969
Added: head/www/mod_cloudflare/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_cloudflare/pkg-descr Wed Apr 23 14:54:27 2014 (r351951)
@@ -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
More information about the svn-ports-head
mailing list