freebsd-ports/www/mod_vhost_ldap/Makefile

38 lines
892 B
Makefile
Raw Normal View History

# Created by: Clement Laforet <clement@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_vhost_ldap
- update to version 2.0.8 - add stage support - add LICENSE Changes: * VERSION: 2.0.8 * mod_vhost_ldap.c: Don't copy server struct if we have per request document root * VERSION: 2.0.7 * mod_vhost_ldap.c: Revert escaping wildcard character as it was already done before by ldap_bv2escaped_filter_value * VERSION: 2.0.6 * mod_vhost_ldap.c: Properly escape wildcard string to search for literal *.hostname * mod_vhost_ldap.c, vhost_ldap.conf: Add new boolean option VhostLDAPWildcard to disable wildcard search completely * mod_vhost_ldap.c: Fix cgi-bin processing (Courtesy of Anders Kaseorg) * VERSION: 2.0.5 * mod_vhost_ldap.c: Make a private copy of server config to each request to be thread safe. (Courtesy Anders Kaseorg) * VERSION: 2.0.3 * mod_vhost_ldap.c: Workaround concurrency issues with ap_document_root by adding mutex before it is set and release before handler is run. * VERSION: 2.0.1 * mod_vhost_ldap.c: Remove cleanup routine, it was causing segfaults. * VERSION: 2.0.0 release * mod_vhost_ldap.c: Sleep for (fibonacci numbers) seconds after LDAP failure * mod_vhost_ldap.c: Add a log WARNING when LDAP is unreachable * mod_vhost_ldap.c: Don't set r->filename, return DECLINE on success, only mangle documentroot and others, and let other apache modules handle real filenames * mod_vhost_ldap.c: Create and use function set_document_root inspired by apache2.2 * mod_vhost_ldap.c: Return correct error codes on failures and not DECLINED * mod_vhost_ldap.c: Put translate_name hook at FIRST place * VERSION: 1.2.0 release * mod_vhost_ldap.c: release apache-2.2 version as 1.2.0 * VERSION: 1.0.1 release * mod_vhost_ldap.c: add support for apache-2.2.x
2014-03-09 14:00:36 +01:00
PORTVERSION= 2.0.8
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= DEBIAN/pool/main/m/mod-vhost-ldap
- update to version 2.0.8 - add stage support - add LICENSE Changes: * VERSION: 2.0.8 * mod_vhost_ldap.c: Don't copy server struct if we have per request document root * VERSION: 2.0.7 * mod_vhost_ldap.c: Revert escaping wildcard character as it was already done before by ldap_bv2escaped_filter_value * VERSION: 2.0.6 * mod_vhost_ldap.c: Properly escape wildcard string to search for literal *.hostname * mod_vhost_ldap.c, vhost_ldap.conf: Add new boolean option VhostLDAPWildcard to disable wildcard search completely * mod_vhost_ldap.c: Fix cgi-bin processing (Courtesy of Anders Kaseorg) * VERSION: 2.0.5 * mod_vhost_ldap.c: Make a private copy of server config to each request to be thread safe. (Courtesy Anders Kaseorg) * VERSION: 2.0.3 * mod_vhost_ldap.c: Workaround concurrency issues with ap_document_root by adding mutex before it is set and release before handler is run. * VERSION: 2.0.1 * mod_vhost_ldap.c: Remove cleanup routine, it was causing segfaults. * VERSION: 2.0.0 release * mod_vhost_ldap.c: Sleep for (fibonacci numbers) seconds after LDAP failure * mod_vhost_ldap.c: Add a log WARNING when LDAP is unreachable * mod_vhost_ldap.c: Don't set r->filename, return DECLINE on success, only mangle documentroot and others, and let other apache modules handle real filenames * mod_vhost_ldap.c: Create and use function set_document_root inspired by apache2.2 * mod_vhost_ldap.c: Return correct error codes on failures and not DECLINED * mod_vhost_ldap.c: Put translate_name hook at FIRST place * VERSION: 1.2.0 release * mod_vhost_ldap.c: release apache-2.2 version as 1.2.0 * VERSION: 1.0.1 release * mod_vhost_ldap.c: add support for apache-2.2.x
2014-03-09 14:00:36 +01:00
DISTNAME= ${PORTNAME:S/_/-/g}_${PORTVERSION}.orig
DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Virtual Hosting from ldap built on top of mod_ldap
- update to version 2.0.8 - add stage support - add LICENSE Changes: * VERSION: 2.0.8 * mod_vhost_ldap.c: Don't copy server struct if we have per request document root * VERSION: 2.0.7 * mod_vhost_ldap.c: Revert escaping wildcard character as it was already done before by ldap_bv2escaped_filter_value * VERSION: 2.0.6 * mod_vhost_ldap.c: Properly escape wildcard string to search for literal *.hostname * mod_vhost_ldap.c, vhost_ldap.conf: Add new boolean option VhostLDAPWildcard to disable wildcard search completely * mod_vhost_ldap.c: Fix cgi-bin processing (Courtesy of Anders Kaseorg) * VERSION: 2.0.5 * mod_vhost_ldap.c: Make a private copy of server config to each request to be thread safe. (Courtesy Anders Kaseorg) * VERSION: 2.0.3 * mod_vhost_ldap.c: Workaround concurrency issues with ap_document_root by adding mutex before it is set and release before handler is run. * VERSION: 2.0.1 * mod_vhost_ldap.c: Remove cleanup routine, it was causing segfaults. * VERSION: 2.0.0 release * mod_vhost_ldap.c: Sleep for (fibonacci numbers) seconds after LDAP failure * mod_vhost_ldap.c: Add a log WARNING when LDAP is unreachable * mod_vhost_ldap.c: Don't set r->filename, return DECLINE on success, only mangle documentroot and others, and let other apache modules handle real filenames * mod_vhost_ldap.c: Create and use function set_document_root inspired by apache2.2 * mod_vhost_ldap.c: Return correct error codes on failures and not DECLINED * mod_vhost_ldap.c: Put translate_name hook at FIRST place * VERSION: 1.2.0 release * mod_vhost_ldap.c: release apache-2.2 version as 1.2.0 * VERSION: 1.0.1 release * mod_vhost_ldap.c: add support for apache-2.2.x
2014-03-09 14:00:36 +01:00
LICENSE= APACHE20
USE_OPENLDAP= yes
USE_APACHE= 22
AP_FAST_BUILD= yes
AP_GENPLIST= yes
AP_LIB+= ${LOCALBASE}/lib -lldap
AP_EXTRAS+= -DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/${PORTVERSION}\\\"
PORTDOCS= mod_vhost_ldap.schema vhost_ldap.conf COPYING
- update to version 2.0.8 - add stage support - add LICENSE Changes: * VERSION: 2.0.8 * mod_vhost_ldap.c: Don't copy server struct if we have per request document root * VERSION: 2.0.7 * mod_vhost_ldap.c: Revert escaping wildcard character as it was already done before by ldap_bv2escaped_filter_value * VERSION: 2.0.6 * mod_vhost_ldap.c: Properly escape wildcard string to search for literal *.hostname * mod_vhost_ldap.c, vhost_ldap.conf: Add new boolean option VhostLDAPWildcard to disable wildcard search completely * mod_vhost_ldap.c: Fix cgi-bin processing (Courtesy of Anders Kaseorg) * VERSION: 2.0.5 * mod_vhost_ldap.c: Make a private copy of server config to each request to be thread safe. (Courtesy Anders Kaseorg) * VERSION: 2.0.3 * mod_vhost_ldap.c: Workaround concurrency issues with ap_document_root by adding mutex before it is set and release before handler is run. * VERSION: 2.0.1 * mod_vhost_ldap.c: Remove cleanup routine, it was causing segfaults. * VERSION: 2.0.0 release * mod_vhost_ldap.c: Sleep for (fibonacci numbers) seconds after LDAP failure * mod_vhost_ldap.c: Add a log WARNING when LDAP is unreachable * mod_vhost_ldap.c: Don't set r->filename, return DECLINE on success, only mangle documentroot and others, and let other apache modules handle real filenames * mod_vhost_ldap.c: Create and use function set_document_root inspired by apache2.2 * mod_vhost_ldap.c: Return correct error codes on failures and not DECLINED * mod_vhost_ldap.c: Put translate_name hook at FIRST place * VERSION: 1.2.0 release * mod_vhost_ldap.c: release apache-2.2 version as 1.2.0 * VERSION: 1.0.1 release * mod_vhost_ldap.c: add support for apache-2.2.x
2014-03-09 14:00:36 +01:00
WRKSRC= ${WRKDIR}/${PORTNAME:S/_/-/g}-${PORTVERSION}
2007-03-18 18:19:10 +01:00
.if defined(PACKAGE_BUILDING)
2007-03-18 18:19:10 +01:00
IGNORE= Requires support of LDAP in apache 2.x port
.endif
post-install:
- update to version 2.0.8 - add stage support - add LICENSE Changes: * VERSION: 2.0.8 * mod_vhost_ldap.c: Don't copy server struct if we have per request document root * VERSION: 2.0.7 * mod_vhost_ldap.c: Revert escaping wildcard character as it was already done before by ldap_bv2escaped_filter_value * VERSION: 2.0.6 * mod_vhost_ldap.c: Properly escape wildcard string to search for literal *.hostname * mod_vhost_ldap.c, vhost_ldap.conf: Add new boolean option VhostLDAPWildcard to disable wildcard search completely * mod_vhost_ldap.c: Fix cgi-bin processing (Courtesy of Anders Kaseorg) * VERSION: 2.0.5 * mod_vhost_ldap.c: Make a private copy of server config to each request to be thread safe. (Courtesy Anders Kaseorg) * VERSION: 2.0.3 * mod_vhost_ldap.c: Workaround concurrency issues with ap_document_root by adding mutex before it is set and release before handler is run. * VERSION: 2.0.1 * mod_vhost_ldap.c: Remove cleanup routine, it was causing segfaults. * VERSION: 2.0.0 release * mod_vhost_ldap.c: Sleep for (fibonacci numbers) seconds after LDAP failure * mod_vhost_ldap.c: Add a log WARNING when LDAP is unreachable * mod_vhost_ldap.c: Don't set r->filename, return DECLINE on success, only mangle documentroot and others, and let other apache modules handle real filenames * mod_vhost_ldap.c: Create and use function set_document_root inspired by apache2.2 * mod_vhost_ldap.c: Return correct error codes on failures and not DECLINED * mod_vhost_ldap.c: Put translate_name hook at FIRST place * VERSION: 1.2.0 release * mod_vhost_ldap.c: release apache-2.2 version as 1.2.0 * VERSION: 1.0.1 release * mod_vhost_ldap.c: add support for apache-2.2.x
2014-03-09 14:00:36 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
2005-12-04 21:36:56 +01:00
.include <bsd.port.mk>