ports/133647: [PATCH] www/mod_extract_forwarded: apache@ cleanups

Philip M. Gollucci pgollucci at FreeBSD.org
Sun Apr 12 07:00:08 UTC 2009


>Number:         133647
>Category:       ports
>Synopsis:       [PATCH] www/mod_extract_forwarded: 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:   Sun Apr 12 07:00:07 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_extract_forwarded-1.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_extract_forwarded/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	7 Nov 2003 09:12:52 -0000	1.8
+++ Makefile	12 Apr 2009 06:52:01 -0000
@@ -8,25 +8,25 @@
 PORTNAME=	mod_extract_forwarded
 PORTVERSION=	1.4
 CATEGORIES=	www
-MASTER_SITES=	http://web.warhound.org/mod_extract_forwarded/ \
+MASTER_SITES=	http://web.warhound.org/${PORTNAME}/ \
 		http://atreides.freenix.no/~anders/
 
 MAINTAINER=	anders at FreeBSD.org
 COMMENT=	An Apache module that can make proxied requests appear with client IP
 
-USE_APACHE=	yes
+USE_APACHE=	1.3
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
-DOCS=		doc.html README
 
-do-build:
-	cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+PORTDOCS=		doc.html README
 
-do-install:
-	cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so
+post-install:
 .if !defined(NOPORTDOCS)
-	${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/${PORTNAME}
-.for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}
+	${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
 .endfor
 .endif
 	${CAT} ${PKGMESSAGE}
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	9 Apr 2003 22:07:25 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,6 +0,0 @@
-libexec/apache/mod_extract_forwarded.so
- at exec %D/sbin/apxs -e -A -n extract_forwarded %D/%F
- at unexec %D/sbin/apxs -e -A -n extract_forwarded %D/%F
-%%PORTDOCS%%share/doc/mod_extract_forwarded/doc.html
-%%PORTDOCS%%share/doc/mod_extract_forwarded/README
-%%PORTDOCS%%@dirrm share/doc/mod_extract_forwarded
--- mod_extract_forwarded-1.4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list