mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
mod_proxy_xml is an output filter to rewrite links in a proxy
situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy. WWW: http://apache.webthing.com/mod_proxy_xml/ PR: ports/108053 Submitted by: Dominic Marks <dom at goodforbusiness.co.uk>
This commit is contained in:
parent
d095bc77c6
commit
45a43fe6fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182948
5 changed files with 57 additions and 0 deletions
|
@ -359,6 +359,7 @@
|
|||
SUBDIR += mod_perl2
|
||||
SUBDIR += mod_proxy_add_forward
|
||||
SUBDIR += mod_proxy_html
|
||||
SUBDIR += mod_proxy_xml
|
||||
SUBDIR += mod_pubcookie
|
||||
SUBDIR += mod_put
|
||||
SUBDIR += mod_python
|
||||
|
|
40
www/mod_proxy_xml/Makefile
Normal file
40
www/mod_proxy_xml/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# New ports collection Makefile for: mod_proxy_xml
|
||||
#
|
||||
# Date created: 10/01/2007
|
||||
# Whom: Dominic Marks <dom@goodforbusiness.co.uk>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_proxy_xml
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://apache.webthing.com/svn/apache/filters/xmlns/
|
||||
DISTFILES= xmlns.h mod_proxy_xml.c
|
||||
|
||||
MAINTAINER= dom@helenmarks.co.uk
|
||||
COMMENT= Apache module for rewriting URI references in XML
|
||||
|
||||
USE_GNOME= libxml2
|
||||
USE_APACHE= yes
|
||||
WITH_APACHE2= yes
|
||||
|
||||
XML2_INC= ${LOCALBASE}/include/libxml2
|
||||
XML2_LIB= ${LOCALBASE}/lib
|
||||
|
||||
do-extract:
|
||||
@${DO_NADA}
|
||||
|
||||
pre-fetch:
|
||||
@${MKDIR} ${WRKDIR}
|
||||
|
||||
post-fetch:
|
||||
@${CP} ${DISTDIR}/xmlns.h ${DISTDIR}/mod_proxy_xml.c ${WRKDIR}
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKDIR} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 mod_proxy_xml.c)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKDIR} && ${APXS} -A -i mod_proxy_xml.la)
|
||||
|
||||
.include <bsd.port.mk>
|
6
www/mod_proxy_xml/distinfo
Normal file
6
www/mod_proxy_xml/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
MD5 (xmlns.h) = 6d3327342b3a996aa6eb9fc77a79de25
|
||||
SHA256 (xmlns.h) = ad1a411990601c2b22e5f4d5d071f125d9d484a4fe364d87fb3251de2607490d
|
||||
SIZE (xmlns.h) = 5751
|
||||
MD5 (mod_proxy_xml.c) = cef3882e5449166e9e82673e41023f1e
|
||||
SHA256 (mod_proxy_xml.c) = 91780947448d6da0e03d0db0ace9e4e0376009c644d75cb822ffec1e7711c088
|
||||
SIZE (mod_proxy_xml.c) = 11148
|
7
www/mod_proxy_xml/pkg-descr
Normal file
7
www/mod_proxy_xml/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
mod_proxy_xml is an output filter to rewrite links in a proxy
|
||||
situation, to ensure that links work for users outside the proxy.
|
||||
It serves the same purpose as Apache's ProxyPassReverse directive
|
||||
does for HTTP headers, and is an essential component of a reverse
|
||||
proxy.
|
||||
|
||||
WWW: http://apache.webthing.com/mod_proxy_xml/
|
3
www/mod_proxy_xml/pkg-plist
Normal file
3
www/mod_proxy_xml/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
libexec/apache2/mod_proxy_xml.so
|
||||
@exec %D/sbin/apxs -e -A -n proxy_xml %D/%F
|
||||
@unexec %D/sbin/apxs -e -A -n proxy_xml %D/%F
|
Loading…
Add table
Reference in a new issue