diff options
author | kim <kim@pkgsrc.org> | 2005-03-25 21:39:11 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2005-03-25 21:39:11 +0000 |
commit | b843ac9c947f62b2fdf3d727b4abe157c26023b8 (patch) | |
tree | da95f09055d30c7cff90c1e87dcdae51a14085ba /databases | |
parent | 0b4d253be943594d54aff63077f3a09c1bfe05d2 (diff) | |
download | pkgsrc-b843ac9c947f62b2fdf3d727b4abe157c26023b8.tar.gz |
Import lbdb-0.29 from Antoine Reilles, heavily modified by me.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/lbdb/DESCR | 4 | ||||
-rw-r--r-- | databases/lbdb/Makefile | 28 | ||||
-rw-r--r-- | databases/lbdb/PLIST | 39 | ||||
-rw-r--r-- | databases/lbdb/distinfo | 6 | ||||
-rw-r--r-- | databases/lbdb/patches/patch-aa | 39 |
5 files changed, 116 insertions, 0 deletions
diff --git a/databases/lbdb/DESCR b/databases/lbdb/DESCR new file mode 100644 index 00000000000..ed0f8f8652b --- /dev/null +++ b/databases/lbdb/DESCR @@ -0,0 +1,4 @@ +This package collects provides a lookup interface for mail addresses +for several data sources. It can retrieve data from Emacs bbdb, abook, +ldap and even MacOS X addressbooks, and provide the results to external +programs such as the mutt mail reader. diff --git a/databases/lbdb/Makefile b/databases/lbdb/Makefile new file mode 100644 index 00000000000..c5b83ea8cd3 --- /dev/null +++ b/databases/lbdb/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/25 21:39:11 kim Exp $ + +DISTNAME= ${PKGNAME:S/-/_/} +PKGNAME= lbdb-0.29 +CATEGORIES= databases +MASTER_SITES= http://www.spinnaker.de/debian/ + +MAINTAINER= reilles@loria.fr +HOMEPAGE= http://www.spinnaker.de/lbdb/ +COMMENT= The little brother's database + +DEPENDS+= p5-perl-ldap>=0.20:../../databases/p5-perl-ldap + +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make +USE_PERL5= yes +USE_PKGINSTALL= yes + +CONFIGURE_ARGS+= --libdir=${PREFIX}/libexec/lbdb/ +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +EGDIR= ${PREFIX}/share/examples/lbdb +CONF_FILES+= ${EGDIR}/lbdb.rc ${PKG_SYSCONFDIR}/lbdb.rc +CONF_FILES+= ${EGDIR}/lbdb_ldap.rc ${PKG_SYSCONFDIR}/lbdb_ldap.rc + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/lbdb/PLIST b/databases/lbdb/PLIST new file mode 100644 index 00000000000..1a6290bc389 --- /dev/null +++ b/databases/lbdb/PLIST @@ -0,0 +1,39 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/25 21:39:11 kim Exp $ +bin/lbdb-fetchaddr +bin/lbdb_dotlock +bin/lbdbq +bin/nodelist2lbdb +libexec/lbdb/fetchaddr +libexec/lbdb/lbdb-munge +libexec/lbdb/lbdb_bbdb_query.el +libexec/lbdb/lbdb_lib +libexec/lbdb/m_abook +libexec/lbdb/m_bbdb +libexec/lbdb/m_fido +libexec/lbdb/m_finger +libexec/lbdb/m_getent +libexec/lbdb/m_gnomecard +libexec/lbdb/m_gpg +libexec/lbdb/m_inmail +libexec/lbdb/m_ldap +libexec/lbdb/m_muttalias +libexec/lbdb/m_palm +libexec/lbdb/m_passwd +libexec/lbdb/m_pine +libexec/lbdb/m_wanderlust +libexec/lbdb/m_yppasswd +libexec/lbdb/munge +libexec/lbdb/munge-keeporder +libexec/lbdb/mutt_ldap_query +libexec/lbdb/palm_lsaddr +libexec/lbdb/qpto8bit +libexec/lbdb/tac +man/man1/lbdb-fetchaddr.1 +man/man1/lbdb_dotlock.1 +man/man1/lbdbq.1 +man/man1/mutt_ldap_query.1 +man/man1/nodelist2lbdb.1 +share/examples/lbdb/lbdb.rc +share/examples/lbdb/lbdb_ldap.rc +@dirrm share/examples/lbdb +@dirrm libexec/lbdb diff --git a/databases/lbdb/distinfo b/databases/lbdb/distinfo new file mode 100644 index 00000000000..abe8d576b0c --- /dev/null +++ b/databases/lbdb/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/25 21:39:11 kim Exp $ + +SHA1 (lbdb_0.29.tar.gz) = 60f34b7867908450d34a75b5e09f3f7f89b9f8e9 +RMD160 (lbdb_0.29.tar.gz) = b5574ad13ead6b49fc7fe12472707f42046e38e3 +Size (lbdb_0.29.tar.gz) = 85590 bytes +SHA1 (patch-aa) = 00b2f69f30637938e9142c17c334e633878a0526 diff --git a/databases/lbdb/patches/patch-aa b/databases/lbdb/patches/patch-aa new file mode 100644 index 00000000000..f56109b94b5 --- /dev/null +++ b/databases/lbdb/patches/patch-aa @@ -0,0 +1,39 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/25 21:39:11 kim Exp $ + +--- Makefile.in.orig 2004-01-18 07:58:43.000000000 -0500 ++++ Makefile.in 2005-03-25 16:25:39.000000000 -0500 +@@ -38,6 +38,7 @@ + libdir=@libdir@ + mandir=@mandir@ + sysconfdir=@sysconfdir@ ++egdir=@prefix@/share/examples/lbdb + + ALL=lbdbq lbdb_lib lbdb-fetchaddr lbdb-munge fetchaddr qpto8bit munge \ + munge-keeporder nodelist2lbdb palm_lsaddr mutt_ldap_query lbdbq.man \ +@@ -49,7 +50,7 @@ + install: all + $(srcdir)/mkinstalldirs $(install_prefix)$(bindir) + $(srcdir)/mkinstalldirs $(install_prefix)$(libdir) +- $(srcdir)/mkinstalldirs $(install_prefix)$(sysconfdir) ++ $(srcdir)/mkinstalldirs $(install_prefix)$(egdir) + $(srcdir)/mkinstalldirs $(install_prefix)$(mandir) + $(srcdir)/mkinstalldirs $(install_prefix)$(mandir)/man1 + $(INSTALL) -m 755 fetchaddr $(install_prefix)$(libdir) +@@ -70,7 +71,7 @@ + $(INSTALL) -m 644 mutt_ldap_query.man \ + $(install_prefix)$(mandir)/man1/mutt_ldap_query.1; \ + $(INSTALL) -m 644 lbdb_ldap.rc \ +- $(install_prefix)$(sysconfdir)/lbdb_ldap.rc; \ ++ $(install_prefix)$(egdir)/lbdb_ldap.rc; \ + fi + if [ "$(XCODEBUILD)" != "no" -o "$(PBXBUILD)" != "no" ]; then \ + $(INSTALL) -m 755 ABQuery/sym/ABQuery $(install_prefix)$(libdir); \ +@@ -81,7 +82,7 @@ + $(INSTALL) -m 644 lbdbq.man $(install_prefix)$(mandir)/man1/lbdbq.1 + $(INSTALL) -m 644 lbdb-fetchaddr.man \ + $(install_prefix)$(mandir)/man1/lbdb-fetchaddr.1 +- $(INSTALL) -m 644 lbdb.rc $(install_prefix)$(sysconfdir)/lbdb.rc ++ $(INSTALL) -m 644 lbdb.rc $(install_prefix)$(egdir)/lbdb.rc + if [ "$(DOTLOCK_TARGET)" != "" ]; then \ + $(INSTALL) -m 755 lbdb_dotlock $(install_prefix)$(bindir); \ + $(INSTALL) -m 644 dotlock.man \ |