Commit Graph

89 Commits

Author SHA256 Message Date
Ana Guerrero
95ac69ff53 Accepting request 1159779 from server:database
- bsc#1221709: Fix build with gcc14
  Add unixODBC-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1159779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=47
2024-03-21 16:00:01 +00:00
Michael Vetter
aa2269cbd0 - bsc#1221709: Fix build with gcc14
Add unixODBC-gcc14.patch

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=81
2024-03-20 07:57:32 +00:00
Ana Guerrero
95dc54b3e0 Accepting request 1148252 from server:database
OBS-URL: https://build.opensuse.org/request/show/1148252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=46
2024-02-21 16:52:46 +00:00
Michael Vetter
a772c2f807 Accepting request 1148236 from home:dimstar:rpm4.20:u
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1148236
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=79
2024-02-20 15:54:26 +00:00
Dominique Leuenberger
bfa926f2b3 Accepting request 1102884 from server:database
- 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

OBS-URL: https://build.opensuse.org/request/show/1102884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=45
2023-08-09 15:24:06 +00:00
Michael Vetter
b0d6c5f338 - Update unixODC-etc-location.patch
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=77
2023-08-08 11:52:37 +00:00
Michael Vetter
f68a2c19d7 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=76
2023-08-08 11:51:59 +00:00
Dominique Leuenberger
1b6b5eabcf Accepting request 1098343 from server:database
OBS-URL: https://build.opensuse.org/request/show/1098343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=44
2023-07-14 13:35:39 +00:00
Michael Vetter
4185cef1d8 Accepting request 1098342 from home:dancermak:branches:server:database
Add missing requires for glibc-locale-base, required for utf16 codec (bsc#1213242)

OBS-URL: https://build.opensuse.org/request/show/1098342
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=74
2023-07-12 10:41:34 +00:00
Dominique Leuenberger
5ad96a511c Accepting request 987377 from server:database
- 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

OBS-URL: https://build.opensuse.org/request/show/987377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=43
2022-07-09 14:59:27 +00:00
Michael Vetter
74b9e04e4e OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=72 2022-07-07 08:34:28 +00:00
Michael Vetter
9a894e58c3 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=71
2022-07-07 08:32:52 +00:00
Dominique Leuenberger
0dc8f881e0 Accepting request 974978 from server:database
- Update to 2.3.11:
  * Add missing files to 2.3.10
- See https://github.com/lurcher/unixODBC/issues/107

OBS-URL: https://build.opensuse.org/request/show/974978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=42
2022-05-06 16:58:57 +00:00
Michael Vetter
ccbc586561 - Update to 2.3.11:
* Add missing files to 2.3.10
- See https://github.com/lurcher/unixODBC/issues/107

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=69
2022-05-04 17:18:17 +00:00
Dominique Leuenberger
fcd37ac08c Accepting request 974444 from server:database
OBS-URL: https://build.opensuse.org/request/show/974444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=41
2022-05-04 13:17:38 +00:00
Michael Vetter
969c446282 Accepting request 974443 from home:jubalh:branches:server:database
- 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

OBS-URL: https://build.opensuse.org/request/show/974443
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=67
2022-05-02 15:13:25 +00:00
Dominique Leuenberger
e9fe391188 Accepting request 931801 from server:database
- SLE-20556 Expand documentation:
  Add:
  * unixODBC-doc-website.patch
  * unixODBC-doc-drivers.patch

OBS-URL: https://build.opensuse.org/request/show/931801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=40
2021-11-18 09:33:12 +00:00
Michael Vetter
e9fdbe385b OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=66 2021-11-16 15:24:43 +00:00
Michael Vetter
17ce67630f - SLE-20556 Expand documentation:
Add:
  * unixODBC-doc-website.patch
  * unixODBC-doc-drivers.patch

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=65
2021-11-16 14:59:09 +00:00
Dominique Leuenberger
7951e7399d Accepting request 869575 from server:database
OBS-URL: https://build.opensuse.org/request/show/869575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=39
2021-02-11 11:46:52 +00:00
Michael Vetter
66304fec74 Accepting request 869573 from home:cgiboudeaux:branches:server:database
- 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.

OBS-URL: https://build.opensuse.org/request/show/869573
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=63
2021-02-04 20:30:08 +00:00
Dominique Leuenberger
4faab38689 Accepting request 836234 from server:database
OBS-URL: https://build.opensuse.org/request/show/836234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=38
2020-09-25 14:21:13 +00:00
Michael Vetter
6a0465e982 Accepting request 836160 from home:jengelh:branches:server:database
- Update requires and baselibs for new libodbc2.

OBS-URL: https://build.opensuse.org/request/show/836160
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=61
2020-09-23 07:50:34 +00:00
Lars Vogdt
6ec9a6cef7 Accepting request 834875 from home:jengelh:branches:server:database
- Employ shared library packaging guideline

OBS-URL: https://build.opensuse.org/request/show/834875
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=60
2020-09-20 08:22:25 +00:00
Dominique Leuenberger
ae7c20f1ca Accepting request 833076 from server:database
- Update to 2.3.9:
  * Remove "#define UNIXODBC_SOURCE" from unixodbc_conf.h

OBS-URL: https://build.opensuse.org/request/show/833076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=37
2020-09-14 10:01:13 +00:00
Michael Vetter
77190b308d - Update to 2.3.9:
* Remove "#define UNIXODBC_SOURCE" from unixodbc_conf.h

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=58
2020-09-08 19:58:24 +00:00
Dominique Leuenberger
0ae2f60fbe Accepting request 830983 from server:database
- 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

OBS-URL: https://build.opensuse.org/request/show/830983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=36
2020-09-04 08:53:34 +00:00
Michael Vetter
b7c23750e1 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=56
2020-09-01 07:48:47 +00:00
Dominique Leuenberger
c6aef0d7f0 Accepting request 644353 from server:database
- 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

OBS-URL: https://build.opensuse.org/request/show/644353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=35
2018-11-06 13:08:42 +00:00
Michael Vetter
1cf4c817ed - 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

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=54
2018-10-24 14:43:50 +00:00
Dominique Leuenberger
eba2dfac62 Accepting request 590348 from server:database
- Add BuildRequires: pkgconfig since we install .pc files
- Add unixODBC-rpmlintrc: devel files are in the right place

- bsc#1062860: Recommend psqlODBC to stay feature complete

- 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

OBS-URL: https://build.opensuse.org/request/show/590348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=34
2018-03-26 10:10:18 +00:00
Michael Vetter
a6b55d4922 - Add BuildRequires: pkgconfig since we install .pc files
- Add unixODBC-rpmlintrc: devel files are in the right place

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=52
2018-03-22 14:24:53 +00:00
Michael Vetter
3172bd0b5d - bsc#1062860: Recommend psqlODBC to stay feature complete
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=51
2018-03-19 12:56:18 +00:00
Michael Vetter
a803418cca - 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

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=50
2018-03-19 12:01:16 +00:00
Dominique Leuenberger
8e491c5f09 Accepting request 578709 from server:database
- 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.

OBS-URL: https://build.opensuse.org/request/show/578709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=33
2018-02-22 13:58:41 +00:00
Michael Vetter
336b68dd55 - 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.

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=48
2018-02-21 13:45:38 +00:00
Dominique Leuenberger
bbec0c3147 Accepting request 505899 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/505899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=32
2017-06-30 16:38:42 +00:00
Martin Pluskal
849ad7d2a0 Accepting request 505898 from home:adamm:branches:server:database
- Enabled --enable-fastvalidate option in configure (bnc#1044970)

OBS-URL: https://build.opensuse.org/request/show/505898
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=46
2017-06-23 14:07:05 +00:00
Dominique Leuenberger
ca60575756 Accepting request 394860 from server:database
OBS-URL: https://build.opensuse.org/request/show/394860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=31
2016-05-16 10:02:48 +00:00
Michael Vetter
c4c2fe01b9 - Requested by fate#319390
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=45
2016-05-11 14:03:42 +00:00
Michael Vetter
e9ba0ef62c - Add comment in spec file so people know why the .so files are
not in the devel package

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=44
2016-05-11 12:48:10 +00:00
Michael Vetter
9a0a252172 Accepting request 394845 from home:jubalh:branches:server:database
OBS-URL: https://build.opensuse.org/request/show/394845
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=43
2016-05-11 12:37:16 +00:00
Dominique Leuenberger
db6d4b80dd Accepting request 357427 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/357427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=30
2016-02-12 10:21:28 +00:00
Martin Pluskal
a2883776b4 Accepting request 356755 from home:markusbeth:branches:server:database
removed some obsolete patches

OBS-URL: https://build.opensuse.org/request/show/356755
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=41
2016-02-02 21:53:17 +00:00
Dominique Leuenberger
ed55578bc5 Accepting request 328309 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/328309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=29
2015-09-11 07:00:33 +00:00
Michael Vetter
9e6e20a522 Accepting request 328304 from home:scarabeus_iv:branches:server:database
- Version bump to 2.3.4:
  * Fix typo in the loading of the cursor lib

OBS-URL: https://build.opensuse.org/request/show/328304
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=39
2015-09-01 12:03:21 +00:00
Stephan Kulow
5e6e3013c0 Accepting request 326524 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/326524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=28
2015-08-27 06:54:09 +00:00
Martin Pluskal
9d20d861aa Accepting request 326484 from home:adler187:branches:server:database
Update to 2.3.3

OBS-URL: https://build.opensuse.org/request/show/326484
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=37
2015-08-25 07:01:15 +00:00
Dominique Leuenberger
6ccbf29c51 Accepting request 263603 from server:database
- 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

- 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)

OBS-URL: https://build.opensuse.org/request/show/263603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=27
2014-12-03 21:53:22 +00:00
Tomáš Chvátal
a8ffe02ab0 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=35
2014-12-01 12:25:32 +00:00