aboutsummaryrefslogtreecommitdiff
path: root/www/mod_realip
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-07-11 13:01:37 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-07-11 13:01:37 +0000
commit0c3e6c159da0727aa8d15f026a2d0a92ad7ed4d6 (patch)
tree89016b63c22974701ff206962721224d526edd93 /www/mod_realip
parentf4e44ee6d74bebf42da41583f21418b598eb6a6c (diff)
Notes
Diffstat (limited to 'www/mod_realip')
-rw-r--r--www/mod_realip/Makefile26
-rw-r--r--www/mod_realip/distinfo2
-rw-r--r--www/mod_realip/pkg-descr9
-rw-r--r--www/mod_realip/pkg-plist3
4 files changed, 40 insertions, 0 deletions
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