From owner-freebsd-ports Fri Feb 15 17:40:27 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 958DC37B416 for ; Fri, 15 Feb 2002 17:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1G1e1L99242; Fri, 15 Feb 2002 17:40:01 -0800 (PST) (envelope-from gnats) Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by hub.freebsd.org (Postfix) with ESMTP id DA15E37B402 for ; Fri, 15 Feb 2002 17:30:32 -0800 (PST) Received: from [195.20.224.220] (helo=mrvdom04.kundenserver.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 16btgI-00073N-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 16 Feb 2002 02:30:26 +0100 Received: from [213.7.222.174] (helo=gondor.middleearth) by mrvdom04.kundenserver.de with esmtp (Exim 2.12 #2) id 16btgH-0003pI-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 16 Feb 2002 02:30:25 +0100 Received: (from chris@localhost) by gondor.middleearth (8.11.6/8.11.6) id g1G1Vqk90939; Sat, 16 Feb 2002 02:31:52 +0100 (CET) (envelope-from chris) Message-Id: <200202160131.g1G1Vqk90939@gondor.middleearth> Date: Sat, 16 Feb 2002 02:31:52 +0100 (CET) From: Christian Brueffer Reply-To: Christian Brueffer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34985: New port: net/ldapdiff A utility to patch ldap directories Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34985 >Category: ports >Synopsis: New port: net/ldapdiff A utility to patch ldap directories >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 15 17:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Christian Brueffer >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD gondor.middleearth 4.5-STABLE FreeBSD 4.5-STABLE #12: Wed Jan 23 19:17:14 CET 2002 root@gondor.middleearth:/usr/obj/usr/src/sys/GONDOR i386 >Description: 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 which can be fed into tools like "ldapmodify", "ldapdelete" etc. >How-To-Repeat: >Fix: --- ldapdiff-port begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ldapdiff # ldapdiff/Makefile # ldapdiff/distinfo # ldapdiff/pkg-descr # ldapdiff/pkg-comment # ldapdiff/pkg-plist # ldapdiff/pkg-message # echo c - ldapdiff mkdir -p ldapdiff > /dev/null 2>&1 echo x - ldapdiff/Makefile sed 's/^X//' >ldapdiff/Makefile << 'END-of-ldapdiff/Makefile' X# New ports collection makefile for: ldapdiff X# Date created: 15 February 2002 X# Whom: Christian Brueffer END-of-ldapdiff/Makefile echo x - ldapdiff/distinfo sed 's/^X//' >ldapdiff/distinfo << 'END-of-ldapdiff/distinfo' XMD5 (ldapdiff-0.7.0.tar.gz) = 72c5e8091a9d8df09523f7f046819037 END-of-ldapdiff/distinfo echo x - ldapdiff/pkg-descr sed 's/^X//' >ldapdiff/pkg-descr << 'END-of-ldapdiff/pkg-descr' Xldapdiff combines "diff" and "patch" functionality in one application. XThe difference is that ldapdiff is not designed for use on flat ascii Xfiles, it is designed for "patching" ldap directories using ldif files. X XWith ldapdiff it is possible to check every entry/attribute of an ldif Xfile against a running ldap directory. ldapdiff is able to produce ldif Xdelta files in ldap version 3 format, which can be fed, into tools like X"ldapmodify", "ldapdelete" etc. ldapdiff is also able to modify, delete Xand add entries/attributes online. X XWWW: http://webtomware.rhoen.de/ X X- Christian Brueffer Xchris@unixpages.org END-of-ldapdiff/pkg-descr echo x - ldapdiff/pkg-comment sed 's/^X//' >ldapdiff/pkg-comment << 'END-of-ldapdiff/pkg-comment' XA utility for patching LDAP directories using LDIF files END-of-ldapdiff/pkg-comment echo x - ldapdiff/pkg-plist sed 's/^X//' >ldapdiff/pkg-plist << 'END-of-ldapdiff/pkg-plist' Xbin/ldapdiff Xetc/ldapdiff.conf.sample Xshare/ldapdiff/plugins/ldapskeleton.c X%%PORTDOCS%%share/doc/ldapdiff/CHANGES X%%PORTDOCS%%share/doc/ldapdiff/ChangeLog X%%PORTDOCS%%share/doc/ldapdiff/README X%%PORTDOCS%%share/doc/ldapdiff/TODO X%%PORTDOCS%%@dirrm share/doc/ldapdiff X@dirrm share/ldapdiff/plugins X@dirrm share/ldapdiff END-of-ldapdiff/pkg-plist echo x - ldapdiff/pkg-message sed 's/^X//' >ldapdiff/pkg-message << 'END-of-ldapdiff/pkg-message' X XWhen using ldapdiff, you have to start it with the -p option Xin order to make it use the provided config file. X XExample: ldapdiff -p /usr/local/etc/ldapdiff.conf X XIf you want to make use of the plugin feature, put your Xspecific code into ${PREFIX}/share/ldapdiff/plugins/skeleton.c Xand compile it. Afterwards you have to adapt your config file Xaccordingly. X END-of-ldapdiff/pkg-message exit --- ldapdiff-port ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message