pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/lbdb databases/lbdb: update to 0.48.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fac26eaca00
branches:  trunk
changeset: 319232:3fac26eaca00
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Fri Feb 08 22:25:32 2019 +0000

description:
databases/lbdb: update to 0.48.1

Fix PR pkg/53953

diffstat:

 databases/lbdb/Makefile                              |  16 ++++----
 databases/lbdb/PLIST                                 |   3 +-
 databases/lbdb/distinfo                              |  15 +++----
 databases/lbdb/options.mk                            |   4 +-
 databases/lbdb/patches/patch-aa                      |  19 +++++----
 databases/lbdb/patches/patch-ab                      |  37 +++++++++++--------
 databases/lbdb/patches/patch-mutt__ldap__query.pl.in |  15 --------
 7 files changed, 49 insertions(+), 60 deletions(-)

diffs (243 lines):

diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/Makefile
--- a/databases/lbdb/Makefile   Fri Feb 08 20:04:19 2019 +0000
+++ b/databases/lbdb/Makefile   Fri Feb 08 22:25:32 2019 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.33 2018/08/22 09:43:11 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2019/02/08 22:25:32 tonio Exp $
 
-DISTNAME=              lbdb_0.35.1
+DISTNAME=              lbdb_0.48.1
 PKGNAME=               ${DISTNAME:S/_/-/}
-PKGREVISION=           6
 CATEGORIES=            databases
-MASTER_SITES=          http://www.spinnaker.de/debian/
+MASTER_SITES=          http://www.spinnaker.de/lbdb/download/
 
 MAINTAINER=            tonio%NetBSD.org@localhost
 HOMEPAGE=              http://www.spinnaker.de/lbdb/
 COMMENT=               The little brother's database
+LICENSE=               gnu-gpl-v2
 
 DEPENDS+=              p5-perl-ldap>=0.20:../../databases/p5-perl-ldap
 
@@ -16,15 +16,15 @@
 USE_TOOLS+=            gmake perl:run
 
 GNU_CONFIGURE_LIBSUBDIR=../libexec/lbdb
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 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}
+CONFIGURE_ENV+=                SH=${TOOLS_SH}
+CONFIGURE_ENV+=                AWK=${TOOLS_AWK}
 CONFIGURE_ENV+=                ac_cv_path_TAC=NONE
 
 .include "options.mk"
@@ -41,7 +41,7 @@
 .endif
 
 PLIST_VARS+=           yp
-.if ${OPSYS} != "Interix"
+.if ${OPSYS} != "Interix" && exists(/usr/bin/yppasswd)
 PLIST.yp=              yes
 .endif
 
diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/PLIST
--- a/databases/lbdb/PLIST      Fri Feb 08 20:04:19 2019 +0000
+++ b/databases/lbdb/PLIST      Fri Feb 08 22:25:32 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2018/01/01 22:29:22 rillig Exp $
+@comment $NetBSD: PLIST,v 1.8 2019/02/08 22:25:32 tonio Exp $
 bin/lbdb-fetchaddr
 bin/lbdb_dotlock
 bin/lbdbq
@@ -24,7 +24,6 @@
 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
diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/distinfo
--- a/databases/lbdb/distinfo   Fri Feb 08 20:04:19 2019 +0000
+++ b/databases/lbdb/distinfo   Fri Feb 08 22:25:32 2019 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 01:56:13 agc Exp $
+$NetBSD: distinfo,v 1.14 2019/02/08 22:25:32 tonio Exp $
 
-SHA1 (lbdb_0.35.1.tar.gz) = 33c7767b248cc4289894e0a4b07ed55142484ecc
-RMD160 (lbdb_0.35.1.tar.gz) = 1c202c532db93f3dec066b762f75a28e37d01d1a
-SHA512 (lbdb_0.35.1.tar.gz) = 36788000977004fde45b9193c06a53eac88593de3a0817eb00b635ee9a980eebd29d5f2a23e083fda9c9e2e9db6ccc00d0abb8977f4e51a5955cda53c744c539
-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
+SHA1 (lbdb_0.48.1.tar.gz) = ae81fee4c46d3680aa6ad5434efcc4db371c3165
+RMD160 (lbdb_0.48.1.tar.gz) = 4e458585c22826b962089412d55ddf0005eb9160
+SHA512 (lbdb_0.48.1.tar.gz) = 47d35caa88634f0f98e08e58d9920a44012ee51203dd765a716147b717e76b95cc1a07cd149b569800d5f97e78a7367f35a4e6298fc2bf33fa2f2988db87771e
+Size (lbdb_0.48.1.tar.gz) = 183538 bytes
+SHA1 (patch-aa) = f8adad394d424f99558de35e83f5c2b216799ebb
+SHA1 (patch-ab) = 6bb9767cab2c4291e64da8a7ab9b07048b50ce99
diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/options.mk
--- a/databases/lbdb/options.mk Fri Feb 08 20:04:19 2019 +0000
+++ b/databases/lbdb/options.mk Fri Feb 08 22:25:32 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.3 2008/04/12 22:42:59 jlam Exp $
+# $NetBSD: options.mk,v 1.4 2019/02/08 22:25:32 tonio Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.lbdb
 PKG_SUPPORTED_OPTIONS= osx-addressbook gnupg abook
-PKG_SUGGESTED_OPTIONS= gnupg abook
+PKG_SUGGESTED_OPTIONS= gnupg abook
 
 .include "../../mk/bsd.options.mk"
 
diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/patches/patch-aa
--- a/databases/lbdb/patches/patch-aa   Fri Feb 08 20:04:19 2019 +0000
+++ b/databases/lbdb/patches/patch-aa   Fri Feb 08 22:25:32 2019 +0000
@@ -1,16 +1,17 @@
-$NetBSD: patch-aa,v 1.4 2005/11/12 17:43:42 tonio Exp $
+$NetBSD: patch-aa,v 1.5 2019/02/08 22:25:32 tonio Exp $
+Adjust the Makefile to use the example directory.
 
---- Makefile.in.orig   2005-10-29 16:48:08.000000000 +0200
+--- Makefile.in.orig   2019-01-07 18:30:29.000000000 +0000
 +++ Makefile.in
-@@ -39,6 +39,7 @@ srcdir=@srcdir@
+@@ -38,6 +38,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)
+ SUBDIRS=tests
+ 
+@@ -62,7 +63,7 @@ test_perl:
  install: all
        $(srcdir)/mkinstalldirs $(install_prefix)$(bindir)
        $(srcdir)/mkinstalldirs $(install_prefix)$(libdir)
@@ -19,7 +20,7 @@
        $(srcdir)/mkinstalldirs $(install_prefix)$(mandir)
        $(srcdir)/mkinstalldirs $(install_prefix)$(mandir)/man1
        $(INSTALL) -m 755 fetchaddr $(install_prefix)$(libdir)
-@@ -71,7 +72,7 @@ install: all
+@@ -82,7 +83,7 @@ install: all
                $(INSTALL) -m 644 mutt_ldap_query.man \
                        $(install_prefix)$(mandir)/man1/mutt_ldap_query.1; \
                $(INSTALL) -m 644 lbdb_ldap.rc \
@@ -27,8 +28,8 @@
 +                      $(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 755 ABQuery $(install_prefix)$(libdir); \
+@@ -96,7 +97,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
diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/patches/patch-ab
--- a/databases/lbdb/patches/patch-ab   Fri Feb 08 20:04:19 2019 +0000
+++ b/databases/lbdb/patches/patch-ab   Fri Feb 08 22:25:32 2019 +0000
@@ -1,11 +1,18 @@
-$NetBSD: patch-ab,v 1.4 2005/11/12 18:06:43 tonio Exp $
+$NetBSD: patch-ab,v 1.5 2019/02/08 22:25:32 tonio Exp $
+Adjust configure script to use provided awk, set options properly for
+with_osx_addressbook, and eliminate vcard format.
 
---- configure.orig     2005-10-29 14:49:48.000000000 +0200
+--- configure.orig     2019-01-07 18:30:29.000000000 +0000
 +++ configure
-@@ -3294,18 +3294,7 @@ if test "x$AWK" != "xNONE" ; then
-       AWK="$AWK"
+@@ -4858,22 +4858,7 @@ $as_echo "no" >&6; }
  fi
  
+ 
+-
+-if test "x$AWK" != "xNONE" ; then
+-      AWK="$AWK"
+-fi
+-
 -if test "x$NAWK" != "xNONE" ; then
 -      AWK="$NAWK"
 -fi
@@ -17,39 +24,37 @@
 -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
+ 
+@@ -6501,6 +6486,11 @@ 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
++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
+@@ -6593,6 +6583,11 @@ fi
  
        fi
  fi
 +else
-+  PBXBUILD="no"
-+  XCODEBUILD="no"
++      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
+ ac_fn_c_check_header_mongrel "$LINENO" "vf_iface.h" "ac_cv_header_vf_iface_h" "$ac_includes_default"
+@@ -6636,8 +6631,8 @@ fi
+ $as_echo "$ac_cv_lib_vformat_vf_read_file" >&6; }
+ if test "x$ac_cv_lib_vformat_vf_read_file" = xyes; then :
  
 -    MODULES="$MODULES m_vcf"
 -    VFORMAT="yes"
diff -r 4c68c43ad4cb -r 3fac26eaca00 databases/lbdb/patches/patch-mutt__ldap__query.pl.in
--- a/databases/lbdb/patches/patch-mutt__ldap__query.pl.in      Fri Feb 08 20:04:19 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$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@localhost> and the various other contributors... that kindly sent their patches.



Home | Main Index | Thread Index | Old Index