ports/57503: New Port Submission mod_auth_mysql41_ap2

Douglas A. Maske maske at rungepaper.com
Thu Oct 2 18:20:14 UTC 2003


>Number:         57503
>Category:       ports
>Synopsis:       New Port Submission mod_auth_mysql41_ap2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 02 11:20:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Douglas A. Maske
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
www.maske.org
>Environment:
System: FreeBSD rungepaper.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Jun 18 00:02:59 CDT 2003 root at rungepaper.com:/tmp/src/sys/compile/GENERIC i386


>Description:
	Created a new mod_auth_mysql port for MySQL 4.1 with Apache2
>How-To-Repeat:
	N/A
>Fix:

--- mod_auth_mysql41_ap2.diff begins here ---
diff -crN mod_auth_mysql41_ap2/Makefile mod_auth_mysql41_ap2.MAKEFILE/Makefile
*** mod_auth_mysql41_ap2/Makefile	Wed Dec 31 18:00:00 1969
--- mod_auth_mysql41_ap2.MAKEFILE/Makefile	Thu Oct  2 13:07:39 2003
***************
*** 0 ****
--- 1,37 ----
+ # New ports collection makefile for:	mod_auth_mysql41_ap2
+ # Date Created:			Thu Oct  2 10:33:50 CDT 2003
+ # Whom:			Douglas A. Maske <maske at maske.org>
+ #
+ # Website: http://www.maske.org
+ # Support: support at maske.org
+ #
+ # $FREEBSD$
+ #
+ 
+ PORTNAME=	mod_auth_mysql41_ap2
+ PORTVERSION=	1.00
+ CATEGORIES=	www
+ MASTER_SITES=	ftp://127.0.0.1/pub/FreeBSD/distfiles/
+ DISTNAME=	mod_auth_mysql41_ap2_${PORTVERSION}
+ DISTFILES=	${DISTNAME}.tar.gz
+ BUILD_DEPENDS=  ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 \
+ 		${LOCALBASE}/etc/apache2/httpd.conf:${PORTSDIR}/www/apache2 \
+ 		${LOCALBASE}/lib/mysql/libmysqlclient.so.14:${PORTSDIR}/databases/mysql41-client
+ 
+ MAINTAINER=	maske at maske.org
+ COMMENT=	MySQL 4.1 and Apache 2 port of mod_auth_mysql
+ 
+ .include <bsd.port.pre.mk>
+ 
+ WRKSRC=		${WRKDIR}/${DISTNAME}
+ 
+ do-build:
+ 		@cd ${WRKSRC} && ./build.sh
+ 
+ do-install:
+ 		@cd ${WRKSRC} && ./install.sh
+ 
+ 		cat pkg-message
+ 
+ .include <bsd.port.post.mk>
+ 
diff -crN mod_auth_mysql41_ap2/distinfo mod_auth_mysql41_ap2.MAKEFILE/distinfo
*** mod_auth_mysql41_ap2/distinfo	Wed Dec 31 18:00:00 1969
--- mod_auth_mysql41_ap2.MAKEFILE/distinfo	Thu Oct  2 12:32:49 2003
***************
*** 0 ****
--- 1 ----
+ MD5 (mod_auth_mysql41_ap2_1.00.tar.gz) = 1bbb708dd08831e25aebc6191fd7e72c
diff -crN mod_auth_mysql41_ap2/pkg-descr mod_auth_mysql41_ap2.MAKEFILE/pkg-descr
*** mod_auth_mysql41_ap2/pkg-descr	Wed Dec 31 18:00:00 1969
--- mod_auth_mysql41_ap2.MAKEFILE/pkg-descr	Thu Oct  2 10:56:14 2003
***************
*** 0 ****
--- 1,5 ----
+ 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 at 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 at maske.org
+ http://www.maske.org
diff -crN mod_auth_mysql41_ap2/pkg-message mod_auth_mysql41_ap2.MAKEFILE/pkg-message
*** mod_auth_mysql41_ap2/pkg-message	Wed Dec 31 18:00:00 1969
--- mod_auth_mysql41_ap2.MAKEFILE/pkg-message	Thu Oct  2 12:35:06 2003
***************
*** 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 /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.
+ 
+ *****************************************************************************
diff -crN mod_auth_mysql41_ap2/pkg-plist mod_auth_mysql41_ap2.MAKEFILE/pkg-plist
*** mod_auth_mysql41_ap2/pkg-plist	Wed Dec 31 18:00:00 1969
--- mod_auth_mysql41_ap2.MAKEFILE/pkg-plist	Thu Oct  2 12:25:09 2003
***************
*** 0 ****
--- 1,5 ----
+ libexec/apache2/mod_auth_mysql.so
+ @exec %D/sbin/apxs -e -a -n mysql_auth %f
+ @unexec %D/sbin/apxs -e -A -n mysql_auth %f
+ %%PORTDOCS%%share/doc/mod_auth_mysql41_ap2/README
+ %%PORTDOCS%%@dirrm share/doc/mod_auth_mysql41_ap2
--- mod_auth_mysql41_ap2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list