From 9315d70721eaa9dba46efb6e8fdd80451a995bfb Mon Sep 17 00:00:00 2001 From: ngn Date: Tue, 3 Sep 2024 00:27:04 +0300 Subject: [PATCH] fix: archive file hash updates for matterlinux packages --- src/mirp/changes.md | 3 +++ src/mirp/pkg.sh | 6 +++--- src/pooler/changes.md | 6 ++++++ src/pooler/pkg.sh | 6 +++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/mirp/changes.md b/src/mirp/changes.md index b50a54f..8334300 100644 --- a/src/mirp/changes.md +++ b/src/mirp/changes.md @@ -1,3 +1,6 @@ +# 24.01m1 +Updated the archive file hash + # 24.01 Updated to the latest upstream release diff --git a/src/mirp/pkg.sh b/src/mirp/pkg.sh index 5cd6dc3..6cb2dde 100644 --- a/src/mirp/pkg.sh +++ b/src/mirp/pkg.sh @@ -1,10 +1,10 @@ # general info NAME="mirp" DESC="MPTP mirror tool" -VERSION="24.01" +VERSION="24.01m1" # required files -FILES=("https://git.matterlinux.xyz/Matter/mirp/archive/${VERSION}.tar.gz") +FILES=("https://git.matterlinux.xyz/Matter/mirp/archive/${VERSION%m*}.tar.gz") HASHES=("66fa6ea01ecf640582b78f38b953f8e9f859303511b3303653c43bd16ebe9835") # install and build depends @@ -12,7 +12,7 @@ DEPENDS=("libmp") BUILD=("gettext") PACKAGE(){ - tar xf "${VERSION}.tar.gz" + tar xf "${VERSION%m*}.tar.gz" cd "${NAME}" make diff --git a/src/pooler/changes.md b/src/pooler/changes.md index d6cee4b..a714c57 100644 --- a/src/pooler/changes.md +++ b/src/pooler/changes.md @@ -1,3 +1,9 @@ +# 24.03m1 +Updated the archive file hash + +# 24.03 +Updated to latest upstream release + # 24.02 Updated to latest upstream release diff --git a/src/pooler/pkg.sh b/src/pooler/pkg.sh index e53149d..5481717 100644 --- a/src/pooler/pkg.sh +++ b/src/pooler/pkg.sh @@ -1,11 +1,11 @@ # general info NAME="pooler" DESC="Simple MPTP server for serving package pools" -VERSION="24.03" +VERSION="24.03m1" # required files FILES=( - "https://git.matterlinux.xyz/Matter/pooler/archive/${VERSION}.tar.gz" + "https://git.matterlinux.xyz/Matter/pooler/archive/${VERSION%m*}.tar.gz" "pooler.service" ) HASHES=( @@ -18,7 +18,7 @@ DEPENDS=("libmp" "libinih") BUILD=("gettext") PACKAGE(){ - tar xf "${VERSION}.tar.gz" + tar xf "${VERSION%m*}.tar.gz" cd "${NAME}" make