Date: Sun, 12 Apr 2009 07:41:26 GMT From: "Philip M. Gollucci" <pgollucci@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lev@FreeBSD.org Subject: ports/133650: [PATCH] www/mod_log_sql: apache@ cleanups Message-ID: <200904120741.n3C7fQlQ007762@mail.bluecottontech.com> Resent-Message-ID: <200904120750.n3C7o267013724@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133650 >Category: ports >Synopsis: [PATCH] www/mod_log_sql: 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:50:02 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: - APACHE_COMPAT is deprecated - BUILD/RUN_DEPENDS come from USE_APACHE - Use APACHEMODDIR in pkg-plist - Use PORTDOCS var - Bump pkg-plist Port maintainer (lev@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mod_log_sql-1.18_3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/mod_log_sql/Makefile,v retrieving revision 1.14 diff -u -u -r1.14 Makefile --- Makefile 13 May 2006 04:41:14 -0000 1.14 +++ Makefile 12 Apr 2009 07:39:59 -0000 @@ -6,26 +6,27 @@ PORTNAME= mod_log_sql PORTVERSION= 1.18 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www databases MASTER_SITES= http://www.outoforder.cc/downloads/${PORTNAME}/ MAINTAINER= lev@FreeBSD.org COMMENT= Allows Apache to log to a MySQL database -BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} -RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT} - WRKSRC= ${WRKDIR}/${PORTNAME} USE_MYSQL= yes USE_BZIP2= yes USE_GMAKE= yes -APACHE_COMPAT= yes +USE_APACHE= 1.3 ALL_TARGET= dso INSTALL_TARGET= dsoinstall +PORTDOCS= LICENSE CHANGELOG create_tables.sql make_combined_log.pl \ + documentation.ps documentation.txt README FreeBSD-readme.txt \ + HTML + do-configure: @${REINPLACE_CMD} "s|^APACHEINSTALLED = .*\$$|APACHEINSTALLED = ${LOCALBASE}|" ${WRKSRC}/Makefile @${REINPLACE_CMD} "s|^APACHEHEADERS = .*\$$|APACHEHEADERS = ${LOCALBASE}/include/apache|" ${WRKSRC}/Makefile @@ -35,20 +36,19 @@ @${REINPLACE_CMD} "s|sql_log_module|log_sql_module|g" ${WRKSRC}/${PORTNAME}.c post-install: - ${APXS} -e -a -n log_sql ${LOCALBASE}/libexec/apache/${PORTNAME}.so - @${MKDIR} ${LOCALBASE}/share/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/LICENSE ${LOCALBASE}/share/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${LOCALBASE}/share/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/create_tables.sql ${LOCALBASE}/share/${PORTNAME} - @${INSTALL_SCRIPT} ${WRKSRC}/make_combined_log.pl ${LOCALBASE}/share/${PORTNAME} + ${APXS} -e -a -n log_sql ${LOCALBASE}/${APACHEMODDIR}/${PORTNAME}.so .if !defined(NOPORTDOCS) - @${MKDIR} ${LOCALBASE}/share/doc/${PORTNAME}/HTML - @${INSTALL_DATA} ${FILESDIR}/FreeBSD-readme.txt ${LOCALBASE}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/Documentation/documentation.ps ${LOCALBASE}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/Documentation/documentation.txt ${LOCALBASE}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/Documentation/README ${LOCALBASE}/share/doc/${PORTNAME}/ - @${INSTALL_DATA} ${WRKSRC}/Documentation/HTML/* ${LOCALBASE}/share/doc/${PORTNAME}/HTML/ - + @${MKDIR} ${DOCSDIR}/ + @${MKDIR} ${DOCSDIR}/HTML/ + @${INSTALL_DATA} ${FILESDIR}/FreeBSD-readme.txt ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/create_tables.sql ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/Documentation/documentation.ps ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/Documentation/documentation.txt ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/Documentation/README ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/Documentation/HTML/* ${DOCSDIR}/HTML/ + @${INSTALL_SCRIPT} ${WRKSRC}/make_combined_log.pl ${DOCSDIR}/ .endif .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/mod_log_sql/pkg-plist,v retrieving revision 1.3 diff -u -u -r1.3 pkg-plist --- pkg-plist 6 Aug 2003 15:02:27 -0000 1.3 +++ pkg-plist 12 Apr 2009 07:39:59 -0000 @@ -1,33 +1,3 @@ -@unexec %D/sbin/apxs -e -A -n log_sql %D/libexec/apache/mod_log_sql.so -libexec/apache/mod_log_sql.so -@exec %D/sbin/apxs -e -a -n log_sql %D/libexec/apache/mod_log_sql.so -share/mod_log_sql/LICENSE -share/mod_log_sql/CHANGELOG -share/mod_log_sql/create_tables.sql -share/mod_log_sql/make_combined_log.pl -%%PORTDOCS%%share/doc/mod_log_sql/FreeBSD-readme.txt -%%PORTDOCS%%share/doc/mod_log_sql/documentation.ps -%%PORTDOCS%%share/doc/mod_log_sql/documentation.txt -%%PORTDOCS%%share/doc/mod_log_sql/HTML/contents.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/documentation.css -%%PORTDOCS%%share/doc/mod_log_sql/HTML/documentation.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/img1.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/img2.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/img3.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/img4.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/next.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/next_g.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/node1.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/node2.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/node3.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/node4.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/node5.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/node6.html -%%PORTDOCS%%share/doc/mod_log_sql/HTML/prev.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/prev_g.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/up.png -%%PORTDOCS%%share/doc/mod_log_sql/HTML/up_g.png -%%PORTDOCS%%share/doc/mod_log_sql/README -%%PORTDOCS%%@dirrm share/doc/mod_log_sql/HTML -%%PORTDOCS%%@dirrm share/doc/mod_log_sql -@dirrm share/mod_log_sql +%%APACHEMODDIR%%/mod_log_sql.so +@unexec %D/sbin/apxs -e -A -n log_sql %D%%APACHEMODDIR%%/mod_log_sql.so +@exec %D/sbin/apxs -e -a -n log_sql %D%%APACHEMODDIR%%/mod_log_sql.so --- mod_log_sql-1.18_3.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?200904120741.n3C7fQlQ007762>