Bug 69721 - New port: net/ldapsh - Interactive shell used to administer ldap directories
Summary: New port: net/ldapsh - Interactive shell used to administer ldap directories
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-28 20:00 UTC by Florent Thoumie
Modified: 2004-07-28 23:37 UTC (History)
0 users

See Also:


Attachments
ldapsh-1.2.shar (3.09 KB, text/plain)
2004-07-28 20:00 UTC, Florent Thoumie
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!