1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/mod_realip/Makefile
Sergey Matveychuk 0c3e6c159d 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.

Submitted by:	glebius
2005-07-11 13:01:37 +00:00

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>