psqlodbc: update to 18.00.0001
authorAlexandru Ardelean <redacted>
Wed, 22 Apr 2026 09:30:51 +0000 (12:30 +0300)
committerAlexandru Ardelean <redacted>
Wed, 6 May 2026 18:05:02 +0000 (21:05 +0300)
Update from 17.00.0004 (2024-12-09) to 18.00.0001 (2026-03-23).
This is a major version bump to the 18.x series, aligning with
PostgreSQL 18 support. Switch from a fixed git commit to the
18.00.0001 tagged release.

Add test.sh to verify the psqlodbca and psqlodbcw shared libraries
are present after installation.

Signed-off-by: Alexandru Ardelean <redacted>
libs/psqlodbc/Makefile
libs/psqlodbc/test.sh [new file with mode: 0644]

index 5fd856aba345fcfecde8e12f16521479d07e419f..ce9704b43adb25eac33523bf840a7d9b3910c157 100644 (file)
@@ -5,14 +5,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=psqlodbc
-PKG_VERSION:=17.00.0004
+PKG_VERSION:=18.00.0001
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/postgresql-interfaces/psqlodbc.git
-PKG_SOURCE_DATE:=2024-12-09
-PKG_SOURCE_VERSION:=20097cdf913de593b17d8aa9ec163de4e12896c0
-PKG_MIRROR_HASH:=177001d0f0cbb530ec4d7a4666785c07fd5563ef9cf58a5ebf311cbb68c419f0
+PKG_SOURCE_DATE:=2026-03-23
+PKG_SOURCE_VERSION:=b4897ee1ac17688f557b81a7869080a3f3bbf498
+PKG_MIRROR_HASH:=99248d25e438bf44ad3f57b23e3b9bf0ef12174951b2a9d7138d1a0c27ad13f5
 
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 PKG_LICENSE:=LGPL-2.0-or-later
diff --git a/libs/psqlodbc/test.sh b/libs/psqlodbc/test.sh
new file mode 100644 (file)
index 0000000..c362255
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+case "$1" in
+psqlodbca)
+       [ -f /usr/lib/psqlodbca.so ] || { echo "FAIL: psqlodbca.so not found"; exit 1; }
+       echo "psqlodbca OK"
+       ;;
+psqlodbcw)
+       [ -f /usr/lib/psqlodbcw.so ] || { echo "FAIL: psqlodbcw.so not found"; exit 1; }
+       echo "psqlodbcw OK"
+       ;;
+esac
git clone https://git.99rst.org/PROJECT