From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 12 07:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADB9C1065673 for ; Sun, 12 Apr 2009 07:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8867A8FC0C for ; Sun, 12 Apr 2009 07:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3C7o2rx013725 for ; Sun, 12 Apr 2009 07:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3C7o267013724; Sun, 12 Apr 2009 07:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 12 Apr 2009 07:50:02 GMT Resent-Message-Id: <200904120750.n3C7o267013724@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Philip M. Gollucci" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74221106564A for ; Sun, 12 Apr 2009 07:41:32 +0000 (UTC) (envelope-from pgollucci@mail.bluecottontech.com) Received: from mail.bluecottontech.com (static-76-161-175-34.dsl.cavtel.net [76.161.175.34]) by mx1.freebsd.org (Postfix) with ESMTP id 41FB28FC20 for ; Sun, 12 Apr 2009 07:41:32 +0000 (UTC) (envelope-from pgollucci@mail.bluecottontech.com) Received: from mail.bluecottontech.com (localhost [127.0.0.1]) by mail.bluecottontech.com (8.14.3/8.14.3) with ESMTP id n3C7fVNo007763; Sun, 12 Apr 2009 07:41:31 GMT (envelope-from pgollucci@mail.bluecottontech.com) Received: (from pgollucci@localhost) by mail.bluecottontech.com (8.14.3/8.14.3/Submit) id n3C7fQlQ007762; Sun, 12 Apr 2009 07:41:26 GMT (envelope-from pgollucci) Message-Id: <200904120741.n3C7fQlQ007762@mail.bluecottontech.com> Date: Sun, 12 Apr 2009 07:41:26 GMT From: "Philip M. Gollucci" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: lev@FreeBSD.org Subject: ports/133650: [PATCH] www/mod_log_sql: apache@ cleanups X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2009 07:50:03 -0000 >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 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: