Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/unixODBC-*.tar.gz
|
SOURCES/unixODBC-2.3.12.tar.gz
|
||||||
|
|||||||
1
.unixODBC.metadata
Normal file
1
.unixODBC.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
9f4bf8d4e31438bc56bacf059dc9ba558eeed736 SOURCES/unixODBC-2.3.12.tar.gz
|
||||||
@ -1,9 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=ODBC Data Source Administrator
|
|
||||||
Comment=ODBC Data Source Administration Tool
|
|
||||||
Exec=ODBCConfig
|
|
||||||
Icon=LinuxODBC.xpm
|
|
||||||
Type=Application
|
|
||||||
Encoding=UTF-8
|
|
||||||
Terminal=false
|
|
||||||
Categories=X-Red-Hat-Extra;
|
|
||||||
@ -1,67 +0,0 @@
|
|||||||
From b4d43c1fc5fb369fb29a5f97868ea12f093375a4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Markus Beth <markus.beth@web.de>
|
|
||||||
Date: Thu, 22 Apr 2021 23:14:09 +0200
|
|
||||||
Subject: [PATCH] fix __iptr_as_string() overflows buffer
|
|
||||||
|
|
||||||
---
|
|
||||||
DriverManager/SQLError.c | 2 +-
|
|
||||||
DriverManager/SQLErrorW.c | 2 +-
|
|
||||||
DriverManager/SQLGetDiagRec.c | 2 +-
|
|
||||||
DriverManager/SQLGetDiagRecW.c | 2 +-
|
|
||||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/DriverManager/SQLError.c b/DriverManager/SQLError.c
|
|
||||||
index d4a2a0a..0bbb748 100644
|
|
||||||
--- a/DriverManager/SQLError.c
|
|
||||||
+++ b/DriverManager/SQLError.c
|
|
||||||
@@ -311,7 +311,7 @@ SQLRETURN SQLError( SQLHENV environment_handle,
|
|
||||||
SQLSMALLINT *text_length )
|
|
||||||
{
|
|
||||||
SQLRETURN ret;
|
|
||||||
- SQLCHAR s0[ 32 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
+ SQLCHAR s0[ 48 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
SQLCHAR s2[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
|
|
||||||
DMHENV environment = NULL;
|
|
||||||
diff --git a/DriverManager/SQLErrorW.c b/DriverManager/SQLErrorW.c
|
|
||||||
index 16df262..64ea90e 100644
|
|
||||||
--- a/DriverManager/SQLErrorW.c
|
|
||||||
+++ b/DriverManager/SQLErrorW.c
|
|
||||||
@@ -279,7 +279,7 @@ SQLRETURN SQLErrorW( SQLHENV environment_handle,
|
|
||||||
SQLSMALLINT *text_length )
|
|
||||||
{
|
|
||||||
SQLRETURN ret;
|
|
||||||
- SQLCHAR s0[ 32 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
+ SQLCHAR s0[ 48 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
SQLCHAR s2[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
SQLCHAR s3[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
|
|
||||||
diff --git a/DriverManager/SQLGetDiagRec.c b/DriverManager/SQLGetDiagRec.c
|
|
||||||
index 6d93ede..0f424c8 100644
|
|
||||||
--- a/DriverManager/SQLGetDiagRec.c
|
|
||||||
+++ b/DriverManager/SQLGetDiagRec.c
|
|
||||||
@@ -561,7 +561,7 @@ SQLRETURN SQLGetDiagRec( SQLSMALLINT handle_type,
|
|
||||||
SQLSMALLINT *text_length_ptr )
|
|
||||||
{
|
|
||||||
SQLRETURN ret;
|
|
||||||
- SQLCHAR s0[ 32 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
+ SQLCHAR s0[ 48 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
SQLCHAR s2[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
|
|
||||||
DMHENV environment = ( DMHENV ) handle;
|
|
||||||
diff --git a/DriverManager/SQLGetDiagRecW.c b/DriverManager/SQLGetDiagRecW.c
|
|
||||||
index 1640047..7eecc03 100644
|
|
||||||
--- a/DriverManager/SQLGetDiagRecW.c
|
|
||||||
+++ b/DriverManager/SQLGetDiagRecW.c
|
|
||||||
@@ -424,7 +424,7 @@ SQLRETURN SQLGetDiagRecW( SQLSMALLINT handle_type,
|
|
||||||
SQLSMALLINT *text_length_ptr )
|
|
||||||
{
|
|
||||||
SQLRETURN ret;
|
|
||||||
- SQLCHAR s0[ 32 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
+ SQLCHAR s0[ 48 ], s1[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
SQLCHAR s2[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
SQLCHAR s3[ 100 + LOG_MESSAGE_LEN ];
|
|
||||||
|
|
||||||
--
|
|
||||||
2.47.3
|
|
||||||
|
|
||||||
@ -9,14 +9,12 @@ postgresql-odbc PostgreSQL driver, needed to connect to PostgreSQL
|
|||||||
unixODBC-gui-qt Optional configuration management and test programs
|
unixODBC-gui-qt Optional configuration management and test programs
|
||||||
|
|
||||||
|
|
||||||
The recommended driver definition for MySQL is:
|
The recommended driver definition for MySQL 8 is:
|
||||||
|
|
||||||
[MySQL]
|
[MySQL]
|
||||||
Description = ODBC for MySQL
|
Description = ODBC for MySQL 8
|
||||||
Driver = /usr/lib/libmyodbc5.so
|
Driver = /usr/lib/libmyodbc8.so
|
||||||
Setup = /usr/lib/libodbcmyS.so
|
Driver64 = /usr/lib64/libmyodbc8.so
|
||||||
Driver64 = /usr/lib64/libmyodbc5.so
|
|
||||||
Setup64 = /usr/lib64/libodbcmyS.so
|
|
||||||
FileUsage = 1
|
FileUsage = 1
|
||||||
|
|
||||||
You can adjust the name (in square brackets) and the description, but
|
You can adjust the name (in square brackets) and the description, but
|
||||||
57
SOURCES/odbcinst.ini
Normal file
57
SOURCES/odbcinst.ini
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# Example driver definitions
|
||||||
|
|
||||||
|
# Driver from the postgresql-odbc package
|
||||||
|
# Setup from the unixODBC package
|
||||||
|
[PostgreSQL]
|
||||||
|
Description = ODBC for PostgreSQL
|
||||||
|
Driver = /usr/lib/psqlodbcw.so
|
||||||
|
Setup = /usr/lib/libodbcpsqlS.so
|
||||||
|
Driver64 = /usr/lib64/psqlodbcw.so
|
||||||
|
Setup64 = /usr/lib64/libodbcpsqlS.so
|
||||||
|
FileUsage = 1
|
||||||
|
|
||||||
|
|
||||||
|
# Driver from the mysql-connector-odbc package in Fedora >=29
|
||||||
|
# Setup from the unixODBC package
|
||||||
|
[MySQL]
|
||||||
|
Description = ODBC for MySQL 8
|
||||||
|
# mysql-connector-odbc package provides shared libraries with "w" or "a" suffix.
|
||||||
|
# 'w' stands for 'wide' or 'unicode' character set, 'a' stands for 'ANSI'
|
||||||
|
# Symlinks used in the configuration below lead to the 'w' variant by default
|
||||||
|
Driver = /usr/lib/libmyodbc8.so
|
||||||
|
Driver64 = /usr/lib64/libmyodbc8.so
|
||||||
|
FileUsage = 1
|
||||||
|
|
||||||
|
|
||||||
|
# Driver from the mysql-connector-odbc package in Fedora <=28
|
||||||
|
# Setup from the unixODBC package
|
||||||
|
[MySQL-5]
|
||||||
|
Description = ODBC for MySQL 5
|
||||||
|
# mysql-connector-odbc package provides shared libraries with "w" or "a" suffix.
|
||||||
|
# 'w' stands for 'wide' or 'unicode' character set, 'a' stands for 'ANSI'
|
||||||
|
# Symlinks used in the configuration below lead to the 'w' variant by default
|
||||||
|
Driver = /usr/lib/libmyodbc5.so
|
||||||
|
Driver64 = /usr/lib64/libmyodbc5.so
|
||||||
|
Setup = /usr/lib/libodbcmyS.so
|
||||||
|
Setup64 = /usr/lib64/libodbcmyS.so
|
||||||
|
FileUsage = 1
|
||||||
|
|
||||||
|
|
||||||
|
# Driver from the freetds-libs package
|
||||||
|
# Setup from the unixODBC package
|
||||||
|
[FreeTDS]
|
||||||
|
Description = Free Sybase & MS SQL Driver
|
||||||
|
Driver = /usr/lib/libtdsodbc.so
|
||||||
|
Setup = /usr/lib/libtdsS.so
|
||||||
|
Driver64 = /usr/lib64/libtdsodbc.so
|
||||||
|
Setup64 = /usr/lib64/libtdsS.so
|
||||||
|
Port = 1433
|
||||||
|
|
||||||
|
|
||||||
|
# Driver from the mariadb-connector-odbc package
|
||||||
|
# Setup from the unixODBC package
|
||||||
|
[MariaDB]
|
||||||
|
Description = ODBC for MariaDB
|
||||||
|
Driver = /usr/lib/libmaodbc.so
|
||||||
|
Driver64 = /usr/lib64/libmaodbc.so
|
||||||
|
FileUsage = 1
|
||||||
181
SOURCES/so-version-bump.patch
Normal file
181
SOURCES/so-version-bump.patch
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
Set the major .so version to 2 for all unixODBC shared libraries, to reflect
|
||||||
|
the incompatible ABI changes in 2.2.14.
|
||||||
|
|
||||||
|
Note that we only patch 'Makefile.am' files and not 'Makefile.in' files,
|
||||||
|
as we use 'autoconf' instead of the 'configure' setup tool
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/MiniSQL/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/MiniSQL/Makefile.am.patched 2022-05-19 10:56:27.087060411 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcminiS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbcminiS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbcminiS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbcminiS_la_SOURCES = odbcminiS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/PostgreSQL/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/PostgreSQL/Makefile.am.patched 2022-05-19 10:56:27.090060438 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcpsqlS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbcpsqlS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbcpsqlS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbcpsqlS_la_SOURCES = odbcpsqlS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/esoob/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/esoob/Makefile.am.patched 2022-05-19 10:56:27.093060465 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libesoobS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libesoobS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libesoobS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libesoobS_la_SOURCES = esoobS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/sapdb/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/sapdb/Makefile.am.patched 2022-05-19 10:56:27.096060492 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libsapdbS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libsapdbS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libsapdbS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libsapdbS_la_SOURCES = sapdb.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/Oracle/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/Oracle/Makefile.am.patched 2022-05-19 10:56:27.098060510 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liboraodbcS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-liboraodbcS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+liboraodbcS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
liboraodbcS_la_SOURCES = oraodbcS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/Mimer/Makefile.am 2021-03-02 14:50:37.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/Mimer/Makefile.am.patched 2022-05-19 10:56:27.100060528 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libmimerS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libmimerS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libmimerS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libmimerS_la_SOURCES = mimerS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/MySQL/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/MySQL/Makefile.am.patched 2022-05-19 10:56:27.102060546 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcmyS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbcmyS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbcmyS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbcmyS_la_SOURCES = odbcmyS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/txt/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/txt/Makefile.am.patched 2022-05-19 10:56:27.103060555 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbctxtS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbctxtS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbctxtS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbctxtS_la_SOURCES = drvcfg.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/drvcfg1/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/drvcfg1/Makefile.am.patched 2022-05-19 10:56:27.105060573 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcdrvcfg1S.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbcdrvcfg1S_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbcdrvcfg1S_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbcdrvcfg1S_la_SOURCES = drvcfg1.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/oplodbc/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/oplodbc/Makefile.am.patched 2022-05-19 10:56:27.107060592 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liboplodbcS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-liboplodbcS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+liboplodbcS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
liboplodbcS_la_SOURCES = oplodbc.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/tds/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/tds/Makefile.am.patched 2022-05-19 10:56:27.108060601 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libtdsS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libtdsS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libtdsS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libtdsS_la_SOURCES = tdsS.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/drvcfg2/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/drvcfg2/Makefile.am.patched 2022-05-19 10:56:27.110060619 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcdrvcfg2S.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbcdrvcfg2S_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbcdrvcfg2S_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbcdrvcfg2S_la_SOURCES = drvcfg2.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/DRVConfig/nn/Makefile.am 2021-03-02 14:44:29.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/DRVConfig/nn/Makefile.am.patched 2022-05-19 10:56:27.112060637 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcnnS.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
||||||
|
|
||||||
|
-libodbcnnS_la_LDFLAGS = -module -no-undefined -version-info 1:0:0 -avoid-version -shared
|
||||||
|
+libodbcnnS_la_LDFLAGS = -module -no-undefined -version-info $(LIB_VERSION) -avoid-version -shared
|
||||||
|
|
||||||
|
libodbcnnS_la_SOURCES = drvcfg.c
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/Drivers/MiniSQL/Makefile.am 2018-01-02 11:48:19.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/Drivers/MiniSQL/Makefile.am.patched 2022-05-19 10:56:27.114060655 +0200
|
||||||
|
@@ -193,6 +193,6 @@ EXTRA_DIST = \
|
||||||
|
_sqlFreeEnv.c \
|
||||||
|
_sqlFreeStmt.c
|
||||||
|
|
||||||
|
-libodbcmini_la_LDFLAGS = -no-undefined -version-info 1:0:0 \
|
||||||
|
+libodbcmini_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) \
|
||||||
|
-L@msql_libraries@ -lmsql -module
|
||||||
|
|
||||||
|
--- unixODBC-2.3.11/Drivers/template/Makefile.am 2022-05-02 16:52:53.000000000 +0200
|
||||||
|
+++ unixODBC-2.3.11/Drivers/template/Makefile.am.patched 2022-05-19 10:56:27.116060673 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libtemplate.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include -I. $(LTDLINCL)
|
||||||
|
|
||||||
|
-libtemplate_la_LDFLAGS = -no-undefined -version-info 1:0:0
|
||||||
|
+libtemplate_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION)
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
driver.h \
|
||||||
|
--- unixODBC-2.3.11/Drivers/nn/Makefile.am 2018-01-02 11:48:19.000000000 +0100
|
||||||
|
+++ unixODBC-2.3.11/Drivers/nn/Makefile.am.patched 2022-05-19 10:56:27.118060691 +0200
|
||||||
|
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libnn.la
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I@top_srcdir@/include -I.
|
||||||
|
|
||||||
|
-libnn_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
||||||
|
+libnn_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
nnconfig.h \
|
||||||
41
SOURCES/unixODBC-c89.patch
Normal file
41
SOURCES/unixODBC-c89.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
PostgreSQL driver: Fix incompatible pointer-to-integer types
|
||||||
|
|
||||||
|
These result in out-of-bounds stack writes on 64-bit architectures
|
||||||
|
(caller has 4 bytes, callee writes 8 bytes), and seem to have gone
|
||||||
|
unnoticed on little-endian architectures (although big-endian
|
||||||
|
architectures must be broken).
|
||||||
|
|
||||||
|
This change is required to avoid a build failure with GCC 14.
|
||||||
|
|
||||||
|
Submitted upstream: <https://github.com/lurcher/unixODBC/pull/157>
|
||||||
|
|
||||||
|
diff --git a/Drivers/Postgre7.1/info.c b/Drivers/Postgre7.1/info.c
|
||||||
|
index 63ac91f3f359f6ba..2216ecd4892e4efd 100644
|
||||||
|
--- a/Drivers/Postgre7.1/info.c
|
||||||
|
+++ b/Drivers/Postgre7.1/info.c
|
||||||
|
@@ -1779,14 +1779,14 @@ char *table_name;
|
||||||
|
char index_name[MAX_INFO_STRING];
|
||||||
|
short fields_vector[8];
|
||||||
|
char isunique[10], isclustered[10];
|
||||||
|
-SDWORD index_name_len, fields_vector_len;
|
||||||
|
+SQLLEN index_name_len, fields_vector_len;
|
||||||
|
TupleNode *row;
|
||||||
|
int i;
|
||||||
|
HSTMT hcol_stmt;
|
||||||
|
StatementClass *col_stmt, *indx_stmt;
|
||||||
|
char column_name[MAX_INFO_STRING], relhasrules[MAX_INFO_STRING];
|
||||||
|
char **column_names = 0;
|
||||||
|
-Int4 column_name_len;
|
||||||
|
+SQLLEN column_name_len;
|
||||||
|
int total_columns = 0;
|
||||||
|
char error = TRUE;
|
||||||
|
ConnInfo *ci;
|
||||||
|
@@ -2136,7 +2136,7 @@ HSTMT htbl_stmt;
|
||||||
|
StatementClass *tbl_stmt;
|
||||||
|
char tables_query[STD_STATEMENT_LEN];
|
||||||
|
char attname[MAX_INFO_STRING];
|
||||||
|
-SDWORD attname_len;
|
||||||
|
+SQLLEN attname_len;
|
||||||
|
char pktab[MAX_TABLE_LEN + 1];
|
||||||
|
Int2 result_cols;
|
||||||
|
|
||||||
@ -1,8 +1,7 @@
|
|||||||
Summary: A complete ODBC driver manager for Linux
|
Summary: A complete ODBC driver manager for Linux
|
||||||
Name: unixODBC
|
Name: unixODBC
|
||||||
Version: 2.3.7
|
Version: 2.3.12
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: System Environment/Libraries
|
|
||||||
URL: http://www.unixODBC.org/
|
URL: http://www.unixODBC.org/
|
||||||
# Programs are GPL, libraries are LGPL, except News Server library is GPL.
|
# Programs are GPL, libraries are LGPL, except News Server library is GPL.
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
@ -13,10 +12,11 @@ Source5: README.dist
|
|||||||
|
|
||||||
Patch8: so-version-bump.patch
|
Patch8: so-version-bump.patch
|
||||||
Patch9: keep-typedefs.patch
|
Patch9: keep-typedefs.patch
|
||||||
Patch10: RHEL-118425.patch
|
Patch10: unixODBC-c89.patch
|
||||||
|
|
||||||
Conflicts: iodbc
|
Conflicts: iodbc
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex
|
BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
@ -28,7 +28,6 @@ a MySQL or MariaDB database, and/or the postgresql-odbc package for PostgreSQL.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for programs which will use the unixODBC library
|
Summary: Development files for programs which will use the unixODBC library
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -70,7 +69,7 @@ make all
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
|
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
%multilib_fix_c_header --file %{_includedir}/unixodbc_conf.h
|
%multilib_fix_c_header --file %{_includedir}/unixODBC/unixodbc_conf.h
|
||||||
|
|
||||||
# add some explanatory documentation
|
# add some explanatory documentation
|
||||||
cp %{SOURCE5} README.dist
|
cp %{SOURCE5} README.dist
|
||||||
@ -78,6 +77,14 @@ cp %{SOURCE5} README.dist
|
|||||||
# remove obsolete Postgres drivers from the package (but not the setup code)
|
# remove obsolete Postgres drivers from the package (but not the setup code)
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libodbcpsql.so*
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libodbcpsql.so*
|
||||||
|
|
||||||
|
# make directory for unversioned plugins and create appropriate symlinks
|
||||||
|
mkdir $RPM_BUILD_ROOT%{_libdir}/%{name}
|
||||||
|
cd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
||||||
|
ln -s ../libodbcpsqlS.so.2.0.0 libodbcpsqlS.so
|
||||||
|
ln -s ../libodbcmyS.so.2.0.0 libodbcmyS.so
|
||||||
|
ln -s ../libtdsS.so.2.0.0 libtdsS.so
|
||||||
|
cd -
|
||||||
|
|
||||||
# copy text driver documentation into main doc directory
|
# copy text driver documentation into main doc directory
|
||||||
# currently disabled because upstream no longer includes text driver
|
# currently disabled because upstream no longer includes text driver
|
||||||
# mkdir -p doc/Drivers/txt
|
# mkdir -p doc/Drivers/txt
|
||||||
@ -99,9 +106,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > bas
|
|||||||
find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list
|
find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list
|
||||||
|
|
||||||
# move these to main package, they're often dlopened...
|
# move these to main package, they're often dlopened...
|
||||||
for lib in libodbc.so libodbcinst.so libodbcpsqlS.so libodbcmyS.so libtdsS.so
|
for lib in libodbcpsqlS.so libodbcmyS.so libtdsS.so
|
||||||
do
|
do
|
||||||
echo "%{_libdir}/$lib" >> base-so-list
|
echo "%{_libdir}/%{name}/$lib" >> base-so-list
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/$lib
|
||||||
grep -v "/$lib$" devel-so-list > devel-so-list.x
|
grep -v "/$lib$" devel-so-list > devel-so-list.x
|
||||||
mv -f devel-so-list.x devel-so-list
|
mv -f devel-so-list.x devel-so-list
|
||||||
done
|
done
|
||||||
@ -122,13 +130,45 @@ done
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 03 2025 RHEL Packaging Agent <jotnar@redhat.com> - 2.3.7-2
|
* Mon Oct 13 2025 RHEL Packaging Agent <jotnar@redhat.com> - 2.3.12-1
|
||||||
- fix __iptr_as_string() overflows buffer
|
- Rebase to version 2.3.12
|
||||||
- Resolves: RHEL-118425
|
- Add unixODBC-c89.patch for GCC 14 compatibility
|
||||||
|
- Update so-version-bump.patch for new version
|
||||||
|
- Fix multilib_fix_c_header path to match actual header location
|
||||||
|
- Resolves: RHEL-94798
|
||||||
|
|
||||||
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.9-4
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.9-3
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Sep 10 2020 Ondrej Dubaj <odubaj@redhat.com> - 2.3.9-1
|
||||||
|
- rebase to version 2.3.9
|
||||||
|
- move unversioned *.so files back to *-devel package
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.7-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.7-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.7-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.3.7-4
|
||||||
|
- Rebuild for readline 8.0
|
||||||
|
|
||||||
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.7-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 30 2018 Michal Schorm <mschorm@redhat.com> - 2.3.7-2
|
||||||
|
- Bump for rebuild to ship updated configuration
|
||||||
|
|
||||||
* Sat Aug 11 2018 Pavel Raiskup <praiskup@redhat.com> - 2.3.7-1
|
* Sat Aug 11 2018 Pavel Raiskup <praiskup@redhat.com> - 2.3.7-1
|
||||||
- update to version 2.3.7
|
- update to version 2.3.7
|
||||||
10
gating.yaml
10
gating.yaml
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
!Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {
|
|
||||||
test_case_name: osci.brew-build./plans/rhel-gating-modular.functional,
|
|
||||||
test_case_name: osci.brew-build./plans/rhel-gating-system.functional,
|
|
||||||
}
|
|
||||||
42
odbcinst.ini
42
odbcinst.ini
@ -1,42 +0,0 @@
|
|||||||
# Example driver definitions
|
|
||||||
|
|
||||||
# Driver from the postgresql-odbc package
|
|
||||||
# Setup from the unixODBC package
|
|
||||||
[PostgreSQL]
|
|
||||||
Description = ODBC for PostgreSQL
|
|
||||||
Driver = /usr/lib/psqlodbcw.so
|
|
||||||
Setup = /usr/lib/libodbcpsqlS.so
|
|
||||||
Driver64 = /usr/lib64/psqlodbcw.so
|
|
||||||
Setup64 = /usr/lib64/libodbcpsqlS.so
|
|
||||||
FileUsage = 1
|
|
||||||
|
|
||||||
|
|
||||||
# Driver from the mysql-connector-odbc package
|
|
||||||
# Setup from the unixODBC package
|
|
||||||
[MySQL]
|
|
||||||
Description = ODBC for MySQL
|
|
||||||
Driver = /usr/lib/libmyodbc5.so
|
|
||||||
Setup = /usr/lib/libodbcmyS.so
|
|
||||||
Driver64 = /usr/lib64/libmyodbc5.so
|
|
||||||
Setup64 = /usr/lib64/libodbcmyS.so
|
|
||||||
FileUsage = 1
|
|
||||||
|
|
||||||
|
|
||||||
# Driver from the freetds-libs package
|
|
||||||
# Setup from the unixODBC package
|
|
||||||
[FreeTDS]
|
|
||||||
Description = Free Sybase & MS SQL Driver
|
|
||||||
Driver = /usr/lib/libtdsodbc.so
|
|
||||||
Setup = /usr/lib/libtdsS.so
|
|
||||||
Driver64 = /usr/lib64/libtdsodbc.so
|
|
||||||
Setup64 = /usr/lib64/libtdsS.so
|
|
||||||
Port = 1433
|
|
||||||
|
|
||||||
|
|
||||||
# Driver from the mariadb-connector-odbc package
|
|
||||||
# Setup from the unixODBC package
|
|
||||||
[MariaDB]
|
|
||||||
Description = ODBC for MariaDB
|
|
||||||
Driver = /usr/lib/libmaodbc.so
|
|
||||||
Driver64 = /usr/lib64/libmaodbc.so
|
|
||||||
FileUsage = 1
|
|
||||||
13
plans.fmf
13
plans.fmf
@ -1,13 +0,0 @@
|
|||||||
/rhel-gating-modular:
|
|
||||||
plan:
|
|
||||||
import:
|
|
||||||
url: https://pkgs.devel.redhat.com/git/tests/unixODBC
|
|
||||||
name: /plans/modular
|
|
||||||
scope: all-plans
|
|
||||||
importing: become-parent
|
|
||||||
|
|
||||||
/rhel-gating-system:
|
|
||||||
plan:
|
|
||||||
import:
|
|
||||||
url: https://pkgs.devel.redhat.com/git/tests/unixODBC
|
|
||||||
name: /plans/system
|
|
||||||
@ -1,206 +0,0 @@
|
|||||||
Set the major .so version to 2 for all unixODBC shared libraries, to reflect
|
|
||||||
the incompatible ABI changes in 2.2.14.
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am.soname unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am.soname 2015-08-22 18:39:16.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/Drivers/MiniSQL/Makefile.am 2015-08-25 12:27:47.005775376 +0200
|
|
||||||
@@ -193,6 +193,6 @@ EXTRA_DIST = \
|
|
||||||
_sqlFreeEnv.c \
|
|
||||||
_sqlFreeStmt.c
|
|
||||||
|
|
||||||
-libodbcmini_la_LDFLAGS = -no-undefined -version-info 1:0:0 \
|
|
||||||
+libodbcmini_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) \
|
|
||||||
-L@msql_libraries@ -lmsql -module
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/Drivers/nn/Makefile.am.soname unixODBC-2.3.3/Drivers/nn/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/Drivers/nn/Makefile.am.soname 2014-05-05 10:27:13.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/Drivers/nn/Makefile.am 2015-08-25 12:27:47.007775386 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libnn.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include -I.
|
|
||||||
|
|
||||||
-libnn_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libnn_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
nnconfig.h \
|
|
||||||
diff -up unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am.soname unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am.soname 2014-05-05 10:27:13.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/Drivers/Postgre7.1/Makefile.am 2015-08-25 12:27:47.009775396 +0200
|
|
||||||
@@ -3,7 +3,7 @@ lib_LTLIBRARIES = libodbcpsql.la
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
libodbcpsql_la_LDFLAGS = \
|
|
||||||
- -version-info 2:0:0 \
|
|
||||||
+ -version-info $(LIB_VERSION) \
|
|
||||||
-no-undefined \
|
|
||||||
$(LIBSOCKET) $(LIBNSL) \
|
|
||||||
-export-dynamic \
|
|
||||||
diff -up unixODBC-2.3.3/Drivers/template/Makefile.am.soname unixODBC-2.3.3/Drivers/template/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/Drivers/template/Makefile.am.soname 2014-05-05 10:27:13.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/Drivers/template/Makefile.am 2015-08-25 12:27:47.012775410 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libtemplate.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include -I. $(LTDLINCL)
|
|
||||||
|
|
||||||
-libtemplate_la_LDFLAGS = -no-undefined -version-info 1:0:0
|
|
||||||
+libtemplate_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
driver.h \
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am.soname unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/drvcfg1/Makefile.am 2015-08-25 12:27:47.014775420 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcdrvcfg1S.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbcdrvcfg1S_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbcdrvcfg1S_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbcdrvcfg1S_la_SOURCES = drvcfg1.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am.soname unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/drvcfg2/Makefile.am 2015-08-25 12:27:47.016775430 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcdrvcfg2S.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbcdrvcfg2S_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbcdrvcfg2S_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbcdrvcfg2S_la_SOURCES = drvcfg2.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/esoob/Makefile.am.soname unixODBC-2.3.3/DRVConfig/esoob/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/esoob/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/esoob/Makefile.am 2015-08-25 12:27:47.017775434 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libesoobS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libesoobS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libesoobS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libesoobS_la_SOURCES = esoobS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am.soname unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/Mimer/Makefile.am 2015-08-25 12:27:47.019775444 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libmimerS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libmimerS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libmimerS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libmimerS_la_SOURCES = mimerS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am.soname unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/MiniSQL/Makefile.am 2015-08-25 12:27:47.020775449 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcminiS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbcminiS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbcminiS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbcminiS_la_SOURCES = odbcminiS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am.soname unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/MySQL/Makefile.am 2015-08-25 12:27:47.023775464 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcmyS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbcmyS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbcmyS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbcmyS_la_SOURCES = odbcmyS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/nn/Makefile.am.soname unixODBC-2.3.3/DRVConfig/nn/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/nn/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/nn/Makefile.am 2015-08-25 12:27:47.024775469 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcnnS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbcnnS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbcnnS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbcnnS_la_SOURCES = drvcfg.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am.soname unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/oplodbc/Makefile.am 2015-08-25 12:27:47.026775478 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liboplodbcS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-liboplodbcS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+liboplodbcS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
liboplodbcS_la_SOURCES = oplodbc.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am.soname unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/Oracle/Makefile.am 2015-08-25 12:27:47.027775483 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liboraodbcS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-liboraodbcS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+liboraodbcS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
liboraodbcS_la_SOURCES = oraodbcS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am.soname unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/PostgreSQL/Makefile.am 2015-08-25 12:27:47.029775493 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbcpsqlS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbcpsqlS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbcpsqlS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbcpsqlS_la_SOURCES = odbcpsqlS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am.soname unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/sapdb/Makefile.am 2015-08-25 12:27:47.031775503 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libsapdbS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libsapdbS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libsapdbS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libsapdbS_la_SOURCES = sapdb.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/tds/Makefile.am.soname unixODBC-2.3.3/DRVConfig/tds/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/tds/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/tds/Makefile.am 2015-08-25 12:27:47.032775507 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libtdsS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libtdsS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libtdsS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libtdsS_la_SOURCES = tdsS.c
|
|
||||||
|
|
||||||
diff -up unixODBC-2.3.3/DRVConfig/txt/Makefile.am.soname unixODBC-2.3.3/DRVConfig/txt/Makefile.am
|
|
||||||
--- unixODBC-2.3.3/DRVConfig/txt/Makefile.am.soname 2014-05-05 10:26:41.000000000 +0200
|
|
||||||
+++ unixODBC-2.3.3/DRVConfig/txt/Makefile.am 2015-08-25 12:27:47.034775517 +0200
|
|
||||||
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = libodbctxtS.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I@top_srcdir@/include $(LTDLINCL)
|
|
||||||
|
|
||||||
-libodbctxtS_la_LDFLAGS = -no-undefined -version-info 1:0:0 -module
|
|
||||||
+libodbctxtS_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION) -module
|
|
||||||
|
|
||||||
libodbctxtS_la_SOURCES = drvcfg.c
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user