diff --git a/www/mod_cfg_ldap/Makefile b/www/mod_cfg_ldap/Makefile index a81385179b3b..ac44b4102027 100644 --- a/www/mod_cfg_ldap/Makefile +++ b/www/mod_cfg_ldap/Makefile @@ -1,32 +1,32 @@ PORTNAME= mod_cfg_ldap PORTVERSION= 1.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= SF/modcfgldap/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= apache2 MAINTAINER= apache@FreeBSD.org COMMENT= Allows you to keep your virtual host configuration in a LDAP directory WWW= https://sourceforge.net/projects/modcfgldap/ LICENSE= BSD3CLAUSE USES= apache ldap AP_FAST_BUILD= yes AP_GENPLIST= yes LDAP_INC?= ${LOCALBASE}/include LDAP_LIB?= ${LOCALBASE}/lib -lldap AP_INC+= ${LDAP_INC} AP_LIB+= ${LDAP_LIB} PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \ mod_cfg_ldap.schema README TODO OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c b/www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c new file mode 100644 index 000000000000..536a6b57f6b6 --- /dev/null +++ b/www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c @@ -0,0 +1,10 @@ +--- mod_cfg_ldap.c.orig 2004-09-16 17:02:15 UTC ++++ mod_cfg_ldap.c +@@ -45,6 +45,7 @@ + #include "http_log.h" + #include "http_request.h" + #include "apr_strings.h" ++#define LDAP_DEPRECATED 1 + #include "ldap.h" + + #define CFG_LDAP_NO_SUCH_VHOST "cfg_ldap_no_such_vhost"