Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 23:43:05 +0200
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        ports@FreeBSD.org
Subject:   Patch for net/py-ldap2
Message-ID:  <20030610214303.GE31860@watt.intra.caraldi.com>

next in thread | raw e-mail | index | archive | help

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

The  following   patches  upgrade  the  port   for  net/openldap21  with
Cyrus-SASL, and upgrade dist to pre23.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.patch"

--- Makefile	Mon Feb 24 03:56:35 2003
+++ Makefile.new	Tue Jun 10 23:29:53 2003
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/net/py-ldap2/Makefile,v 1.21 2003/02/24 02:56:35 edwin Exp $
 
 PORTNAME=	ldap2
-PORTVERSION=	2.0.0pre04
+PORTVERSION=	2.0.0pre13
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	python-ldap
@@ -15,7 +15,7 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	An LDAP module for python, for OpenLDAP2
 
-LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap21
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
@@ -27,8 +27,10 @@
 #libs = lber ldap resolv
 do-configure:
 	@${MV} ${WRKSRC}/setup.cfg ${WRKSRC}/setup.cfg.sed
-	${SED} -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \
-		-e "s=/usr/local/openldap2/include=${LOCALBASE}/include=" \
+	${SED} -e "s=/usr/local/openldap[^/]*/lib=${LOCALBASE}/lib=" \
+		-e "s=/usr/local/openldap[^/]*/include=${LOCALBASE}/include=" \
+		-e "s=/usr/local/cyrus-sasl/lib=${LOCALBASE}/lib/sasl=" \
+		-e "s=/usr/local/cyrus-sasl/include=${LOCALBASE}/include/sasl=" \
 		-e "s=lber ldap resolv=lber ldap=" \
 		${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg
 

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="distinfo.patch"

--- distinfo	Thu May 23 12:59:17 2002
+++ distinfo.new	Tue Jun 10 23:30:44 2003
@@ -1 +1,2 @@
 MD5 (python-ldap-2.0.0pre04.tar.gz) = 4c0f4e6f59b41a02f50493f02012c9ac
+MD5 (python-ldap-2.0.0pre13.tar.gz) = ec69151b7d674f99f7498df9763eced7

--oyUTqETQ0mS9luUI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030610214303.GE31860>