SHA256
8
0
forked from pool/iodbc

Compare commits

...

14 Commits

Author SHA256 Message Date
cd4e732b0c Accepting request 1111519 from devel:libraries:c_c++
- Update to 3.52.16
  * Fixed issue with generic setup dialogs on macOS not saving values
  * Fixed issue when creating new DSN via generic setup dialogs
    on macOS BigSur
  * Fixed issue with new vertical layout for Alerts on macOS BigSur
  * Fixed support for modern limit path name size
  * Fixed SQLBindParameter trace when bind offset is in use (#80)
  * Fixed SQLGetInstalledDrivers single entry error (#79)
  * Fixed silent truncation of 'long' diagnostic messages in
    SQLGetDiagRec (#78)
  * Fixed missing comma (#72)
  * Fixed potential memory leak (#71)
  * Fixed truncation of SQL_C_WCHAR parameter value when
    BufferLength=0 and length=SQL_NTS (#68)
  * Fixed issue overriding SQL_DEFAULT_PARAM length indicator (#67)
  * Fixed issue with input parameter data when using parameter arrays (#66)
  * Fixed compiler warnings
  * Fixed version check of build tools
  * Updated documents
- Changelog from 3.52.15:
  * Added support for macOS Big Sur (11.x) on Apple Silicon using
    a universal build
  * Fixed title to show CPU architecture used
  * Fixed length of error message buffer
  * Fixed small portability issues
  * Removed support for Mac OS X Snow Leopard (10.6) and older
  * Removed deprecated iODBCcfmbridge for PPC
- Remove upstreamed fix-nonvoid-return.diff

OBS-URL: https://build.opensuse.org/request/show/1111519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=26
2023-09-15 20:05:36 +00:00
e61ceac7d5 - Update to 3.52.16
* Fixed issue with generic setup dialogs on macOS not saving values
  * Fixed issue when creating new DSN via generic setup dialogs
    on macOS BigSur
  * Fixed issue with new vertical layout for Alerts on macOS BigSur
  * Fixed support for modern limit path name size
  * Fixed SQLBindParameter trace when bind offset is in use (#80)
  * Fixed SQLGetInstalledDrivers single entry error (#79)
  * Fixed silent truncation of 'long' diagnostic messages in
    SQLGetDiagRec (#78)
  * Fixed missing comma (#72)
  * Fixed potential memory leak (#71)
  * Fixed truncation of SQL_C_WCHAR parameter value when
    BufferLength=0 and length=SQL_NTS (#68)
  * Fixed issue overriding SQL_DEFAULT_PARAM length indicator (#67)
  * Fixed issue with input parameter data when using parameter arrays (#66)
  * Fixed compiler warnings
  * Fixed version check of build tools
  * Updated documents
- Changelog from 3.52.15:
  * Added support for macOS Big Sur (11.x) on Apple Silicon using
    a universal build
  * Fixed title to show CPU architecture used
  * Fixed length of error message buffer
  * Fixed small portability issues
  * Removed support for Mac OS X Snow Leopard (10.6) and older
  * Removed deprecated iODBCcfmbridge for PPC
- Remove upstreamed fix-nonvoid-return.diff

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=21
2023-09-15 10:07:10 +00:00
301df7eb80 Accepting request 972830 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/972830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=25
2022-04-26 18:15:46 +00:00
23114aaa96 Accepting request 972828 from home:jengelh:branches:devel:libraries:c_c++
- Resolve rpmlint report "libiodbc3.x86_64: E:
  shlib-policy-name-error SONAME: libiodbc.so.2, expected package
  suffix: 2"

OBS-URL: https://build.opensuse.org/request/show/972828
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=19
2022-04-26 10:53:23 +00:00
372d240417 Accepting request 896829 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/896829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=24
2021-06-02 20:12:14 +00:00
412d44556c Accepting request 896404 from home:susnux:branches:devel:libraries:c_c++
Update to version 3.52.14

OBS-URL: https://build.opensuse.org/request/show/896404
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=17
2021-06-02 06:47:41 +00:00
96607243cd Accepting request 452694 from devel:libraries:c_c++
1

OBS-URL: https://build.opensuse.org/request/show/452694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=23
2017-01-29 09:38:34 +00:00
Tomáš Chvátal
6963e09ed0 Accepting request 452692 from home:adamm:branches:devel:libraries:c_c++
Yes, I keep forgetting those trivial patch changes ;) Fixed.

- Update to version 0.52.12:
  * Added 64bit version of the iODBC Administrator to configure
    and test DSNs on drivers that are only available in 64bit
    format
  * Documentation fixes
- Changes in version 0.52.11:
  * Added support for x86_64 to iODBC Demo
  * Fix crash ODBCdemo - error message overwrite stack data
  * Fix iODBCdemo issue with UID/PWD values
  * Fixed crash in iODBC DM on push of "Test" button when 64bit
    ODBC driver is used.
  * Fixed crash when create_dsnsetup fails to load the window.
  * Fixed crash when passing an empty connect string with no
    window handle
  * Fixed crash when passing an empty connect string with no
    window handle.
  * Fixed issue in SQLGetInfo
  * Fixed crash when create_dsnsetup fails to load the window
- fix-nonvoid-return.diff: submitted upstream

OBS-URL: https://build.opensuse.org/request/show/452692
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=15
2017-01-26 13:08:21 +00:00
9afeb80468 Accepting request 290649 from devel:libraries:c_c++
- Version bump to 0.52.10:
  * Fixed issue with ~/Library/ODBC/odbc[inst].ini on Mac OS X
  * Added build support for Mac OS X 10.10
  * Updated iODBC Administrator
  * Updated iODBC Demo
  * Fixed string truncation in Unicode <-> Ansi conversion on some API calls

OBS-URL: https://build.opensuse.org/request/show/290649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=22
2015-03-18 12:04:09 +00:00
Tomáš Chvátal
f4333bae55 - Version bump to 0.52.10:
* Fixed issue with ~/Library/ODBC/odbc[inst].ini on Mac OS X
  * Added build support for Mac OS X 10.10
  * Updated iODBC Administrator
  * Updated iODBC Demo
  * Fixed string truncation in Unicode <-> Ansi conversion on some API calls

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=13
2015-03-13 13:31:20 +00:00
8dc0087135 Accepting request 282533 from devel:libraries:c_c++
1

OBS-URL: https://build.opensuse.org/request/show/282533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=21
2015-01-23 14:47:50 +00:00
Stephan Kulow
d8896525da Accepting request 180995 from devel:libraries:c_c++
- Set proper extension for tar archive

OBS-URL: https://build.opensuse.org/request/show/180995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=18
2013-06-28 10:05:31 +00:00
Stephan Kulow
51850a09b1 Accepting request 142237 from devel:libraries:c_c++
Update to 3.52.8 (forwarded request 142201 from cgiboudeaux)

OBS-URL: https://build.opensuse.org/request/show/142237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=16
2012-11-21 16:01:40 +00:00
Stephan Kulow
2144086056 Accepting request 132770 from devel:libraries:c_c++
license update: LGPL-2.0 or BSD-3-Clause
See COPYING file. Note that the only valid version of the LGPL for iodbc is the original ^library gpl^ - not version 2.1 (forwarded request 132731 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/132770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=15
2012-09-06 06:47:56 +00:00
6 changed files with 175 additions and 83 deletions

View File

@@ -1,12 +0,0 @@
--- iodbcadm/gtk/confirm.c.sav 2009-05-28 20:29:31.000000000 +0200
+++ iodbcadm/gtk/confirm.c 2009-05-28 20:33:31.000000000 +0200
@@ -72,6 +72,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <odbcinst.h>
#include <unicode.h>

View File

@@ -1,10 +0,0 @@
diff --git a/iodbcadm/gtk/confirm.c b/iodbcadm/gtk/confirm.c
index 35b4394..5f26b8f 100644
--- a/iodbcadm/gtk/confirm.c
+++ b/iodbcadm/gtk/confirm.c
@@ -266,4 +266,5 @@ create_confirmw (HWND hwnd, LPCWSTR dsn, LPCWSTR text)
free(_dsn);
if (_text)
free(_text);
+ return TRUE;
}

View File

@@ -1,3 +1,106 @@
-------------------------------------------------------------------
Fri Sep 15 10:03:20 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 3.52.16
* Fixed issue with generic setup dialogs on macOS not saving values
* Fixed issue when creating new DSN via generic setup dialogs
on macOS BigSur
* Fixed issue with new vertical layout for Alerts on macOS BigSur
* Fixed support for modern limit path name size
* Fixed SQLBindParameter trace when bind offset is in use (#80)
* Fixed SQLGetInstalledDrivers single entry error (#79)
* Fixed silent truncation of 'long' diagnostic messages in
SQLGetDiagRec (#78)
* Fixed missing comma (#72)
* Fixed potential memory leak (#71)
* Fixed truncation of SQL_C_WCHAR parameter value when
BufferLength=0 and length=SQL_NTS (#68)
* Fixed issue overriding SQL_DEFAULT_PARAM length indicator (#67)
* Fixed issue with input parameter data when using parameter arrays (#66)
* Fixed compiler warnings
* Fixed version check of build tools
* Updated documents
- Changelog from 3.52.15:
* Added support for macOS Big Sur (11.x) on Apple Silicon using
a universal build
* Fixed title to show CPU architecture used
* Fixed length of error message buffer
* Fixed small portability issues
* Removed support for Mac OS X Snow Leopard (10.6) and older
* Removed deprecated iODBCcfmbridge for PPC
- Remove upstreamed fix-nonvoid-return.diff
-------------------------------------------------------------------
Tue Apr 26 10:39:10 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Resolve rpmlint report "libiodbc3.x86_64: E:
shlib-policy-name-error SONAME: libiodbc.so.2, expected package
suffix: 2"
-------------------------------------------------------------------
Mon May 31 16:04:11 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 3.52.14
* Fixed: SQLSetEnvAttr doesn't return SQL_SUCCESS for option
SQL_ATTR_APP_UNICODE_TYPE
* Fixed: issue with switching ODBC driver to best supported
Unicode codepage
* Fixed: misprint in SQLBrowseConnect
* Fixed: SQLGetConnectOption returned wrong value for
SQL_CURRENT_QUALIFIER
* Fixed: mixing calls to SQLFetchScroll with SQLFetch
* Fixed: Misc Unicode issues
* Added extra validation for SQLAllocHandle
* Added missing define SQL_CONVERT_GUID
* Fixed issue using heap after free in SQLConnect_internal
* Fixed issue with global mutex
* Fixed SQLSetStmtAttr to cache the correct values for
SQL_ATTR_ROW_ARRAY_SIZE and SQL_ATTR_ROW_BIND_TYPE
* Fixed format specifiers and some casts to fix trace output
* Fixed missing check for section in SQLGetPrivateProfileString
* Fixed non-void function needs to return a value
* Fixed iODBC apps/frameworks CFBundleGetInfoString attribute
* Fixed small memory leaks
- Split library packages, so other packages can require only
needed ones
- Refresh fix-nonvoid-return.diff
- Drop config-h.diff
-------------------------------------------------------------------
Thu Jan 26 11:05:59 UTC 2017 - adam.majer@suse.de
- Update to version 0.52.12:
* Added 64bit version of the iODBC Administrator to configure
and test DSNs on drivers that are only available in 64bit
format
* Documentation fixes
- Changes in version 0.52.11:
* Added support for x86_64 to iODBC Demo
* Fix crash ODBCdemo - error message overwrite stack data
* Fix iODBCdemo issue with UID/PWD values
* Fixed crash in iODBC DM on push of "Test" button when 64bit
ODBC driver is used.
* Fixed crash when create_dsnsetup fails to load the window.
* Fixed crash when passing an empty connect string with no
window handle
* Fixed crash when passing an empty connect string with no
window handle.
* Fixed issue in SQLGetInfo
* Fixed crash when create_dsnsetup fails to load the window
- fix-nonvoid-return.diff: submitted upstream
-------------------------------------------------------------------
Fri Mar 13 13:25:55 UTC 2015 - tchvatal@suse.com
- Version bump to 0.52.10:
* Fixed issue with ~/Library/ODBC/odbc[inst].ini on Mac OS X
* Added build support for Mac OS X 10.10
* Updated iODBC Administrator
* Updated iODBC Demo
* Fixed string truncation in Unicode <-> Ansi conversion on some API calls
-------------------------------------------------------------------
Wed Jan 21 23:43:48 UTC 2015 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package iodbc
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,108 +12,117 @@
# 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: iodbc
Version: 3.52.9
Version: 3.52.16
Release: 0
Summary: ODBC compliant driver manager
License: LGPL-2.0 or BSD-3-Clause
License: BSD-3-Clause OR LGPL-2.0-only
Group: Development/Libraries/C and C++
Url: http://www.iodbc.org/
Source: http://sourceforge.net/projects/iodbc/files/iodbc/%{version}/libiodbc-%{version}.tar.gz
Patch1: fix-nonvoid-return.diff
Patch2: config-h.diff
%if 0%{?suse_version} > 1110
URL: http://www.iodbc.org/
Source: https://download.sourceforge.net/iodbc/libiodbc-%{version}.tar.gz
BuildRequires: pkgconfig(gtk+-2.0)
%else
BuildRequires: gtk2-devel
%endif
Requires: libiodbc3 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The iODBC Driver Manager is a free implementation of the SAG CLI and
The iODBC Driver Manager is an implementation of the SAG CLI and
ODBC compliant driver manager which allows developers to write ODBC
compliant applications that can connect to various databases using
appropriate backend drivers.
%package -n libiodbc-devel
Summary: Include Files and Libraries mandatory for Development
Summary: Headers for iODBC
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%if 0%{?suse_version} > 1110
Requires: libdrvproxy2 = %{version}
Requires: libiodbc2 = %{version}
Requires: libiodbcadm2 = %{version}
Requires: pkgconfig(gtk+-2.0)
%else
Requires: gtk2-devel
%endif
%description -n libiodbc-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
This package contains headers for the iODBC Driver Manager.
%package -n libiodbc3
%package -n libiodbc2
Summary: Libraries needed to run iODBC
Group: Development/Libraries/C and C++
Group: System/Libraries
Conflicts: libiodbc3 <= 3.52.14
%description -n libiodbc3
The iODBC Driver Manager is a free implementation of the SAG CLI and
%description -n libiodbc2
The iODBC Driver Manager is an implementation of the SAG CLI andx
ODBC compliant driver manager which allows developers to write ODBC
compliant applications that can connect to various databases using
appropriate backend drivers.
This package provides the shared libraries needed by iODBC
This package provides the shared libraries needed by iODBC.
%package -n libdrvproxy2
Summary: Administration library for iODBC
Group: System/Libraries
%description -n libdrvproxy2
This package provides libdrvproxy for administering iODBC
%package -n libiodbcadm2
Summary: Administration library for iODBC
Group: System/Libraries
%description -n libiodbcadm2
This package provides libiodbcadm for administering iODBC
%package admin
Summary: Administration tools for iODBC
Group: Development/Libraries/C and C++
%description admin
The iODBC Driver Manager is a free implementation of the SAG CLI and
The iODBC Driver Manager is an implementation of the SAG CLI and
ODBC compliant driver manager which allows developers to write ODBC
compliant applications that can connect to various databases using
appropriate backend drivers.
This package provides tools for configuring and administering iODBC
This package provides tools for configuring and administering iODBC.
%prep
%setup -q -n libiodbc-%{version}
%patch1 -p1
%patch2
%autosetup -n libiodbc-%{version} -p1
%build
%configure --disable-static --disable-libodbc
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make
%configure \
--disable-static \
--disable-libodbc \
--disable-dependency-tracking
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%makeinstall
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libiodbc3 -p /sbin/ldconfig
%postun -n libiodbc3 -p /sbin/ldconfig
%post -n iodbc-admin -p /sbin/ldconfig
%postun -n iodbc-admin -p /sbin/ldconfig
%post -n libiodbc2 -p /sbin/ldconfig
%postun -n libiodbc2 -p /sbin/ldconfig
%post -n libiodbcadm2 -p /sbin/ldconfig
%postun -n libiodbcadm2 -p /sbin/ldconfig
%post -n libdrvproxy2 -p /sbin/ldconfig
%postun -n libdrvproxy2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license LICENSE
%{_bindir}/iodbctest
%{_bindir}/iodbctestw
%{_mandir}/man1/iodbctest.1*
%{_mandir}/man1/iodbctestw.1*
%files -n libiodbc3
%defattr(-,root,root)
%doc AUTHORS LICENSE LICENSE.LGPL LICENSE.BSD ChangeLog NEWS README README.CVS
%{_libdir}/libiodbc.so.*
%{_libdir}/libiodbcinst.so.*
%files admin
%license LICENSE
%{_bindir}/iodbcadm-gtk
%{_mandir}/man1/iodbcadm-gtk.1*
%files -n libiodbc-devel
%defattr(-,root,root)
%license LICENSE LICENSE.LGPL LICENSE.BSD
%doc AUTHORS ChangeLog NEWS README
%doc etc/odbc.ini.sample
%doc etc/odbcinst.ini.sample
%{_bindir}/iodbc-config
@@ -129,22 +138,24 @@ This package provides tools for configuring and administering iODBC
%{_includedir}/sqlext.h
%{_includedir}/sqltypes.h
%{_includedir}/sqlucode.h
%{_libdir}/libdrvproxy.la
%{_libdir}/libdrvproxy.so
%{_libdir}/libiodbc.la
%{_libdir}/libiodbc.so
%{_libdir}/libiodbcadm.la
%{_libdir}/libiodbcadm.so
%{_libdir}/libiodbcinst.la
%{_libdir}/libiodbcinst.so
%{_libdir}/pkgconfig/libiodbc.pc
%{_mandir}/man1/iodbc-config.1*
%files admin
%defattr(-,root,root)
%{_bindir}/iodbcadm-gtk
%files -n libiodbc2
%license LICENSE
%{_libdir}/libiodbc.so.*
%{_libdir}/libiodbcinst.so.*
%files -n libdrvproxy2
%license LICENSE
%{_libdir}/libdrvproxy.so.*
%files -n libiodbcadm2
%license LICENSE
%{_libdir}/libiodbcadm.so.*
%{_mandir}/man1/iodbcadm-gtk.1*
%changelog

3
libiodbc-3.52.16.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa
size 1086850

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33207d9f477aa5fa76962ff644baa38e59255b96812f28574794659fb61a7ab2
size 1094234