aboutsummaryrefslogtreecommitdiff
path: root/libs/unixodbc/Makefile
Commit message (Collapse)AuthorAge
* unixodbc: Update to 2.3.12Jeffery To2023-10-30
| | | | | | This also adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Split libraries package into separate packagesJeffery To2023-10-30
| | | | | | | | | | | | | | | | | This splits the unixodbc package into separate packages (libodbc, libodbccr, libodbcinst). This also keeps the unixodbc package for backwards compatibility. The Internet News Server driver (libnn) is omitted as the driver README describes it as "in mid-hack"[1] and it is doubtful if there is any real-world use for it. This also updates the package license information and URL, and sets PKG_BUILD_PARALLEL and HOST_BUILD_PARALLEL. [1]: https://github.com/lurcher/unixODBC/blob/9b31cd228d01e768a7ad9126d5da8860f1ed72a9/Drivers/nn/README#L17-L19 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Copy pgsqlodbc.ini instead of creating it dynamicallyJeffery To2023-10-30
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Use default includedir for target configureJeffery To2023-10-30
| | | | | | | | | | Replace INCLUDE_PREFIX in config.h for host odbc_config instead of specifying includedir to target configure. This also updates the prefixes in unixodbc_conf.h to keep config.h and unixodbc_conf.h in sync. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Use default build recipesJeffery To2023-10-30
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Use InstallDev directory to transfer include filesJeffery To2023-10-30
| | | | | | | | | | This uses the default InstallDev directory instead of a "tmp" directory to transfer include files from the target package to host build. Using a "tmp" directory implies that the files inside are safe to delete, but without these include files the host build will not succeed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Change host build directories to be target-specificJeffery To2023-10-30
| | | | | | | | | | Since the host odbc_config returns target-specific information, it should be built and placed into target-specific locations. This changes HOST_BUILD_DIR to be in $(BUILD_DIR)/host, and installs odbc_config inside $(STAGING_DIR)/host. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: Remove custom unixodbc_conf.hJeffery To2023-10-30
| | | | | | | | | | As unixodbc_conf.h is now generated by configure instead of odbc_config[1], it is not necessary to use a custom copy of the header file anymore. [1]: https://github.com/lurcher/unixODBC/commit/be3341cdc61623a533d3a17529cc65b101bfa8a0 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* unixodbc: use 'install' when copying host binariesEneas U de Queiroz2021-08-11
| | | | | | | | '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>
* unixodbc: update to 2.3.9Rosen Penev2020-12-01
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: Capitalize submenusEneas U de Queiroz2019-07-25
| | | | | | Fixed a typo in tcpreplay. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* unixodbc: save unixodbc_conf.h for host buildEneas U de Queiroz2018-12-12
| | | | | | | 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>
* unixodbc: fix clean-build compilationEneas U de Queiroz2018-12-06
| | | | | | | | | 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>
* unixodbc: Fix LIB_PREFIX in host buildEneas U de Queiroz2018-12-06
| | | | | | | | | 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>
* unixodbc: Update to 2.3.7Rosen Penev2018-10-19
| | | | | | | | | | | | | | | | 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>
* Revert "unixodbc: Update to 2.3.7"Stijn Tintel2018-10-19
| | | | | | | | | | | | | This reverts commit 6d6c15e1e9fd5a381f3cce0d68c3b781a82088ce. 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>
* unixodbc: Update to 2.3.7Rosen Penev2018-09-10
| | | | | | | | | | | 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>
* unixodbc: fix host buildDaniel Golle2017-08-30
| | | | | | | Fixed #4705 Reported-by: Michael Braun <michael-dev@fami-braun.de> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | 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>
* unixodbc: fix cross-compile driversDaniel Golle2017-07-08
| | | | | | | | 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>
* unixodbc: auto-generate odbcinst.iniDaniel Golle2017-07-02
| | | | | | | | | | | 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>
* unixodbc:heil2016-01-25
| | | | | | - corect fetch url Signed-off-by: heil <heil@terminal-consulting.de>
* unixodbc: bump to version 2.3.4heil2015-09-06
| | | | Signed-off-by: heil <heil@terminal-consulting.de>
* unixodbc: update to 2.3.3heil2015-08-24
| | | | Signed-off-by: heil <heil@terminal-consulting.de>
* unixodbc: change PKG_SOURCE_URL to sourceforgeJiri Slachta2014-10-07
| | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
* unixodbc: import from oldpackages, add myself as maintainer, add licenseThomas Heil2014-07-12
information, update to v2.3.2 Signed-off-by: Thomas Heil <heil@terminal-consulting.de>