mdio-tools: use commit hash as the source version

In light of the recent XZ events, it seems that using the tag as the
source version reference is not ideal as it can be updated by the upstream
lets switch to using the full commit hash as the source.

This also should fix the APK semantic versioning by setting PKG_VERSION as
well updating the PKG_MIRROR_HASH which got broken by recent APK changes.

Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko 2024-04-02 15:14:03 +02:00 committed by Tianling Shen
parent 69a5a8000b
commit 639cc3d2e4
2 changed files with 6 additions and 4 deletions

View File

@ -2,11 +2,12 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mdio-netlink
PKG_RELEASE:=1
PKG_VERSION:=1.3.1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1.3.1
PKG_SOURCE_VERSION:=f74eaf38dbda441df4fcaeb21ca4465957953a2f
PKG_MIRROR_HASH:=97dfd25d8cdf5994eeb8cb0a5862c993b8aef373b280bca567d41d4113f494a9
PKG_LICENSE:=GPL-2.0-only

View File

@ -1,11 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mdio-tools
PKG_RELEASE:=1
PKG_VERSION:=1.3.1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1.3.1
PKG_SOURCE_VERSION:=f74eaf38dbda441df4fcaeb21ca4465957953a2f
PKG_MIRROR_HASH:=b7973284dc3dffef4bd2a904e3f7aa7fd3caab4aecf85ac57488f5acbf341aba
PKG_FIXUP:=autoreconf