Add mod_auth_cookie_mysql 1.0,
allows authentication against a MySQL database via a secure cookie. PR: 57707 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
This commit is contained in:
parent
4dbd49b80f
commit
e3802278b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91150
5 changed files with 56 additions and 0 deletions
|
@ -185,6 +185,7 @@
|
|||
SUBDIR += mod_access_referer
|
||||
SUBDIR += mod_accounting
|
||||
SUBDIR += mod_auth_any
|
||||
SUBDIR += mod_auth_cookie_mysql
|
||||
SUBDIR += mod_auth_external
|
||||
SUBDIR += mod_auth_kerb
|
||||
SUBDIR += mod_auth_mysql
|
||||
|
|
42
www/mod_auth_cookie_mysql/Makefile
Normal file
42
www/mod_auth_cookie_mysql/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
|||
# New ports collection makefile for: mod_auth_cookie_mysql
|
||||
# Date created: Tue Oct 7
|
||||
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mod_auth_cookie_mysql
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/ \
|
||||
http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
|
||||
# Original Location: http://www.qwk.net/opensource/mod_auth_cookie_mysql/mod_auth_cookie_mysql.tar.gz
|
||||
DIST_SUBDIR= apache
|
||||
|
||||
MAINTAINER= sheepkiller@cultdeadsheep.org
|
||||
COMMENT= Allows authentication against a MySQL database via a secure cookie
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_MYSQL= YES
|
||||
# If someone can test it with MySQL 4.1 ;-)
|
||||
BROKEN_WITH_MYSQL= 41
|
||||
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
MYSQL_INC?= ${LOCALBASE}/include/mysql
|
||||
MYSQL_LIBS?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${APXS} -I ${MYSQL_INC} -L ${MYSQL_LIBS} -c ${PORTNAME}.c)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/authform.tmpl ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/putcookie.cgi ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_auth_cookie_mysql/distinfo
Normal file
1
www/mod_auth_cookie_mysql/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (apache/mod_auth_cookie_mysql-1.0.tar.gz) = 84ab8b4a0e19bfc3af808b11a399b050
|
4
www/mod_auth_cookie_mysql/pkg-descr
Normal file
4
www/mod_auth_cookie_mysql/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
This Apache module allows authentication against a MySQL database via a
|
||||
cryptographically secure cookie.
|
||||
|
||||
WWW: http://www.qwk.net/opensource/mod_auth_cookie_mysql/
|
8
www/mod_auth_cookie_mysql/pkg-plist
Normal file
8
www/mod_auth_cookie_mysql/pkg-plist
Normal file
|
@ -0,0 +1,8 @@
|
|||
libexec/apache/mod_auth_cookie_mysql.so
|
||||
@exec %D/sbin/apxs -e -a -n auth_cookie_mysql %D/%f
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/authform.tmpl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/putcookie.cgi
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
@unexec echo "===> If you do not plan on reinstalling mod_auth_cookie_mysql, you must manually remove"; echo "===> references to it in httpd.conf."
|
Loading…
Reference in a new issue