summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-10-25 19:34:29 +0000
committertsarna <tsarna@pkgsrc.org>2000-10-25 19:34:29 +0000
commit642cc81ffecbe168a1c8a0695d495accc4d74c8b (patch)
tree0df7901055f61c94b6eaeb9ee96a91d6dbfe42ce /databases
parent5ea6aa91727c78b6a2f2831d8b1a07d4d6719605 (diff)
downloadpkgsrc-642cc81ffecbe168a1c8a0695d495accc4d74c8b.tar.gz
A Python interface to LDAP
Diffstat (limited to 'databases')
-rw-r--r--databases/py-ldap/Makefile28
-rw-r--r--databases/py-ldap/files/md53
-rw-r--r--databases/py-ldap/pkg/COMMENT1
-rw-r--r--databases/py-ldap/pkg/DESCR4
-rw-r--r--databases/py-ldap/pkg/PLIST.pre2
5 files changed, 38 insertions, 0 deletions
diff --git a/databases/py-ldap/Makefile b/databases/py-ldap/Makefile
new file mode 100644
index 00000000000..550f6f400b1
--- /dev/null
+++ b/databases/py-ldap/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/25 19:34:29 tsarna Exp $
+
+DISTNAME= python-ldap-1.10alpha3-src
+PKGNAME= py-ldap-1.10a3
+CATEGORIES= databases
+MASTER_SITES= http://download.sourceforge.net/python-ldap/
+
+MAINTAINER= tsarna@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/python-ldap/
+
+DEPENDS+= python>=2.0:../../lang/python \
+ openldap>=1.2.11:../../databases/openldap
+
+WRKSRC= ${WRKDIR}/python-ldap-1.10alpha3
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
+MODPATH=
+
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+post-install:
+ ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
+ (cd ${PREFIX}; ${FIND} lib/python2.0/site-packages/python-ldap \
+ -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d lib/python2.0/site-packages/python-ldap \
+ -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-ldap/files/md5 b/databases/py-ldap/files/md5
new file mode 100644
index 00000000000..b2dacd38405
--- /dev/null
+++ b/databases/py-ldap/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/25 19:34:29 tsarna Exp $
+
+MD5 (python-ldap-1.10alpha3-src.tar.gz) = a4e95cf9edec1b7952a5decbc8080372
diff --git a/databases/py-ldap/pkg/COMMENT b/databases/py-ldap/pkg/COMMENT
new file mode 100644
index 00000000000..57dda4513ac
--- /dev/null
+++ b/databases/py-ldap/pkg/COMMENT
@@ -0,0 +1 @@
+LDAP client API for Python
diff --git a/databases/py-ldap/pkg/DESCR b/databases/py-ldap/pkg/DESCR
new file mode 100644
index 00000000000..b9dd0e34a82
--- /dev/null
+++ b/databases/py-ldap/pkg/DESCR
@@ -0,0 +1,4 @@
+Provide an LDAP client API for Python in the spirit of RFC1823.
+
+* C wrapper module around OpenLDAP
+* an object-oriented API for X.500 directories
diff --git a/databases/py-ldap/pkg/PLIST.pre b/databases/py-ldap/pkg/PLIST.pre
new file mode 100644
index 00000000000..f6c1b6ea12d
--- /dev/null
+++ b/databases/py-ldap/pkg/PLIST.pre
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.pre,v 1.1.1.1 2000/10/25 19:34:29 tsarna Exp $
+lib/python2.0/site-packages/ldap.pth