summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/ldapvi/DESCR2
-rw-r--r--databases/ldapvi/Makefile29
-rw-r--r--databases/ldapvi/PLIST3
-rw-r--r--databases/ldapvi/distinfo5
-rw-r--r--databases/ldapvi/options.mk10
5 files changed, 49 insertions, 0 deletions
diff --git a/databases/ldapvi/DESCR b/databases/ldapvi/DESCR
new file mode 100644
index 00000000000..404ddcd93d3
--- /dev/null
+++ b/databases/ldapvi/DESCR
@@ -0,0 +1,2 @@
+ldapvi is an interactive LDAP client for Unix terminals. Using it, you can
+update LDAP entries with a text editor. Think of it as vipw(1) for LDAP.
diff --git a/databases/ldapvi/Makefile b/databases/ldapvi/Makefile
new file mode 100644
index 00000000000..62dc644de10
--- /dev/null
+++ b/databases/ldapvi/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/10/11 19:26:39 ghen Exp $
+
+DISTNAME= ldapvi-1.7
+CATEGORIES= databases
+MASTER_SITES= http://www.lichteblau.com/download/
+
+MAINTAINER= ghen@NetBSD.org
+HOMEPAGE= http://www.lichteblau.com/ldapvi/
+COMMENT= Interactive LDAP client
+
+GNU_CONFIGURE= yes
+USE_NCURSES= yes
+USE_GNU_READLINE= yes
+
+USE_TOOLS+= gmake
+MAKE_FILE= GNUmakefile
+
+.include "options.mk"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ldapvi ${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/ldapvi.1 ${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ldapvi/PLIST b/databases/ldapvi/PLIST
new file mode 100644
index 00000000000..a9f441bda9f
--- /dev/null
+++ b/databases/ldapvi/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/11 19:26:39 ghen Exp $
+bin/ldapvi
+man/man1/ldapvi.1
diff --git a/databases/ldapvi/distinfo b/databases/ldapvi/distinfo
new file mode 100644
index 00000000000..3a37af777fd
--- /dev/null
+++ b/databases/ldapvi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/10/11 19:26:39 ghen Exp $
+
+SHA1 (ldapvi-1.7.tar.gz) = d1cde4cbb618180f9ae0e77c56a1520b8ad61c9a
+RMD160 (ldapvi-1.7.tar.gz) = f4cd1c2fcfc87e7a9e912269e60280e9ecd82156
+Size (ldapvi-1.7.tar.gz) = 119503 bytes
diff --git a/databases/ldapvi/options.mk b/databases/ldapvi/options.mk
new file mode 100644
index 00000000000..f3441f60014
--- /dev/null
+++ b/databases/ldapvi/options.mk
@@ -0,0 +1,10 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/10/11 19:26:39 ghen Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ldapvi
+PKG_SUPPORTED_OPTIONS= sasl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msasl)
+. include "../../security/cyrus-sasl/buildlink3.mk"
+.endif