From cc7d6ffae5de45c3f6d8e17772d5a011f7626d23 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Tue, 15 Sep 2026 14:50:49 +0800 Subject: [PATCH] compat.unixodbc: the dist tarball from the GitHub release, mirrored to GitCode; www.unixodbc.org stopped answering --- pkgs/c/compat.unixodbc.lua | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/c/compat.unixodbc.lua b/pkgs/c/compat.unixodbc.lua index 3ed961e7..8259b597 100644 --- a/pkgs/c/compat.unixodbc.lua +++ b/pkgs/c/compat.unixodbc.lua @@ -70,12 +70,18 @@ package = { xpm = { linux = { ["2.3.14"] = { - -- Plain-string form: no gitcode mcpp-res mirror yet (no write - -- access from this contributor); lint allows it and CN users - -- fall back to the upstream source. The dist tarball (not the - -- github archive) is required: only it carries the - -- pre-bootstrapped libltdl/. - url = "https://www.unixodbc.org/unixODBC-2.3.14.tar.gz", + -- The dist tarball (not the github archive) is required: only + -- it carries the pre-bootstrapped libltdl/. Upstream publishes + -- the same bytes on www.unixodbc.org and as the asset of its + -- GitHub release; the GitHub asset is the GLOBAL source, and + -- mcpp-res/unixodbc on GitCode mirrors it for CN. The first + -- form named only www.unixodbc.org, which stopped answering on + -- 2026-09-15 and failed nanodbc on both Linux legs of the full + -- sweep. + url = { + GLOBAL = "https://github.com/lurcher/unixODBC/releases/download/v2.3.14/unixODBC-2.3.14.tar.gz", + CN = "https://gitcode.com/mcpp-res/unixodbc/releases/download/2.3.14/unixODBC-2.3.14.tar.gz", + }, sha256 = "4e2814de3e01fc30b0b9f75e83bb5aba91ab0384ee951286504bb70205524771", }, },