From bd94801092f6cdce71f78423abb602b0b72f6bec Mon Sep 17 00:00:00 2001 From: Vincent Jardin Date: Sun, 1 Dec 2024 17:27:41 +0100 Subject: [PATCH] package/libpam-radius-auth: bump to version 3.0.0 For change log, see [1]. Buildroot commit [2] changed _SITE from using the ftp site to a github download. This github generated archive has a different hash compare to release files, due to a different directory name in the archive. This does not allow to check the published PGP signatures. This new 3.0.0 version is published as a github release asset. This commit updates _SITE and _SOURCE to use those release files. The archive is switched to bz2 archive which is smaller. Finally, this commit adds a comment in the hash file, with the signature link and the pgp key used for the signature. [1] https://github.com/FreeRADIUS/pam_radius/blob/release_3_0_0/Changelog [2] https://gitlab.com/buildroot.org/buildroot/-/commit/860b1b958797bd16bfe7666bb308a5ea026b1b46 Signed-off-by: Vincent Jardin [Julien: change to use the release archive so the PGP signature can be checked] Signed-off-by: Julien Olivain --- package/libpam-radius-auth/libpam-radius-auth.hash | 6 ++++-- package/libpam-radius-auth/libpam-radius-auth.mk | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package/libpam-radius-auth/libpam-radius-auth.hash b/package/libpam-radius-auth/libpam-radius-auth.hash index 63f3f1e45e..383576f568 100644 --- a/package/libpam-radius-auth/libpam-radius-auth.hash +++ b/package/libpam-radius-auth/libpam-radius-auth.hash @@ -1,5 +1,7 @@ -# Locally calculated after checking PGP signature -sha256 798dc358e7a143163e103bd38c4101645b2e93d82aa0ec63d32c0cb929d9c65c libpam-radius-auth-2.0.0.tar.gz +# Locally calculated after checking PGP signature from +# https://github.com/FreeRADIUS/pam_radius/releases/download/release_3_0_0/pam_radius-3.0.0.tar.bz2.sig +# with key: BF2384EC6938B9744B03E2A620E37C25995B4F85 +sha256 fa622eef903fdcc8b3f64bd1d6437ccc1f160758ce65f947ceba951770071143 pam_radius-3.0.0.tar.bz2 # Hash for license file: sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 LICENSE diff --git a/package/libpam-radius-auth/libpam-radius-auth.mk b/package/libpam-radius-auth/libpam-radius-auth.mk index 9519aad750..772456ceae 100644 --- a/package/libpam-radius-auth/libpam-radius-auth.mk +++ b/package/libpam-radius-auth/libpam-radius-auth.mk @@ -4,8 +4,9 @@ # ################################################################################ -LIBPAM_RADIUS_AUTH_VERSION = 2.0.0 -LIBPAM_RADIUS_AUTH_SITE = $(call github,FreeRADIUS,pam_radius,release_$(subst .,_,$(LIBPAM_RADIUS_AUTH_VERSION))) +LIBPAM_RADIUS_AUTH_VERSION = 3.0.0 +LIBPAM_RADIUS_AUTH_SITE = https://github.com/FreeRADIUS/pam_radius/releases/download/release_$(subst .,_,$(LIBPAM_RADIUS_AUTH_VERSION)) +LIBPAM_RADIUS_AUTH_SOURCE = pam_radius-$(LIBPAM_RADIUS_AUTH_VERSION).tar.bz2 LIBPAM_RADIUS_AUTH_DEPENDENCIES = linux-pam LIBPAM_RADIUS_AUTH_INSTALL_STAGING = YES LIBPAM_RADIUS_AUTH_LICENSE = GPL-2.0+