Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 13:40:01 +0200 (CEST)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Xin LI <delphij@FreeBSD.org>
Subject:   ports/96255: New port: sysutils/ldapvi
Message-ID:  <200604241140.k3OBe1SE017579@hades.admin.frm2>
Resent-Message-ID: <200604241150.k3OBoEpV041934@freefall.freebsd.org>

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

>Number:         96255
>Category:       ports
>Synopsis:       New port: sysutils/ldapvi
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 24 11:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Joerg Pulz
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
TU-Munich / ZWE FRM-II
>Environment:
System: FreeBSD hades.admin.frm2 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Wed Feb 22 19:01:44 CET 2006 root@hades.admin.frm2:/usr/obj/usr/src/sys/HADES i386


	
>Description:
	ldapvi - is a tool to update LDAP entries on the fly with a text editor

	from pkg-descr
	It is:
	* Written in C.
	* Reasonably fast and small. The ldapvi client needs about as much time
	  for receiving entries as the OpenLDAP server needs to sends them,
	  which should be fast enough.
	* Shows a summary of changes before committing them. Details of the
	  changes can be previewed in LDIF format.
	* Uses an LDIF-like format in the editor (which should be easier to use
	  interactively than standard LDIF).
	* Can rename entries.
	* Does not give up easily. On error, you can edit the file again or
	  rebind to the server and try again.

	The port respects WANT_OPENLDAP_SASL, an additional patch will be
	applied to the source to get sasl functionality.
	This behavior can be disabled be specifying WITHOUT_SASL, as there is
	no command line option to use simple binds to an OpenLDAP server when
	the SASL-patch is used.
	The library dependecies will still be correct.

	Tested on:	RELENG_6_1 i386, amd64, ia64, sparc64
			CURRENT i386, amd64

>How-To-Repeat:
	
>Fix:

	- extract the shell archive adn add everything to CVS
	- add "SUBDIR += ldapvi" to sysutils/Makefile
	- add "ldapvi	ports/sysutils/ldapvi" to CVSROOT-ports/modules

--- ldapvi.shar 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:
#
#	ldapvi
#	ldapvi/Makefile
#	ldapvi/distinfo
#	ldapvi/pkg-descr
#
echo c - ldapvi
mkdir -p ldapvi > /dev/null 2>&1
echo x - ldapvi/Makefile
sed 's/^X//' >ldapvi/Makefile << 'END-of-ldapvi/Makefile'
X# New ports collection makefile for:	ldapvi
X# Date created:		Mon Apr 24 09:37:02 CEST 2006
X# Whom:			Joerg Pulz <Joerg.Pulz@frm2.tum.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ldapvi
XPORTVERSION=	1.5
XCATEGORIES=	sysutils net
XMASTER_SITES=	http://www.lichteblau.com/download/
X
XMAINTAINER=	Joerg.Pulz@frm2.tum.de
XCOMMENT=	A tool to update LDAP entries with a text editor
X
XLIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
X
XUSE_OPENLDAP=	yes
XUSE_GNOME=	pkgconfig glib20
XUSE_ICONV=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XMAKEFILE=	GNUmakefile
X
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
XCONFIGURE_ENV=	CFLAGS="${CFLAGS}" \
X		LDFLAGS="${LDFLAGS}"
X
XMAN1=		ldapvi.1
XPLIST_FILES=	bin/ldapvi
X
X.include <bsd.port.pre.mk>
X
X.ifdef(WANT_OPENLDAP_SASL) && !defined(WITHOUT_SASL)
XPATCH_SITES=	http://w3.gofti.com/~pfnguyen/openldap/
XPATCHFILES=	ldapvi_sasl_${PORTVERSION}.diff
XPATCH_DIST_STRIP=	-p1
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
X
X.include <bsd.port.post.mk>
END-of-ldapvi/Makefile
echo x - ldapvi/distinfo
sed 's/^X//' >ldapvi/distinfo << 'END-of-ldapvi/distinfo'
XMD5 (ldapvi-1.5.tar.gz) = e98f9fbd5596aac81373a849888a87f1
XSHA256 (ldapvi-1.5.tar.gz) = 2515249e3e9e36dd78e319b08b8e812c0f186a691a598489119faa8b828b6330
XSIZE (ldapvi-1.5.tar.gz) = 75707
XMD5 (ldapvi_sasl_1.5.diff) = 82dcae24b138bef5c6ef344533c7490f
XSHA256 (ldapvi_sasl_1.5.diff) = 9bd02c5073a4238c6431967716dbb74cfae7157dba240f106ac2e2df97b5739e
XSIZE (ldapvi_sasl_1.5.diff) = 69412
END-of-ldapvi/distinfo
echo x - ldapvi/pkg-descr
sed 's/^X//' >ldapvi/pkg-descr << 'END-of-ldapvi/pkg-descr'
Xldapvi is tool to update LDAP entries with a text editor.
X
XIt is:
X# Written in C.
X# Reasonably fast and small. The ldapvi client needs about as much time for
X  receiving entries as the OpenLDAP server needs to sends them, which should be
X  fast enough.
X# Shows a summary of changes before committing them. Details of the changes can
X  be previewed in LDIF format.
X# Uses an LDIF-like format in the editor (which should be easier to use
X  interactively than standard LDIF).
X# Can rename entries.
X# Does not give up easily. On error, you can edit the file again or rebind to
X  the server and try again.
X
XWWW: http://www.lichteblau.com/ldapvi.html
END-of-ldapvi/pkg-descr
exit
--- ldapvi.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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