aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-06-27 22:13:07 +0800
committerwill <will@FreeBSD.org>2002-06-27 22:13:07 +0800
commit8daa1dd072d6304e227f183e087841c6f1d37e72 (patch)
treeda09410983ea87caec25737eff95ca790c50adf6
parente03ed95d35f2a8022a93434d49067aefe8bc1658 (diff)
downloadfreebsd-ports-gnome-8daa1dd072d6304e227f183e087841c6f1d37e72.tar.gz
freebsd-ports-gnome-8daa1dd072d6304e227f183e087841c6f1d37e72.tar.zst
freebsd-ports-gnome-8daa1dd072d6304e227f183e087841c6f1d37e72.zip
Add ldapdiff 0.7.0, a utility for patching LDAP directories using
LDIF files. PR: 34985 Submitted by: Christian Brueffer <chris@unixpages.org)
-rw-r--r--net/Makefile1
-rw-r--r--net/ldapdiff/Makefile40
-rw-r--r--net/ldapdiff/distinfo1
-rw-r--r--net/ldapdiff/pkg-comment1
-rw-r--r--net/ldapdiff/pkg-descr14
-rw-r--r--net/ldapdiff/pkg-message11
-rw-r--r--net/ldapdiff/pkg-plist10
7 files changed, 78 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 9823bf2c0983..e9ae2e5db31d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -222,6 +222,7 @@
SUBDIR += kxicq2
SUBDIR += lam
SUBDIR += lambdamoo
+ SUBDIR += ldapdiff
SUBDIR += ldapsdk
SUBDIR += libdnet
SUBDIR += libfreenet
diff --git a/net/ldapdiff/Makefile b/net/ldapdiff/Makefile
new file mode 100644
index 000000000000..2e01807057fc
--- /dev/null
+++ b/net/ldapdiff/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: ldapdiff
+# Date created: 15 February 2002
+# Whom: Christian Brueffer <chris@unixpages.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= ldapdiff
+PORTVERSION= 0.7.0
+CATEGORIES= net
+MASTER_SITES= http://webtomware.rhoen.de/
+
+MAINTAINER= chris@unixpages.org
+
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= \
+ --prefix=${PREFIX} \
+ --with-ldap-dir=${PREFIX}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/ldapdiff.conf \
+ ${PREFIX}/etc/ldapdiff.conf.sample
+ ${MKDIR} ${DATADIR}/plugins
+ ${INSTALL_DATA} ${WRKSRC}/plugins/ldapskeleton.c ${DATADIR}/plugins
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+.endif
+
+post-install:
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/net/ldapdiff/distinfo b/net/ldapdiff/distinfo
new file mode 100644
index 000000000000..f941a13fd439
--- /dev/null
+++ b/net/ldapdiff/distinfo
@@ -0,0 +1 @@
+MD5 (ldapdiff-0.7.0.tar.gz) = 72c5e8091a9d8df09523f7f046819037
diff --git a/net/ldapdiff/pkg-comment b/net/ldapdiff/pkg-comment
new file mode 100644
index 000000000000..fdb27b7b3aab
--- /dev/null
+++ b/net/ldapdiff/pkg-comment
@@ -0,0 +1 @@
+A utility for patching LDAP directories using LDIF files
diff --git a/net/ldapdiff/pkg-descr b/net/ldapdiff/pkg-descr
new file mode 100644
index 000000000000..3798359eb8b1
--- /dev/null
+++ b/net/ldapdiff/pkg-descr
@@ -0,0 +1,14 @@
+ldapdiff combines "diff" and "patch" functionality in one application.
+The difference is that ldapdiff is not designed for use on flat ascii
+files, it is designed for "patching" ldap directories using ldif files.
+
+With ldapdiff it is possible to check every entry/attribute of an ldif
+file against a running ldap directory. ldapdiff is able to produce ldif
+delta files in ldap version 3 format, which can be fed, into tools like
+"ldapmodify", "ldapdelete" etc. ldapdiff is also able to modify, delete
+and add entries/attributes online.
+
+WWW: http://webtomware.rhoen.de/
+
+- Christian Brueffer
+chris@unixpages.org
diff --git a/net/ldapdiff/pkg-message b/net/ldapdiff/pkg-message
new file mode 100644
index 000000000000..c779a2ad26cf
--- /dev/null
+++ b/net/ldapdiff/pkg-message
@@ -0,0 +1,11 @@
+
+When using ldapdiff, you have to start it with the -p option
+in order to make it use the provided config file.
+
+Example: ldapdiff -p /usr/local/etc/ldapdiff.conf
+
+If you want to make use of the plugin feature, put your
+specific code into ${PREFIX}/share/ldapdiff/plugins/skeleton.c
+and compile it. Afterwards you have to adapt your config file
+accordingly.
+
diff --git a/net/ldapdiff/pkg-plist b/net/ldapdiff/pkg-plist
new file mode 100644
index 000000000000..828cfdcff2c5
--- /dev/null
+++ b/net/ldapdiff/pkg-plist
@@ -0,0 +1,10 @@
+bin/ldapdiff
+etc/ldapdiff.conf.sample
+share/ldapdiff/plugins/ldapskeleton.c
+%%PORTDOCS%%share/doc/ldapdiff/CHANGES
+%%PORTDOCS%%share/doc/ldapdiff/ChangeLog
+%%PORTDOCS%%share/doc/ldapdiff/README
+%%PORTDOCS%%share/doc/ldapdiff/TODO
+%%PORTDOCS%%@dirrm share/doc/ldapdiff
+@dirrm share/ldapdiff/plugins
+@dirrm share/ldapdiff