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
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. ---
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
State Changed From-To: open->closed Commited, thanks!