Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2009 04:28:15 GMT
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        steven@krx.nl
Subject:   ports/133640: [PATCH] www/mod_shapvh: apache@ cleanups
Message-ID:  <200904120428.n3C4SFpr041572@mail.bluecottontech.com>
Resent-Message-ID: <200904120430.n3C4U5cg008563@freefall.freebsd.org>

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

>Number:         133640
>Category:       ports
>Synopsis:       [PATCH] www/mod_shapvh: 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 04:30:04 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 (steven@krx.nl) is cc'd.

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

--- mod_shapvh-1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_shapvh/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	15 Feb 2005 20:16:20 -0000	1.2
+++ Makefile	12 Apr 2009 04:27:45 -0000
@@ -15,18 +15,19 @@
 MAINTAINER=	steven@krx.nl
 COMMENT=	Apache module that provides virtual hosts from a database
 
-USE_APACHE=	yes
+USE_APACHE=	1.3
 USE_MYSQL=	yes
+
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+
+AP_INC=	${LOCALBASE}/include
+AP_LIB=	${LOCALBASE}/lib/mysql -lmysqlclient
+
 NO_WRKSUBDIR=	yes
 
 do-extract:
 	${MKDIR} ${WRKSRC}
 	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
 
-do-build:
-	@cd ${WRKSRC} && ${APXS} -c -l mysqlclient -I ${PREFIX}/include -L ${PREFIX}/lib/mysql ${PORTNAME}.c
-
-do-install:
-	${APXS} -i -A -n ${PORTNAME:S/^mod_//g} ${WRKSRC}/${PORTNAME}.so
-
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	30 Nov 2004 20:45:55 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-libexec/apache/mod_shapvh.so
-@exec %D/sbin/apxs -e -A -n shapvh %D/%F
-@unexec %D/sbin/apxs -e -A -n shapvh %D/%F
--- mod_shapvh-1.0.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?200904120428.n3C4SFpr041572>