treewide: use APK compatible version schema
authorPaul Spooren <mail@aparcar.org>
Sun, 17 Mar 2024 17:43:10 +0000 (18:43 +0100)
committerPaul Spooren <mail@aparcar.org>
Fri, 22 Mar 2024 21:14:22 +0000 (22:14 +0100)
commite8725a932e16eaf6ec51add8c084d959cbe32ff2
tree1e6e0a3731bf9c4860b6d13fa08bea226f999a6f
parent36acf88fe0d974a7de5c3be5d3303048c54ce6fb
treewide: use APK compatible version schema

Different from OPKG, APK uses a deterministic version schema which chips
the version into chunks and compares them individually. This enforces a
certain schema which was previously entirely flexible.

 - Releases are added at the very and end prefixed with an `r` like
`1.2.3-r3`.
- Hashes are prefixed with a `~` like `1.2.3~abc123`.
- Dates become semantic versions, like `2024.04.01`
- Extra tags are possible like `_git`, `_alpha` and more.

For full details see the APK test list:
https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data

Signed-off-by: Paul Spooren <mail@aparcar.org>
63 files changed:
include/download.mk
include/kernel.mk
include/package-defaults.mk
package/base-files/Makefile
package/devel/leds/Makefile
package/firmware/ath10k-ct-firmware/Makefile
package/firmware/ath11k-firmware/Makefile
package/firmware/broadcom-sprom/Makefile
package/kernel/ath10k-ct/Makefile
package/kernel/linux/Makefile
package/kernel/mt76/Makefile
package/kernel/nat46/Makefile
package/kernel/rtl8812au-ct/Makefile
package/libs/libnl-tiny/Makefile
package/libs/libubox/Makefile
package/libs/toolchain/Makefile
package/libs/uclient/Makefile
package/libs/udebug/Makefile
package/libs/ustream-ssl/Makefile
package/network/config/firewall/Makefile
package/network/config/firewall4/Makefile
package/network/config/netifd/Makefile
package/network/config/qosify/Makefile
package/network/ipv6/odhcp6c/Makefile
package/network/services/bridger/Makefile
package/network/services/hostapd/Makefile
package/network/services/ipset-dns/Makefile
package/network/services/odhcpd/Makefile
package/network/services/omcproxy/Makefile
package/network/services/ppp/Makefile
package/network/services/relayd/Makefile
package/network/services/uhttpd/Makefile
package/network/services/umdns/Makefile
package/network/services/unetd/Makefile
package/network/services/ustp/Makefile
package/network/utils/ebtables/Makefile
package/network/utils/iwinfo/Makefile
package/network/utils/umbim/Makefile
package/network/utils/uqmi/Makefile
package/network/utils/wwan/Makefile
package/system/fstools/Makefile
package/system/fwtool/Makefile
package/system/gpio-cdev/nu801/Makefile
package/system/openwrt-keyring/Makefile
package/system/opkg/Makefile
package/system/procd/Makefile
package/system/rpcd/Makefile
package/system/ubox/Makefile
package/system/ubus/Makefile
package/system/ucert/Makefile
package/system/uci/Makefile
package/system/urngd/Makefile
package/system/usign/Makefile
package/utils/jsonfilter/Makefile
package/utils/ravpower-mcu/Makefile
package/utils/ucode/Makefile
package/utils/ugps/Makefile
package/utils/usbmode/Makefile
tools/b43-tools/Makefile
tools/cbootimage-configs/Makefile
tools/firmware-utils/Makefile
tools/make-ext4fs/Makefile
tools/sdimage/Makefile