ports/57707: [new port] www/mod_auth_cookie_mysql: Allows authentication against a MySQL database via a secure cookie
Clement Laforet
sheepkiller at cultdeadsheep.org
Tue Oct 7 14:20:24 UTC 2003
>Number: 57707
>Category: ports
>Synopsis: [new port] www/mod_auth_cookie_mysql: Allows authentication against a MySQL database via a secure cookie
>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: Tue Oct 07 07:20:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
This Apache module allows authentication against a MySQL database via a
cryptographically secure cookie.
WWW: http://www.qwk.net/opensource/mod_auth_cookie_mysql/
>How-To-Repeat:
N/A.
>Fix:
--- mod_auth_cookie_mysql.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mod_auth_cookie_mysql
# mod_auth_cookie_mysql/Makefile
# mod_auth_cookie_mysql/distinfo
# mod_auth_cookie_mysql/pkg-descr
# mod_auth_cookie_mysql/pkg-plist
#
echo c - mod_auth_cookie_mysql
mkdir -p mod_auth_cookie_mysql > /dev/null 2>&1
echo x - mod_auth_cookie_mysql/Makefile
sed 's/^X//' >mod_auth_cookie_mysql/Makefile << 'END-of-mod_auth_cookie_mysql/Makefile'
X# New ports collection makefile for: mod_auth_cookie_mysql
X# Date created: Tue Oct 7
X# Whom: Clement Laforet <sheepkiller at cultdeadsheep.org>
X#
X# $FreeBSD$
X
XPORTNAME= mod_auth_cookie_mysql
XPORTVERSION= 1.0
XCATEGORIES= www
XMASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
X# Original Location: http://www.qwk.net/opensource/mod_auth_cookie_mysql/mod_auth_cookie_mysql.tar.gz
X
XMAINTAINER= sheepkiller at cultdeadsheep.org
XCOMMENT= Allows authentication against a MySQL database via a secure cookie
X
XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XUSE_MYSQL= YES
X# If someone can test it with MySQL 4.1 ;-)
XBROKEN_WITH_MYSQL= 41
X
XAPXS?= ${LOCALBASE}/sbin/apxs
XMYSQL_INC?= ${LOCALBASE}/include/mysql
XMYSQL_LIBS?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
X
Xdo-build:
X @(cd ${WRKSRC} && ${APXS} -I ${MYSQL_INC} -L ${MYSQL_LIBS} -c ${PORTNAME}.c)
X
Xdo-install:
X @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${MKDIR} ${EXAMPLESDIR}
X @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X @${INSTALL_DATA} ${WRKSRC}/authform.tmpl ${EXAMPLESDIR}
X @${INSTALL_DATA} ${WRKSRC}/putcookie.cgi ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mod_auth_cookie_mysql/Makefile
echo x - mod_auth_cookie_mysql/distinfo
sed 's/^X//' >mod_auth_cookie_mysql/distinfo << 'END-of-mod_auth_cookie_mysql/distinfo'
XMD5 (mod_auth_cookie_mysql-1.0.tar.gz) = 84ab8b4a0e19bfc3af808b11a399b050
END-of-mod_auth_cookie_mysql/distinfo
echo x - mod_auth_cookie_mysql/pkg-descr
sed 's/^X//' >mod_auth_cookie_mysql/pkg-descr << 'END-of-mod_auth_cookie_mysql/pkg-descr'
XThis Apache module allows authentication against a MySQL database via a
Xcryptographically secure cookie.
X
XWWW: http://www.qwk.net/opensource/mod_auth_cookie_mysql/
END-of-mod_auth_cookie_mysql/pkg-descr
echo x - mod_auth_cookie_mysql/pkg-plist
sed 's/^X//' >mod_auth_cookie_mysql/pkg-plist << 'END-of-mod_auth_cookie_mysql/pkg-plist'
Xlibexec/apache/mod_auth_cookie_mysql.so
X at exec %D/sbin/apxs -e -a -n auth_cookie_mysql %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%EXAMPLESDIR%%/authform.tmpl
X%%PORTDOCS%%%%EXAMPLESDIR%%/putcookie.cgi
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X at unexec echo "===> If you do not plan on reinstalling mod_auth_cookie_mysql, you must manually remove"; echo "===> references to it in httpd.conf."
END-of-mod_auth_cookie_mysql/pkg-plist
exit
--- mod_auth_cookie_mysql.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list