Fri Sep 13 11:56:19 2013 UTC ()
Import www/ap22-authz-ldap.
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.
(fhajny)
diff -r0 -r1.1 pkgsrc/www/ap22-authz-ldap/DESCR
diff -r0 -r1.1 pkgsrc/www/ap22-authz-ldap/Makefile
diff -r0 -r1.1 pkgsrc/www/ap22-authz-ldap/PLIST
diff -r0 -r1.1 pkgsrc/www/ap22-authz-ldap/distinfo
diff -r0 -r1.1 pkgsrc/www/ap22-authz-ldap/options.mk
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.
# $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"
@comment $NetBSD: PLIST,v 1.1 2013/09/13 11:56:19 fhajny Exp $
bin/cert2ldap
bin/certfind
lib/httpd/mod_authz_ldap.so
man/man1/cert2ldap.1
man/man1/certfind.1
$NetBSD: distinfo,v 1.1 2013/09/13 11:56:19 fhajny Exp $
SHA1 (mod_authz_ldap-0.30.tar.gz) = c0a02b12de1be1dbf9ff1e78f59e219c3234a088
RMD160 (mod_authz_ldap-0.30.tar.gz) = 10214013d5885a5685369169923fec6ceef66a18
Size (mod_authz_ldap-0.30.tar.gz) = 386812 bytes
# $NetBSD: options.mk,v 1.1 2013/09/13 11:56:19 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ap22-authz-ldap
PKG_SUPPORTED_OPTIONS= openssl
PKG_SUGGESTED_OPTIONS= #
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mopenssl)
CONFIGURE_ARGS+= --with-openssl-path=${BUILDLINK_PREFIX.openssl}
.include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ssl
.endif