From 9e2e85df90104cf897378ef4a3b0a59cb8ff9a56 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 3 Jan 2024 00:04:09 +0100 Subject: [PATCH] package/pv: bump to version 1.8.5 - Switch to tar.gz tarball as tar.bz2 is not available anymore - License is GPL-3.0+ since https://codeberg.org/a-j-wood/pv/commit/e5cc71b4d22bd018fa55b8e7c795c7bf94776b2d - workarounds can be dropped as standard gnu automake is used since https://codeberg.org/a-j-wood/pv/commit/e99548ea8a2b1dd4e163036cabf4e26c40fe5170 https://codeberg.org/a-j-wood/pv/src/tag/v1.8.5/docs/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/pv/pv.hash | 4 ++-- package/pv/pv.mk | 24 +++--------------------- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/package/pv/pv.hash b/package/pv/pv.hash index b3dd71f74b..ed4cc21d89 100644 --- a/package/pv/pv.hash +++ b/package/pv/pv.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603 pv-1.6.20.tar.bz2 +sha256 d22948d06be06a5be37336318de540a2215be10ab0163f8cd23a20149647b780 pv-1.8.5.tar.gz # Hash for license file -sha256 280e182171df3e9bb4a9b407326e88521151fcb8f4f8557255f26177d5900ccf doc/COPYING +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 docs/COPYING diff --git a/package/pv/pv.mk b/package/pv/pv.mk index 27060cf07e..f7243da8be 100644 --- a/package/pv/pv.mk +++ b/package/pv/pv.mk @@ -4,28 +4,10 @@ # ################################################################################ -PV_VERSION = 1.6.20 -PV_SOURCE = pv-$(PV_VERSION).tar.bz2 +PV_VERSION = 1.8.5 PV_SITE = http://www.ivarch.com/programs/sources -PV_LICENSE = Artistic-2.0 -PV_LICENSE_FILES = doc/COPYING +PV_LICENSE = GPL-3.0+ +PV_LICENSE_FILES = docs/COPYING PV_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -# --relax linker option is enabled by default on sparc/sparc64 -# architectures, and it can't be used together with -r option, so -# disable it. -ifeq ($(BR2_sparc)$(BR2_sparc64),y) -PV_LDFLAGS = "-Wl,--no-relax" -endif - -# While 'pv' uses autoconf, it does not use automake for its -# makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but -# using 'ld' directly doesn't work well with some toolchain -# configuration, as the ld default emulation may not necessarily be -# the correct one. By passing the below values for LD and LDFLAGS, we -# ensure that 'gcc' is used to do these partial linking steps. -PV_MAKE_OPTS = \ - LD="$(TARGET_CC)" \ - LDFLAGS="-Wl,-r -nostdlib $(PV_LDFLAGS)" - $(eval $(autotools-package))