From 740b5320b1b1c8c36d7a65581cd73607ca7c3448 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 25 Jun 2017 15:30:42 +0200 Subject: [PATCH] freeswitch-stable/-sounds: Use HASH instead of MD5SUM All checksums are already SHA256, so move from MD5SUM to HASH. Signed-off-by: Sebastian Kemper --- net/freeswitch-stable-sounds/Makefile | 2 +- net/freeswitch-stable/Makefile | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/net/freeswitch-stable-sounds/Makefile b/net/freeswitch-stable-sounds/Makefile index 4bddf75..91d6be2 100644 --- a/net/freeswitch-stable-sounds/Makefile +++ b/net/freeswitch-stable-sounds/Makefile @@ -42,7 +42,7 @@ endef define Download/$(PKG_NAME)-$(1) FILE:=freeswitch-sounds-$(1)-$(6).tar.gz URL:=$(PRG_URL) - MD5SUM:=$(7) + HASH:=$(7) endef define Package/$(PKG_NAME)-$(1)/description $(2) diff --git a/net/freeswitch-stable/Makefile b/net/freeswitch-stable/Makefile index 1a2c83b..9a78dfb 100644 --- a/net/freeswitch-stable/Makefile +++ b/net/freeswitch-stable/Makefile @@ -15,7 +15,7 @@ PKG_MAINTAINER:=Sebastian Kemper PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://files.$(PRG_NAME).org/releases/$(PRG_NAME) -PKG_MD5SUM:=ac1b32f61e5c35680c5a2d6f145bc480cf26e6527af07d8b8b9fa2d5280252cd +PKG_HASH:=ac1b32f61e5c35680c5a2d6f145bc480cf26e6527af07d8b8b9fa2d5280252cd PKG_BUILD_DIR:=$(BUILD_DIR)/$(PRG_NAME)-$(PKG_VERSION) @@ -708,39 +708,39 @@ FS_STABLE_APR_LIBS:=-L$(PKG_BUILD_DIR)/libs/apr -L$(PKG_BUILD_DIR)/libs/apr-util # mod_event_zmq ZEROMQ_FILE:=zeromq-2.1.9.tar.gz -ZEROMQ_MD5SUM:=f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0 +ZEROMQ_HASH:=f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0 ZEROMQ_URL:=http://download.zeromq.org # mod_pocketsphinx POCKETSPHINX_FILE:=pocketsphinx-0.8.tar.gz -POCKETSPHINX_MD5SUM:=874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a +POCKETSPHINX_HASH:=874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a POCKETSPHINX_URL:=@SF/cmusphinx SPHINXBASE_FILE:=sphinxbase-0.8.tar.gz -SPHINXBASE_MD5SUM:=55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8 +SPHINXBASE_HASH:=55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8 SPHINXBASE_URL:=@SF/cmusphinx SPHINXMODEL_FILE:=communicator_semi_6000_20080321.tar.gz -SPHINXMODEL_MD5SUM:=dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18 +SPHINXMODEL_HASH:=dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18 SPHINXMODEL_URL:=https://files.freeswitch.org/downloads/libs define Download/files define Download/$(1) FILE:=$(2) URL:=$(3) - MD5SUM:=$(4) + HASH:=$(4) endef $$(eval $$(call Download,$(1))) endef ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-event_zmq),) -$(eval $(call Download/files,zmq,$(ZEROMQ_FILE),$(ZEROMQ_URL),$(ZEROMQ_MD5SUM))) +$(eval $(call Download/files,zmq,$(ZEROMQ_FILE),$(ZEROMQ_URL),$(ZEROMQ_HASH))) endif ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-pocketsphinx)$(CONFIG_PACKAGE_$(PKG_NAME)-misc-grammar),) -$(eval $(call Download/files,pocketsphinx,$(POCKETSPHINX_FILE),$(POCKETSPHINX_URL),$(POCKETSPHINX_MD5SUM))) -$(eval $(call Download/files,sphinxbase,$(SPHINXBASE_FILE),$(SPHINXBASE_URL),$(SPHINXBASE_MD5SUM))) -$(eval $(call Download/files,communicator,$(SPHINXMODEL_FILE),$(SPHINXMODEL_URL),$(SPHINXMODEL_MD5SUM))) +$(eval $(call Download/files,pocketsphinx,$(POCKETSPHINX_FILE),$(POCKETSPHINX_URL),$(POCKETSPHINX_HASH))) +$(eval $(call Download/files,sphinxbase,$(SPHINXBASE_FILE),$(SPHINXBASE_URL),$(SPHINXBASE_HASH))) +$(eval $(call Download/files,communicator,$(SPHINXMODEL_FILE),$(SPHINXMODEL_URL),$(SPHINXMODEL_HASH))) endif define Build/Prepare -- 2.30.2