dsl-vrx200-firmware-xdsl: fix PKG_VERSION for APK
authorPaul Spooren <mail@aparcar.org>
Fri, 12 Apr 2024 17:01:57 +0000 (19:01 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 28 Oct 2024 23:07:55 +0000 (00:07 +0100)
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@aparcar.org>
package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile

index 649325601c3b8994fe92b5f98039244c3cd201d7..37db950beae54f53aedfacee2550b9e712f35085 100644 (file)
@@ -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