diff options
author | adrianp <adrianp@pkgsrc.org> | 2005-02-26 01:06:08 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2005-02-26 01:06:08 +0000 |
commit | 95c6a4ac31660f6add209ebcda69137cc9d80ae4 (patch) | |
tree | 8d55a14247c10e02184fe7d8a544f3df4c5e0add /www/ap2-auth-ldap/Makefile | |
parent | ad72ee10fc8081deb588fbe72d1261a3aa21566e (diff) | |
download | pkgsrc-95c6a4ac31660f6add209ebcda69137cc9d80ae4.tar.gz |
- Update to 3.3
> v3.2 (Dec-29-2004)
> * Some options were missing in apache 1.3x part of the code.
>
> * There was a syntax error in TLS related code. Thanks for many of you
> who pointed it out.
>
> * Don't try to re-initialize TLS. Thanks to Volker for pointing it out.
>
> * if the ldap header files and libaries are no in ldap base directory,
> they can be specified with --with-ldap-includes and
> --with-ldap-libraries respectively.
>
> v 3.3 (Dec-30-2004)
> * some tls code was outside
Diffstat (limited to 'www/ap2-auth-ldap/Makefile')
-rw-r--r-- | www/ap2-auth-ldap/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/www/ap2-auth-ldap/Makefile b/www/ap2-auth-ldap/Makefile index 20a2e739866..062fd3f28f7 100644 --- a/www/ap2-auth-ldap/Makefile +++ b/www/ap2-auth-ldap/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2005/02/21 22:48:22 adrianp Exp $ +# $NetBSD: Makefile,v 1.3 2005/02/26 01:06:08 adrianp Exp $ -DISTNAME= mod_auth_ldap2.16 -PKGNAME= ap2-auth-ldap-2.16 +DISTNAME= mod_auth_ldap3.3 +PKGNAME= ap2-auth-ldap-3.3 CATEGORIES= www databases MASTER_SITES= http://www.muquit.com/muquit/software/mod_auth_ldap/ @@ -12,22 +12,27 @@ COMMENT= Module to allow apache2 authentication against an LDAP directory GNU_CONFIGURE= YES USE_BUILDLINK3= YES APACHE_MODULE= YES -APACHE_MODULE_NAME= mod_auth_ldap +APACHE_MODULE_NAME= mm_auth_ldap_module USE_LIBTOOL= YES CPPFLAGS+= -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lldap -llber -BUILDLINK_DEPENDS.apache+= apache>=2.0.47 +BUILDLINK_DEPENDS.apache?= apache>=2.0.47 CONFIGURE_ARGS+= --with-apxs=${APXS} CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap} CONFIGURE_ARGS+= --with-apache-dir=${PREFIX} +CONFIGURE_ARGS+= --with-apache-ver=2 + +SUBST_CLASSES= paths +SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= configure +SUBST_SED.paths= -e "s|@@HASHLIB@@|${PREFIX}/include|g" \ + -e "s|@@HASHINC@@|${PREFIX}/lib|g" +SUBST_MESSAGE.paths= "Fixing hardcoded paths." do-install: cd ${WRKSRC} && ${APXS} -i \ - -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${APACHE_MODULE_NAME} - ${INSTALL_DATA} ${WRKSRC}/${APACHE_MODULE_NAME}_apache2.html \ - ${PREFIX}/share/doc/${APACHE_MODULE_NAME} + -n ${APACHE_MODULE_NAME} mod_auth_ldap.la .include "../../databases/openldap/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" |