ports/133685: [PATCH] www/mod_proxy_add_forward: apache@ cleanups

Philip M. Gollucci pgollucci at FreeBSD.org
Mon Apr 13 04:00:03 UTC 2009


>Number:         133685
>Category:       ports
>Synopsis:       [PATCH] www/mod_proxy_add_forward: apache@ cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 13 04:00:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD mail.bluecottontech.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 22:10:18 UTC 2009
>Description:
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST

Removed file(s):
- pkg-plist

Port maintainer (anders at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mod_proxy_add_forward-20020710.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_proxy_add_forward/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	7 Nov 2003 09:12:55 -0000	1.7
+++ Makefile	13 Apr 2009 03:53:24 -0000
@@ -16,18 +16,17 @@
 MAINTAINER=	anders at FreeBSD.org
 COMMENT=	Apache module that adds a client IP header to outgoing proxy requests
 
-USE_APACHE=	yes
-NO_WRKSUBDIR=	YES
+USE_APACHE=	1.3
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+
+NO_WRKSUBDIR=	yes
 
 do-extract:
-	@${MKDIR} ${WRKDIR}
+	@${MKDIR} ${WRKDIR}/
 	@${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
 
-do-build:
-	cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
-
-do-install:
-	cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so
+post-install:
 	@${ECHO} "================================================================================"
 	@${ECHO} "Enable mod_proxy_add_forward in Apache's config manually."
 	@${ECHO} "================================================================================"
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	1 Apr 2003 22:45:49 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-libexec/apache/mod_proxy_add_forward.so
- at exec %D/sbin/apxs -e -A -n proxy_add_forward %D/%F
- at unexec %D/sbin/apxs -e -A -n proxy_add_forward %D/%F
--- mod_proxy_add_forward-20020710.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list