diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-01-17 17:24:31 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-01-19 14:31:51 +0100 |
commit | 797e5c1c48e6a5b8866504ea42bd7298c63ad3d5 (patch) | |
tree | c56a945318b29112a49af64da09f4c59a77b0494 /package/network | |
parent | 1bd18f2b5cbf1c9c384e9725eff7804decf88c90 (diff) | |
download | upstream-797e5c1c48e6a5b8866504ea42bd7298c63ad3d5.tar.gz upstream-797e5c1c48e6a5b8866504ea42bd7298c63ad3d5.tar.bz2 upstream-797e5c1c48e6a5b8866504ea42bd7298c63ad3d5.zip |
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>
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/utils/iptables/Makefile | 10 | ||||
-rw-r--r-- | package/network/utils/iwinfo/Makefile | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index 6c42774ef4..c6e0a64966 100644 --- a/package/network/utils/iptables/Makefile +++ b/package/network/utils/iptables/Makefile @@ -493,7 +493,7 @@ $(call Package/iptables/Default) SECTION:=libs CATEGORY:=Libraries DEPENDS:=+libip4tc +libip6tc +libxtables - ABI_VERSION:=$(PKG_VERSION) + ABI_VERSION:=0 TITLE:=IPv4/IPv6 firewall - shared libiptc library (nf compatibility stub) endef @@ -502,7 +502,7 @@ $(call Package/iptables/Default) SECTION:=libs CATEGORY:=Libraries TITLE:=IPv4 firewall - shared libiptc library - ABI_VERSION:=$(PKG_VERSION) + ABI_VERSION:=0 DEPENDS:=+libxtables endef @@ -511,7 +511,7 @@ $(call Package/iptables/Default) SECTION:=libs CATEGORY:=Libraries TITLE:=IPv6 firewall - shared libiptc library - ABI_VERSION:=$(PKG_VERSION) + ABI_VERSION:=0 DEPENDS:=+libxtables endef @@ -520,7 +520,7 @@ define Package/libxtables SECTION:=libs CATEGORY:=Libraries TITLE:=IPv4/IPv6 firewall - shared xtables library - ABI_VERSION:=$(PKG_VERSION) + ABI_VERSION:=12 DEPENDS:= \ +IPTABLES_CONNLABEL:libnetfilter-conntrack \ +IPTABLES_NFTABLES:libnftnl @@ -531,7 +531,7 @@ define Package/libxtables-nft SECTION:=libs CATEGORY:=Libraries TITLE:=IPv4/IPv6 firewall - shared xtables nft library - ABI_VERSION:=$(PKG_VERSION) + ABI_VERSION:=12 DEPENDS:=libxtables endef diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile index c737dd41e7..000a79cbf6 100644 --- a/package/network/utils/iwinfo/Makefile +++ b/package/network/utils/iwinfo/Makefile @@ -33,7 +33,7 @@ define Package/libiwinfo CATEGORY:=Libraries TITLE:=Generalized Wireless Information Library (iwinfo) DEPENDS:=+PACKAGE_kmod-cfg80211:libnl-tiny +libuci +libubus - ABI_VERSION:=$(PKG_RELEASE) + ABI_VERSION:=20181126 endef define Package/libiwinfo/description |