- 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>
This commit is contained in:
Olli Hauer 2012-01-01 17:37:17 +00:00
parent 486a856d6b
commit 5bcb0b468e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288376
3 changed files with 27 additions and 4 deletions

View file

@ -5,9 +5,22 @@
# $FreeBSD$
#
PORTNAME= mod_rpaf2
PORTVERSION= 0.6
PORTREVISION= 1
USE_APACHE= 20+
LATEST_LINK= mod_rpaf2
MASTERDIR= ${.CURDIR}/../mod_rpaf
CATEGORIES= www
MASTER_SITES= http://stderr.net/apache/rpaf/download/
DISTNAME= mod_rpaf-${PORTVERSION}
.include "${MASTERDIR}/Makefile"
MAINTAINER= apache@FreeBSD.org
COMMENT= Make proxied requests appear with client IP
MAKE_JOBS_SAFE= yes
USE_APACHE= 20+
AP_FAST_BUILD= YES
AP_GENPLIST= YES
SRC_FILE= mod_rpaf-2.0.c
.include <bsd.port.mk>

2
www/mod_rpaf2/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (mod_rpaf-0.6.tar.gz) = 80f9dd1b0574747ef2c399335a88cf562491a7f0b940f26c684d065fe6c4c27d
SIZE (mod_rpaf-0.6.tar.gz) = 7695

8
www/mod_rpaf2/pkg-descr Normal file
View file

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