ports/133640: [PATCH] www/mod_shapvh: apache@ cleanups
Philip M. Gollucci
pgollucci at FreeBSD.org
Sun Apr 12 04:30:06 UTC 2009
>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 at 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 at 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
- at exec %D/sbin/apxs -e -A -n shapvh %D/%F
- at unexec %D/sbin/apxs -e -A -n shapvh %D/%F
--- mod_shapvh-1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list