[openwrt/openwrt] dsl-vrx200-firmware-xdsl: fix PKG_VERSION for APK

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 28 16:08:41 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/81ed181a51e1786129a0c26c631991c41ee951a4

commit 81ed181a51e1786129a0c26c631991c41ee951a4
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Fri Apr 12 19:01:57 2024 +0200

    dsl-vrx200-firmware-xdsl: fix PKG_VERSION for APK
    
    The version was a mix of strings, hex numbers and semantic numbers.
    
    Switch the PKG_VERSION to something digestible by APK and introduce
    PKG_SOURCE_VERSION to handle the actual filename.
    
    While at it, drop the redundant PKG_B_NAME which was the same as
    PKG_NAME anyway.
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile b/package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile
index 649325601c..37db950bea 100644
--- a/package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile
+++ b/package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile
@@ -7,9 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dsl_vr9_firmware_xdsl
-PKG_VERSION:=05.08.01.08.01.06_05.08.00.0B.01.01_osc
+PKG_VERSION:=05.08.01.08.01.06.05.08.00.11.01.01
+PKG_SOURCE_VERSION:=05.08.01.08.01.06_05.08.00.0B.01.01_osc
 PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_SOURCE_URL:=@OPENWRT
 PKG_HASH:=44cd94130571fe42dfa8f0f9d44597d104e9e77962617fe38646b7a0b4184a2b
 PKG_BUILD_DEPENDS:=bsdiff/host
@@ -18,9 +20,9 @@ PKG_FLAGS:=nonshared
 
 include $(INCLUDE_DIR)/package.mk
 
-PKG_B_NAME:=dsl_vr9_firmware_xdsl
-PKG_B_VERSION:=05.07.09.09.00.06_05.07.04.04.00.02_osc
-PKG_B_SOURCE:=$(PKG_B_NAME)-$(PKG_B_VERSION).tar.gz
+PKG_B_VERSION:=05.07.09.09.00.06.05.07.04.04.00.02
+PKG_B_SOURCE_VERSION:=05.07.09.09.00.06_05.07.04.04.00.02_osc
+PKG_B_SOURCE:=$(PKG_NAME)-$(PKG_B_SOURCE_VERSION).tar.gz
 
 ANNEX_A_VER:=581816_580B11
 ANNEX_B_VER:=579906_574402




More information about the lede-commits mailing list