summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-01-01 17:37:17 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-01-01 17:37:17 +0000
commit5bcb0b468edcaf595fb04e5c5bc2c3665dc9590b (patch)
treea82c4912cecc71f6689bcc698d0e7c4cdeea178e
parentupdate to 2.1.2.23; add LICENSE and test targets; respect CXX and (diff)
- rewrite mod_rpaf2 so it is not a subport of mod_rpaf
(prepare to remove www/apache13 and depending www/mod_rpaf) with hat apache@ PR: 161758 Submitted by: Kris Persson <krisp@mlode.com>
Notes
Notes: svn path=/head/; revision=288376
-rw-r--r--www/mod_rpaf2/Makefile19
-rw-r--r--www/mod_rpaf2/distinfo2
-rw-r--r--www/mod_rpaf2/pkg-descr8
3 files changed, 26 insertions, 3 deletions
diff --git a/www/mod_rpaf2/Makefile b/www/mod_rpaf2/Makefile
index 7cba7fde36db..1b7c9852e187 100644
--- a/www/mod_rpaf2/Makefile
+++ b/www/mod_rpaf2/Makefile
@@ -5,9 +5,22 @@
# $FreeBSD$
#
+PORTNAME= mod_rpaf2
+PORTVERSION= 0.6
PORTREVISION= 1
+CATEGORIES= www
+MASTER_SITES= http://stderr.net/apache/rpaf/download/
+DISTNAME= mod_rpaf-${PORTVERSION}
+
+MAINTAINER= apache@FreeBSD.org
+COMMENT= Make proxied requests appear with client IP
+
+MAKE_JOBS_SAFE= yes
+
USE_APACHE= 20+
-LATEST_LINK= mod_rpaf2
-MASTERDIR= ${.CURDIR}/../mod_rpaf
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+
+SRC_FILE= mod_rpaf-2.0.c
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>
diff --git a/www/mod_rpaf2/distinfo b/www/mod_rpaf2/distinfo
new file mode 100644
index 000000000000..1875bd66ea30
--- /dev/null
+++ b/www/mod_rpaf2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mod_rpaf-0.6.tar.gz) = 80f9dd1b0574747ef2c399335a88cf562491a7f0b940f26c684d065fe6c4c27d
+SIZE (mod_rpaf-0.6.tar.gz) = 7695
diff --git a/www/mod_rpaf2/pkg-descr b/www/mod_rpaf2/pkg-descr
new file mode 100644
index 000000000000..533e405e23c0
--- /dev/null
+++ b/www/mod_rpaf2/pkg-descr
@@ -0,0 +1,8 @@
+rpaf changes the remote address of the client on incoming proxy
+requests. It is used in backend servers that needs to know the IP of the
+client, and works in conjunction with mod_proxy_add_forward (which sets
+the X-Forwarded-For header). When an X-Host header exists rpaf will take
+the hostname found here, put it into Apache, and update the virtualhost
+settings so that you can serve virtualhosts on the backend.
+
+WWW: http://stderr.net/apache/rpaf/