Commit Graph

18 Commits

Author SHA1 Message Date
Eneas U de Queiroz 47f98d7030
unixodbc: use 'install' when copying host binaries
'cp' fails with a text file busy error if it tries to overwrite an
executable file that is running.  'install' unlinks the file first, so
it will not cause the problem.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-08-11 16:59:20 -03:00
Rosen Penev 4184fb950c
unixodbc: update to 2.3.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-01 16:24:00 -08:00
Eneas U de Queiroz 2593eabd6b treewide: Capitalize submenus
Fixed a typo in tcpreplay.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-25 09:35:40 +08:00
Eneas U de Queiroz c6caa108cb unixodbc: save unixodbc_conf.h for host build
Save a copy of unixodbc_conf.h in STAGING_DIR to be used by host build.
Use STAGING_DIR/tmp/unixodbc instead of include.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-12 08:53:30 -02:00
Eneas U de Queiroz e4693dd939 unixodbc: fix clean-build compilation
For host compilation, the configure-generated config.h from the target
compilation is used in place of the host-generated file.  When the
target package is compiled with clean-build, that file is gone.  This
saves the file under $(STAGING_DIR), and fetch it from there.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-06 12:03:02 -02:00
Eneas U de Queiroz 8dc012dfad unixodbc: Fix LIB_PREFIX in host build
When copying config.h from PKG_BUILD_DIR to HOST_BUILD_DIR, LIB_PREFIX
is set to /usr/lib.  Then when odbc_config is run, it reports /usr/lib
as the --lib-dir, and in --libs as well, and dependent packages may
fail.  Set it to $(STAGING_DIR)/usr/lib to make it right.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-06 10:30:17 -02:00
Rosen Penev 414df31c74 unixodbc: Update to 2.3.7
Switched to HTTP as FTP can be problematic. uscan for example has issues
figuring out the latest version.

Added PKG_CPE_ID for proper CVE tracking.

Reorganized Makefile for consistency with other projects.

Add PKG_FIXUP:=autoreconf, needed to avoid host lib leakage on hosts
with unixodbc installed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[add PKG_FIXUP:=autoreconf - thanks jow]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-10-19 19:56:06 +03:00
Stijn Tintel f225f1fd49 Revert "unixodbc: Update to 2.3.7"
This reverts commit 6d6c15e1e9.

The package no longer cross-compiles when building for the x86/64 target
on an x86/64, resulting in the following error:

Package unixodbc is missing dependencies for the following libraries:
libc.so.6
libpthread.so.0

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-10-19 19:24:23 +03:00
Rosen Penev 6d6c15e1e9 unixodbc: Update to 2.3.7
Switched to HTTP as FTP can be problematic. uscan for example has issues
figuring out the latest version.

Added PKG_CPE_ID for proper CVE tracking.

Reorganized Makefile for consistency with other projects.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-10 12:55:07 -07:00
Daniel Golle b8f0e2ca38 unixodbc: fix host build
Fixed #4705

Reported-by: Michael Braun <michael-dev@fami-braun.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-08-30 19:27:40 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Daniel Golle 5cc52f06aa unixodbc: fix cross-compile drivers
build odbc_config for host so drivers may use it to figure out build
details, patch odbc_config to return target specific values from
unixodbc_conf.h.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-08 12:44:20 +02:00
Daniel Golle 32989cc486
unixodbc: auto-generate odbcinst.ini
This allows ODBC drivers to create odbcinst.ini-snippets in
/etc/odbcinst.ini.d/ which will be assembled into
/tmp/etc/odbcinst.ini. /etc/odbcinst.ini is provided as a symlink
pointing to /tmp/etc/odbcinst.ini
Hence the unixODBC-provided PostgreSQL driver was also given an
odbcinst.ini.d snippet.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-02 20:47:26 +02:00
heil a5c153d7d3 unixodbc:
- corect fetch url

Signed-off-by: heil <heil@terminal-consulting.de>
2016-01-25 14:06:18 +01:00
heil 29195f5b98 unixodbc: bump to version 2.3.4
Signed-off-by: heil <heil@terminal-consulting.de>
2015-09-06 23:53:35 +02:00
heil da89247736 unixodbc: update to 2.3.3
Signed-off-by: heil <heil@terminal-consulting.de>
2015-08-24 10:40:38 +02:00
Jiri Slachta e7f1cac1bf unixodbc: change PKG_SOURCE_URL to sourceforge
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-10-07 14:50:13 +02:00
Thomas Heil 7f705d4b28 unixodbc: import from oldpackages, add myself as maintainer, add license
information, update to v2.3.2

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-07-12 13:35:04 +02:00