forked from pool/iodbc
Compare commits
14 Commits
c37670e712
...
cd4e732b0c
Author | SHA256 | Date | |
---|---|---|---|
cd4e732b0c | |||
e61ceac7d5 | |||
301df7eb80 | |||
23114aaa96 | |||
372d240417 | |||
412d44556c | |||
96607243cd | |||
|
6963e09ed0 | ||
9afeb80468 | |||
|
f4333bae55 | ||
8dc0087135 | |||
|
d8896525da | ||
|
51850a09b1 | ||
|
2144086056 |
@@ -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>
|
@@ -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;
|
||||
}
|
103
iodbc.changes
103
iodbc.changes
@@ -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
|
||||
|
||||
|
127
iodbc.spec
127
iodbc.spec
@@ -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
3
libiodbc-3.52.16.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa
|
||||
size 1086850
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33207d9f477aa5fa76962ff644baa38e59255b96812f28574794659fb61a7ab2
|
||||
size 1094234
|
Reference in New Issue
Block a user