ports/128048: www/mod_proxy_html port installs broken configuration

David Lay dsl at bitwizards.com.au
Fri Dec 5 07:20:05 UTC 2008


The following reply was made to PR ports/128048; it has been noted by GNATS.

From: David Lay <dsl at bitwizards.com.au>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/128048: www/mod_proxy_html port installs broken configuration
Date: Fri, 5 Dec 2008 17:56:52 +1100

 --0OAP2g/MAC+5xKAE
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 * <edwin at FreeBSD.org> [2008-10-13 19:21 +1100]:
 > 
 
 I've attached a patch which updates to the latest version of
 mod_proxy_html (v3.0.1) and installs additional documentation, including
 the Apache configuration required for version 3.x.
 
 -- 
   David Lay
   dsl at bitwizards.com.au
 
 --0OAP2g/MAC+5xKAE
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="mod_proxy_html.patch"
 
 diff -Nur orig/mod_proxy_html/Makefile www/mod_proxy_html/Makefile
 --- orig/mod_proxy_html/Makefile	2008-04-07 14:13:31.000000000 +0000
 +++ www/mod_proxy_html/Makefile	2008-12-05 11:42:59.000000000 +0000
 @@ -6,12 +6,10 @@
  #
  
  PORTNAME=	mod_proxy_html
 -PORTVERSION=	3.0.0
 -PORTREVISION=	1
 +PORTVERSION=	3.0.1
  CATEGORIES=	www
  MASTER_SITES=	http://apache.webthing.com/${PORTNAME}/
  DISTNAME=	${PORTNAME}
 -EXTRACT_SUFX=	.tgz
  
  MAINTAINER=	dsl at bitwizards.com.au
  COMMENT=	Apache module for rewriting HTML links in proxied content
 @@ -21,13 +19,22 @@
  AP_FAST_BUILD=	YES
  AP_GENPLIST=	YES
  SHORTMODNAME=	proxy_html
 +USE_BZIP2=	YES
  USE_GNOME=	libxml2
  
  AP_INC+=	${LOCALBASE}/include/libxml2
  AP_LIB+=	${LOCALBASE}/lib
  AP_EXTRAS+=	-lxml2
  
 +PLIST_FILES=	%%DOCSDIR%%/COPYING %%DOCSDIR%%/README \
 +		%%DOCSDIR%%/proxy_html.conf
 +PLIST_DIRS=	%%DOCSDIR%%
 +
  post-install:
 +	${MKDIR} ${DOCSDIR}
 +	${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
 +	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
 +	${INSTALL_MAN} ${WRKSRC}/proxy_html.conf ${DOCSDIR}
  	@${CAT} ${PKGMESSAGE}
  
  .include <bsd.port.mk>
 diff -Nur orig/mod_proxy_html/distinfo www/mod_proxy_html/distinfo
 --- orig/mod_proxy_html/distinfo	2008-03-31 14:51:22.000000000 +0000
 +++ www/mod_proxy_html/distinfo	2008-11-21 14:54:52.000000000 +0000
 @@ -1,3 +1,3 @@
 -MD5 (mod_proxy_html.tgz) = 499a09839bcc212ea712193767477e0c
 -SHA256 (mod_proxy_html.tgz) = c2c873627f51d513839eca809f70b2907f83a32903b29bd7c8fc765ff758f4a4
 -SIZE (mod_proxy_html.tgz) = 20426
 +MD5 (mod_proxy_html.tar.bz2) = badb7ee9fb3b892437589d7ceb21637c
 +SHA256 (mod_proxy_html.tar.bz2) = 69b9b4a107788a150d84b897656db443b51e13cb1f712a614ba3f7baad0d195d
 +SIZE (mod_proxy_html.tar.bz2) = 19488
 diff -Nur orig/mod_proxy_html/files/pkg-message.in www/mod_proxy_html/files/pkg-message.in
 --- orig/mod_proxy_html/files/pkg-message.in	2008-03-31 14:51:23.000000000 +0000
 +++ www/mod_proxy_html/files/pkg-message.in	2008-12-05 11:53:31.000000000 +0000
 @@ -1,11 +1,18 @@
  ================================================================================
  
 -Edit your Apache configuration file to enable mod_proxy_html.
 +If you are upgrading from mod_proxy_html 2.x (or older) you will need to add
 +some new mod_proxy_html configuration directives to your Apache configuration
 +file.  A sample configuration file that makes mod_proxy_html 3.x operate as a
 +drop-in replacement for mod_proxy_html 2.x can be found at:
  
 -Documentation available:
 +    %%DOCSDIR%%/proxy_html.conf
  
 -  Configuration guide: http://apache.webthing.com/mod_proxy_html/config.html
 +For additional documentation, see:
  
 -  Reverse Proxy Tutorial: http://www.apacheweek.com/features/reverseproxies
 +    %%DOCSDIR%%/README
 +
 +    Configuration guide: http://apache.webthing.com/mod_proxy_html/config.html
 +
 +    Reverse Proxy Tutorial: http://www.apachetutor.org/admin/reverseproxies
  
  ================================================================================
 
 --0OAP2g/MAC+5xKAE--



More information about the freebsd-ports-bugs mailing list