Bug 69721

Summary: New port: net/ldapsh - Interactive shell used to administer ldap directories
Product: Ports & Packages Reporter: Florent Thoumie <flz>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ldapsh-1.2.shar none

Description Florent Thoumie 2004-07-28 20:00:35 UTC
ldapsh is an interactive shell you can use to administer ldap directories. It
provides an extensible command mechanism, with most of the necessary builtin
commands (such as 'clone', 'edit', 'rm'), and it's relatively easy to add more
commands.

It supports configuring multiple LDAP sources, and storing your UID for each
source so you don't have to type them each time.

How-To-Repeat: 
N/A
Comment 1 Florent Thoumie 2004-07-28 22:30:40 UTC
Please apply this patch, sorry I haven't posted this before.

--- ldapsh-patch.diff begins here. ---

diff -ruN ldapsh/Makefile ldapsh.new/Makefile
--- ldapsh/Makefile	Wed Jul 28 20:49:31 2004
+++ ldapsh.new/Makefile	Wed Jul 28 23:24:56 2004
@@ -21,12 +21,16 @@
 
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/ldapsh
+USE_REINPLACE=	yes
 
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=	${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
 .endif
+
+post-patch:
+	${REINPLACE_CMD} -e "s,local/bin/perl -w,bin/env perl," ${WRKSRC}/ldapsh
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/ldapsh ${PREFIX}/bin

--- ldapsh-patch.diff ends here. ---
Comment 2 Oliver Eikemeier 2004-07-28 22:42:23 UTC
Florent Thoumie wrote:

> +
> +post-patch:
> +	${REINPLACE_CMD} -e "s,local/bin/perl -w,bin/env perl," 
> ${WRKSRC}/ldapsh

 From bsd.port.mk:

# PERL          - Set to full path of perl5, either in the system or
#                 installed from a port, but without the version number.
#                 Use this if you need to replace "#!" lines in scripts.

-Oliver
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2004-07-28 23:36:55 UTC
State Changed
From-To: open->closed

Commited, thanks!