55e0a0c1d6
This Apache LDAP authentication/authorization module tries to solve the following problems that other such modules may not solve in all cases: * Map the short form of the distinguished name of a certificate and its issuer obtained from the environment of mod_ssl to a user distinguished name in an LDAP directory. * Check the age of a password in an LDAP directory, denying authorization in case the password is to old. * Authorize a user based on roles or an arbitrary LDAP filter expression. * Authorize a user based on whether he owns a file or belongs to the group owning a file.
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2013/09/13 11:56:19 fhajny Exp $
|
|
#
|
|
|
|
DISTNAME= mod_authz_ldap-0.30
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:C/^mod_//:C/_/-/}
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://authzldap.othello.ch/download/
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
HOMEPAGE= http://authzldap.othello.ch/
|
|
COMMENT= Apache LDAP Authorization module
|
|
LICENSE= apache-2.0
|
|
|
|
PKG_APACHE_ACCEPTED= apache24 apache22
|
|
|
|
.include "../../mk/apache.mk"
|
|
.include "options.mk"
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
|
|
CONFIGURE_ARGS+= --with-apr=${PREFIX}/bin/apr-1-config
|
|
CONFIGURE_ARGS+= --with-apu=${PREFIX}/bin/apu-1-config
|
|
|
|
INSTALLATION_DIRS+= bin lib/httpd ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/module/.libs/mod_authz_ldap.so \
|
|
${DESTDIR}${PREFIX}/lib/httpd
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/cert2ldap ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/certfind ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/docs/cert2ldap.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/docs/certfind.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|