diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-04-15 20:35:07 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-04-15 20:35:07 +0000 |
commit | 59d41b8f467fdc1b8caab1dc7894c212cca5c58a (patch) | |
tree | 144fa699a5a83c3a6f67dc35056f56169097b050 /net | |
parent | 87cf5c694344ce55ef91548f71447a65572a7528 (diff) | |
download | freebsd-ports-59d41b8f467fdc1b8caab1dc7894c212cca5c58a.zip |
- Update to 2.2.0
PR: ports/95569
Submitted by: delphij
Diffstat (limited to 'net')
-rw-r--r-- | net/py-ldap2/Makefile | 2 | ||||
-rw-r--r-- | net/py-ldap2/distinfo | 6 | ||||
-rw-r--r-- | net/py-ldap2/files/patch-Modules-LDAPObject.c | 26 |
3 files changed, 4 insertions, 30 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile index 7c7d5bd314db..2fa701a426e3 100644 --- a/net/py-ldap2/Makefile +++ b/net/py-ldap2/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= ldap2 -PORTVERSION= 2.0.11 +PORTVERSION= 2.2.0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= python-ldap diff --git a/net/py-ldap2/distinfo b/net/py-ldap2/distinfo index 7bfa90eec552..56db7335c461 100644 --- a/net/py-ldap2/distinfo +++ b/net/py-ldap2/distinfo @@ -1,3 +1,3 @@ -MD5 (python-ldap-2.0.11.tar.gz) = 1c20cdbe8cfab1c92b39848f7deeb6ec -SHA256 (python-ldap-2.0.11.tar.gz) = c320ca3502426de75a5b982da2a57c44dc20c1024986d169a782299663f1c69f -SIZE (python-ldap-2.0.11.tar.gz) = 71715 +MD5 (python-ldap-2.2.0.tar.gz) = f17b02ef1dc6ab12d819bfef9c036627 +SHA256 (python-ldap-2.2.0.tar.gz) = 143e42559817d139ae4cbc01e52bba339531a146e3f739641604b96045adc784 +SIZE (python-ldap-2.2.0.tar.gz) = 70993 diff --git a/net/py-ldap2/files/patch-Modules-LDAPObject.c b/net/py-ldap2/files/patch-Modules-LDAPObject.c deleted file mode 100644 index b46aa99e3559..000000000000 --- a/net/py-ldap2/files/patch-Modules-LDAPObject.c +++ /dev/null @@ -1,26 +0,0 @@ -Index: LDAPObject.c -=================================================================== -RCS file: /cvsroot/python-ldap/python-ldap/Modules/LDAPObject.c,v -retrieving revision 1.72 -diff -u -r1.72 LDAPObject.c ---- Modules/LDAPObject.c 11 Mar 2006 21:05:57 -0000 1.72 -+++ Modules/LDAPObject.c 23 Mar 2006 21:48:33 -0000 -@@ -971,8 +971,16 @@ - if (pmsg == NULL) { - retval = NULL; - } else { -- retval = Py_BuildValue("(OOiO)", result_str, pmsg, res_msgid, -- pyctrls ? pyctrls : PyList_New(0)); -+ if (pyctrls != NULL) { -+ retval = Py_BuildValue("(OOiO)", result_str, pmsg, res_msgid, -+ pyctrls); -+ } else { -+ PyObject *pNewList = PyList_New(0); -+ retval = Py_BuildValue("(OOiO)", result_str, pmsg, res_msgid, -+ pNewList); -+ Py_DECREF(pNewList); -+ } -+ - if (pmsg != Py_None) { - Py_DECREF(pmsg); - } |