ports/133639: [PATCH] www/mod_sqlinclude: apache@ cleanups
Philip M. Gollucci
pgollucci at FreeBSD.org
Sun Apr 12 04:30:02 UTC 2009
>Number: 133639
>Category: ports
>Synopsis: [PATCH] www/mod_sqlinclude: 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: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
- only for www/apache13
- Fix NO*
- Convert to AP_FAST_BUILD/AP_GENPLIST
- Bump PORTREVISION
- Use SF macro
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_sqlinclude-1.4_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_sqlinclude/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile 28 Jul 2004 07:23:16 -0000 1.8
+++ Makefile 12 Apr 2009 04:19:01 -0000
@@ -6,32 +6,30 @@
PORTNAME= mod_sqlinclude
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
EXTRACT_SUFX= .tgz
MAINTAINER= anders at FreeBSD.org
COMMENT= An Apache module implementing config inclusion from MySQL databases
+USE_APACHE= 1.3
USE_MYSQL= yes
-DOCS= CHANGES.txt README.txt test.sql
-.if defined(WITH_APACHE2) || exists(${LOCALBASE}/include/apache2/apr.h)
-IGNORE= Sorry, mod_sqlinclude only works with Apache 1.x
-.else
-USE_APACHE= yes
-.endif
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+
+AP_INC= ${LOCALBASE}/include
+AP_LIB= ${LOCALBASE}/lib/mysql -lmysqlclient
-do-build:
- (cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \
- -L${LOCALBASE}/lib/mysql -lmysqlclient mod_sqlinclude.c)
+PORTDOCS= CHANGES.txt README.txt test.sql
-do-install:
- (cd ${WRKSRC} && ${APXS} -i -A -n 'sqlinclude' mod_sqlinclude.so)
+post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL} -d -m 0755 ${DOCSDIR}
-.for f in ${DOCS}
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 3 Jun 2004 12:39:56 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,7 +0,0 @@
-libexec/apache/mod_sqlinclude.so
- at exec %D/sbin/apxs -e -A -n sqlinclude %f
- at unexec %D/sbin/apxs -e -A -n sqlinclude %f
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/test.sql
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- mod_sqlinclude-1.4_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list