aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-ldap2
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-04-16 04:35:07 +0800
committersem <sem@FreeBSD.org>2006-04-16 04:35:07 +0800
commit64897d91f71befee2cd351bb1653a803a628f35c (patch)
tree4d323f999b502d1bb5a95e393845b413ffd34b0b /net/py-ldap2
parent5f91aa16b21980748108866ed2e484b777d127e9 (diff)
downloadfreebsd-ports-gnome-64897d91f71befee2cd351bb1653a803a628f35c.tar.gz
freebsd-ports-gnome-64897d91f71befee2cd351bb1653a803a628f35c.tar.zst
freebsd-ports-gnome-64897d91f71befee2cd351bb1653a803a628f35c.zip
- Update to 2.2.0
PR: ports/95569 Submitted by: delphij
Diffstat (limited to 'net/py-ldap2')
-rw-r--r--net/py-ldap2/Makefile2
-rw-r--r--net/py-ldap2/distinfo6
-rw-r--r--net/py-ldap2/files/patch-Modules-LDAPObject.c26
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);
- }