Date: Mon, 13 Apr 2009 02:14:36 GMT From: "Philip M. Gollucci" <pgollucci@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: maske@maske.org Subject: ports/133682: [PATCH] www/mod_auth_mysql41_ap2: apache@ cleanups Message-ID: <200904130214.n3D2EaWv024642@mail.bluecottontech.com> Resent-Message-ID: <200904130220.n3D2K1r1022783@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133682 >Category: ports >Synopsis: [PATCH] www/mod_auth_mysql41_ap2: 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: Mon Apr 13 02:20: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 - WITH_APACHE2 is deprecated - Convert to AP_FAST_BUILD/AP_GENPLIST (MODULE_NAME -> MODULENAME) - Use SUB_FILES for pkg-message - Wrap pkg-descr at 78 chars - Add WWW: to pkg-descr - Pet Portlint - Bump PORTREVISION Added file(s): - files/pkg-message.in Removed file(s): - pkg-message - pkg-plist Port maintainer (maske@maske.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mod_auth_mysql41_ap2-1.00_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/mod_auth_mysql41_ap2/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 8 Apr 2009 09:57:56 -0000 1.2 +++ Makefile 13 Apr 2009 02:11:09 -0000 @@ -7,33 +7,35 @@ PORTNAME= mod_auth_mysql41_ap2 PORTVERSION= 1.00 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ftp://ftp.maske.org/pub/FreeBSD/distfiles/ DISTNAME= ${PORTNAME}_${PORTVERSION} -DISTFILES= ${DISTNAME}.tar.gz MAINTAINER= maske@maske.org COMMENT= MySQL 4.1 and Apache 2 port of mod_auth_mysql -USE_APACHE= YES -WITH_APACHE2= YES - USE_MYSQL= YES WANT_MYSQL_VER= 41 -MYSQL_INC?= ${LOCALBASE}/include/mysql -MYSQL_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient -MODULE_NAME= mod_auth_mysql -PORTDOCS= README +USE_APACHE= 2.0 +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +AP_INC= ${LOCALBASE}/include/mysql +AP_LIB= ${LOCALBASE}/lib/mysql -lmysqlclient +AP_EXTRAS= -DAPACHE2 -do-build: - @(cd ${WRKSRC} && ${APXS} -D APACHE2 -I ${MYSQL_INC} -L ${MYSQL_LIB} -c ${MODULE_NAME}.c) +MODULENAME= mod_auth_mysql + +SUB_FILES+= pkg-message + +PORTDOCS= README -do-install: - @(cd ${WRKSRC} && ${APXS} -i -A -n ${MODULE_NAME:S/mod_//} ${MODULE_NAME}.la) +post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/ .endif .include <bsd.port.mk> Index: pkg-descr =================================================================== RCS file: /home/pcvs/ports/www/mod_auth_mysql41_ap2/pkg-descr,v retrieving revision 1.1 diff -u -u -r1.1 pkg-descr --- pkg-descr 9 Jan 2004 23:15:20 -0000 1.1 +++ pkg-descr 13 Apr 2009 02:11:09 -0000 @@ -1,5 +1,11 @@ -mod_auth_mysql41_ap2 is an Apache module that allows authentication using user and group data stored in MySQL databases. Originally by Vivek Khera for Apache1, now also includes a version for Apache 2. This version has been modified from the version by Sam Brauer <sbrauer@users.sourceforge.net> at http://sourceforge.net/projects/modauthmysql to support MySQL 4.1 with Apache 2. Group Authentication has not been implemented yet. +mod_auth_mysql41_ap2 is an Apache module that allows authentication using +user and group data stored in MySQL databases. Originally by Vivek Khera +for Apache1, now also includes a version for Apache 2. This version has +been modified from the version by Sam Brauer +<sbrauer@users.sourceforge.net> at +http://sourceforge.net/projects/modauthmysql to support MySQL 4.1 +with Apache 2. Group Authentication has not been implemented yet. Douglas A. Maske maske@maske.org -http://www.maske.org +WWW: http://www.maske.org Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 9 Jan 2004 23:15:20 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,27 +0,0 @@ -***************************************************************************** - -You have installed the mod_auth_mysql41_ap2 package. - -Your Apache2 configuration file has been updated with the new module. - -Please restart Apache2 for this module to activate. - -You should put this to your .htaccess file: - -AuthType Basic -AuthName YOURAUTHNAME -AuthMySQLDB YOURDATABASENAME -AuthMySQLUser YOURMYSQLUSERNAME -AuthMySQLPassword YOURMYSQLPASSWORD -AuthMySQLHost YOURMYSQLHOSTNAME -AuthMySQLUserTable YOURUSERTABLENAME -AuthMySQLNameField USERNAMEFIELD -AuthMySQLPasswordField PASSWORDFIELD - -For .htaccess options, view /usr/local/share/doc/mod_auth_mysql41_ap2/README - -For more information visit http://www.maske.org - -Group authentication is not supported at this time. - -***************************************************************************** Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 9 Jan 2004 23:15:20 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -libexec/apache2/mod_auth_mysql.so -@exec %D/sbin/apxs -e -a -n mysql_auth %D/%f -@unexec %D/sbin/apxs -e -A -n mysql_auth %D/%f Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 13 Apr 2009 02:11:09 -0000 @@ -0,0 +1,27 @@ +***************************************************************************** + +You have installed the mod_auth_mysql41_ap2 package. + +Your Apache2 configuration file has been updated with the new module. + +Please restart Apache2 for this module to activate. + +You should put this to your .htaccess file: + +AuthType Basic +AuthName YOURAUTHNAME +AuthMySQLDB YOURDATABASENAME +AuthMySQLUser YOURMYSQLUSERNAME +AuthMySQLPassword YOURMYSQLPASSWORD +AuthMySQLHost YOURMYSQLHOSTNAME +AuthMySQLUserTable YOURUSERTABLENAME +AuthMySQLNameField USERNAMEFIELD +AuthMySQLPasswordField PASSWORDFIELD + +For .htaccess options, view %%DOCSDIR%%/README + +For more information visit http://www.maske.org + +Group authentication is not supported at this time. + +***************************************************************************** --- mod_auth_mysql41_ap2-1.00_1.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?200904130214.n3D2EaWv024642>