From 414df31c74b28c6ac33d27434f0fdf85adbddfc0 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 9 Aug 2018 19:27:46 -0700 Subject: [PATCH] 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 [add PKG_FIXUP:=autoreconf - thanks jow] Signed-off-by: Stijn Tintel --- libs/unixodbc/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/libs/unixodbc/Makefile b/libs/unixodbc/Makefile index 6a1ca0dff..966848ac3 100644 --- a/libs/unixodbc/Makefile +++ b/libs/unixodbc/Makefile @@ -8,18 +8,23 @@ include $(TOPDIR)/rules.mk PKG_NAME:=unixodbc -PKG_VERSION:=2.3.4 -PKG_RELEASE:=5 +PKG_VERSION:=2.3.7 +PKG_RELEASE:=1 -PKG_SOURCE_URL:=ftp://ftp.unixodbc.org/pub/unixODBC/ PKG_SOURCE:=unixODBC-$(PKG_VERSION).tar.gz -PKG_HASH:=2e1509a96bb18d248bf08ead0d74804957304ff7c6f8b2e5965309c632421e39 -PKG_BUILD_DIR:=$(BUILD_DIR)/unixODBC-$(PKG_VERSION) -HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/unixODBC-$(PKG_VERSION) +PKG_SOURCE_URL:=http://www.unixodbc.org +PKG_HASH:=45f169ba1f454a72b8fcbb82abd832630a3bf93baa84731cf2949f449e1e3e77 + PKG_MAINTAINER:=Thomas Heil PKG_LICENSE:=prog GPL libs LGPL +PKG_CPE_ID:=cpe:/a:unixodbc:unixodbc + +PKG_BUILD_DIR:=$(BUILD_DIR)/unixODBC-$(PKG_VERSION) +HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/unixODBC-$(PKG_VERSION) HOST_BUILD_DEPENDS:=unixodbc +PKG_FIXUP:=autoreconf + # if your other package depends on unixodbc and needs # odbc_config, add to your other Makefile # PKG_BUILD_DEPENDS:=unixodbc/host @@ -36,7 +41,7 @@ CONFIGURE_ARGS += \ define Package/unixodbc/Default SUBMENU:=database TITLE:=unixODBC - URL:=http://www.unixodbc.org/ + URL:=http://www.unixodbc.org endef define Package/unixodbc