ldapvi, edit entries in an LDAP tree using a text editor. Comes in really
handy when working with LDAP servers over SSH connections. From Antoine Jacoutot <ajacoutot@lphp.org>
This commit is contained in:
parent
edc4dc843c
commit
b25e6635c3
46
editors/ldapvi/Makefile
Executable file
46
editors/ldapvi/Makefile
Executable file
@ -0,0 +1,46 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/03/20 16:19:27 mbalmer Exp $
|
||||
|
||||
COMMENT= "update LDAP entries with a text editor"
|
||||
|
||||
DISTNAME= ldapvi-1.5
|
||||
CATEGORIES= editors
|
||||
|
||||
HOMEPAGE= http://www.lichteblau.com/ldapvi.html
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@lphp.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.lichteblau.com/download/
|
||||
|
||||
WANTLIB= c curses crypto
|
||||
|
||||
MODULES= devel/gettext
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
||||
LIB_DEPENDS= glib-2.0.0.8::devel/glib2 \
|
||||
lber,ldap:openldap-client-*:databases/openldap \
|
||||
popt::devel/popt
|
||||
|
||||
MAKE_FILE= GNUmakefile
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
pre-build:
|
||||
@perl -pi -e "s,/etc/ldap,${SYSCONFDIR}/openldap,g" ${WRKSRC}/ldapvi.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ldapvi ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/ldapvi.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
4
editors/ldapvi/distinfo
Normal file
4
editors/ldapvi/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (ldapvi-1.5.tar.gz) = e98f9fbd5596aac81373a849888a87f1
|
||||
RMD160 (ldapvi-1.5.tar.gz) = 16796740fbb4d4840107239e026fd40870f03c7b
|
||||
SHA1 (ldapvi-1.5.tar.gz) = a3a7857dea6cef4a0bb04f7fbb5228d445cf970b
|
||||
SIZE (ldapvi-1.5.tar.gz) = 75707
|
29
editors/ldapvi/patches/patch-configure
Normal file
29
editors/ldapvi/patches/patch-configure
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2006/03/20 16:19:27 mbalmer Exp $
|
||||
--- configure.orig Tue Mar 7 12:18:37 2006
|
||||
+++ configure Tue Mar 7 12:19:24 2006
|
||||
@@ -3922,13 +3922,13 @@ fi
|
||||
|
||||
|
||||
|
||||
-echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
||||
-echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
||||
+echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
|
||||
+echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6
|
||||
if test "${ac_cv_lib_crypt_main+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lcrypt $LIBS"
|
||||
+LIBS="-lcrypto $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -3984,7 +3984,7 @@ if test $ac_cv_lib_crypt_main = yes; the
|
||||
#define HAVE_LIBCRYPT 1
|
||||
_ACEOF
|
||||
|
||||
- LIBS="-lcrypt $LIBS"
|
||||
+ LIBS="-lcrypto $LIBS"
|
||||
|
||||
fi
|
||||
|
11
editors/ldapvi/pkg/DESCR
Executable file
11
editors/ldapvi/pkg/DESCR
Executable file
@ -0,0 +1,11 @@
|
||||
Using ldapvi you can update LDAP entries with a text editor.
|
||||
There are other implementations of the same idea, but ldapvi:
|
||||
|
||||
- is written in C
|
||||
- is reasonably fast and small
|
||||
- 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
|
||||
- can rename entries
|
||||
- does not give up easily; on error, you can edit the file again or
|
||||
rebind to the server and try again
|
3
editors/ldapvi/pkg/PLIST
Normal file
3
editors/ldapvi/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/03/20 16:19:27 mbalmer Exp $
|
||||
bin/ldapvi
|
||||
@man man/man1/ldapvi.1
|
Loading…
x
Reference in New Issue
Block a user