New port: net/ldapsh - Interactive shell used to administer ldap directories
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. PR: ports/69721 Submitted by: Florent Thoumie <flz@xbsd.org>
This commit is contained in:
parent
b855dea18d
commit
00be7677b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114976
@ -261,6 +261,7 @@
|
||||
SUBDIR += ldapbrowser
|
||||
SUBDIR += ldapdiff
|
||||
SUBDIR += ldapsdk
|
||||
SUBDIR += ldapsh
|
||||
SUBDIR += lft
|
||||
SUBDIR += libbt
|
||||
SUBDIR += libconnect
|
||||
|
41
net/ldapsh/Makefile
Normal file
41
net/ldapsh/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: ldapsh
|
||||
# Date created: Jul 28 2004
|
||||
# Whom: Florent Thoumie <flz@xbsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ldapsh
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://madstop.com/ldapsh/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= flz@xbsd.org
|
||||
COMMENT= Interactive shell used to administer ldap directories
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
||||
${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
|
||||
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_PERL5= yes
|
||||
NO_BUILD= yes
|
||||
USE_REINPLACE= yes
|
||||
WRKSRC= ${WRKDIR}/ldapsh
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ldapsh ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/LdapConfig.pl ${PREFIX}/etc/LdapConfig.pl.sample
|
||||
${CP} -r ${WRKSRC}/lib/Net ${SITE_PERL}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,/usr/local/bin/perl,${PERL}," ${WRKSRC}/ldapsh
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
net/ldapsh/distinfo
Normal file
2
net/ldapsh/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (ldapsh-1.2.tgz) = 0c4b8583594ddb5ddf6af960a77d1d30
|
||||
SIZE (ldapsh-1.2.tgz) = 27095
|
12
net/ldapsh/pkg-descr
Normal file
12
net/ldapsh/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
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.
|
||||
|
||||
WWW: http://madstop.com/?node=ldapsh
|
||||
|
||||
- Florent Thoumie
|
||||
flz@xbsd.org
|
17
net/ldapsh/pkg-plist
Normal file
17
net/ldapsh/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
bin/ldapsh
|
||||
etc/LdapConfig.pl.sample
|
||||
%%SITE_PERL%%/Net/LDAP/Config.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/cat.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/clone.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/edit.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/ls.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/new.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/rm.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Commands/stub.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Config.pm.example
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Desc.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Schema.pm
|
||||
%%SITE_PERL%%/Net/LDAP/Shell/Util.pm
|
||||
@dirrm %%SITE_PERL%%/Net/LDAP/Shell/Commands
|
||||
@dirrm %%SITE_PERL%%/Net/LDAP/Shell
|
Loading…
Reference in New Issue
Block a user