1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Update to 3.0.0

PR:		ports/121822
Submitted by:	valerio.daelli@gmail.com
Approved by:	David Lay <dsl@bitwizards.com.au> (maintainer), tabthorpe (mentor)
This commit is contained in:
Philippe Audeoud 2008-03-31 14:51:23 +00:00
parent 6444644165
commit cd49f82e33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210264
4 changed files with 21 additions and 14 deletions

View File

@ -6,32 +6,28 @@
#
PORTNAME= mod_proxy_html
PORTVERSION= 2.5.1
PORTVERSION= 3.0.0
CATEGORIES= www
MASTER_SITES= http://apache.webthing.com/${PORTNAME}/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .c
EXTRACT_SUFX= .tgz
MAINTAINER= dsl@bitwizards.com.au
COMMENT= Apache module for rewriting HTML links in proxied content
SUB_FILES= pkg-message
USE_GNOME= libxml2
USE_APACHE= yes
WITH_APACHE2= yes
USE_APACHE?=2.2
NO_WRKSUBDIR= yes
XML2_INC= ${LOCALBASE}/include/libxml2
XML2_LIB= ${LOCALBASE}/lib
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
do-build:
@(cd ${WRKSRC} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 ${PORTNAME}.c)
@(cd ${WRKDIR}/${PORTNAME} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 ${PORTNAME}.c)
do-install:
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
@(cd ${WRKDIR}/${PORTNAME} && ${APXS} -A -i ${PORTNAME}.la)
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -1,3 +1,3 @@
MD5 (mod_proxy_html.c) = 21eac7b73e83f5ba695a06f2f2ae2e43
SHA256 (mod_proxy_html.c) = c4812185c3d44c96dd4f5abc89fa3fec7eb8a0ae5e4cba2c6bf527a3e8473c42
SIZE (mod_proxy_html.c) = 31789
MD5 (mod_proxy_html.tgz) = 499a09839bcc212ea712193767477e0c
SHA256 (mod_proxy_html.tgz) = c2c873627f51d513839eca809f70b2907f83a32903b29bd7c8fc765ff758f4a4
SIZE (mod_proxy_html.tgz) = 20426

View File

@ -0,0 +1,11 @@
================================================================================
Edit your Apache configuration file to enable mod_proxy_html.
Documentation available:
Configuration guide: http://apache.webthing.com/mod_proxy_html/config.html
Reverse Proxy Tutorial: http://www.apacheweek.com/features/reverseproxies
================================================================================

View File

@ -1,3 +1,3 @@
libexec/apache2/mod_proxy_html.so
libexec/apache22/mod_proxy_html.so
@exec %D/sbin/apxs -e -A -n proxy_html %D/%F
@unexec %D/sbin/apxs -e -A -n proxy_html %D/%F