svn commit: r322449 - head/net/py-ldap2
Ruslan Makhmatkhanov
rm at FreeBSD.org
Sun Jul 7 16:21:05 UTC 2013
Author: rm
Date: Sun Jul 7 16:21:03 2013
New Revision: 322449
URL: http://svnweb.freebsd.org/changeset/ports/322449
Log:
- update to 2.4.13
- turn WITH_SASL into an OPTION
changelog:
* ldapobject.ReconnectLDAPObject._apply_last_bind() now sends
anonymous simple bind request even if the calling application
did not to provoke ldap.SERVER_DOWN in method reconnect()
* ldapobject.ReconnectLDAPObject.reconnect() now also catches
ldap.TIMEOUT exception after reconnection attempt
* Several other fixes for ldapobject.ReconnectLDAPObject
(thanks to Jonathan Giannuzzi)
Modified:
head/net/py-ldap2/Makefile
head/net/py-ldap2/distinfo
Modified: head/net/py-ldap2/Makefile
==============================================================================
--- head/net/py-ldap2/Makefile Sun Jul 7 16:06:28 2013 (r322448)
+++ head/net/py-ldap2/Makefile Sun Jul 7 16:21:03 2013 (r322449)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ldap2
-PORTVERSION= 2.4.12
+PORTVERSION= 2.4.13
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,24 +25,19 @@ REPLACE_ARGS= -e 's,/opt/openldap-RE24/l
-e 's,/opt/openldap-RE24/include,${LOCALBASE}/include,' \
-e 's,/usr/include/sasl,${LOCALBASE}/include/sasl,'
-.if defined(WITH_SASL)
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONS_DEFINE= SASL
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSASL}
WANT_OPENLDAP_SASL= yes
CONFLICTS+= openldap2[34]-client-2.*
.endif
-pre-everything::
- @${ECHO} "============================================================="
- @${ECHO}
- @${ECHO} "You can build ${PKGNAME} with the following options:"
- @${ECHO}
- @${ECHO} "WITH_SASL with (Cyrus) SASL2 support"
- @${ECHO}
- @${ECHO} "============================================================="
- @${ECHO}
-
do-configure:
@${REINPLACE_CMD} ${REPLACE_ARGS} ${WRKSRC}/setup.cfg
-.if !defined(WITH_SASL)
+.if ! ${PORT_OPTIONS:MSASL}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q saveopts
.endif
Modified: head/net/py-ldap2/distinfo
==============================================================================
--- head/net/py-ldap2/distinfo Sun Jul 7 16:06:28 2013 (r322448)
+++ head/net/py-ldap2/distinfo Sun Jul 7 16:21:03 2013 (r322449)
@@ -1,2 +1,2 @@
-SHA256 (python-ldap-2.4.12.tar.gz) = 8587f8007c603b09ea6aa72fd63f1619b8a0d7f97e81ce955a44e8f84c7c9088
-SIZE (python-ldap-2.4.12.tar.gz) = 135395
+SHA256 (python-ldap-2.4.13.tar.gz) = 96853b9bbdacb341d6a3d60fdc89f8cb8acef47970ce8492ee3cbe975b9c7dbf
+SIZE (python-ldap-2.4.13.tar.gz) = 135550
More information about the svn-ports-head
mailing list