diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-10-14 08:45:54 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-10-14 08:45:54 +0000 |
commit | e3802278b47c2a0c48cffdc61ab98d6155eb163e (patch) | |
tree | 86868ed004e0c80b3059fb6cb2b299e4244f12aa /www/mod_auth_cookie_mysql/Makefile | |
parent | Respect USE_OPENLDAP(WANT_OPENLDAP_VER). (diff) |
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>
Notes
Notes:
svn path=/head/; revision=91150
Diffstat (limited to 'www/mod_auth_cookie_mysql/Makefile')
-rw-r--r-- | www/mod_auth_cookie_mysql/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/www/mod_auth_cookie_mysql/Makefile b/www/mod_auth_cookie_mysql/Makefile new file mode 100644 index 000000000000..673fdec81198 --- /dev/null +++ b/www/mod_auth_cookie_mysql/Makefile @@ -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> |