Sync from SUSE:SLFO:Main unixODBC revision d3eb0515fc842232ac79c79dc7733a67
This commit is contained in:
commit
9ce6bd717f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
5
baselibs.conf
Normal file
5
baselibs.conf
Normal file
@ -0,0 +1,5 @@
|
||||
unixODBC
|
||||
unixODBC-devel
|
||||
requires "unixODBC-<targettype> = <version>"
|
||||
requires "libodbc2-<targettype> = <version>"
|
||||
libodbc2
|
BIN
unixODBC-2.3.12.tar.gz
(Stored with Git LFS)
Normal file
BIN
unixODBC-2.3.12.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
156
unixODBC-paths.patch
Normal file
156
unixODBC-paths.patch
Normal file
@ -0,0 +1,156 @@
|
||||
Index: DRVConfig/MiniSQL/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/MiniSQL/Makefile.am.orig
|
||||
+++ DRVConfig/MiniSQL/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbcminiS_la_LDFLAGS = -no-undefined
|
||||
|
||||
libodbcminiS_la_SOURCES = odbcminiS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/MySQL/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/MySQL/Makefile.am.orig
|
||||
+++ DRVConfig/MySQL/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbcmyS_la_LDFLAGS = -no-undefined -
|
||||
|
||||
libodbcmyS_la_SOURCES = odbcmyS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/Oracle/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/Oracle/Makefile.am.orig
|
||||
+++ DRVConfig/Oracle/Makefile.am
|
||||
@@ -6,3 +6,4 @@ liboraodbcS_la_LDFLAGS = -no-undefined
|
||||
|
||||
liboraodbcS_la_SOURCES = oraodbcS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/PostgreSQL/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/PostgreSQL/Makefile.am.orig
|
||||
+++ DRVConfig/PostgreSQL/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbcpsqlS_la_LDFLAGS = -no-undefined
|
||||
|
||||
libodbcpsqlS_la_SOURCES = odbcpsqlS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/drvcfg1/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/drvcfg1/Makefile.am.orig
|
||||
+++ DRVConfig/drvcfg1/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbcdrvcfg1S_la_LDFLAGS = -no-undefin
|
||||
|
||||
libodbcdrvcfg1S_la_SOURCES = drvcfg1.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/drvcfg2/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/drvcfg2/Makefile.am.orig
|
||||
+++ DRVConfig/drvcfg2/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbcdrvcfg2S_la_LDFLAGS = -no-undefin
|
||||
|
||||
libodbcdrvcfg2S_la_SOURCES = drvcfg2.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/esoob/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/esoob/Makefile.am.orig
|
||||
+++ DRVConfig/esoob/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libesoobS_la_LDFLAGS = -no-undefined -v
|
||||
|
||||
libesoobS_la_SOURCES = esoobS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/nn/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/nn/Makefile.am.orig
|
||||
+++ DRVConfig/nn/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbcnnS_la_LDFLAGS = -no-undefined -
|
||||
|
||||
libodbcnnS_la_SOURCES = drvcfg.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/oplodbc/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/oplodbc/Makefile.am.orig
|
||||
+++ DRVConfig/oplodbc/Makefile.am
|
||||
@@ -6,3 +6,4 @@ liboplodbcS_la_LDFLAGS = -no-undefined
|
||||
|
||||
liboplodbcS_la_SOURCES = oplodbc.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/sapdb/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/sapdb/Makefile.am.orig
|
||||
+++ DRVConfig/sapdb/Makefile.am
|
||||
@@ -7,3 +7,5 @@ libsapdbS_la_LDFLAGS = -no-undefined -v
|
||||
libsapdbS_la_SOURCES = sapdb.c
|
||||
|
||||
EXTRA_DIST = README
|
||||
+
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/tds/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/tds/Makefile.am.orig
|
||||
+++ DRVConfig/tds/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libtdsS_la_LDFLAGS = -no-undefined -ver
|
||||
|
||||
libtdsS_la_SOURCES = tdsS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/txt/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/txt/Makefile.am.orig
|
||||
+++ DRVConfig/txt/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libodbctxtS_la_LDFLAGS = -no-undefined
|
||||
|
||||
libodbctxtS_la_SOURCES = drvcfg.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: Drivers/Postgre7.1/Makefile.am
|
||||
===================================================================
|
||||
--- Drivers/Postgre7.1/Makefile.am.orig
|
||||
+++ Drivers/Postgre7.1/Makefile.am
|
||||
@@ -72,3 +72,5 @@ libodbcpsql_la_SOURCES = \
|
||||
statement.c \
|
||||
tuple.c \
|
||||
tuplelist.c
|
||||
+
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: Drivers/nn/Makefile.am
|
||||
===================================================================
|
||||
--- Drivers/nn/Makefile.am.orig
|
||||
+++ Drivers/nn/Makefile.am
|
||||
@@ -74,3 +74,4 @@ libnn_la_SOURCES = \
|
||||
nndate.c \
|
||||
nntp.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: DRVConfig/Mimer/Makefile.am
|
||||
===================================================================
|
||||
--- DRVConfig/Mimer/Makefile.am.orig
|
||||
+++ DRVConfig/Mimer/Makefile.am
|
||||
@@ -6,3 +6,4 @@ libmimerS_la_LDFLAGS = -no-undefined -ve
|
||||
|
||||
libmimerS_la_SOURCES = mimerS.c
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: Drivers/template/Makefile.am
|
||||
===================================================================
|
||||
--- Drivers/template/Makefile.am.orig
|
||||
+++ Drivers/template/Makefile.am
|
||||
@@ -99,3 +99,5 @@ libtemplate_la_SOURCES = \
|
||||
_NativeTypeDesc.c \
|
||||
_NativeTypeLength.c \
|
||||
_NativeTypePrecision.c
|
||||
+
|
||||
+libdir = @libdir@/unixODBC
|
||||
Index: Drivers/MiniSQL/Makefile.am
|
||||
===================================================================
|
||||
--- Drivers/MiniSQL/Makefile.am.orig
|
||||
+++ Drivers/MiniSQL/Makefile.am
|
||||
@@ -196,3 +196,4 @@ EXTRA_DIST = \
|
||||
libodbcmini_la_LDFLAGS = -no-undefined -version-info 1:0:0 \
|
||||
-L@msql_libraries@ -lmsql -module
|
||||
|
||||
+libdir = @libdir@/unixODBC
|
3
unixODBC-rpmlintrc
Normal file
3
unixODBC-rpmlintrc
Normal file
@ -0,0 +1,3 @@
|
||||
# All .so files are in the main package as many ext apps
|
||||
# dlopen those so you need these on regular package.
|
||||
addFilter("devel-file-in-non-devel-package")
|
684
unixODBC.changes
Normal file
684
unixODBC.changes
Normal file
@ -0,0 +1,684 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 8 11:29:18 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 2.3.12:
|
||||
* Makefile.am: Do not install config.h #108
|
||||
* DriverManager/drivermanager.h: fix build without threads #112
|
||||
* DriverManager/_info.c: Get locale encoding on Windows. #115
|
||||
* Fixed Connection String #127
|
||||
* Allow diagnostics to be retrieved on SQL_NO_DATA #137
|
||||
* Avoid implicit function declarations, for C99 compatibility #138
|
||||
* Remove self-reference #140
|
||||
* isql.1: Add information about handling passwords containing semicolons #126
|
||||
- Remove unixODBC-gccwarnings.patch, unixODBC-2.3.6-declarations.patch:
|
||||
Changes have been done in https://github.com/lurcher/unixODBC/pull/138
|
||||
- Update unixODC-etc-location.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 10:17:40 UTC 2023 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Add missing requires for glibc-locale-base, required for utf16 codec
|
||||
(bsc#1213242)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 08:30:08 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Add unixODC-etc-location.patch:
|
||||
Correct location of odbc.ini and odbcinst.ini in man pages.
|
||||
Since we pass --sysconfdir=%{_sysconfdir}/%{name} they are in
|
||||
/etc/unixODBC not /etc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 4 17:16:26 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 2.3.11:
|
||||
* Add missing files to 2.3.10
|
||||
- See https://github.com/lurcher/unixODBC/issues/107
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 2 13:43:57 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 2.3.10:
|
||||
* Add connection pooling via wide connection functions
|
||||
* Remove "#define VERSION" from unixodbc_conf.h
|
||||
* Call driver functions through prototypes
|
||||
* Add connection pool limit option
|
||||
* Add fseeko support in cursor lib
|
||||
* Try and prevent logging buffer overflow
|
||||
* Add 'echo' option to isql/iusql
|
||||
* Alter isql/iusql buffering
|
||||
* Alter unicode to ascii conversion in SQLGetDiagField
|
||||
* Fix pooling problem when user name and or password is not provided
|
||||
* Fix a couple of reported buffer overflow conditions
|
||||
* Fix iconv leak with timeout in pooled connection
|
||||
- Remove upstreamed patches:
|
||||
* unixODBC-doc-drivers.patch
|
||||
* unixODBC-doc-website.patch
|
||||
- Remove unixODBC-2.3.1-libodbcinst-exports.patch:
|
||||
Upstream exports more symbols now. In our patch there were
|
||||
still a couple more of them but we decided to drop them.
|
||||
See https://github.com/lurcher/unixODBC/issues/50 and
|
||||
https://github.com/lurcher/unixODBC/issues/8 for the discussion.
|
||||
- For the future be aware of different tarball content/confusing
|
||||
git tag for this release. Resulting in different content from
|
||||
tarball from website vs GitHub.
|
||||
See https://github.com/lurcher/unixODBC/issues/107
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 14:55:18 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- SLE-20556 Expand documentation:
|
||||
Add:
|
||||
* unixODBC-doc-website.patch
|
||||
* unixODBC-doc-drivers.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 4 18:45:24 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Fix incorrect permission for documentation files.
|
||||
Using %attr affects the documentation subdirectory permission.
|
||||
Instead, the executable bit for doc files will be removed in
|
||||
the %prep section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 20:27:56 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update requires and baselibs for new libodbc2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 16 10:47:31 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 19:57:43 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 2.3.9:
|
||||
* Remove "#define UNIXODBC_SOURCE" from unixodbc_conf.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 07:38:13 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 24 14:37:58 UTC 2018 - mvetter@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 14:09:43 UTC 2018 - mvetter@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 - mvetter@suse.com
|
||||
|
||||
- bsc#1062860: Recommend psqlODBC to stay feature complete
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 19 11:52:05 UTC 2018 - mvetter@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 13:34:18 UTC 2018 - mvetter@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 13:53:00 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
- Enabled --enable-fastvalidate option in configure (bnc#1044970)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 11 14:03:02 UTC 2016 - mvetter@suse.com
|
||||
|
||||
- Requested by fate#319390
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 11 12:47:22 UTC 2016 - mvetter@suse.com
|
||||
|
||||
- Add comment in spec file so people know why the .so files are
|
||||
not in the devel package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 28 00:16:53 UTC 2016 - markus.beth@web.de
|
||||
|
||||
- dropped obsolete unixODBC-2.3.1-uninitialized.patch and
|
||||
unixODBC-nonvoid.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 11:42:38 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 2.3.4:
|
||||
* Fix typo in the loading of the cursor lib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 24 22:20:32 UTC 2015 - zeke@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 1 12:25:00 UTC 2014 - tchvatal@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 - jengelh@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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 8 07:51:54 UTC 2014 - jengelh@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 02:29:44 UTC 2014 - adler_187@yahoo.com
|
||||
|
||||
- Don't hard code gz extension for man pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 01:08:59 UTC 2014 - adler_187@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 10:09:59 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Cleanup spec file
|
||||
- Add Source URL, see https://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 4 15:04:52 CET 2013 - mhrusecky@suse.cz
|
||||
|
||||
- Adding missing includes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 4 13:02:10 CET 2013 - mhrusecky@suse.cz
|
||||
|
||||
- fixed compilation issues with bison
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 27 09:04:52 UTC 2012 - cfarrell@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 - mhrusecky@suse.cz
|
||||
|
||||
- Including some basic drivers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 6 10:35:00 CET 2012 - mhrusecky@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/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 27 06:48:53 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 5 15:12:38 UTC 2011 - uli@suse.com
|
||||
|
||||
- cross-build fix: use %configure macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 17:03:39 CEST 2011 - mhrusecky@suse.cz
|
||||
|
||||
- fixed mutex locking (bnc#637115)
|
||||
- patch by Petr Vandrovec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 13 11:17:49 CEST 2011 - mhrusecky@suse.cz
|
||||
|
||||
- fixed CVE-2011-1145 (bnc#678796)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 19 13:43:00 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 12:34:56 CET 2009 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 15:33:25 CEST 2008 - nadvornik@suse.cz
|
||||
|
||||
- dropped the dlopen patch, it no longer matches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 26 00:34:29 CEST 2007 - dmueller@suse.de
|
||||
|
||||
- add missing ldconfig fall to %post/un
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 12:02:13 CEST 2006 - anosek@suse.cz
|
||||
|
||||
- updated to version 2.2.12
|
||||
* Add missing SQLSetStmtOptionA and SQLSetStmtOptionW
|
||||
* The config string being passed into ConfigDsn was wrong,
|
||||
removed semicolon, and added terminating double null
|
||||
* Add help help to isql
|
||||
* Alter odbctest FullConnect to use SQLDriverConnect
|
||||
* Replace a missed flag for true 64 bit operation
|
||||
* Add ODBC3<->ODBC2 type mapping in SQLSetParam
|
||||
* Tidy up the search for GUI lib code in SQLManageDatasource
|
||||
* Fix possible exit from SQLConnect without having closed
|
||||
in the driver
|
||||
* Alter args to SQLParamOptions
|
||||
* Fix bug preventing attribute length from being returned from
|
||||
SQLDrivers
|
||||
* Fixed broken iusql
|
||||
- dropped obsolete unixODBC-2.2.12.patch unixODBC-qt-dirs.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 15:31:15 CEST 2006 - mmarek@suse.cz
|
||||
|
||||
- moved %{_libdir}/unixODBC/*.so to main package, so that libfoo.so
|
||||
and libfooS.so can be used in driver configuration.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 10:06:51 CEST 2006 - mmarek@suse.cz
|
||||
|
||||
- updated distributed libltdl to make autoconf happy
|
||||
- dropped unixODBC-gui-gtk
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 17:21:34 CEST 2006 - mmarek@suse.cz
|
||||
|
||||
- fixed some uninitialized variables reported by David Binderman
|
||||
[#160570] (uninitialized.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 17:32:52 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- fixed txt driver
|
||||
[#146507] (sqp.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:42:27 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 01:26:05 CET 2006 - ro@suse.de
|
||||
|
||||
- split gui packages to own specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 15:57:16 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Remove unneeded libunicode from neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 16:06:47 CET 2005 - mmarek@suse.cz
|
||||
|
||||
- fix build with flex-2.5.31
|
||||
(flex.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 1 15:44:32 CET 2005 - mmarek@suse.cz
|
||||
|
||||
- add libtool and libinilc symbols to odbcinst/odbcinst.exp
|
||||
(#131175)
|
||||
- disable unixODBC-2.2.11-dm.patch since it's probably no more
|
||||
needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 16:38:38 CEST 2005 - mmarek@suse.cz
|
||||
|
||||
- remove LT_GLOBAL flag from libtool to enable dlopen()ing libodbc.so
|
||||
(#96312)
|
||||
- remove headers for compatibility with qt3 (no longer needed)
|
||||
- added norootforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 27 11:21:59 CEST 2005 - mmarek@suse.cz
|
||||
|
||||
- compile with --disable-stats to prevent DoS [#118547]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 16:14:53 CEST 2005 - mmarek@suse.cz
|
||||
|
||||
- fix gcc warnings about implicit function declarations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 27 11:38:56 CEST 2005 - ltinkl@suse.cz
|
||||
|
||||
- updated to 2.2.11
|
||||
- fix build with gcc4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 12 22:56:40 CEST 2005 - ro@suse.de
|
||||
|
||||
- added audiofile-devel to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 11 18:36:52 CET 2005 - ltinkl@suse.cz
|
||||
|
||||
- update to 2.2.10, adapt patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 10 18:21:25 CET 2004 - ro@suse.de
|
||||
|
||||
- reduced neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 14 11:32:50 CEST 2004 - ltinkl@suse.cz
|
||||
|
||||
- put the .desktop file in the right package (#44790)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 00:18:51 CEST 2004 - ro@suse.de
|
||||
|
||||
- fix some compiler warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 19 13:12:23 CEST 2004 - ltinkl@suse.cz
|
||||
|
||||
- update to 2.2.9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 24 14:34:54 CEST 2004 - ro@suse.de
|
||||
|
||||
- fix some compiler warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 23 12:32:00 CET 2004 - ltinkl@suse.cz
|
||||
|
||||
- don't package generated files (#36304)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 13:52:57 CET 2004 - kukuk@suse.de
|
||||
|
||||
- Obsolete libiodbc-devel instead of conflicting with it.
|
||||
- provide 64bit libodbcinst.so/libobdc.so on all 64bit
|
||||
architectures.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 25 11:47:52 CET 2004 - schwab@suse.de
|
||||
|
||||
- Provide libodbcinst.so()(64bit), libodbc.so()(64bit) on ia64 for
|
||||
BEAJava2 [#29515].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 20 12:00:06 CET 2004 - ltinkl@suse.cz
|
||||
|
||||
- update to 2.2.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 14 18:07:04 CET 2004 - ltinkl@suse.cz
|
||||
|
||||
- added patch to fix SQL results
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 03 12:08:02 CET 2003 - ltinkl@suse.cz
|
||||
|
||||
- update to 2.2.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 05 09:23:42 CEST 2003 - ltinkl@suse.cz
|
||||
|
||||
- fix #29515
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 01 15:23:49 CEST 2003 - ltinkl@suse.cz
|
||||
|
||||
- created patch unixODBC-odbctest.patch to fix #29639
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 16:56:36 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add desktop file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 30 17:01:22 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix gODBCconfig configure.in for autoreconf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 30 16:01:00 CEST 2003 - ltinkl@suse.de
|
||||
|
||||
- update to version 2.2.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 29 22:54:52 CEST 2003 - ro@suse.de
|
||||
|
||||
- remove traces of buildroot from installed files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 18 15:04:23 CEST 2003 - sbrabec@suse.cz
|
||||
|
||||
- GNOME prefix change to /opt/gnome.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 16:55:08 CEST 2003 - sbrabec@suse.cz
|
||||
|
||||
- Added gnome-filesystem to neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 18:49:25 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix for current automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 27 18:56:56 CET 2002 - prehak@suse.cz
|
||||
|
||||
- temporarily added two header files from Qt which make it build with Qt-3.1.1
|
||||
(remove them when they won't be needed to build)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 15:51:30 CET 2002 - ro@suse.de
|
||||
|
||||
- add AM_GNU_GETTEXT_VERSION
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 17 22:04:04 CET 2002 - prehak@suse.cz
|
||||
|
||||
- fixed to build with autoconf 2.56
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 12 15:43:44 CET 2002 - tcrhak@suse.cz
|
||||
|
||||
- fixed for bison 1.75: end rules with semicolons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 01 15:19:08 CEST 2002 - prehak@suse.cz
|
||||
|
||||
- updated to version 2.2.3
|
||||
- libodbcinstQ.{so,la} moved from unixODBC-devel to unixODBC-gui-qt
|
||||
[#19743]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 14:35:56 CEST 2002 - ro@suse.de
|
||||
|
||||
- Added alsa alsa-devel to neededforbuild (esound)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 16:27:41 CEST 2002 - meissner@suse.de
|
||||
|
||||
- Use qt3 instead of qt2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 18 14:27:27 CEST 2002 - prehak@suse.cz
|
||||
|
||||
- fixed segfaulting isql when using SAPDB driver
|
||||
(created unixODBC-segfault.dif)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 13:55:53 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix configure script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 27 13:07:48 CEST 2002 - adrian@suse.de
|
||||
|
||||
- fix neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 9 15:33:13 CEST 2002 - prehak@suse.de
|
||||
|
||||
- updated to version 2.2.2 (mainly bugfixes, some unicode changes)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 17:44:47 CEST 2002 - prehak@suse.cz
|
||||
|
||||
- updated to version 2.2.1 (mainly bugfixes)
|
||||
- changed group to Productivity/Databases/Tools
|
||||
- changed path for .ini files to /etc/unixODBC/
|
||||
and path for drivers to /usr/lib/unixODBC/
|
||||
- removed sample odbcinst.ini (TXT driver is not used so freqvently)
|
||||
- created patch to apply %{_lib} macro
|
||||
- added new configure feature --with-odbc-libs in gODBCConfig
|
||||
- moved *.so files to devel package
|
||||
- created README.SuSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 12:26:10 CEST 2002 - ro@suse.de
|
||||
|
||||
- use libdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 01:16:42 CEST 2002 - ro@suse.de
|
||||
|
||||
- build with current autoconf/automake/gettext
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 19:34:37 CET 2002 - poeml@suse.de
|
||||
|
||||
- don't include the (empty anyway) .ini files to the package, to
|
||||
avoid a file conflict with the libiodbc package. The .ini files
|
||||
are now packed as %ghost and touched in %post in both packages.
|
||||
- rewrote %post to not use absolute paths.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 17:52:57 CET 2002 - ro@suse.de
|
||||
|
||||
- help libtool with RPM_BUILD_ROOT
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 4 17:22:55 CET 2002 - poeml@suse.de
|
||||
|
||||
- update to 2.1.1 (bugfixes, 64 bit fixes, support for FILEDSN's,
|
||||
changes to ODBCConfig. See http://www.unixodbc.org/ for the
|
||||
changelog.)
|
||||
- add new libodbcinstQ.so* to filelist
|
||||
- remove libodbccr.so* from filelist (not to be installed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 9 01:47:39 CET 2001 - ro@suse.de
|
||||
|
||||
- use qt-devel-packages in neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 2 10:53:21 CEST 2001 - rbarn@suse.de
|
||||
|
||||
- update to version 2.0.9
|
||||
- Fix small bug in postgres driver
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 13 18:20:03 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Fix missing declarations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 14:16:55 CEST 2001 - poeml@suse.de
|
||||
|
||||
- bzip2 sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 11:45:16 CEST 2001 - ro@suse.de
|
||||
|
||||
- hack for new gettext
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 1 18:04:04 CEST 2001 - mfrueh@suse.de
|
||||
|
||||
- created initial package
|
||||
|
153
unixODBC.spec
Normal file
153
unixODBC.spec
Normal file
@ -0,0 +1,153 @@
|
||||
#
|
||||
# spec file for package unixODBC
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: unixODBC
|
||||
Version: 2.3.12
|
||||
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/
|
||||
Source0: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Source2: unixODBC-rpmlintrc
|
||||
Patch0: unixODBC-paths.patch
|
||||
Patch1: unixODC-etc-location.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
# bsc#1062860: to stay feature complete
|
||||
Recommends: psqlODBC
|
||||
# for the utf-16 codec, not part of glibc
|
||||
Requires: glibc-locale-base
|
||||
|
||||
%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
|
||||
UnixODBC aims to provide a complete ODBC solution for the Linux
|
||||
platform. Further drivers can be found at http://www.unixodbc.org/.
|
||||
|
||||
%description devel
|
||||
Includes for ODBC development (based on unixODBC).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
chmod -x NEWS README doc/*.html doc/*.gif Drivers/README
|
||||
|
||||
%build
|
||||
perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am
|
||||
export -n LANG LINGUAS LC_ALL
|
||||
rm -rf libltdl
|
||||
autoreconf -fvi
|
||||
%configure \
|
||||
--with-gnu-ld \
|
||||
--enable-ltdllib \
|
||||
--sysconfdir=%{_sysconfdir}/%{name} \
|
||||
--enable-iconv \
|
||||
--with-iconv-char-enc=UTF8 \
|
||||
--with-iconv-ucode-enc=UTF16LE \
|
||||
--enable-fastvalidate \
|
||||
--enable-threads \
|
||||
--enable-gui=no \
|
||||
--disable-stats \
|
||||
--enable-driverc \
|
||||
--enable-drivers \
|
||||
--enable-driver-conf
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -d -m 755 "%{buildroot}/%{_sysconfdir}/%{name}"
|
||||
install -d -m 755 "%{buildroot}/%{_libdir}/%{name}"
|
||||
mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/Drivers
|
||||
cp Drivers/README %{buildroot}/%{_defaultdocdir}/%{name}/Drivers/README
|
||||
|
||||
%make_install
|
||||
rm -rf "%{buildroot}/%{_datadir}/libtool"
|
||||
# packaged in gui-gtk
|
||||
rm -f "%{buildroot}/%{_libdir}"/libmimerS.*
|
||||
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 -n libodbc2 -p /sbin/ldconfig
|
||||
%postun -n libodbc2 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README doc/*.html doc/*.gif
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
%docdir %{_mandir}
|
||||
%{_mandir}/man1/dltest.1%{?ext_man}
|
||||
%{_mandir}/man1/isql.1%{?ext_man}
|
||||
%{_mandir}/man1/iusql.1%{?ext_man}
|
||||
%{_mandir}/man1/odbc_config.1%{?ext_man}
|
||||
%{_mandir}/man1/odbcinst.1%{?ext_man}
|
||||
%{_mandir}/man5/odbc.ini.5%{?ext_man}
|
||||
%{_mandir}/man5/odbcinst.ini.5%{?ext_man}
|
||||
%{_mandir}/man7/unixODBC.7%{?ext_man}
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
%dir %{_sysconfdir}/%{name}/ODBCDataSources
|
||||
%dir %{_libdir}/%{name}
|
||||
%config %{_sysconfdir}/%{name}/odbc.ini
|
||||
%config %{_sysconfdir}/%{name}/odbcinst.ini
|
||||
%{_bindir}/dltest
|
||||
%{_bindir}/isql
|
||||
%{_bindir}/iusql
|
||||
%{_bindir}/odbcinst
|
||||
%{_bindir}/odbc_config
|
||||
%{_bindir}/slencheck
|
||||
%{_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
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/odbc.pc
|
||||
%{_libdir}/pkgconfig/odbccr.pc
|
||||
%{_libdir}/pkgconfig/odbcinst.pc
|
||||
|
||||
%changelog
|
34
unixODC-etc-location.patch
Normal file
34
unixODC-etc-location.patch
Normal file
@ -0,0 +1,34 @@
|
||||
Index: unixODBC-2.3.12/man/odbc.ini.5
|
||||
===================================================================
|
||||
--- unixODBC-2.3.12.orig/man/odbc.ini.5
|
||||
+++ unixODBC-2.3.12/man/odbc.ini.5
|
||||
@@ -1,10 +1,10 @@
|
||||
.TH odbc.ini 5 "Sun 10 Jan 2021" "version 2.3.12" "unixODBC manual pages"
|
||||
|
||||
.SH NAME
|
||||
-/etc/odbc.ini, $HOME/.odbc.ini - unixODBC data source configuration files
|
||||
+/etc/unixODBC/odbc.ini, $HOME/.odbc.ini - unixODBC data source configuration files
|
||||
|
||||
.SH DESCRIPTION
|
||||
-.B /etc/odbc.ini
|
||||
+.B /etc/unixODBC/odbc.ini
|
||||
is a system-wide configuration file for ODBC Data Source Names (DSNs).
|
||||
|
||||
.B $HOME/.odbc.ini
|
||||
Index: unixODBC-2.3.12/man/odbcinst.ini.5
|
||||
===================================================================
|
||||
--- unixODBC-2.3.12.orig/man/odbcinst.ini.5
|
||||
+++ unixODBC-2.3.12/man/odbcinst.ini.5
|
||||
@@ -1,10 +1,10 @@
|
||||
.TH odbcinst.ini 5 "Tue 12 Jan 2021" "version 2.3.12" "unixODBC manual pages"
|
||||
|
||||
.SH NAME
|
||||
-/etc/odbcinst.ini - unixODBC driver configuration file
|
||||
+/etc/unixODBC/odbcinst.ini - unixODBC driver configuration file
|
||||
|
||||
.SH DESCRIPTION
|
||||
-\fB/etc/odbcinst.ini\fR is a configuration file for unixODBC drivers.
|
||||
+\fB/etc/unixODBC/odbcinst.ini\fR is a configuration file for unixODBC drivers.
|
||||
|
||||
The file can be updated by using the \fB odbcinst\fR utility (recommended)
|
||||
or edited by hand.
|
Loading…
Reference in New Issue
Block a user