summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-10-18 18:05:00 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-10-18 18:05:00 +0000
commitcd2d3307bcc5ca2f71a48688a77b6a422ff3b952 (patch)
tree83becccfd81976940272f0ef80ed2970ccfeed04
parentsecurity/sslsplit: add port (diff)
net/py-ldap2: update to 2.4.18
Notes
Notes: svn path=/head/; revision=371150
-rw-r--r--net/py-ldap2/Makefile14
-rw-r--r--net/py-ldap2/distinfo4
2 files changed, 8 insertions, 10 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index 7998bac1e866..294abd98edb0 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= ldap2
-PORTVERSION= 2.4.15
-PORTREVISION= 1
+PORTVERSION= 2.4.18
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,20 +11,19 @@ MAINTAINER= rm@FreeBSD.org
COMMENT= LDAP module for python, for OpenLDAP2
LICENSE= PSFL
+LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1-modules>=0:${PORTSDIR}/devel/py-asn1-modules
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= autoplist distutils
USE_OPENLDAP= yes
WANT_OPENLDAP_VER= 24
-REPLACE_ARGS= -e 's,/opt/openldap-RE24/lib,${LOCALBASE}/lib,' \
- -e 's,/opt/openldap-RE24/include,${LOCALBASE}/include,' \
+REPLACE_ARGS= -e 's,/opt/openldap/lib64,${LOCALBASE}/lib,' \
+ -e 's,/opt/openldap/include,${LOCALBASE}/include,' \
-e 's,/usr/include/sasl,${LOCALBASE}/include/sasl,'
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= SASL
.include <bsd.port.options.mk>
diff --git a/net/py-ldap2/distinfo b/net/py-ldap2/distinfo
index 1ab2ead271d6..d8c4d7994c61 100644
--- a/net/py-ldap2/distinfo
+++ b/net/py-ldap2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python-ldap-2.4.15.tar.gz) = 30bcac33ded943557fbafb1b6d9c345deab34d89d63dbcee9e6b59207db11670
-SIZE (python-ldap-2.4.15.tar.gz) = 111597
+SHA256 (python-ldap-2.4.18.tar.gz) = e375c5b9dea6022299a56435b5fef92c803d23659799df1f7d45c89a74b007fa
+SIZE (python-ldap-2.4.18.tar.gz) = 137451