commit unixODBC for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2020-09-25 16:21:13

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


Package is "unixODBC"

Fri Sep 25 16:21:13 2020 rev:38 rq:836234 version:2.3.9

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2020-09-14 
12:01:19.951502800 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new.4249/unixODBC.changes  
2020-09-25 16:21:37.183363645 +0200
@@ -1,0 +2,13 @@
+Tue Sep 22 20:27:56 UTC 2020 - Jan Engelhardt 
+
+- Update requires and baselibs for new libodbc2.
+
+---
+Wed Sep 16 10:47:31 UTC 2020 - Jan Engelhardt 
+
+- Employ shared library packaging guideline: new subpacakge
+  libodbc2. mariadb's ha_connect.so wants this library, but a
+  unixODBC's Recommends line would awkwardly pull in psqlODBC
+  by default.
+
+---



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.5JyRpi/_old  2020-09-25 16:21:37.863364246 +0200
+++ /var/tmp/diff_new_pack.5JyRpi/_new  2020-09-25 16:21:37.863364246 +0200
@@ -41,10 +41,19 @@
 # bsc#1062860: to stay feature complete
 Recommends: psqlODBC
 
+%package -n libodbc2
+Summary:Open Database Connectivity API
+Group:  System/Libraries
+
+%description -n libodbc2
+ODBC is an API that abstracts the access to different database
+management systems.
+
 %package devel
 Summary:Includes for ODBC Development
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
+Requires:   libodbc2 = %{version}
 Conflicts:  libiodbc-devel
 
 %description
@@ -80,7 +89,7 @@
 --enable-driverc \
 --enable-drivers \
 --enable-driver-conf
-make %{?_smp_mflags}
+%make_build
 
 %install
 install -d -m 755 "%{buildroot}/%{_sysconfdir}/%{name}"
@@ -94,8 +103,8 @@
 # bsc#1062860: we want psqlODBC instead of this unmaintained example driver
 rm -f "%{buildroot}/%{_libdir}"/unixODBC/libodbcpsql.*
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post   -n libodbc2 -p /sbin/ldconfig
+%postun -n libodbc2 -p /sbin/ldconfig
 
 %files
 %license COPYING
@@ -120,14 +129,16 @@
 %{_bindir}/odbcinst
 %{_bindir}/odbc_config
 %{_bindir}/slencheck
-%{_libdir}/libodbc.so.*
-%{_libdir}/libodbcinst.so.*
-%{_libdir}/libodbccr.so.*
 %{_libdir}/libodbc.so
 %{_libdir}/libodbcinst.so
 %{_libdir}/libodbccr.so
 %{_libdir}/%{name}
 
+%files -n libodbc2
+%{_libdir}/libodbc.so.*
+%{_libdir}/libodbcinst.so.*
+%{_libdir}/libodbccr.so.*
+
 # All .so files are in the main package as many ext apps
 # dlopen those so you need these on regular package.
 %files devel

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.5JyRpi/_old  2020-09-25 16:21:37.895364275 +0200
+++ /var/tmp/diff_new_pack.5JyRpi/_new  2020-09-25 16:21:37.895364275 +0200
@@ -1,3 +1,5 @@
 unixODBC
 unixODBC-devel
   requires "unixODBC- = "
+  requires "libodbc2- = "
+libodbc2




commit unixODBC for openSUSE:Factory

2020-09-14 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2020-09-14 12:01:13

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


Package is "unixODBC"

Mon Sep 14 12:01:13 2020 rev:37 rq:833076 version:2.3.9

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2020-09-04 
10:53:36.438446413 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new.4249/unixODBC.changes  
2020-09-14 12:01:19.951502800 +0200
@@ -1,0 +2,6 @@
+Tue Sep  8 19:57:43 UTC 2020 - Michael Vetter 
+
+- Update to 2.3.9:
+  * Remove "#define UNIXODBC_SOURCE" from unixodbc_conf.h
+
+---

Old:

  unixODBC-2.3.8.tar.gz

New:

  unixODBC-2.3.9.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.e2m53B/_old  2020-09-14 12:01:20.619503487 +0200
+++ /var/tmp/diff_new_pack.e2m53B/_new  2020-09-14 12:01:20.623503491 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   unixODBC
-Version:2.3.8
+Version:2.3.9
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0-or-later AND LGPL-2.1-or-later

++ unixODBC-2.3.8.tar.gz -> unixODBC-2.3.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.8/ChangeLog new/unixODBC-2.3.9/ChangeLog
--- old/unixODBC-2.3.8/ChangeLog2020-08-31 18:14:48.0 +0200
+++ new/unixODBC-2.3.9/ChangeLog2020-09-06 11:39:45.0 +0200
@@ -1,3 +1,8 @@
+06-Sep-2020
+2.3.9
+
+# Remove "#define UNIXODBC_SOURCE" from unixodbc_conf.h
+
 30-Aug-2020
 2.3.8
 
@@ -5,15 +10,15 @@
 * SQLDriversW was ignoring user config
 * SQLDataSources Fix termination character
 * Fix for pooling seg fault
-* Make calling SQLSetStmtAttrW call the W function in the driver is its 
there
+* Make calling SQLSetStmtAttrW call the W function in the driver if its 
there
 * Try and fix race condition clearing system odbc.ini file
 * Remove trailing space from isql/iusql SQL
-* When setting connection attributes set before connect also check if the 
W entry poins can be used
+* When setting connection attributes set before connect also check if the 
W entry points can be used
 * Try calling the W error functions first if available in the driver
 * Add iconvperdriver configure option to allow calling unicode_setup in 
SQLAllocHandle
 * iconv handles was being lost when reusing pooled connection
 * Catch null copy in iniPropertyInsert
-* Fix some leaks
+* Fix a few leaks 
 
 10-Aug-2018
 2.3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.8/DriverManager/SQLBindCol.c 
new/unixODBC-2.3.9/DriverManager/SQLBindCol.c
--- old/unixODBC-2.3.8/DriverManager/SQLBindCol.c   2018-05-30 
11:24:07.0 +0200
+++ new/unixODBC-2.3.9/DriverManager/SQLBindCol.c   2020-09-04 
16:23:33.0 +0200
@@ -139,6 +139,7 @@
 return 1;
 }
 
+
switch( c_type ) {
case SQL_C_CHAR:
case SQL_C_LONG:
@@ -180,7 +181,15 @@
case SQL_C_WCHAR:
case SQL_ARD_TYPE:
case SQL_C_DOUBLE:
-   /* case SQL_C_XML: still trying to find what value this is */
+/*
+ * MS Added types
+ */
+case -150:  /* SQL_SS_VARIANT */
+case -151:  /* SQL_SS_UDT */
+case -152:  /* SQL_SS_XML */
+case -153:  /* SQL_SS_TABLE */
+case -154:  /* SQL_SS_TIME2 */
+case -155:  /* SQL_SS_TIMESTAMPOFFSET */
return 1;
 
default:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.8/Makefile.svn 
new/unixODBC-2.3.9/Makefile.svn
--- old/unixODBC-2.3.8/Makefile.svn 2014-01-07 11:31:34.0 +0100
+++ new/unixODBC-2.3.9/Makefile.svn 2020-09-03 11:02:05.0 +0200
@@ -7,6 +7,7 @@
@automake
@echo "*** Building config.h"
@autoheader
+   @sed -i '/UNIXODBC_SOURCE/d' unixodbc_conf.h.in
@echo "*** Building configure"
@autoconf
@echo "*** Finished"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.8/configure new/unixODBC-2.3.9/configure
--- old/unixODBC-2.3.8/configure2020-08-31 18:16:49.0 +0200
+++ new/unixODBC-2.3.9/configure2020-09-06 11:40:14.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# 

commit unixODBC for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2020-09-04 10:53:34

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


Package is "unixODBC"

Fri Sep  4 10:53:34 2020 rev:36 rq:830983 version:2.3.8

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2018-11-06 
14:08:50.543102617 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new.3399/unixODBC.changes  
2020-09-04 10:53:36.438446413 +0200
@@ -1,0 +2,19 @@
+Tue Sep  1 07:38:13 UTC 2020 - Michael Vetter 
+
+- Update to 2.3.8:
+  * Add configure support for editline
+  * SQLDriversW was ignoring user config
+  * SQLDataSources Fix termination character
+  * Fix for pooling seg fault
+  * Make calling SQLSetStmtAttrW call the W function in the driver is its there
+  * Try and fix race condition clearing system odbc.ini file
+  * Remove trailing space from isql/iusql SQL
+  * When setting connection attributes set before connect also check if the W 
entry poins can be used
+  * Try calling the W error functions first if available in the driver
+  * Add iconvperdriver configure option to allow calling unicode_setup in 
SQLAllocHandle
+  * iconv handles was being lost when reusing pooled connection
+  * Catch null copy in iniPropertyInsert
+  * Fix a few leaks 
+- Remove unixODBC-2.3.7-warning-cleanup.patch: upstreamed
+
+---

Old:

  unixODBC-2.3.7-warning-cleanup.patch
  unixODBC-2.3.7.tar.gz

New:

  unixODBC-2.3.8.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.XFqB2B/_old  2020-09-04 10:53:37.390446923 +0200
+++ /var/tmp/diff_new_pack.XFqB2B/_new  2020-09-04 10:53:37.394446925 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,17 +12,17 @@
 # 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/
 #
 
 
 Name:   unixODBC
-Version:2.3.7
+Version:2.3.8
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:  Productivity/Databases/Tools
-Url:http://www.unixodbc.org/
+URL:http://www.unixodbc.org/
 Source0:ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
 Source1:baselibs.conf
 Source2:unixODBC-rpmlintrc
@@ -31,8 +31,6 @@
 # https://github.com/lurcher/unixODBC/issues/8
 Patch3: unixODBC-2.3.1-libodbcinst-exports.patch
 Patch4: unixODBC-2.3.6-declarations.patch 
-# https://github.com/lurcher/unixODBC/issues/18
-Patch5: unixODBC-2.3.7-warning-cleanup.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -62,7 +60,6 @@
 %patch2
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
 perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am

++ unixODBC-2.3.7.tar.gz -> unixODBC-2.3.8.tar.gz ++
 4578 lines of diff (skipped)




commit unixODBC for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2018-11-06 14:08:42

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


Package is "unixODBC"

Tue Nov  6 14:08:42 2018 rev:35 rq:644353 version:2.3.7

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2018-03-26 
12:10:29.946837735 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2018-11-06 
14:08:50.543102617 +0100
@@ -1,0 +2,17 @@
+Wed Oct 24 14:37:58 UTC 2018 - mvet...@suse.com
+
+- Update to 2.3.7:
+  * Fix for pkg-config file update on no linux platforms
+  * Add W entry for GUI work
+  * Various fixes for SQLBrowseConnect/W, SQLGetConnectAttr/W,and 
SQLSetConnectAttr/W
+  * Fix buffer overflows in SQLConnect/W and refine behaviour of 
SQLGet/WritePrivateProfileString
+  * SQLBrowseConnect/W allow disconnecting a started browse session after error
+  * Add --with-stats-ftok-name configure option to allow the selection of a 
file name
+used to generate the IPC id when collecting stats. Default is the system 
odbc.ini file
+  * Improve diag record handling with the behavior of Windows DM and export 
SQLCancelHandle
+  * bug fix when SQLGetPrivateProfileString() is called to get a list of 
sections or a list of keys
+  * Connection pooling: Fix liveness check for Unicode drivers
+- Add unixODBC-2.3.7-warning-cleanup.patch: 2.3.7 a 64bit protability error
+  See https://github.com/lurcher/unixODBC/issues/18
+
+---

Old:

  unixODBC-2.3.6.tar.gz

New:

  unixODBC-2.3.7-warning-cleanup.patch
  unixODBC-2.3.7.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.d1WZGe/_old  2018-11-06 14:08:51.535101312 +0100
+++ /var/tmp/diff_new_pack.d1WZGe/_new  2018-11-06 14:08:51.535101312 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   unixODBC
-Version:2.3.6
+Version:2.3.7
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -31,6 +31,8 @@
 # https://github.com/lurcher/unixODBC/issues/8
 Patch3: unixODBC-2.3.1-libodbcinst-exports.patch
 Patch4: unixODBC-2.3.6-declarations.patch
+# https://github.com/lurcher/unixODBC/issues/18
+Patch5: unixODBC-2.3.7-warning-cleanup.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -58,8 +60,9 @@
 %setup -q
 %patch1
 %patch2
-%patch3
+%patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am

++ unixODBC-2.3.1-libodbcinst-exports.patch ++
--- /var/tmp/diff_new_pack.d1WZGe/_old  2018-11-06 14:08:51.563101274 +0100
+++ /var/tmp/diff_new_pack.d1WZGe/_new  2018-11-06 14:08:51.563101274 +0100
@@ -1,10 +1,9 @@
-Index: odbcinst/odbcinst.exp
-===
 odbcinst/odbcinst.exp.orig
-+++ odbcinst/odbcinst.exp
-@@ -64,3 +64,50 @@ _odbcinst_UserINI
- _odbcinst_FileINI
+diff -urEbwB unixODBC-2.3.7/odbcinst/odbcinst.exp 
unixODBC-2.3.7.new/odbcinst/odbcinst.exp
+--- unixODBC-2.3.7/odbcinst/odbcinst.exp   2018-04-03 12:36:21.0 
+0200
 unixODBC-2.3.7.new/odbcinst/odbcinst.exp   2018-08-13 12:31:10.660686094 
+0200
+@@ -65,3 +65,50 @@
  _SQLDriverConnectPrompt
+ _SQLDriverConnectPromptW
  inst_logPushMsg
 +iniAllTrim
 +iniAppend

++ unixODBC-2.3.7-warning-cleanup.patch ++
 784 lines (skipped)

++ unixODBC-2.3.6.tar.gz -> unixODBC-2.3.7.tar.gz ++
 13324 lines of diff (skipped)




commit unixODBC for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2018-03-26 12:10:18

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


Package is "unixODBC"

Mon Mar 26 12:10:18 2018 rev:34 rq:590348 version:2.3.6

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2018-02-22 
14:58:42.750063048 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2018-03-26 
12:10:29.946837735 +0200
@@ -1,0 +2,28 @@
+Thu Mar 22 14:09:43 UTC 2018 - mvet...@suse.com
+
+- Add BuildRequires: pkgconfig since we install .pc files
+- Add unixODBC-rpmlintrc: devel files are in the right place
+
+---
+Mon Mar 19 12:53:15 UTC 2018 - mvet...@suse.com
+
+- bsc#1062860: Recommend psqlODBC to stay feature complete
+
+---
+Mon Mar 19 11:52:05 UTC 2018 - mvet...@suse.com
+
+- bsc#1082060: Update to 2.3.6:
+  * Fix order of arguments in SQLWriteFileDSN.c, fix unwanted
+free() in iusql.c
+  * Add pkg-config files
+- bsc#1082290 (CVE-2018-7409): Buffer overflow in
+  unicode_to_ansi_copy() was fixed in 2.3.5
+- bsc#1082484 (CVE-2018-7485): Swapped arguments in 
+  SQLWriteFileDSN() in odbcinst/SQLWriteFileDSN.c
+- Remove unixODBC-2.3.1-bison.patch: upstreamed
+- Remove unixODBC-iaddr.patch: upstreamed
+- Adapt unixODBC-2.3.1-declarations.patch to 
+  unixODBC-2.3.6-declarations.patch
+- Update unixODBC-gccwarnings.patch
+
+---

Old:

  unixODBC-2.3.1-bison.patch
  unixODBC-2.3.1-declarations.patch
  unixODBC-2.3.4.tar.gz
  unixODBC-iaddr.patch

New:

  unixODBC-2.3.6-declarations.patch
  unixODBC-2.3.6.tar.gz
  unixODBC-rpmlintrc



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.Hh6LZT/_old  2018-03-26 12:10:31.234791582 +0200
+++ /var/tmp/diff_new_pack.Hh6LZT/_new  2018-03-26 12:10:31.246791151 +0200
@@ -17,27 +17,29 @@
 
 
 Name:   unixODBC
-Version:2.3.4
+Version:2.3.6
 Release:0
 Summary:ODBC driver manager with some drivers included
-License:GPL-2.0+ and LGPL-2.1+
+License:GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:  Productivity/Databases/Tools
 Url:http://www.unixodbc.org/
-Source: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
-Source2:baselibs.conf
+Source0:ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
+Source1:baselibs.conf
+Source2:unixODBC-rpmlintrc
 Patch1: unixODBC-paths.patch
-Patch5: unixODBC-iaddr.patch
-Patch7: unixODBC-gccwarnings.patch
-Patch10:%{name}-2.3.1-libodbcinst-exports.patch
-Patch15:%{name}-2.3.1-bison.patch
-Patch16:%{name}-2.3.1-declarations.patch
+Patch2: unixODBC-gccwarnings.patch
+# https://github.com/lurcher/unixODBC/issues/8
+Patch3: unixODBC-2.3.1-libodbcinst-exports.patch
+Patch4: unixODBC-2.3.6-declarations.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  gcc-c++
 BuildRequires:  libltdl-devel
 BuildRequires:  libtool
+BuildRequires:  pkgconfig
 BuildRequires:  readline-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# bsc#1062860: to stay feature complete
+Recommends: psqlODBC
 
 %package devel
 Summary:Includes for ODBC Development
@@ -55,11 +57,9 @@
 %prep
 %setup -q
 %patch1
-%patch5
-%patch7
-%patch10
-%patch15
-%patch16
+%patch2
+%patch3
+%patch4 -p1
 
 %build
 perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am
@@ -85,31 +85,30 @@
 %install
 install -d -m 755 "%{buildroot}/%{_sysconfdir}/%{name}"
 install -d -m 755 "%{buildroot}/%{_libdir}/%{name}"
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 rm -rf "%{buildroot}/%{_datadir}/libtool"
 # packaged in gui-gtk
 rm -f "%{buildroot}/%{_libdir}"/libmimerS.*
-rm -f %{buildroot}/%{_libdir}/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
 
 # bsc#1062860: we want psqlODBC instead of this unmaintained example driver
 rm -f "%{buildroot}/%{_libdir}"/unixODBC/libodbcpsql.*
 
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog NEWS README doc/*.html doc/*.gif
+%license COPYING
+%attr(644,root,root) %doc AUTHORS ChangeLog NEWS README doc/*.html doc/*.gif
 %docdir %{_mandir}
-%{_mandir}/man1/dltest.1.*
-%{_mandir}/man1/isql.1.*
-%{_mandir}/man1/iusql.1.*
-%{_mandir}/man1/odbc_config.1.*
-%{_mandir}/man1/odbcinst.1.*
-%{_mandir}/man5/odbc.ini.5.*
-%{_mandir}/man5/odbcinst.ini.5.*

commit unixODBC for openSUSE:Factory

2018-02-22 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2018-02-22 14:58:41

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


Package is "unixODBC"

Thu Feb 22 14:58:41 2018 rev:33 rq:578709 version:2.3.4

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2017-06-30 
18:38:43.156874048 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2018-02-22 
14:58:42.750063048 +0100
@@ -1,0 +2,7 @@
+Wed Feb 21 13:34:18 UTC 2018 - mvet...@suse.com
+
+- bsc#1062860: Don't install postgres example driver
+  psqlODBC package should be used instead of the example driver
+  provided by unixODBC (libodbcpsql.*). It is unmaintained.
+
+---



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.tXP8Ev/_old  2018-02-22 14:58:43.638031099 +0100
+++ /var/tmp/diff_new_pack.tXP8Ev/_new  2018-02-22 14:58:43.638031099 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -91,6 +91,9 @@
 rm -f "%{buildroot}/%{_libdir}"/libmimerS.*
 rm -f %{buildroot}/%{_libdir}/*.la
 
+# bsc#1062860: we want psqlODBC instead of this unmaintained example driver
+rm -f "%{buildroot}/%{_libdir}"/unixODBC/libodbcpsql.*
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig




commit unixODBC for openSUSE:Factory

2017-06-30 Thread root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2017-06-30 18:38:42

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


Package is "unixODBC"

Fri Jun 30 18:38:42 2017 rev:32 rq:505899 version:2.3.4

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2016-05-16 
12:02:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2017-06-30 
18:38:43.156874048 +0200
@@ -1,0 +2,5 @@
+Fri Jun 23 13:53:00 UTC 2017 - adam.ma...@suse.de
+
+- Enabled --enable-fastvalidate option in configure (bnc#1044970)
+
+---



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.ZX9u84/_old  2017-06-30 18:38:44.056747475 +0200
+++ /var/tmp/diff_new_pack.ZX9u84/_new  2017-06-30 18:38:44.056747475 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -73,6 +73,7 @@
 --enable-iconv \
 --with-iconv-char-enc=UTF8 \
 --with-iconv-ucode-enc=UTF16LE \
+--enable-fastvalidate \
 --enable-threads \
 --enable-gui=no \
 --disable-stats \




commit unixODBC for openSUSE:Factory

2016-05-16 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2016-05-16 12:02:48

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


Package is "unixODBC"

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2016-02-12 
11:21:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2016-05-16 
12:02:50.0 +0200
@@ -1,0 +2,11 @@
+Wed May 11 14:03:02 UTC 2016 - mvet...@suse.com
+
+- Requested by fate#319390
+
+---
+Wed May 11 12:47:22 UTC 2016 - mvet...@suse.com
+
+- Add comment in spec file so people know why the .so files are
+  not in the devel package
+
+---



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.JFfbcr/_old  2016-05-16 12:02:51.0 +0200
+++ /var/tmp/diff_new_pack.JFfbcr/_new  2016-05-16 12:02:51.0 +0200
@@ -125,6 +125,8 @@
 %{_libdir}/libodbccr.so
 %{_libdir}/%{name}
 
+# All .so files are in the main package as many ext apps
+# dlopen those so you need these on regular package.
 %files devel
 %defattr(-, root, root)
 %{_includedir}/*




commit unixODBC for openSUSE:Factory

2016-02-12 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2016-02-12 11:21:28

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


Package is "unixODBC"

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2015-09-11 
09:00:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2016-02-12 
11:21:30.0 +0100
@@ -1,0 +2,6 @@
+Thu Jan 28 00:16:53 UTC 2016 - markus.b...@web.de
+
+- dropped obsolete unixODBC-2.3.1-uninitialized.patch and
+  unixODBC-nonvoid.patch
+
+---

Old:

  unixODBC-2.3.1-uninitialized.patch
  unixODBC-nonvoid.patch



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.iTzvUD/_old  2016-02-12 11:21:31.0 +0100
+++ /var/tmp/diff_new_pack.iTzvUD/_new  2016-02-12 11:21:31.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,10 +27,8 @@
 Source2:baselibs.conf
 Patch1: unixODBC-paths.patch
 Patch5: unixODBC-iaddr.patch
-Patch6: unixODBC-nonvoid.patch
 Patch7: unixODBC-gccwarnings.patch
 Patch10:%{name}-2.3.1-libodbcinst-exports.patch
-Patch13:%{name}-2.3.1-uninitialized.patch
 Patch15:%{name}-2.3.1-bison.patch
 Patch16:%{name}-2.3.1-declarations.patch
 BuildRequires:  automake
@@ -58,10 +56,8 @@
 %setup -q
 %patch1
 %patch5
-%patch6
 %patch7
 %patch10
-%patch13
 %patch15
 %patch16
 




commit unixODBC for openSUSE:Factory

2015-09-11 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2015-09-11 09:00:33

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


Package is "unixODBC"

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2015-08-27 
08:54:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2015-09-11 
09:00:36.0 +0200
@@ -1,0 +2,6 @@
+Tue Sep  1 11:42:38 UTC 2015 - tchva...@suse.com
+
+- Version bump to 2.3.4:
+  * Fix typo in the loading of the cursor lib
+
+---

Old:

  unixODBC-2.3.3.tar.gz

New:

  unixODBC-2.3.4.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.mONIBP/_old  2015-09-11 09:00:37.0 +0200
+++ /var/tmp/diff_new_pack.mONIBP/_new  2015-09-11 09:00:37.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   unixODBC
-Version:2.3.3
+Version:2.3.4
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0+ and LGPL-2.1+

++ unixODBC-2.3.3.tar.gz -> unixODBC-2.3.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.3/ChangeLog new/unixODBC-2.3.4/ChangeLog
--- old/unixODBC-2.3.3/ChangeLog2015-08-22 18:40:04.0 +0200
+++ new/unixODBC-2.3.4/ChangeLog2015-08-31 12:06:00.0 +0200
@@ -1,4 +1,9 @@
-2.3.4pre
+32st-Aug-2015
+2.3.4
+
+* Fix typo in the loading of the cursor lib, reports
+
+   internal error, unexpected SHLIBEXT
 
 2nd-Aug-2015
 2.3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.3/DriverManager/SQLConnect.c 
new/unixODBC-2.3.4/DriverManager/SQLConnect.c
--- old/unixODBC-2.3.3/DriverManager/SQLConnect.c   2015-08-22 
18:39:05.0 +0200
+++ new/unixODBC-2.3.4/DriverManager/SQLConnect.c   2015-08-31 
11:59:27.0 +0200
@@ -2318,7 +2318,7 @@
}
else
{
-if ( strlen( SHLIBEXT ) + 1 < sizeof( ext )) {
+if ( strlen( SHLIBEXT ) + 1 > sizeof( ext )) {
 fprintf( stderr, "internal error, unexpected SHLIBEXT value 
('%s') may indicate a problem with configure\n", SHLIBEXT );
 abort();
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unixODBC-2.3.3/configure new/unixODBC-2.3.4/configure
--- old/unixODBC-2.3.3/configure2015-08-22 18:40:56.0 +0200
+++ new/unixODBC-2.3.4/configure2015-08-31 12:06:19.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for unixODBC 2.3.3.
+# Generated by GNU Autoconf 2.68 for unixODBC 2.3.4.
 #
 # Report bugs to .
 #
@@ -574,8 +574,8 @@
 # Identity of this package.
 PACKAGE_NAME='unixODBC'
 PACKAGE_TARNAME='unixODBC'
-PACKAGE_VERSION='2.3.3'
-PACKAGE_STRING='unixODBC 2.3.3'
+PACKAGE_VERSION='2.3.4'
+PACKAGE_STRING='unixODBC 2.3.4'
 PACKAGE_BUGREPORT='n...@unixodbc.org'
 PACKAGE_URL=''
 
@@ -1379,7 +1379,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures unixODBC 2.3.3 to adapt to many kinds of systems.
+\`configure' configures unixODBC 2.3.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1449,7 +1449,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of unixODBC 2.3.3:";;
+ short | recursive ) echo "Configuration of unixODBC 2.3.4:";;
esac
   cat <<\_ACEOF
 
@@ -1579,7 +1579,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-unixODBC configure 2.3.3
+unixODBC configure 2.3.4
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2226,7 +2226,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by unixODBC $as_me 2.3.3, which was
+It was created by unixODBC $as_me 2.3.4, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -3041,7 +3041,7 @@
 
 # Define the identity of the package.
  PACKAGE='unixODBC'
- VERSION='2.3.3'
+ VERSION='2.3.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -17434,7 +17434,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options 

commit unixODBC for openSUSE:Factory

2015-08-27 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2015-08-27 08:54:09

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


Package is unixODBC

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2014-12-03 
22:53:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2015-08-27 
08:54:11.0 +0200
@@ -1,0 +2,11 @@
+Mon Aug 24 22:20:32 UTC 2015 - z...@zekesdominion.com
+
+- update to version 2.3.3
+  * Various buffer overflow and unchecked memory references
+  * More ODBC 3.80 additions (streaming parameters)
+  * Allow setting custom non standard attributes via DMStmtAttr
+  * Add -L option to isql to increase max column data display
+  * More manual pages for the tools
+  * many other fixes, see http://www.unixodbc.org
+ 
+---

Old:

  unixODBC-2.3.2.tar.gz

New:

  unixODBC-2.3.3.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.0ZEGds/_old  2015-08-27 08:54:12.0 +0200
+++ /var/tmp/diff_new_pack.0ZEGds/_new  2015-08-27 08:54:12.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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,7 +17,7 @@
 
 
 Name:   unixODBC
-Version:2.3.2
+Version:2.3.3
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0+ and LGPL-2.1+
@@ -102,10 +102,14 @@
 %defattr(-, root, root)
 %doc AUTHORS COPYING ChangeLog NEWS README doc/*.html doc/*.gif
 %docdir %{_mandir}
+%{_mandir}/man1/dltest.1.*
 %{_mandir}/man1/isql.1.*
+%{_mandir}/man1/iusql.1.*
+%{_mandir}/man1/odbc_config.1.*
 %{_mandir}/man1/odbcinst.1.*
 %{_mandir}/man5/odbc.ini.5.*
 %{_mandir}/man5/odbcinst.ini.5.*
+%{_mandir}/man7/unixODBC.7.*
 %dir %{_sysconfdir}/%{name}
 %dir %{_sysconfdir}/%{name}/ODBCDataSources
 %dir %{_libdir}/%{name}

++ unixODBC-2.3.2.tar.gz - unixODBC-2.3.3.tar.gz ++
 46018 lines of diff (skipped)




commit unixODBC for openSUSE:Factory

2014-12-03 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2014-12-03 22:53:22

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


Package is unixODBC

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2014-09-15 
17:40:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2014-12-03 
22:53:23.0 +0100
@@ -1,0 +2,18 @@
+Mon Dec  1 12:25:00 UTC 2014 - tchva...@suse.com
+
+- Move all .so files from devel as many ext apps dlopen those so
+  you need these on regular package.
+- Clean up with spec-cleaner
+- Remove readme.suse as it is obsolete like hell
+- Wipe all la files as we don't provide static libs anyway
+- Do not append no-strict-aliasing to cflags, pointless
+- --enable-driverc enabled too
+
+---
+Thu Nov 27 10:40:29 UTC 2014 - jeng...@inai.de
+
+- Account for changes in libtool 2.4.3: remove ACLOCAL_AMFLAGS
+  and explicit libtoolize call.
+- Replace $RPM_BUILD_ROOT by macro (fits with the other macros used)
+
+---

Old:

  README.SuSE



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.iLQFd1/_old  2014-12-03 22:53:24.0 +0100
+++ /var/tmp/diff_new_pack.iLQFd1/_new  2014-12-03 22:53:24.0 +0100
@@ -17,22 +17,13 @@
 
 
 Name:   unixODBC
-BuildRequires:  bison
-BuildRequires:  gcc-c++
-BuildRequires:  libtool
 Version:2.3.2
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0+ and LGPL-2.1+
 Group:  Productivity/Databases/Tools
 Url:http://www.unixodbc.org/
-# bug437293
-%ifarch ppc64
-Obsoletes:  unixODBC-64bit
-%endif
-#
 Source: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
-Source1:README.SuSE
 Source2:baselibs.conf
 Patch1: unixODBC-paths.patch
 Patch5: unixODBC-iaddr.patch
@@ -42,40 +33,27 @@
 Patch13:%{name}-2.3.1-uninitialized.patch
 Patch15:%{name}-2.3.1-bison.patch
 Patch16:%{name}-2.3.1-declarations.patch
+BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  gcc-c++
+BuildRequires:  libltdl-devel
+BuildRequires:  libtool
+BuildRequires:  readline-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package devel
 Summary:Includes for ODBC Development
 Group:  Development/Libraries/C and C++
-# bug437293
-%ifarch ppc64
-Obsoletes:  unixODBC-devel-64bit
-%endif
-#
-Conflicts:  libiodbc-devel
 Requires:   %{name} = %{version}
+Conflicts:  libiodbc-devel
 
 %description
 UnixODBC aims to provide a complete ODBC solution for the Linux
 platform. Further drivers can be found at http://www.unixodbc.org/.
 
-
-
-Authors:
-
-Peter Harvey phar...@codebydesigns.com
-Nick Gorham n...@easysoft.com
-
 %description devel
 Includes for ODBC development (based on unixODBC).
 
-
-
-Authors:
-
-Peter Harvey phar...@codebydesigns.com
-Nick Gorham n...@easysoft.com
-
 %prep
 %setup -q
 %patch1
@@ -86,35 +64,35 @@
 %patch13
 %patch15
 %patch16
-install -m 644 %{S:1} .
 
 %build
+perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am
 export -n LANG LINGUAS LC_ALL
 rm -rf libltdl
-libtoolize --ltdl
-autoreconf --force --install
-export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
-export CXXFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
+autoreconf -fvi
 %configure \
-   --prefix=%{_prefix} \
-   --mandir=%{_mandir} \
-   --infodir=%{_infodir} \
-   --libdir=%{_libdir} \
+--with-gnu-ld \
+--enable-ltdllib \
--sysconfdir=%{_sysconfdir}/%{name} \
+--enable-iconv \
+--with-iconv-char-enc=UTF8 \
+--with-iconv-ucode-enc=UTF16LE \
+--enable-threads \
--enable-gui=no \
--disable-stats \
+--enable-driverc \
--enable-drivers \
--enable-driver-conf
-make
+make %{?_smp_mflags}
 
 %install
-install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
-install -d -m 755 $RPM_BUILD_ROOT/%{_libdir}/%{name}
-make DESTDIR=$RPM_BUILD_ROOT install
-rm -rf $RPM_BUILD_ROOT/usr/share/libtool
+install -d -m 755 %{buildroot}/%{_sysconfdir}/%{name}
+install -d -m 755 %{buildroot}/%{_libdir}/%{name}
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+rm -rf %{buildroot}/%{_datadir}/libtool
 # packaged in gui-gtk
-rm -f $RPM_BUILD_ROOT/%{_libdir}/libmimerS.*
-rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
+rm -f %{buildroot}/%{_libdir}/libmimerS.*
+rm -f %{buildroot}/%{_libdir}/*.la
 
 %post -p 

commit unixODBC for openSUSE:Factory

2014-09-15 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2014-09-15 17:40:43

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


Package is unixODBC

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2014-02-15 
17:22:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2014-09-15 
17:40:56.0 +0200
@@ -1,0 +2,10 @@
+Mon Sep  8 07:51:54 UTC 2014 - jeng...@inai.de
+
+- Turn Obsoletes: libiodbc-devel back into Conflicts.
+  The iODBC project has not shut down, and unixODBC-devel does
+  _not_ provide all files from iODBC, like libiodbc.pc.
+- Kill manual provides of libiodbc*.so, they are in the wrong spot
+  and thus never could have been effective.
+- Remove redundant %clean section.
+
+---



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.LLLQCC/_old  2014-09-15 17:40:58.0 +0200
+++ /var/tmp/diff_new_pack.LLLQCC/_new  2014-09-15 17:40:58.0 +0200
@@ -31,12 +31,6 @@
 Obsoletes:  unixODBC-64bit
 %endif
 #
-Provides:   libodbc.so
-Provides:   libodbcinst.so
-%ifarch ia64 x86_64 s390x ppc64
-Provides:   libodbc.so()(64bit)
-Provides:   libodbcinst.so()(64bit)
-%endif
 Source: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
 Source1:README.SuSE
 Source2:baselibs.conf
@@ -58,7 +52,7 @@
 Obsoletes:  unixODBC-devel-64bit
 %endif
 #
-Obsoletes:  libiodbc-devel
+Conflicts:  libiodbc-devel
 Requires:   %{name} = %{version}
 
 %description
@@ -122,9 +116,6 @@
 rm -f $RPM_BUILD_ROOT/%{_libdir}/libmimerS.*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig

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



commit unixODBC for openSUSE:Factory

2014-02-15 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2014-02-15 17:22:39

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


Package is unixODBC

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2013-04-05 
17:14:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2014-02-15 
17:22:40.0 +0100
@@ -1,0 +2,16 @@
+Tue Jan 28 02:29:44 UTC 2014 - adler_...@yahoo.com
+
+- Don't hard code gz extension for man pages
+
+---
+Fri Jan 24 01:08:59 UTC 2014 - adler_...@yahoo.com
+
+- update to version 2.3.2
+  * Some ODBC 3.80 support added
+  * Unicode/ANSI conversion fixes
+  * isql regained -e option since it was missing
+  * Add slencheck executable to try and find the sizeof(SQLLEN) from an 
installed driver 
+  * some man pages added
+  * many other fixes, see http://www.unixodbc.org 
+
+---

Old:

  unixODBC-2.3.1.tar.gz

New:

  unixODBC-2.3.2.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.Jh5y9Y/_old  2014-02-15 17:22:40.0 +0100
+++ /var/tmp/diff_new_pack.Jh5y9Y/_new  2014-02-15 17:22:40.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# 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
@@ -20,7 +20,7 @@
 BuildRequires:  bison
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-Version:2.3.1
+Version:2.3.2
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0+ and LGPL-2.1+
@@ -132,6 +132,11 @@
 %files 
 %defattr(-, root, root)
 %doc AUTHORS COPYING ChangeLog NEWS README README.SuSE doc/*.html doc/*.gif
+%docdir %{_mandir}
+%{_mandir}/man1/isql.1.*
+%{_mandir}/man1/odbcinst.1.*
+%{_mandir}/man5/odbc.ini.5.*
+%{_mandir}/man5/odbcinst.ini.5.*
 %dir %{_sysconfdir}/%{name}
 %dir %{_sysconfdir}/%{name}/ODBCDataSources
 %dir %{_libdir}/%{name}
@@ -142,6 +147,7 @@
 %{_prefix}/bin/iusql
 %{_prefix}/bin/odbcinst
 %{_prefix}/bin/odbc_config
+%{_prefix}/bin/slencheck
 %{_libdir}/libodbc.so.*
 %{_libdir}/libodbcinst.so.*
 %{_libdir}/libodbccr.so.*

++ unixODBC-2.3.1.tar.gz - unixODBC-2.3.2.tar.gz ++
 26510 lines of diff (skipped)

++ unixODBC-gccwarnings.patch ++
--- /var/tmp/diff_new_pack.Jh5y9Y/_old  2014-02-15 17:22:41.0 +0100
+++ /var/tmp/diff_new_pack.Jh5y9Y/_new  2014-02-15 17:22:41.0 +0100
@@ -122,16 +122,3 @@
  
  static intgetcmpopidxbyname(char* name)
  {
-Index: exe/iusql.c
-===
 exe/iusql.c.orig
-+++ exe/iusql.c
-@@ -29,6 +29,8 @@
- static int OpenDatabase( SQLHENV *phEnv, SQLHDBC *phDbc, char *szDSN, char 
*szUID, char *szPWD );
- static int ExecuteSQL( SQLHDBC hDbc, char *szSQL, char cDelimiter, int 
bColumnNames, int bHTMLTable );
- static int ExecuteHelp( SQLHDBC hDbc, char *szSQL, char cDelimiter, int 
bColumnNames, int bHTMLTable );
-+static int CloseDatabase( SQLHENV hEnv, SQLHDBC hDbc );
-+
- 
- static void WriteHeaderHTMLTable( SQLHSTMT hStmt );
- static void WriteHeaderNormal( SQLHSTMT hStmt, SQLCHAR*szSepLine );

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



commit unixODBC for openSUSE:Factory

2013-04-05 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2013-04-05 17:14:17

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


Package is unixODBC, Maintainer is mhruse...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2013-03-13 
07:33:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2013-04-05 
17:14:17.0 +0200
@@ -1,0 +2,6 @@
+Fri Apr  5 10:09:59 UTC 2013 - idon...@suse.com
+
+- Cleanup spec file
+- Add Source URL, see https://en.opensuse.org/SourceUrls
+
+---

Old:

  unixODBC-2.3.1.tar.bz2

New:

  unixODBC-2.3.1.tar.gz



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.56xvkE/_old  2013-04-05 17:14:19.0 +0200
+++ /var/tmp/diff_new_pack.56xvkE/_new  2013-04-05 17:14:19.0 +0200
@@ -15,27 +15,29 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   unixODBC
-BuildRequires:  bison gcc-c++ libtool
+BuildRequires:  bison
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
 Version:2.3.1
 Release:0
 Summary:ODBC driver manager with some drivers included
 License:GPL-2.0+ and LGPL-2.1+
-Url:http://www.unixodbc.org/
 Group:  Productivity/Databases/Tools
+Url:http://www.unixodbc.org/
 # bug437293
 %ifarch ppc64
 Obsoletes:  unixODBC-64bit
 %endif
 #
-Provides:   libodbcinst.so, libodbc.so
+Provides:   libodbc.so
+Provides:   libodbcinst.so
 %ifarch ia64 x86_64 s390x ppc64
-Provides:   libodbcinst.so()(64bit), libodbc.so()(64bit)
+Provides:   libodbc.so()(64bit)
+Provides:   libodbcinst.so()(64bit)
 %endif
-Source: unixODBC-%{version}.tar.bz2
+Source: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
 Source1:README.SuSE
 Source2:baselibs.conf
 Patch1: unixODBC-paths.patch
@@ -49,10 +51,8 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package devel
-License:GPL-2.0+ and LGPL-2.1+
 Summary:Includes for ODBC Development
 Group:  Development/Libraries/C and C++
-AutoReqProv:on
 # bug437293
 %ifarch ppc64
 Obsoletes:  unixODBC-devel-64bit

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



commit unixODBC for openSUSE:Factory

2013-03-13 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2013-03-13 07:33:24

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


Package is unixODBC, Maintainer is mhruse...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes2011-11-28 
12:58:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes   2013-03-13 
07:33:32.0 +0100
@@ -1,0 +2,31 @@
+Fri Jan  4 15:04:52 CET 2013 - mhruse...@suse.cz
+
+- Adding missing includes
+
+---
+Fri Jan  4 13:02:10 CET 2013 - mhruse...@suse.cz
+
+- fixed compilation issues with bison
+
+---
+Tue Nov 27 09:04:52 UTC 2012 - cfarr...@suse.com
+
+- license update: GPL-2.0+ and LGPL-2.1+
+  Semicolon is ambigous. Use ^and^ or ^or^ depending on the nature of the
+  interaction of the license code componentes
+
+---
+Wed Nov  7 11:46:34 CET 2012 - mhruse...@suse.cz
+
+- Including some basic drivers
+
+---
+Tue Nov  6 10:35:00 CET 2012 - mhruse...@suse.cz
+
+- updated to versio 2.3.1
+  * reduced unixODBC, after the GUI and additional driver parts have
+been split off to their own project.
+  * change to the new default SQLLEN size for 64 bit platforms
+  * number of bug fixes and changes, see http://www.unixodbc.org/
+
+---

Old:

  unixODBC-2.2.12-CVE-2011-1145.patch
  unixODBC-2.2.12-ctracing.patch
  unixODBC-2.2.12-dm.patch
  unixODBC-2.2.12-flex.patch
  unixODBC-2.2.12-libodbcinst-exports.patch
  unixODBC-2.2.12-locking_fix.patch
  unixODBC-2.2.12-sqp.patch
  unixODBC-2.2.12-uninitialized.patch
  unixODBC-2.2.12.tar.bz2
  unixODBC-gui-qt.changes
  unixODBC-gui-qt.spec
  unixODBC-odbctest.patch

New:

  unixODBC-2.3.1-bison.patch
  unixODBC-2.3.1-declarations.patch
  unixODBC-2.3.1-libodbcinst-exports.patch
  unixODBC-2.3.1-uninitialized.patch
  unixODBC-2.3.1.tar.bz2



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.iN6iw3/_old  2013-03-13 07:33:38.0 +0100
+++ /var/tmp/diff_new_pack.iN6iw3/_new  2013-03-13 07:33:38.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package unixODBC
 #
-# Copyright (c) 2011 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
@@ -19,11 +19,11 @@
 
 
 Name:   unixODBC
-BuildRequires:  gcc-c++ libtool
-Version:2.2.12
+BuildRequires:  bison gcc-c++ libtool
+Version:2.3.1
 Release:0
 Summary:ODBC driver manager with some drivers included
-License:GPL-2.0+ ; LGPL-2.1+
+License:GPL-2.0+ and LGPL-2.1+
 Url:http://www.unixodbc.org/
 Group:  Productivity/Databases/Tools
 # bug437293
@@ -39,22 +39,18 @@
 Source1:README.SuSE
 Source2:baselibs.conf
 Patch1: unixODBC-paths.patch
-Patch4: unixODBC-odbctest.patch
 Patch5: unixODBC-iaddr.patch
 Patch6: unixODBC-nonvoid.patch
 Patch7: unixODBC-gccwarnings.patch
-Patch8: unixODBC-%{version}-dm.patch
-Patch10:%{name}-%{version}-libodbcinst-exports.patch
-Patch11:%{name}-%{version}-flex.patch
-Patch12:%{name}-%{version}-sqp.patch
-Patch13:%{name}-%{version}-uninitialized.patch
-Patch14:unixODBC-2.2.12-CVE-2011-1145.patch
-Patch15:unixODBC-2.2.12-locking_fix.patch
+Patch10:%{name}-2.3.1-libodbcinst-exports.patch
+Patch13:%{name}-2.3.1-uninitialized.patch
+Patch15:%{name}-2.3.1-bison.patch
+Patch16:%{name}-2.3.1-declarations.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package devel
-License:GPL-2.0+ ; LGPL-2.1+
-Summary:Includes and Static Libraries for ODBC Development
+License:GPL-2.0+ and LGPL-2.1+
+Summary:Includes for ODBC Development
 Group:  Development/Libraries/C and C++
 AutoReqProv:on
 # bug437293
@@ -77,7 +73,7 @@
 Nick Gorham n...@easysoft.com
 
 %description devel
-Includes and static libraries for ODBC development (based on unixODBC).
+Includes for ODBC development (based on unixODBC).
 
 
 
@@ -89,24 +85,22 @@
 %prep
 %setup -q
 %patch1
-%patch4
 %patch5
 %patch6
 %patch7
-#patch8 -p1
 %patch10
-%patch11
-%patch12
 %patch13
-%patch14 

commit unixODBC for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2011-12-06 19:10:35

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


Package is unixODBC, Maintainer is mhruse...@suse.com

Changes:

unixODBC.changes: same change



Other differences:
--
++ unixODBC-gui-qt.spec ++
--- /var/tmp/diff_new_pack.Uo7dpu/_old  2011-12-06 19:44:59.0 +0100
+++ /var/tmp/diff_new_pack.Uo7dpu/_new  2011-12-06 19:44:59.0 +0100
@@ -24,7 +24,7 @@
 Version:2.2.12
 Release:0
 Summary:ODBC Configuration  Utility, Data Source Browser, and ODBC 
Test Tool based
-License:GPLv2+
+License:GPL-2.0+
 Url:http://www.unixodbc.org/
 Group:  Productivity/Databases/Tools
 Requires:   unixODBC = %{version}

++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.Uo7dpu/_old  2011-12-06 19:44:59.0 +0100
+++ /var/tmp/diff_new_pack.Uo7dpu/_new  2011-12-06 19:44:59.0 +0100
@@ -23,7 +23,7 @@
 Version:2.2.12
 Release:0
 Summary:ODBC driver manager with some drivers included
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Url:http://www.unixodbc.org/
 Group:  Productivity/Databases/Tools
 # bug437293
@@ -53,7 +53,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package devel
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Summary:Includes and Static Libraries for ODBC Development
 Group:  Development/Libraries/C and C++
 AutoReqProv:on

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



commit unixODBC for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory
checked in at Mon Sep 19 21:27:10 CEST 2011.




--- unixODBC/unixODBC.changes   2011-06-13 11:20:12.0 +0200
+++ /mounts/work_src_done/STABLE/unixODBC/unixODBC.changes  2011-06-20 
17:08:43.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 20 17:03:39 CEST 2011 - mhruse...@suse.cz
+
+- fixed mutex locking (bnc#637115)
+  - patch by Petr Vandrovec
+
+---

calling whatdependson for head-i586


New:

  unixODBC-2.2.12-locking_fix.patch



Other differences:
--
++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.MvEVH1/_old  2011-09-19 21:27:06.0 +0200
+++ /var/tmp/diff_new_pack.MvEVH1/_new  2011-09-19 21:27:06.0 +0200
@@ -50,6 +50,7 @@
 Patch12:%{name}-%{version}-sqp.patch
 Patch13:%{name}-%{version}-uninitialized.patch
 Patch14:unixODBC-2.2.12-CVE-2011-1145.patch
+Patch15:unixODBC-2.2.12-locking_fix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package devel
@@ -99,6 +100,7 @@
 %patch12
 %patch13
 %patch14 -p1
+%patch15 -p1
 install -m 644 %{S:1} .
 
 %build

++ unixODBC-2.2.12-locking_fix.patch ++
diff -urN unixODBC-2.2.12.orig/DriverManager/SQLAllocHandle.c 
unixODBC-2.2.12/DriverManager/SQLAllocHandle.c
--- unixODBC-2.2.12.orig/DriverManager/SQLAllocHandle.c 2010-09-03 
13:22:09.0 -0700
+++ unixODBC-2.2.12/DriverManager/SQLAllocHandle.c  2010-09-03 
13:26:23.0 -0700
@@ -1235,6 +1235,8 @@
if ( __validate_env( (DMHENV) input_handle ))
{
DMHENV environment = (DMHENV) input_handle;
+
+   thread_protect( SQL_HANDLE_ENV, environment );
__post_internal_error( environment - error,
ERROR_HY092, NULL,
environment - 
requested_version );
@@ -1244,6 +1246,8 @@
else if ( __validate_dbc( (DMHDBC) input_handle ))
{
DMHDBC connection = (DMHDBC) input_handle;
+
+   thread_protect( SQL_HANDLE_DBC, connection );
__post_internal_error( connection - error,
ERROR_HY092, NULL,
connection - environment - 
requested_version );
diff -urN unixODBC-2.2.12.orig/DriverManager/SQLBrowseConnect.c 
unixODBC-2.2.12/DriverManager/SQLBrowseConnect.c
--- unixODBC-2.2.12.orig/DriverManager/SQLBrowseConnect.c   2005-11-21 
09:25:43.0 -0800
+++ unixODBC-2.2.12/DriverManager/SQLBrowseConnect.c2010-09-03 
13:26:23.0 -0700
@@ -259,7 +259,7 @@
 ERROR_08002, NULL, 
 connection - environment - requested_version );
 
-return function_return( -1, connection, SQL_ERROR );
+return function_return( IGNORE_THREAD, connection, SQL_ERROR );
 }
 
 thread_protect( SQL_HANDLE_DBC, connection );
@@ -578,7 +578,7 @@
 
 if( ret == SQL_SUCCESS_WITH_INFO )
 {
-function_return_ex( SQL_HANDLE_DBC, connection, ret, TRUE );
+function_return_ex( IGNORE_THREAD, connection, ret, TRUE );
 }
 
 if ( !__connect_part_two( connection ))
diff -urN unixODBC-2.2.12.orig/DriverManager/SQLBrowseConnectW.c 
unixODBC-2.2.12/DriverManager/SQLBrowseConnectW.c
--- unixODBC-2.2.12.orig/DriverManager/SQLBrowseConnectW.c  2005-09-27 
08:44:06.0 -0700
+++ unixODBC-2.2.12/DriverManager/SQLBrowseConnectW.c   2010-09-03 
13:26:23.0 -0700
@@ -595,7 +595,7 @@
 
 if( ret == SQL_SUCCESS_WITH_INFO )
 {
-function_return_ex( SQL_HANDLE_DBC, connection, ret, TRUE );
+function_return_ex( IGNORE_THREAD, connection, ret, TRUE );
 }
 
 if ( !__connect_part_two( connection ))
diff -urN unixODBC-2.2.12.orig/DriverManager/SQLColAttribute.c 
unixODBC-2.2.12/DriverManager/SQLColAttribute.c
--- unixODBC-2.2.12.orig/DriverManager/SQLColAttribute.c2006-03-08 
01:18:41.0 -0800
+++ unixODBC-2.2.12/DriverManager/SQLColAttribute.c 2010-09-03 
13:30:30.0 -0700
@@ -314,7 +314,7 @@
 __post_internal_error( statement - error,
 ERROR_07009, NULL,
 statement - connection - environment - requested_version );
-return function_return( statement, SQL_ERROR );
+return function_return( SQL_HANDLE_STMT, statement, SQL_ERROR );
 }

*/
diff -urN unixODBC-2.2.12.orig/DriverManager/SQLColAttributeW.c 
unixODBC-2.2.12/DriverManager/SQLColAttributeW.c
--- unixODBC-2.2.12.orig/DriverManager/SQLColAttributeW.c   2005-09-27 
08:44:06.0 -0700
+++ unixODBC-2.2.12/DriverManager/SQLColAttributeW.c

commit unixODBC for openSUSE:Factory

2011-06-14 Thread h_root

Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory
checked in at Tue Jun 14 10:58:21 CEST 2011.




--- unixODBC/unixODBC-gui-qt.changes2008-10-13 17:00:11.0 +0200
+++ /mounts/work_src_done/STABLE/unixODBC/unixODBC-gui-qt.changes   
2011-06-13 11:20:11.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 13 11:17:00 CEST 2011 - mhruse...@suse.cz
+
+- fixed CVE-2011-1145 (bnc#678796)
+
+---
--- unixODBC/unixODBC.changes   2009-12-19 13:43:18.0 +0100
+++ /mounts/work_src_done/STABLE/unixODBC/unixODBC.changes  2011-06-13 
11:20:12.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 13 11:17:49 CEST 2011 - mhruse...@suse.cz
+
+- fixed CVE-2011-1145 (bnc#678796)
+
+---

calling whatdependson for head-i586


New:

  unixODBC-2.2.12-CVE-2011-1145.patch



Other differences:
--
++ unixODBC-gui-qt.spec ++
--- /var/tmp/diff_new_pack.4tt3V9/_old  2011-06-14 10:55:52.0 +0200
+++ /var/tmp/diff_new_pack.4tt3V9/_new  2011-06-14 10:55:52.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package unixODBC-gui-qt (Version 2.2.12)
+# spec file for package unixODBC-gui-qt
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -21,7 +21,7 @@
 Name:   unixODBC-gui-qt
 BuildRequires:  qt3-devel
 Version:2.2.12
-Release:200
+Release:206
 Summary:ODBC Configuration  Utility, Data Source Browser, and ODBC 
Test Tool based
 License:GPLv2+
 Url:http://www.unixodbc.org/
@@ -39,6 +39,7 @@
 Patch10:unixODBC-%{version}-libodbcinst-exports.patch
 Patch11:unixODBC-%{version}-flex.patch
 Patch12:unixODBC-%{version}-ctracing.patch
+Patch13:unixODBC-2.2.12-CVE-2011-1145.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -62,6 +63,7 @@
 %patch10
 %patch11
 %patch12
+%patch13 -p1
 install -m 644 %{S:1} .
 
 %build

++ unixODBC.spec ++
--- /var/tmp/diff_new_pack.4tt3V9/_old  2011-06-14 10:55:52.0 +0200
+++ /var/tmp/diff_new_pack.4tt3V9/_new  2011-06-14 10:55:52.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package unixODBC (Version 2.2.12)
+# spec file for package unixODBC
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -21,7 +21,7 @@
 Name:   unixODBC
 BuildRequires:  gcc-c++
 Version:2.2.12
-Release:122
+Release:209
 Summary:ODBC driver manager with some drivers included
 License:GPLv2+ ; LGPLv2.1+
 Url:http://www.unixodbc.org/
@@ -49,6 +49,7 @@
 Patch11:%{name}-%{version}-flex.patch
 Patch12:%{name}-%{version}-sqp.patch
 Patch13:%{name}-%{version}-uninitialized.patch
+Patch14:unixODBC-2.2.12-CVE-2011-1145.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package devel
@@ -97,6 +98,7 @@
 %patch11
 %patch12
 %patch13
+%patch14 -p1
 install -m 644 %{S:1} .
 
 %build

++ unixODBC-2.2.12-CVE-2011-1145.patch ++
--- trunk/DriverManager/SQLDriverConnect.c  2011/01/12 15:50:07 23
+++ trunk/DriverManager/SQLDriverConnect.c  2011/03/09 15:38:55 27
@@ -664,7 +664,7 @@
 {
 DMHDBC connection = (DMHDBC)hdbc;
 struct con_struct con_struct;
-char *driver, *dsn = NULL, *filedsn, *tsavefile, savefile[ 128 ];
+char *driver, *dsn = NULL, *filedsn, *tsavefile, savefile[ 
INI_MAX_PROPERTY_VALUE + 1 ];
 char lib_name[ INI_MAX_PROPERTY_VALUE + 1 ];
 char driver_name[ INI_MAX_PROPERTY_VALUE + 1 ];
 SQLRETURN ret_from_connect;
@@ -969,7 +969,13 @@
 tsavefile = __get_attribute_value( con_struct, SAVEFILE );
 if ( tsavefile )
 {
-strcpy( savefile, tsavefile );
+if ( strlen( tsavefile )  INI_MAX_PROPERTY_VALUE ) {
+memcpy( savefile, tsavefile, INI_MAX_PROPERTY_VALUE );
+savefile[ INI_MAX_PROPERTY_VALUE ] = '\0';
+}
+else {
+strcpy( savefile, tsavefile );
+}
 }
 else
 {





Remember to have fun...

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