package/valgrind: bump version to 3.17.0

- bump version to 3.17.0
- adjust tool remove hooks according to the change to libexec
- fix massive remove hook, ms_script vs. ms_print
- add additional sha256 source package hash

For details see [1].

[1] https://www.valgrind.org/docs/manual/dist.news.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer 2021-03-29 19:41:11 +02:00 committed by Thomas Petazzoni
parent 1527451ceb
commit 09a542c152
2 changed files with 16 additions and 14 deletions

View File

@ -1,5 +1,7 @@
# From https://valgrind.org/downloads/current.html # From https://valgrind.org/downloads/current.html
md5 d1b153f1ab17cf1f311705e7a83ef589 valgrind-3.16.1.tar.bz2 md5 afe11b5572c3121a781433b7c0ab741b valgrind-3.17.0.tar.bz2
# locally computed
sha256 ad3aec668e813e40f238995f60796d9590eee64a16dff88421430630e69285a2 valgrind-3.17.0.tar.bz2
# License files # License files
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
VALGRIND_VERSION = 3.16.1 VALGRIND_VERSION = 3.17.0
VALGRIND_SITE = https://sourceware.org/pub/valgrind VALGRIND_SITE = https://sourceware.org/pub/valgrind
VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2
VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 VALGRIND_LICENSE = GPL-2.0, GFDL-1.2
@ -64,7 +64,7 @@ VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP
ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),)
define VALGRIND_REMOVE_MEMCHECK define VALGRIND_REMOVE_MEMCHECK
rm -f $(TARGET_DIR)/usr/lib/valgrind/*memcheck* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*memcheck*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MEMCHECK VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MEMCHECK
@ -72,7 +72,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_CACHEGRIND),) ifeq ($(BR2_PACKAGE_VALGRIND_CACHEGRIND),)
define VALGRIND_REMOVE_CACHEGRIND define VALGRIND_REMOVE_CACHEGRIND
rm -f $(TARGET_DIR)/usr/lib/valgrind/*cachegrind* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*cachegrind*
for i in cg_annotate cg_diff cg_merge; do \ for i in cg_annotate cg_diff cg_merge; do \
rm -f $(TARGET_DIR)/usr/bin/$$i ; \ rm -f $(TARGET_DIR)/usr/bin/$$i ; \
done done
@ -83,7 +83,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_CALLGRIND),) ifeq ($(BR2_PACKAGE_VALGRIND_CALLGRIND),)
define VALGRIND_REMOVE_CALLGRIND define VALGRIND_REMOVE_CALLGRIND
rm -f $(TARGET_DIR)/usr/lib/valgrind/*callgrind* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*callgrind*
for i in callgrind_annotate callgrind_control ; do \ for i in callgrind_annotate callgrind_control ; do \
rm -f $(TARGET_DIR)/usr/bin/$$i ; \ rm -f $(TARGET_DIR)/usr/bin/$$i ; \
done done
@ -94,7 +94,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_HELGRIND),) ifeq ($(BR2_PACKAGE_VALGRIND_HELGRIND),)
define VALGRIND_REMOVE_HELGRIND define VALGRIND_REMOVE_HELGRIND
rm -f $(TARGET_DIR)/usr/lib/valgrind/*helgrind* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*helgrind*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_HELGRIND VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_HELGRIND
@ -102,7 +102,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_DRD),) ifeq ($(BR2_PACKAGE_VALGRIND_DRD),)
define VALGRIND_REMOVE_DRD define VALGRIND_REMOVE_DRD
rm -f $(TARGET_DIR)/usr/lib/valgrind/*drd* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*drd*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DRD VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DRD
@ -110,8 +110,8 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_MASSIF),) ifeq ($(BR2_PACKAGE_VALGRIND_MASSIF),)
define VALGRIND_REMOVE_MASSIF define VALGRIND_REMOVE_MASSIF
rm -f $(TARGET_DIR)/usr/lib/valgrind/*massif* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*massif*
rm -f $(TARGET_DIR)/usr/bin/ms_script rm -f $(TARGET_DIR)/usr/bin/ms_print
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MASSIF VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MASSIF
@ -119,7 +119,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_DHAT),) ifeq ($(BR2_PACKAGE_VALGRIND_DHAT),)
define VALGRIND_REMOVE_DHAT define VALGRIND_REMOVE_DHAT
rm -f $(TARGET_DIR)/usr/lib/valgrind/*dhat* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*dhat*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DHAT VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DHAT
@ -127,7 +127,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_SGCHECK),) ifeq ($(BR2_PACKAGE_VALGRIND_SGCHECK),)
define VALGRIND_REMOVE_SGCHECK define VALGRIND_REMOVE_SGCHECK
rm -f $(TARGET_DIR)/usr/lib/valgrind/*sgcheck* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*sgcheck*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_SGCHECK VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_SGCHECK
@ -135,7 +135,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_BBV),) ifeq ($(BR2_PACKAGE_VALGRIND_BBV),)
define VALGRIND_REMOVE_BBV define VALGRIND_REMOVE_BBV
rm -f $(TARGET_DIR)/usr/lib/valgrind/*bbv* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*bbv*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_BBV VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_BBV
@ -143,7 +143,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_LACKEY),) ifeq ($(BR2_PACKAGE_VALGRIND_LACKEY),)
define VALGRIND_REMOVE_LACKEY define VALGRIND_REMOVE_LACKEY
rm -f $(TARGET_DIR)/usr/lib/valgrind/*lackey* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*lackey*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_LACKEY VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_LACKEY
@ -151,7 +151,7 @@ endif
ifeq ($(BR2_PACKAGE_VALGRIND_NULGRIND),) ifeq ($(BR2_PACKAGE_VALGRIND_NULGRIND),)
define VALGRIND_REMOVE_NULGRIND define VALGRIND_REMOVE_NULGRIND
rm -f $(TARGET_DIR)/usr/lib/valgrind/*none* rm -f $(TARGET_DIR)/usr/libexec/valgrind/*none*
endef endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_NULGRIND VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_NULGRIND