freeswitch-stable/-sounds: Use HASH instead of MD5SUM

All checksums are already SHA256, so move from MD5SUM to HASH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2017-06-25 15:30:42 +02:00
parent 42c0cabdbe
commit 740b5320b1
2 changed files with 11 additions and 11 deletions

View file

@ -42,7 +42,7 @@ endef
define Download/$(PKG_NAME)-$(1) define Download/$(PKG_NAME)-$(1)
FILE:=freeswitch-sounds-$(1)-$(6).tar.gz FILE:=freeswitch-sounds-$(1)-$(6).tar.gz
URL:=$(PRG_URL) URL:=$(PRG_URL)
MD5SUM:=$(7) HASH:=$(7)
endef endef
define Package/$(PKG_NAME)-$(1)/description define Package/$(PKG_NAME)-$(1)/description
$(2) $(2)

View file

@ -15,7 +15,7 @@ PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://files.$(PRG_NAME).org/releases/$(PRG_NAME) 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) 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 # mod_event_zmq
ZEROMQ_FILE:=zeromq-2.1.9.tar.gz ZEROMQ_FILE:=zeromq-2.1.9.tar.gz
ZEROMQ_MD5SUM:=f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0 ZEROMQ_HASH:=f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0
ZEROMQ_URL:=http://download.zeromq.org ZEROMQ_URL:=http://download.zeromq.org
# mod_pocketsphinx # mod_pocketsphinx
POCKETSPHINX_FILE:=pocketsphinx-0.8.tar.gz POCKETSPHINX_FILE:=pocketsphinx-0.8.tar.gz
POCKETSPHINX_MD5SUM:=874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a POCKETSPHINX_HASH:=874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a
POCKETSPHINX_URL:=@SF/cmusphinx POCKETSPHINX_URL:=@SF/cmusphinx
SPHINXBASE_FILE:=sphinxbase-0.8.tar.gz SPHINXBASE_FILE:=sphinxbase-0.8.tar.gz
SPHINXBASE_MD5SUM:=55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8 SPHINXBASE_HASH:=55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
SPHINXBASE_URL:=@SF/cmusphinx SPHINXBASE_URL:=@SF/cmusphinx
SPHINXMODEL_FILE:=communicator_semi_6000_20080321.tar.gz SPHINXMODEL_FILE:=communicator_semi_6000_20080321.tar.gz
SPHINXMODEL_MD5SUM:=dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18 SPHINXMODEL_HASH:=dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18
SPHINXMODEL_URL:=https://files.freeswitch.org/downloads/libs SPHINXMODEL_URL:=https://files.freeswitch.org/downloads/libs
define Download/files define Download/files
define Download/$(1) define Download/$(1)
FILE:=$(2) FILE:=$(2)
URL:=$(3) URL:=$(3)
MD5SUM:=$(4) HASH:=$(4)
endef endef
$$(eval $$(call Download,$(1))) $$(eval $$(call Download,$(1)))
endef endef
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-event_zmq),) 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 endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-pocketsphinx)$(CONFIG_PACKAGE_$(PKG_NAME)-misc-grammar),) 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,pocketsphinx,$(POCKETSPHINX_FILE),$(POCKETSPHINX_URL),$(POCKETSPHINX_HASH)))
$(eval $(call Download/files,sphinxbase,$(SPHINXBASE_FILE),$(SPHINXBASE_URL),$(SPHINXBASE_MD5SUM))) $(eval $(call Download/files,sphinxbase,$(SPHINXBASE_FILE),$(SPHINXBASE_URL),$(SPHINXBASE_HASH)))
$(eval $(call Download/files,communicator,$(SPHINXMODEL_FILE),$(SPHINXMODEL_URL),$(SPHINXMODEL_MD5SUM))) $(eval $(call Download/files,communicator,$(SPHINXMODEL_FILE),$(SPHINXMODEL_URL),$(SPHINXMODEL_HASH)))
endif endif
define Build/Prepare define Build/Prepare