Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
databases/lbdb/DESCR Normal file
View File

@@ -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.

44
databases/lbdb/Makefile Normal file
View File

@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.26 2013/06/12 12:35:35 wiz Exp $
DISTNAME= lbdb_0.35.1
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.spinnaker.de/debian/
MAINTAINER= tonio@NetBSD.org
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_TOOLS+= gmake perl:run
CONFIGURE_ARGS+= --libdir=${PREFIX}/libexec/lbdb
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --enable-lbdb_dotlock
CONFIGURE_ARGS+= --without-getent
CONFIGURE_ARGS+= --without-evolution-addressbook-export
CONFIGURE_ARGS+= --without-pgp
CONFIGURE_ARGS+= --without-pgpk
CONFIGURE_ENV+= SH=${TOOLS_SH:Q}
CONFIGURE_ENV+= AWK=${TOOLS_AWK:Q}
.include "options.mk"
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
PLIST_VARS+= yp
.if ${OPSYS} != "Interix"
PLIST.yp= yes
.endif
INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR}
.include "../../mk/bsd.pkg.mk"

38
databases/lbdb/PLIST Normal file
View File

@@ -0,0 +1,38 @@
@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:43:17 joerg 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_bbdb
libexec/lbdb/m_fido
libexec/lbdb/m_finger
libexec/lbdb/m_gnomecard
${PLIST.gnupg}libexec/lbdb/m_gpg
${PLIST.abook}libexec/lbdb/m_abook
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
${PLIST.yp}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
${PLIST.osx-addressbook}libexec/lbdb/ABQuery
${PLIST.osx-addressbook}libexec/lbdb/m_osx_addressbook
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

8
databases/lbdb/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.12 2013/06/14 18:30:43 dholland Exp $
SHA1 (lbdb_0.35.1.tar.gz) = 33c7767b248cc4289894e0a4b07ed55142484ecc
RMD160 (lbdb_0.35.1.tar.gz) = 1c202c532db93f3dec066b762f75a28e37d01d1a
Size (lbdb_0.35.1.tar.gz) = 108502 bytes
SHA1 (patch-aa) = c74a4d95037e9d5e5cc0742e5f05ef80a35db5e6
SHA1 (patch-ab) = 7120edcd8588f2195b5c1afbb127245b182eb533
SHA1 (patch-mutt__ldap__query.pl.in) = f7e4fd16edac8dab9971af453caf14414d39493c

32
databases/lbdb/options.mk Normal file
View File

@@ -0,0 +1,32 @@
# $NetBSD: options.mk,v 1.3 2008/04/12 22:42:59 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lbdb
PKG_SUPPORTED_OPTIONS= osx-addressbook gnupg abook
PKG_SUGGESTED_OPTIONS= gnupg abook
.include "../../mk/bsd.options.mk"
PLIST_VARS+= osx-addressbook gnupg abook
.if !empty(PKG_OPTIONS:Mosx-addressbook)
CONFIGURE_ARGS+= --with-osx-addressbook
PLIST.osx-addressbook= yes
.else
CONFIGURE_ARGS+= --without-osx-addressbook
.endif
.if !empty(PKG_OPTIONS:Mgnupg)
DEPENDS+= gnupg-[0-9]*:../../security/gnupg
CONFIGURE_ARGS+= --with-gpg
PLIST.gnupg= yes
.else
CONFIGURE_ARGS+= --without-gpg
.endif
.if !empty(PKG_OPTIONS:Mabook)
DEPENDS+= abook-[0-9]*:../../databases/abook
CONFIGURE_ARGS+= --with-abook
PLIST.abook= yes
.else
CONFIGURE_ARGS+= --without-abook
.endif

View File

@@ -0,0 +1,39 @@
$NetBSD: patch-aa,v 1.4 2005/11/12 17:43:42 tonio Exp $
--- Makefile.in.orig 2005-10-29 16:48:08.000000000 +0200
+++ Makefile.in
@@ -39,6 +39,7 @@ srcdir=@srcdir@
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 \
@@ -50,7 +51,7 @@ all: Makefile $(ALL)
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)
@@ -71,7 +72,7 @@ install: all
$(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); \
@@ -85,7 +86,7 @@ install: all
$(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 \

View File

@@ -0,0 +1,60 @@
$NetBSD: patch-ab,v 1.4 2005/11/12 18:06:43 tonio Exp $
--- configure.orig 2005-10-29 14:49:48.000000000 +0200
+++ configure
@@ -3294,18 +3294,7 @@ if test "x$AWK" != "xNONE" ; then
AWK="$AWK"
fi
-if test "x$NAWK" != "xNONE" ; then
- AWK="$NAWK"
-fi
-
-if test "x$GAWK" != "xNONE" ; then
- AWK="$GAWK"
-fi
-
-if test "x$MAWK" != "xNONE" ; then
- AWK="$MAWK"
-fi
-
+#use the supplied awk
# Extract the first word of "tac", so it can be a program name with args.
@@ -4604,6 +4593,12 @@ if test "x$PERL" != xno ; then
fi
+# Check whether --with-osx-addressbook or --without-osx-addressbook was given.
+if test "${with_osx_addressbook+set}" = set; then
+ withval="$with_osx_addressbook"
+
+fi;
+ if test x$withval = xyes; then
# m_osx_addressbook requires xcode (10.3) or projectbuilder (<10.3)
# Extract the first word of "xcodebuild", so it can be a program name with args.
set dummy xcodebuild; ac_word=$2
@@ -4694,6 +4689,11 @@ fi
fi
fi
+else
+ PBXBUILD="no"
+ XCODEBUILD="no"
+fi
+withval=""
VFORMAT="no"
if test "${ac_cv_header_vf_iface_h+set}" = set; then
@@ -4899,8 +4899,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib
echo "${ECHO_T}$ac_cv_lib_vformat_vf_read_file" >&6
if test $ac_cv_lib_vformat_vf_read_file = yes; then
- MODULES="$MODULES m_vcf"
- VFORMAT="yes"
+ MODULES="$MODULES"
+# VFORMAT="yes"
fi

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-mutt__ldap__query.pl.in,v 1.1 2013/06/14 18:30:43 dholland Exp $
Fix bug in man page noted by perl-5.18's pod2man.
--- mutt_ldap_query.pl.in.orig 2013-06-12 12:13:03.000000000 +0000
+++ mutt_ldap_query.pl.in
@@ -539,6 +539,8 @@ multiple searches for email addresses ba
just like this one 8-)
http://www.spinnaker.de/lbdb/
+=back
+
=head1 AUTHORS
Marc de Courville <marc@courville.org> and the various other contributors... that kindly sent their patches.