ports/155204: [PATCH] Add www/mod_xml2enc as a dependency for www/mod_proxy_html

Marin Atanasov Nikolov dnaeon at gmail.com
Wed Mar 2 17:20:16 UTC 2011


>Number:         155204
>Category:       ports
>Synopsis:       [PATCH] Add www/mod_xml2enc as a dependency for www/mod_proxy_html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 02 17:20:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Marin Atanasov Nikolov
>Release:        FreeBSD 8.2-PRERELEASE
>Organization:
www.unix-heaven.org
>Environment:
FreeBSD xxx.unix-heaven.org 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1: Sat Nov 27 14:54:29 EET 2010     root at xxx.unix-heaven.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
As of version 3.1 www/mod_proxy_html needs xml2enc module to be present.

I've already had a conversation with the author of www/mod_proxy_html about xml2enc and he recommends making xml2enc a dependency of www/mod_proxy_html.

Another PR was submitted to add www/mod_xml2enc [1] to the Ports Tree, and this patch adds www/mod_xml2enc as a dependency of www/mod_proxy_html

For more information please have a look at the following web pages:

 - http://apache.webthing.com/mod_xml2enc/
 - http://apache.webthing.com/mod_proxy_html/
 - [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=155203
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN mod_proxy_html.orig/Makefile mod_proxy_html/Makefile
--- mod_proxy_html.orig/Makefile	2010-06-03 07:45:33.000000000 +0300
+++ mod_proxy_html/Makefile	2011-03-02 18:18:04.000000000 +0200
@@ -2,7 +2,7 @@
 # Date created:		2004-07-29
 # Whom:			David Lay <dsl at webize.com.au>
 #
-# $FreeBSD: ports/www/mod_proxy_html/Makefile,v 1.13 2010/06/03 04:45:33 pgollucci Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	mod_proxy_html
@@ -10,11 +10,13 @@
 CATEGORIES=	www
 MASTER_SITES=	http://apache.webthing.com/${PORTNAME}/
 DISTNAME=	${PORTNAME}
-DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR=	mod_proxy_html
 
 MAINTAINER=	apache at FreeBSD.org
 COMMENT=	Apache module for rewriting HTML links in proxied content
 
+RUN_DEPENDS+=   ${LOCALBASE}/${APACHEMODDIR}/mod_xml2enc.so:${PORTSDIR}/www/mod_xml2enc
+
 MAKE_JOBS_SAFE=	yes
 
 SUB_FILES=	pkg-message
diff -ruN mod_proxy_html.orig/distinfo mod_proxy_html/distinfo
--- mod_proxy_html.orig/distinfo	2010-01-29 16:00:37.000000000 +0200
+++ mod_proxy_html/distinfo	2011-03-02 18:20:09.000000000 +0200
@@ -1,3 +1,2 @@
-MD5 (mod_proxy_html-3.1.2/mod_proxy_html.tar.bz2) = d6497b48d2bffc4150472472004618c3
-SHA256 (mod_proxy_html-3.1.2/mod_proxy_html.tar.bz2) = a1aee758bda605e153868b91188ebf2c527b8eeb0f115d11af152078e65895bf
-SIZE (mod_proxy_html-3.1.2/mod_proxy_html.tar.bz2) = 23019
+SHA256 (mod_proxy_html/mod_proxy_html.tar.bz2) = a1aee758bda605e153868b91188ebf2c527b8eeb0f115d11af152078e65895bf
+SIZE (mod_proxy_html/mod_proxy_html.tar.bz2) = 23019


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list