commit libdbi for openSUSE:Factory

2020-09-18 Thread root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2020-09-18 14:28:15

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new.4249 (New)


Package is "libdbi"

Fri Sep 18 14:28:15 2020 rev:21 rq:834760 version:0.9.0.g33

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2019-10-05 
16:22:02.841165036 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new.4249/libdbi.changes  2020-09-18 
14:30:08.771395856 +0200
@@ -1,0 +2,6 @@
+Tue Sep 15 23:31:23 UTC 2020 - Jan Engelhardt 
+
+- Trim Recommends. Headers are not semi-essential functionality to
+  view documentation.
+
+---



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.agbAd9/_old  2020-09-18 14:30:12.763399877 +0200
+++ /var/tmp/diff_new_pack.agbAd9/_new  2020-09-18 14:30:12.767399880 +0200
@@ -54,7 +54,6 @@
 BuildRequires:  tex(wasy10.tfm)
 BuildRequires:  texlive-jadetex
 BuildRequires:  texlive-pdftex-bin
-Recommends: libdbi-devel = %version
 Provides:   libdbi-devel:%_docdir/libdbi/driver-guide.pdf
 %endif
 




commit libdbi for openSUSE:Factory

2019-10-05 Thread root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2019-10-05 16:20:53

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new.2352 (New)


Package is "libdbi"

Sat Oct  5 16:20:53 2019 rev:20 rq:734971 version:0.9.0.g33

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2016-01-09 
23:13:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdbi.new.2352/libdbi.changes  2019-10-05 
16:22:02.841165036 +0200
@@ -1,0 +2,8 @@
+Mon Sep 23 20:23:16 UTC 2019 - Stefan BrĂ¼ns 
+
+- Use _multibuild for documentation building, move documentation
+  out of devel subpackage.
+- Spec file cleanup, modernization.
+- Streamline texlive BuildRequires.
+
+---
@@ -83 +90,0 @@
-

New:

  _multibuild



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.eAqj1H/_old  2019-10-05 16:22:03.257163953 +0200
+++ /var/tmp/diff_new_pack.eAqj1H/_new  2019-10-05 16:22:03.257163953 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdbi
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,51 +12,69 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%global flavor @BUILD_FLAVOR@%nil
 
-Name:   libdbi
+%global sname libdbi
+%if "%flavor" == "devel-doc"
+%global psuffix -devel-doc
+%endif
+
+Name:   libdbi%{?psuffix}
 %define lname  libdbi3
 Version:0.9.0.g33
 #Snapshot: libdbi-0.9.0-33-gcdc4479
 Release:0
+%if "%flavor" == ""
 Summary:Database Independent Abstraction Layer for C
-License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
-URL:http://libdbi.sf.net/
+%endif
+License:LGPL-2.1-or-later
+URL:http://libdbi.sourceforge.net/
 
 #Git-Clone:git://git.code.sf.net/p/libdbi/libdbi
-#Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz
-Source: %name-%version.tar.xz
+#Source: http://downloads.sf.net/libdbi/%%name-%%version.tar.gz
+Source: %sname-%version.tar.xz
 Source2:baselibs.conf
-BuildRoot:  %_tmppath/%name-%version-build
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  xz
-%if 0%{?suse_version} >= 1130
-# SLE_11 does not have texlive-collection-fontsrecommended
-%define build_doc 1
-%else
-%define build_doc 0
-%endif
-%if %build_doc
+%if "%flavor" == "devel-doc"
 # Only needed when doc is not already prebuilt
 BuildRequires:  docbook-dsssl-stylesheets
 BuildRequires:  openjade
-BuildRequires:  texlive-collection-fontsrecommended
+BuildRequires:  tex(8r.enc)
+BuildRequires:  tex(t1ptm.fd)
+BuildRequires:  tex(t1phv.fd)
+BuildRequires:  tex(uwasy.fd)
+BuildRequires:  tex(wasy10.tfm)
 BuildRequires:  texlive-jadetex
 BuildRequires:  texlive-pdftex-bin
+Recommends: libdbi-devel = %version
+Provides:   libdbi-devel:%_docdir/libdbi/driver-guide.pdf
 %endif
 
+%if "%flavor" == ""
 %description
 libdbi implements a database-independent abstraction layer in C,
 similar to the DBI/DBD layer in Perl. Writing one generic set of
 code, programmers can leverage the power of multiple databases and
 multiple simultaneous database connections by using this framework.
 
+%else
+Summary:Development documentation for libdbi
+Group:  Documentation/Other
+BuildArch:  noarch
+
+%description
+The libdbi-devel-doc package contains libdbi programmers-guide
+and driver-guide.
+%endif
+
 %package -n %lname
 Summary:Database Independent Abstraction Layer for C
 Group:  System/Libraries
@@ -73,41 +91,61 @@
 Requires:   %lname = %version
 
 %description devel
-The libdbi-devel package contains the header files and documentation
-needed to develop applications with libdbi.
+The libdbi-devel package contains the header files needed to develop
+applications with libdbi.
+
 
 %prep
-%setup -qn %name
+%setup -qn %sname
 
 %build
 autoreconf -fi
 sed -i s,\-O20,\-O2,g configure
 %configure \
-%if !%build_doc
+%if "%flavor" == ""
--disable-docs \
+%else
+   --enable-docs \
+%endif
+   --docdir="%_docdir/libdbi" \
+   --disable-static
+
+%if "%flavor" == ""
+%make_build
+%else
+%make_build -C doc
 

commit libdbi for openSUSE:Factory

2016-01-09 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2016-01-09 23:13:03

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is "libdbi"

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2014-11-12 
00:22:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2016-01-09 
23:13:04.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec 29 17:25:50 UTC 2015 - l...@linux-schulserver.de
+
+- disable building of documentation on old distributions
+
+---



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.jEVsCT/_old  2016-01-09 23:13:05.0 +0100
+++ /var/tmp/diff_new_pack.jEVsCT/_new  2016-01-09 23:13:05.0 +0100
@@ -36,7 +36,12 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  xz
+%if 0%{?suse_version} >= 1130
+# SLE_11 does not have texlive-collection-fontsrecommended
 %define build_doc 1
+%else
+%define build_doc 0
+%endif
 %if %build_doc
 # Only needed when doc is not already prebuilt
 BuildRequires:  docbook-dsssl-stylesheets




commit libdbi for openSUSE:Factory

2014-11-11 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2014-11-12 00:22:08

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2014-08-27 
16:53:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2014-11-12 
00:22:33.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov 11 13:37:08 UTC 2014 - jeng...@inai.de
+
+- Update to git snapshot 0.9.0+git33
+* Fix crash when calling dbi_conn_close() on a valid object with
+  a closed connection (e.g. when login failed). [boo#904873]
+
+---

Old:

  libdbi-0.9.0.g32.tar.xz

New:

  libdbi-0.9.0.g33.tar.xz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.RjqoMy/_old  2014-11-12 00:22:34.0 +0100
+++ /var/tmp/diff_new_pack.RjqoMy/_new  2014-11-12 00:22:34.0 +0100
@@ -18,8 +18,8 @@
 
 Name:   libdbi
 %define lname  libdbi3
-Version:0.9.0.g32
-#Snapshot: libdbi-0.9.0-32-g06e738a
+Version:0.9.0.g33
+#Snapshot: libdbi-0.9.0-33-gcdc4479
 Release:0
 Summary:Database Independent Abstraction Layer for C
 License:LGPL-2.1+

++ libdbi-0.9.0.g32.tar.xz - libdbi-0.9.0.g33.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/src/dbi_main.c new/libdbi/src/dbi_main.c
--- old/libdbi/src/dbi_main.c   2014-08-27 12:33:45.0 +0200
+++ new/libdbi/src/dbi_main.c   2014-11-11 14:36:52.0 +0100
@@ -591,13 +591,17 @@
  return;
}
 
-   if (!(conn-connection)) {
- free(conn);
- return;
-   }
+   /* if (!(conn-connection)) { */
+   /*   free(conn); */
+   /*   return; */
+   /* } */

_update_internal_conn_list(conn, -1);

+   /* give drivers a chance to clean up even if there is no
+  connection. It is assumed that
+  driver-functions-disconnects() checks the existence of
+  conn-connection */
conn-driver-functions-disconnect(conn);
conn-driver = NULL;
dbi_conn_clear_options(Conn);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdbi for openSUSE:Factory

2014-08-27 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2014-08-27 16:53:15

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2014-07-08 
13:02:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2014-08-27 
16:53:28.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug 27 10:34:10 UTC 2014 - jeng...@inai.de
+
+- Update to git snapshot 0.9.0+git32
+* dbi: an unintialized variable (rightfully flagged by valgrind)
+  was fixed
+
+---

Old:

  libdbi-0.9.0.g30.tar.xz

New:

  libdbi-0.9.0.g32.tar.xz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.tkHzQv/_old  2014-08-27 16:53:29.0 +0200
+++ /var/tmp/diff_new_pack.tkHzQv/_new  2014-08-27 16:53:29.0 +0200
@@ -18,14 +18,15 @@
 
 Name:   libdbi
 %define lname  libdbi3
-Version:0.9.0.g30
-#Snapshot: libdbi-0.9.0-30-g812a059
+Version:0.9.0.g32
+#Snapshot: libdbi-0.9.0-32-g06e738a
 Release:0
 Summary:Database Independent Abstraction Layer for C
 License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
 URL:http://libdbi.sf.net/
 
+#Git-Clone:git://git.code.sf.net/p/libdbi/libdbi
 #Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz
 Source: %name-%version.tar.xz
 Source2:baselibs.conf
@@ -75,7 +76,7 @@
 
 %build
 autoreconf -fi
-sed -i s,\-O20,\-O3,g configure
+sed -i s,\-O20,\-O2,g configure
 %configure \
 %if !%build_doc
--disable-docs \

++ libdbi-0.9.0.g30.tar.xz - libdbi-0.9.0.g32.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/src/dbd_helper.c new/libdbi/src/dbd_helper.c
--- old/libdbi/src/dbd_helper.c 2014-06-11 09:01:26.0 +0200
+++ new/libdbi/src/dbd_helper.c 2014-08-27 12:33:45.0 +0200
@@ -81,6 +81,7 @@
/* result-rows[0] is intentionally unused; rows are in [1..n] */
result-rows = calloc(numrows_matched+1, sizeof(dbi_row_t *));
result-currowidx = 0;
+   result-dbd_currowidx = 0;
 
if (!_dbd_result_add_to_conn(result)) {
dbi_result_free((dbi_result)result);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdbi for openSUSE:Factory

2014-07-08 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2014-07-08 13:02:02

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2014-05-13 
20:44:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2014-07-08 
13:02:09.0 +0200
@@ -1,0 +2,7 @@
+Mon Jun 30 19:17:12 UTC 2014 - jeng...@inai.de
+
+- Update to git snapshot 0.9.0+git30
+* dbi: make a distinction between SQL strings and decimals
+  (add new type DBI_TYPE_XDECIMAL)
+
+---

Old:

  libdbi-0.9.0.g27.tar.xz

New:

  libdbi-0.9.0.g30.tar.xz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.hof7ZD/_old  2014-07-08 13:02:10.0 +0200
+++ /var/tmp/diff_new_pack.hof7ZD/_new  2014-07-08 13:02:10.0 +0200
@@ -18,8 +18,8 @@
 
 Name:   libdbi
 %define lname  libdbi3
-Version:0.9.0.g27
-#Snapshot: libdbi-0.9.0-27-g814d7ea
+Version:0.9.0.g30
+#Snapshot: libdbi-0.9.0-30-g812a059
 Release:0
 Summary:Database Independent Abstraction Layer for C
 License:LGPL-2.1+

++ libdbi-0.9.0.g27.tar.xz - libdbi-0.9.0.g30.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/drivers/example/dbd_example.c 
new/libdbi/drivers/example/dbd_example.c
--- old/libdbi/drivers/example/dbd_example.c2013-11-14 15:09:43.0 
+0100
+++ new/libdbi/drivers/example/dbd_example.c2014-06-27 19:39:15.0 
+0200
@@ -295,7 +295,14 @@
 _attribs |= DBI_DATETIME_TIME;
 break;

-  case FIELD_TYPE_DECIMAL: /* decimal is actually a string, has arbitrary 
precision, no floating point rounding */
+  case FIELD_TYPE_DECIMAL:
+/*
+ * Decimal is actually a string, has arbitrary precision, no
+ * floating point rounding. But we need a way to distinguish it
+ * from real strings, so here goes.
+ */
+_type = DBI_TYPE_XDECIMAL;
+break;
   case FIELD_TYPE_ENUM:
   case FIELD_TYPE_SET:
   case FIELD_TYPE_VAR_STRING:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/include/dbi/Makefile.am 
new/libdbi/include/dbi/Makefile.am
--- old/libdbi/include/dbi/Makefile.am  2013-11-14 15:09:43.0 +0100
+++ new/libdbi/include/dbi/Makefile.am  2014-06-27 19:37:17.0 +0200
@@ -5,3 +5,5 @@
 includeexec_HEADERS = dbi.h dbi-dev.h dbd.h
 
 EXTRA_DIST = dbi.h.in
+
+config.status: dbi.h.in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/include/dbi/dbi.h.in 
new/libdbi/include/dbi/dbi.h.in
--- old/libdbi/include/dbi/dbi.h.in 2014-01-05 13:48:31.0 +0100
+++ new/libdbi/include/dbi/dbi.h.in 2014-06-27 19:39:15.0 +0200
@@ -122,6 +122,7 @@
 #define DBI_TYPE_STRING 3
 #define DBI_TYPE_BINARY 4
 #define DBI_TYPE_DATETIME 5
+#define DBI_TYPE_XDECIMAL 6 /* exact decimal (as string) */
 
 /* values for the bitmask in field_type_attributes[] */
 #define DBI_INTEGER_UNSIGNED   (1  0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/src/dbi_result.c new/libdbi/src/dbi_result.c
--- old/libdbi/src/dbi_result.c 2014-05-03 20:30:39.0 +0200
+++ new/libdbi/src/dbi_result.c 2014-06-30 14:18:56.0 +0200
@@ -26,6 +26,7 @@
 #include config.h
 #endif
 
+#include ctype.h
 #include stdio.h
 #include stdlib.h
 #include stdarg.h
@@ -652,8 +653,9 @@
 if (!result-rows[rowidx]) continue;

 for (fieldidx = 0; fieldidx  result-numfields; fieldidx++) {
-  if ((result-field_types[fieldidx] == DBI_TYPE_STRING
-|| result-field_types[fieldidx] == DBI_TYPE_BINARY) 
+  if ((result-field_types[fieldidx] == DBI_TYPE_STRING ||
+   result-field_types[fieldidx] == DBI_TYPE_XDECIMAL ||
+   result-field_types[fieldidx] == DBI_TYPE_BINARY) 
  result-rows[rowidx]-field_values[fieldidx].d_string)
   {
 free(result-rows[rowidx]-field_values[fieldidx].d_string);
@@ -1089,6 +1091,8 @@
 _error_handler(RESULT-conn, DBI_ERROR_BADIDX);
 return my_ERROR;
   }
+  if (RESULT-field_types[fieldidx] == DBI_TYPE_XDECIMAL)
+return dbi_result_get_double_idx(Result, fieldidx);
   if (RESULT-field_types[fieldidx] != DBI_TYPE_DECIMAL) {
 _verbose_handler(RESULT-conn, %s: field `%s` is not float type\n,
  __func__, dbi_result_get_field_name(Result, fieldidx+1));
@@ -1134,6 +1138,25 @@
 

commit libdbi for openSUSE:Factory

2014-05-13 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2014-05-13 20:44:35

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2014-04-26 
10:05:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2014-05-13 
20:44:36.0 +0200
@@ -1,0 +2,6 @@
+Thu May  8 21:12:16 UTC 2014 - jeng...@inai.de
+
+- Update to git snapshot 0.9.0+git27
+* dbi: resolve bogus seeking into dbd
+
+---

Old:

  libdbi-0.9.0.g23.tar.xz

New:

  libdbi-0.9.0.g27.tar.xz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.cbe54f/_old  2014-05-13 20:44:37.0 +0200
+++ /var/tmp/diff_new_pack.cbe54f/_new  2014-05-13 20:44:37.0 +0200
@@ -18,8 +18,8 @@
 
 Name:   libdbi
 %define lname  libdbi3
-Version:0.9.0.g23
-#Snapshot: libdbi-0.9.0-23-gef3e376
+Version:0.9.0.g27
+#Snapshot: libdbi-0.9.0-27-g814d7ea
 Release:0
 Summary:Database Independent Abstraction Layer for C
 License:LGPL-2.1+
@@ -76,7 +76,11 @@
 %build
 autoreconf -fi
 sed -i s,\-O20,\-O3,g configure
-%configure --disable-static --docdir=%_docdir/%name
+%configure \
+%if !%build_doc
+   --disable-docs \
+%endif
+   --disable-static --docdir=%_docdir/%name
 make %{?_smp_mflags}
 
 %install
@@ -96,6 +100,8 @@
 %_includedir/dbi/
 %_libdir/libdbi.so
 %_libdir/pkgconfig/dbi.pc
+%if %build_doc
 %_docdir/%name/
+%endif
 
 %changelog

++ libdbi-0.9.0.g23.tar.xz - libdbi-0.9.0.g27.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/include/dbi/dbi-dev.h 
new/libdbi/include/dbi/dbi-dev.h
--- old/libdbi/include/dbi/dbi-dev.h2014-04-17 16:54:03.0 +0200
+++ new/libdbi/include/dbi/dbi-dev.h2014-05-03 20:30:09.0 +0200
@@ -71,7 +71,14 @@
 
enum { NOTHING_RETURNED, ROWS_RETURNED } result_state;
dbi_row_t **rows; /* array of filled rows, elements set to NULL if not 
fetched yet */
+
+   /* Current row pointer index (1-based) for DBI. */
unsigned long long currowidx;
+   /*
+* Current row pointer index (1-based) that is synchronized to what
+* the current pointer inside the DBD.
+*/
+   unsigned long long dbd_currowidx;
 } dbi_result_t;
 
 typedef struct _field_binding_s {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/src/dbd_helper.c new/libdbi/src/dbd_helper.c
--- old/libdbi/src/dbd_helper.c 2014-04-17 16:54:03.0 +0200
+++ new/libdbi/src/dbd_helper.c 2014-05-03 20:25:36.0 +0200
@@ -78,6 +78,7 @@
result-field_types = NULL;
result-field_attribs = NULL;
result-result_state = (numrows_matched  0) ? ROWS_RETURNED : 
NOTHING_RETURNED;
+   /* result-rows[0] is intentionally unused; rows are in [1..n] */
result-rows = calloc(numrows_matched+1, sizeof(dbi_row_t *));
result-currowidx = 0;
 
@@ -606,6 +607,11 @@
 size_t _dbd_decode_binary(const unsigned char *in, unsigned char *out){
   int i, e;
   unsigned char c;
+
+  if (in == NULL || *in == '\0') {
+return (size_t)0;
+  }
+
   e = *(in++);
   i = 0;
   while( (c = *(in++))!=0 ){
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/src/dbi_main.c new/libdbi/src/dbi_main.c
--- old/libdbi/src/dbi_main.c   2014-04-17 16:54:03.0 +0200
+++ new/libdbi/src/dbi_main.c   2014-05-03 20:25:36.0 +0200
@@ -587,7 +587,14 @@
 void dbi_conn_close(dbi_conn Conn) {
dbi_conn_t *conn = Conn;

-   if (!conn || !(conn-connection)) return;
+   if (!conn) {
+ return;
+   }
+
+   if (!(conn-connection)) {
+ free(conn);
+ return;
+   }

_update_internal_conn_list(conn, -1);

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdbi/src/dbi_result.c new/libdbi/src/dbi_result.c
--- old/libdbi/src/dbi_result.c 2014-04-17 16:54:03.0 +0200
+++ new/libdbi/src/dbi_result.c 2014-05-03 20:30:39.0 +0200
@@ -108,7 +108,7 @@
   }

   /* row is one-based for the user, but zero-based to the dbd conn */
-  retval = RESULT-conn-driver-functions-goto_row(RESULT, rowidx-1, 
RESULT-currowidx-1);
+  retval = RESULT-conn-driver-functions-goto_row(RESULT, rowidx-1, 
RESULT-dbd_currowidx-1);
   if (retval == -1) {
 _error_handler(RESULT-conn, DBI_ERROR_DBD);
 return 0;
@@ -120,6 +120,7 @@

commit libdbi for openSUSE:Factory

2014-04-26 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2014-04-26 10:05:37

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2013-09-09 
19:43:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2014-04-26 
10:05:39.0 +0200
@@ -1,0 +2,6 @@
+Thu Apr 17 14:55:28 UTC 2014 - jeng...@inai.de
+
+- Update to git snapshot 0.9.0+git23
+* api: offer DATETIME fields also as a struct tm
+
+---

Old:

  libdbi-0.9.0.tar.gz

New:

  libdbi-0.9.0.g23.tar.xz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.vcZ7VR/_old  2014-04-26 10:05:39.0 +0200
+++ /var/tmp/diff_new_pack.vcZ7VR/_new  2014-04-26 10:05:39.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdbi
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,33 @@
 
 
 Name:   libdbi
-%define lname  libdbi1
-Version:0.9.0
+%define lname  libdbi3
+Version:0.9.0.g23
+#Snapshot: libdbi-0.9.0-23-gef3e376
 Release:0
 Summary:Database Independent Abstraction Layer for C
 License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
-Url:http://libdbi.sf.net/
+URL:http://libdbi.sf.net/
 
-Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz
+#Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz
+Source: %name-%version.tar.xz
 Source2:baselibs.conf
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRoot:  %_tmppath/%name-%version-build
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  pkgconfig
+BuildRequires:  xz
+%define build_doc 1
+%if %build_doc
+# Only needed when doc is not already prebuilt
+BuildRequires:  docbook-dsssl-stylesheets
+BuildRequires:  openjade
+BuildRequires:  texlive-collection-fontsrecommended
+BuildRequires:  texlive-jadetex
+BuildRequires:  texlive-pdftex-bin
+%endif
 
 %description
 libdbi implements a database-independent abstraction layer in C,
@@ -36,11 +51,11 @@
 code, programmers can leverage the power of multiple databases and
 multiple simultaneous database connections by using this framework.
 
-%package -n %{lname}
+%package -n %lname
 Summary:Database Independent Abstraction Layer for C
 Group:  System/Libraries
 
-%description -n %{lname}
+%description -n %lname
 libdbi implements a database-independent abstraction layer in C,
 similar to the DBI/DBD layer in Perl. Writing one generic set of
 code, programmers can leverage the power of multiple databases and
@@ -49,39 +64,38 @@
 %package devel
 Summary:Development files for libdbi (Database Independent Abstraction 
Layer for C)
 Group:  Development/Libraries/C and C++
-Requires:   %{lname} = %{version}
+Requires:   %lname = %version
 
 %description devel
 The libdbi-devel package contains the header files and documentation
 needed to develop applications with libdbi.
 
 %prep
-%setup -q
-sed -i s,\-O20,\-O3,g configure
+%setup -qn %name
 
 %build
-%configure --disable-docs --disable-static
+autoreconf -fi
+sed -i s,\-O20,\-O3,g configure
+%configure --disable-static --docdir=%_docdir/%name
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-rm %buildroot/%{_libdir}/libdbi.la
-rm README.win32
+make install DESTDIR=%buildroot
+rm README.win32 %buildroot/%_libdir/libdbi.la
+
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%files -n %{lname}
+%files -n %lname
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING README*
-%{_libdir}/libdbi.so.*
+%_libdir/libdbi.so.3*
 
 %files devel
 %defattr(-,root,root)
-%doc TODO doc/programmers-guide.pdf doc/programmers-guide/ 
doc/driver-guide.pdf doc/driver-guide/
 %_includedir/dbi/
-%{_libdir}/libdbi.so
+%_libdir/libdbi.so
 %_libdir/pkgconfig/dbi.pc
-
-%post -n %{lname} -p /sbin/ldconfig
-
-%postun -n %{lname} -p /sbin/ldconfig
+%_docdir/%name/
 
 %changelog

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.vcZ7VR/_old  2014-04-26 10:05:39.0 +0200
+++ /var/tmp/diff_new_pack.vcZ7VR/_new  2014-04-26 10:05:39.0 +0200
@@ -1,4 +1,4 @@
-libdbi1
+libdbi3
 libdbi-devel
requires -libdbi-targettype
-   requires libdbi1-targettype 

commit libdbi for openSUSE:Factory

2013-09-09 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2013-09-09 19:43:57

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2012-09-26 
16:21:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2013-09-09 
19:43:58.0 +0200
@@ -1,0 +2,11 @@
+Tue Sep  3 13:53:28 UTC 2013 - jeng...@inai.de
+
+- Update to new upstream release 0.9.0
+* libdbi now supports multiple independent instances, which
+  permit programs to use several dlopen()ed modules which are
+  linked against libdbi. Support for transactions and savepoints
+  has been added, and drivers now receive additional hints to
+  optimize sequential reads from result sets.
+- Wrap description at 70 cols
+
+---

Old:

  libdbi-0.8.4.tar.gz

New:

  libdbi-0.9.0.tar.gz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.Xd0aq0/_old  2013-09-09 19:43:59.0 +0200
+++ /var/tmp/diff_new_pack.Xd0aq0/_new  2013-09-09 19:43:59.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdbi
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,35 +16,35 @@
 #
 
 
+Name:   libdbi
 %define lname  libdbi1
-
+Version:0.9.0
+Release:0
 Summary:Database Independent Abstraction Layer for C
 License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
+Url:http://libdbi.sf.net/
 
-Name:   libdbi
-Version:0.8.4
-Release:0
-Url:http://libdbi.sourceforge.net/
-Source: 
http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz
+Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz
 Source2:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
-libdbi implements a database-independent abstraction layer in C, similar to the
-DBI/DBD layer in Perl. Writing one generic set of code, programmers can
-leverage the power of multiple databases and multiple simultaneous database
-connections by using this framework.
+libdbi implements a database-independent abstraction layer in C,
+similar to the DBI/DBD layer in Perl. Writing one generic set of
+code, programmers can leverage the power of multiple databases and
+multiple simultaneous database connections by using this framework.
 
 %package -n %{lname}
 Summary:Database Independent Abstraction Layer for C
-Group:  Development/Libraries/C and C++
+Group:  System/Libraries
 
 %description -n %{lname}
-libdbi implements a database-independent abstraction layer in C, similar to the
-DBI/DBD layer in Perl. Writing one generic set of code, programmers can
-leverage the power of multiple databases and multiple simultaneous database
-connections by using this framework.
+libdbi implements a database-independent abstraction layer in C,
+similar to the DBI/DBD layer in Perl. Writing one generic set of
+code, programmers can leverage the power of multiple databases and
+multiple simultaneous database connections by using this framework.
 
 %package devel
 Summary:Development files for libdbi (Database Independent Abstraction 
Layer for C)
@@ -61,8 +61,7 @@
 
 %build
 %configure --disable-docs --disable-static
-# this project fails to respect the rules for CFLAGS.
-make %{?_smp_mflags} AM_CFLAGS=%optflags
+make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -77,11 +76,9 @@
 %files devel
 %defattr(-,root,root)
 %doc TODO doc/programmers-guide.pdf doc/programmers-guide/ 
doc/driver-guide.pdf doc/driver-guide/
-%dir /usr/include/dbi
-/usr/include/dbi/dbi.h
-/usr/include/dbi/dbi-dev.h
-/usr/include/dbi/dbd.h
+%_includedir/dbi/
 %{_libdir}/libdbi.so
+%_libdir/pkgconfig/dbi.pc
 
 %post -n %{lname} -p /sbin/ldconfig
 

++ libdbi-0.8.4.tar.gz - libdbi-0.9.0.tar.gz ++
 106051 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdbi for openSUSE:Factory

2012-09-26 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2012-09-26 16:21:14

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi, Maintainer is kkae...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2012-02-14 
19:02:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2012-09-26 
16:21:16.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 24 21:22:26 UTC 2012 - andreas.stie...@gmx.de
+
+- update to 0.8.4, soname libdbi1
+- now using automake 1.10.1
+
+---

Old:

  libdbi-0.8.3.tar.bz2

New:

  libdbi-0.8.4.tar.gz



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.su5Hbi/_old  2012-09-26 16:21:17.0 +0200
+++ /var/tmp/diff_new_pack.su5Hbi/_new  2012-09-26 16:21:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdbi
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,17 @@
 #
 
 
-%define lname  libdbi0
+%define lname  libdbi1
 
 Summary:Database Independent Abstraction Layer for C
+License:LGPL-2.1+
+Group:  Development/Libraries/C and C++
 
 Name:   libdbi
-Version:0.8.3
-Release:1
-Group:  Development/Libraries/C and C++
-License:LGPL-2.1+
-URL:http://libdbi.sourceforge.net/
-Source: %{name}-%{version}.tar.bz2
+Version:0.8.4
+Release:0
+Url:http://libdbi.sourceforge.net/
+Source: 
http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source2:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -37,8 +37,8 @@
 connections by using this framework.
 
 %package -n %{lname}
-Group:  Development/Libraries/C and C++
 Summary:Database Independent Abstraction Layer for C
+Group:  Development/Libraries/C and C++
 
 %description -n %{lname}
 libdbi implements a database-independent abstraction layer in C, similar to the

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.su5Hbi/_old  2012-09-26 16:21:17.0 +0200
+++ /var/tmp/diff_new_pack.su5Hbi/_new  2012-09-26 16:21:17.0 +0200
@@ -1,4 +1,4 @@
-libdbi0
+libdbi1
 libdbi-devel
requires -libdbi-targettype
-   requires libdbi0-targettype = version
+   requires libdbi1-targettype = version

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdbi for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2012-02-14 19:02:10

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi, Maintainer is kkae...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2011-12-14 
14:33:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2012-02-14 
19:02:11.0 +0100
@@ -1,0 +2,6 @@
+Thu Dec 15 20:54:59 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+
+---



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.oEZ3s9/_old  2012-02-14 19:02:12.0 +0100
+++ /var/tmp/diff_new_pack.oEZ3s9/_new  2012-02-14 19:02:12.0 +0100
@@ -25,13 +25,11 @@
 Release:1
 Group:  Development/Libraries/C and C++
 License:LGPL-2.1+
-Url:http://libdbi.sourceforge.net/
+URL:http://libdbi.sourceforge.net/
 Source: %{name}-%{version}.tar.bz2
 Source2:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
-%define debug_package_requires %{lname} = %{version}-%{release}
-
 %description
 libdbi implements a database-independent abstraction layer in C, similar to the
 DBI/DBD layer in Perl. Writing one generic set of code, programmers can
@@ -39,7 +37,6 @@
 connections by using this framework.
 
 %package -n %{lname}
-
 Group:  Development/Libraries/C and C++
 Summary:Database Independent Abstraction Layer for C
 
@@ -50,7 +47,6 @@
 connections by using this framework.
 
 %package devel
-
 Summary:Development files for libdbi (Database Independent Abstraction 
Layer for C)
 Group:  Development/Libraries/C and C++
 Requires:   %{lname} = %{version}
@@ -65,11 +61,10 @@
 
 %build
 %configure --disable-docs --disable-static
-make AM_CFLAGS=$RPM_OPT_FLAGS
+# this project fails to respect the rules for CFLAGS.
+make %{?_smp_mflags} AM_CFLAGS=%optflags
 
 %install
-[ $RPM_BUILD_ROOT != / ]  rm -rf $RPM_BUILD_ROOT
-mkdir %buildroot
 make DESTDIR=$RPM_BUILD_ROOT install
 rm %buildroot/%{_libdir}/libdbi.la
 rm README.win32
@@ -88,9 +83,6 @@
 /usr/include/dbi/dbd.h
 %{_libdir}/libdbi.so
 
-%clean 
-[ $RPM_BUILD_ROOT != / ]  rm -rf $RPM_BUILD_ROOT
-
 %post -n %{lname} -p /sbin/ldconfig
 
 %postun -n %{lname} -p /sbin/ldconfig

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdbi for openSUSE:Factory

2011-12-14 Thread h_root
Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory checked 
in at 2011-12-14 14:33:51

Comparing /work/SRC/openSUSE:Factory/libdbi (Old)
 and  /work/SRC/openSUSE:Factory/.libdbi.new (New)


Package is libdbi, Maintainer is kkae...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes2011-09-23 
02:08:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes   2011-12-14 
14:33:52.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec 13 13:32:14 UTC 2011 - idon...@suse.com
+
+- Optimization level 20 doesn't really exist, fix it to -O3 
+- Fix license to be LGPL-2.1+
+
+---



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.kRpTQ1/_old  2011-12-14 14:33:53.0 +0100
+++ /var/tmp/diff_new_pack.kRpTQ1/_new  2011-12-14 14:33:53.0 +0100
@@ -23,8 +23,8 @@
 Name:   libdbi
 Version:0.8.3
 Release:1
-Group:  Development/Libraries
-License:LGPL
+Group:  Development/Libraries/C and C++
+License:LGPL-2.1+
 Url:http://libdbi.sourceforge.net/
 Source: %{name}-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -40,7 +40,7 @@
 
 %package -n %{lname}
 
-Group:  Development/Libraries
+Group:  Development/Libraries/C and C++
 Summary:Database Independent Abstraction Layer for C
 
 %description -n %{lname}
@@ -52,7 +52,7 @@
 %package devel
 
 Summary:Development files for libdbi (Database Independent Abstraction 
Layer for C)
-Group:  Development/Libraries
+Group:  Development/Libraries/C and C++
 Requires:   %{lname} = %{version}
 
 %description devel
@@ -61,6 +61,7 @@
 
 %prep
 %setup -q
+sed -i s,\-O20,\-O3,g configure
 
 %build
 %configure --disable-docs --disable-static

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdbi for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package libdbi for openSUSE:Factory
checked in at Mon Sep 19 21:11:47 CEST 2011.




--- libdbi/libdbi.changes   2010-12-15 17:17:56.0 +0100
+++ /mounts/work_src_done/STABLE/libdbi/libdbi.changes  2011-09-16 
19:28:20.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 16 17:28:14 UTC 2011 - jeng...@medozas.de
+
+- Add baselibs configuration
+
+---

calling whatdependson for head-i586


New:

  baselibs.conf



Other differences:
--
++ libdbi.spec ++
--- /var/tmp/diff_new_pack.DKMTgW/_old  2011-09-19 21:11:43.0 +0200
+++ /var/tmp/diff_new_pack.DKMTgW/_new  2011-09-19 21:11:43.0 +0200
@@ -27,6 +27,7 @@
 License:LGPL
 Url:http://libdbi.sourceforge.net/
 Source: %{name}-%{version}.tar.bz2
+Source2:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %define debug_package_requires %{lname} = %{version}-%{release}
@@ -49,7 +50,7 @@
 connections by using this framework.
 
 %package devel
-License:LGPL
+
 Summary:Development files for libdbi (Database Independent Abstraction 
Layer for C)
 Group:  Development/Libraries
 Requires:   %{lname} = %{version}

++ baselibs.conf ++
libdbi0
libdbi-devel
requires -libdbi-targettype
requires libdbi0-targettype = version





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org