4f5fe03cbf
plain MD5 encryption and an option to specify additional conditions. Problem reported by Simon Hamilton, request by Markus Liljergren, tested by both.
35 lines
801 B
Makefile
35 lines
801 B
Makefile
# $OpenBSD: Makefile,v 1.13 2008/03/25 23:23:15 simon Exp $
|
|
|
|
COMMENT= Apache MySQL authentication module
|
|
|
|
VERSION= 3.2
|
|
DISTNAME= mod_auth_mysql-${VERSION}
|
|
PKGNAME= ${DISTNAME}p3
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/mod-auth-mysql
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-auth-mysql/}
|
|
MODULES+= apache-module
|
|
|
|
# Apache license
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODAPACHE_NAME= auth_mysql
|
|
|
|
LIB_DEPENDS= lib/mysql/mysqlclient.>=10::databases/mysql
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-build:
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
|
|
|
do-install:
|
|
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/mod_auth_mysql
|
|
${INSTALL_MAN} ${WRKSRC}/{README,USAGE} ${PREFIX}/share/doc/mod_auth_mysql
|
|
${MODAPACHE_INSTALL}
|
|
|
|
.include <bsd.port.mk>
|