diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_realip/Makefile | 26 | ||||
-rw-r--r-- | www/mod_realip/distinfo | 2 | ||||
-rw-r--r-- | www/mod_realip/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_realip/pkg-plist | 3 |
5 files changed, 41 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 25a7b3c1d9b4..fb55a77f9a3e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -324,6 +324,7 @@ SUBDIR += mod_put SUBDIR += mod_python SUBDIR += mod_python3 + SUBDIR += mod_realip SUBDIR += mod_roaming SUBDIR += mod_roaming2 SUBDIR += mod_rpaf diff --git a/www/mod_realip/Makefile b/www/mod_realip/Makefile new file mode 100644 index 000000000000..9d4ae7fcfe7d --- /dev/null +++ b/www/mod_realip/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: mod_realip +# Date created: 11 July 2005 +# Whom: glebius +# +# $FreeBSD$ +# + +PORTNAME= mod_realip +PORTVERSION= 2.0 +CATEGORIES= www +MASTER_SITES= http://sysoev.ru/mod_realip/ + +MAINTAINER= glebius@FreeBSD.org +COMMENT= Apache module to fix IP addresses in proxied requests + +USE_APACHE= yes +MAKE_ARGS+= APXS="${APXS}" + +do-build: + @cd ${WRKSRC} && \ + ${APXS} -c ${WRKSRC}/mod_realip.c + +do-install: + ${APXS} -i -A -n realip ${WRKSRC}/mod_realip.so + +.include <bsd.port.mk> diff --git a/www/mod_realip/distinfo b/www/mod_realip/distinfo new file mode 100644 index 000000000000..0b126e8019fe --- /dev/null +++ b/www/mod_realip/distinfo @@ -0,0 +1,2 @@ +MD5 (mod_realip-2.0.tar.gz) = 3219e8206c5fd90f378a9a36f0f0ae3f +SIZE (mod_realip-2.0.tar.gz) = 3486 diff --git a/www/mod_realip/pkg-descr b/www/mod_realip/pkg-descr new file mode 100644 index 000000000000..aecba4338861 --- /dev/null +++ b/www/mod_realip/pkg-descr @@ -0,0 +1,9 @@ +mod_realip is an apache 1.3 module, which changes the IP address of +the proxy server to the IP address a client, supplied by the proxy +server in "X-Real-IP" or "X-Forwarded-For" header. mod_realip is +designed for use on backends, which serve reverse proxied HTTP +requests. + +WWW: http://sysoev.ru/mod_realip/ + +- Gleb Smirnoff <glebius@FreeBSD.org> diff --git a/www/mod_realip/pkg-plist b/www/mod_realip/pkg-plist new file mode 100644 index 000000000000..5a0ce79ebd03 --- /dev/null +++ b/www/mod_realip/pkg-plist @@ -0,0 +1,3 @@ +libexec/apache/mod_realip.so +@exec %D/sbin/apxs -e -A -n realip %D/%F +@unexec %D/sbin/apxs -e -A -n realip %D/%F |