From 797e5c1c48e6a5b8866504ea42bd7298c63ad3d5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 17 Jan 2019 17:24:31 +0100 Subject: packages: set more explicit ABI_VERSION values In the case of upstream libraries, set the ABI_VERSION variable to the soname value of the first version version after the last backwards incompatible change. For custom OpenWrt libraries, set the ABI_VERSION to the date of the last Git commit doing backwards incompatible changes to the source, such as changing function singatures or dropping exported symbols. The soname values have been determined by either checking https://abi-laboratory.pro/index.php?view=tracker or - in the case of OpenWrt libraries - by carefully reviewing the changes made to header files thorough the corresponding Git history. In the future, the ABI_VERSION values must be bumped whenever the library is updated to an incpompatible version but not with every package update, in order to reduce the dependency churn in the binary package repository. Signed-off-by: Jo-Philipp Wich --- package/system/ubus/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/system/ubus/Makefile') diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile index 8fd5cf6edb..6653132351 100644 --- a/package/system/ubus/Makefile +++ b/package/system/ubus/Makefile @@ -36,7 +36,7 @@ define Package/libubus SECTION:=libs CATEGORY:=Libraries DEPENDS:=+libubox - ABI_VERSION:=$(PKG_VERSION) + ABI_VERSION:=20170705 TITLE:=OpenWrt RPC client library endef -- cgit v1.2.3