Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 09:04:35 +0000 (UTC)
From:      "valerio.daelli@gmail.com" <root@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/121822: [PATCH] update of www/mod_proxy_html 2.5.1 -> 3.0.0 
Message-ID:  <20080318090436.622EB8FC30@mx1.freebsd.org>
Resent-Message-ID: <200803180910.m2I9A1nE053733@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121822
>Category:       ports
>Synopsis:       [PATCH] update of www/mod_proxy_html 2.5.1 -> 3.0.0
>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:   Tue Mar 18 09:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Valerio Daelli
>Release:        FreeBSD 6.2-RELEASE-p3 amd64
>Organization:
IFOM 
>Environment:
System: FreeBSD litio.ifom-ieo-campus.it 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #1: Thu Mar 15 14:52:08 CET 2007 root@litio.ifom-ieo-campus.it:/usr/obj/usr/src/sys/LITIO amd64


	
>Description:
This patch upgrades mod_proxy_html from 2.5.1 to 3.0.0

>How-To-Repeat:
>Fix:

	

--- PROXY.patch begins here ---
diff -ruN mod_proxy_html.BAK/Makefile mod_proxy_html/Makefile
--- mod_proxy_html.BAK/Makefile	Tue Nov 15 17:51:01 2005
+++ mod_proxy_html/Makefile	Tue Mar 18 09:38:45 2008
@@ -6,34 +6,30 @@
 #
 
 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
 
 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}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include <bsd.port.post.mk>
diff -ruN mod_proxy_html.BAK/distinfo mod_proxy_html/distinfo
--- mod_proxy_html.BAK/distinfo	Tue Jan 24 04:13:28 2006
+++ mod_proxy_html/distinfo	Tue Mar 18 09:20:27 2008
@@ -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
diff -ruN mod_proxy_html.BAK/pkg-plist mod_proxy_html/pkg-plist
--- mod_proxy_html.BAK/pkg-plist	Fri Jul 30 03:08:27 2004
+++ mod_proxy_html/pkg-plist	Mon Mar 17 12:30:16 2008
@@ -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
--- PROXY.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080318090436.622EB8FC30>