mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
0c3e6c159d
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. Submitted by: glebius
27 lines
506 B
Makefile
27 lines
506 B
Makefile
# 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>
|