packages: set more explicit ABI_VERSION values
authorJo-Philipp Wich <jo@mein.io>
Thu, 17 Jan 2019 16:24:31 +0000 (17:24 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 19 Jan 2019 13:31:51 +0000 (14:31 +0100)
commit797e5c1c48e6a5b8866504ea42bd7298c63ad3d5
treec56a945318b29112a49af64da09f4c59a77b0494
parent1bd18f2b5cbf1c9c384e9725eff7804decf88c90
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 <jo@mein.io>
package/libs/libubox/Makefile
package/libs/mbedtls/Makefile
package/libs/ncurses/Makefile
package/libs/openssl/Makefile
package/libs/readline/Makefile
package/libs/ustream-ssl/Makefile
package/network/utils/iptables/Makefile
package/network/utils/iwinfo/Makefile
package/system/ubus/Makefile