Commit 04ee614f authored by Marcus Hoffmann's avatar Marcus Hoffmann

contrib: check shasums for git snapshots tarballs

These tarballs (probably produces by git archive --format=tar) are
'fairly' stable. This means that git tries to not change the output of
this format, but changes happen occasionally due to bugfixes.

It's still a good idea to freeze the hash because we really want to know
when the contents of such a tarball might have changed.
A lot of other projects depend on these also (i.e. homebrew, buildroot,
etc.)

All hashes were locally computed.

Change-Id: Ib0b3fccab70236bd2eb7bbb236e1306af7cc5f36
parent 3b5ee024
5a88ce7e796594f3f5008001de315469f96b3761c01b6db139416dcf6b784f462884d026fb6a557bcb2a14ebe1eb55b84e57b7df12240ee70f8d8fb0f2c294d2 argon2-1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz
......@@ -10,16 +10,14 @@ $(TARBALLS)/argon2-$(ARGON2_VERSION).tar.gz:
$(call download,$(ARGON2_URL))
.sum-argon2: argon2-$(ARGON2_VERSION).tar.gz
$(warning $@ not implemented)
touch $@
argon2: argon2-$(ARGON2_VERSION).tar.gz .sum-argon2
argon2: argon2-$(ARGON2_VERSION).tar.gz
$(UNPACK)
mv phc-winner-argon2-$(ARGON2_VERSION) argon2-$(ARGON2_VERSION)
$(APPLY) $(SRC)/argon2/pkgconfig.patch
$(MOVE)
.argon2: argon2
.argon2: argon2 .sum-argon2
cd $< && sed -i'.orig' -e 's|@PREFIX@|$(PREFIX)|' -e "s|@HOST_MULTIARCH@||" -e "s|@UPSTREAM_VER@|$(ARGON2_VERSION)|" libargon2.pc
cd $< && mkdir -p $(PREFIX)/lib/pkgconfig/ && cp libargon2.pc $(PREFIX)/lib/pkgconfig/
cd $< && $(HOSTVARS) $(MAKE) libs PREFIX="$(PREFIX)" OPTTARGET="no-opt" LIB_SH=""
......
aefd6e8ba9d3499fbb6f840c96dd08f5e9d305e6cb937e51108173355b8726444438b93a364835280dd26e2fa390fb53e1e194acc5b06f7e85a8bda23b7b5b0c ffmpeg-18516d3e695980525bd9758dc7b8a8e36cd3f09e.tar.gz
dae90e0ea346ea109006669e850a3136b6bc1e461d0407de8193a860d3c9fd3e36ad9f788b4b255b9884d25a97aae40b124c6118ef34c5f4185ff14156f9f33c ffmpeg-n3.3.3.tar.gz
......@@ -196,10 +196,8 @@ $(TARBALLS)/ffmpeg-$(FFMPEG_HASH).tar.gz:
$(call download,$(FFMPEG_URL))
.sum-ffmpeg: ffmpeg-$(FFMPEG_HASH).tar.gz
$(warning $@ is not implemented.)
touch $@
ffmpeg: ffmpeg-$(FFMPEG_HASH).tar.gz .sum-ffmpeg
ffmpeg: ffmpeg-$(FFMPEG_HASH).tar.gz
rm -Rf $@ $@-$(FFMPEG_HASH)
mkdir -p $@-$(FFMPEG_HASH)
(cd $@-$(FFMPEG_HASH) && tar x $(if ${BATCH_MODE},,-v) --strip-components=1 -f ../$<)
......@@ -214,7 +212,7 @@ endif
endif
$(MOVE)
.ffmpeg: ffmpeg
.ffmpeg: ffmpeg .sum-ffmpeg
cd $< && $(HOSTVARS) ./configure \
--extra-cflags="$(CFLAGS)" \
--extra-ldflags="$(LDFLAGS)" $(FFMPEGCONF) \
......
aab8357e494bb5aa7407b53e5e650382869ea95812a6677e085530d5f27cde6946fbfd0095b19608c75163dbb82de9ccb6a695234e7c03659fc6efc2da300e19 msgpack-c-cpp-2.1.5.tar.gz
......@@ -16,14 +16,12 @@ $(TARBALLS)/msgpack-c-$(MSGPACK_VERSION).tar.gz:
$(call download,$(MSGPACK_URL))
.sum-msgpack: msgpack-c-$(MSGPACK_VERSION).tar.gz
$(warning $@ not implemented)
touch $@
msgpack: msgpack-c-$(MSGPACK_VERSION).tar.gz .sum-msgpack
msgpack: msgpack-c-$(MSGPACK_VERSION).tar.gz
$(UNPACK)
$(MOVE)
.msgpack: msgpack toolchain.cmake
.msgpack: msgpack toolchain.cmake .sum-msgpack
cd $< && $(HOSTVARS) $(CMAKE) . $(MSGPACK_CMAKECONF)
cd $< && $(MAKE) install
touch $@
af2a3be1305a47043b932339545da7c947266e3120b6bedea3d5c837c5a6d4eb55d85a3008ba0ca7e90501a2c4ca9bc84c3c3d7fb1b0f8e2a6bcd0d5fe1ba3dd opendht-fcaaa01b2d40011df650cd092cb841e825c4e49c.tar.gz
......@@ -22,15 +22,13 @@ $(TARBALLS)/opendht-$(OPENDHT_VERSION).tar.gz:
$(call download,$(OPENDHT_URL))
.sum-opendht: opendht-$(OPENDHT_VERSION).tar.gz
$(warning $@ not implemented)
touch $@
opendht: opendht-$(OPENDHT_VERSION).tar.gz .sum-opendht
opendht: opendht-$(OPENDHT_VERSION).tar.gz
$(UNPACK)
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR)
$(MOVE)
.opendht: opendht
.opendht: opendht .sum-opendht
mkdir -p $</m4 && $(RECONF)
cd $< && $(HOSTVARS) ./configure --disable-tools --disable-python --disable-doc $(HOSTCONF)
cd $< && $(MAKE) install
......
54e0c446ae63105800dfaf23dc934734f196c91f275db0455e58a36926c29ecc51a13d9b1eb2e45bc86199120c3c472ec7b39086787a49ce388a4df462a870bc secp256k1-0b7024185045a49a1a6a4c5615bf31c94f63d9c4.tar.gz
......@@ -13,14 +13,12 @@ $(TARBALLS)/secp256k1-$(SECP256K1_VERSION).tar.gz:
$(call download,$(SECP256K1_URL))
.sum-secp256k1: secp256k1-$(SECP256K1_VERSION).tar.gz
$(warning $@ not implemented)
touch $@
secp256k1: secp256k1-$(SECP256K1_VERSION).tar.gz .sum-secp256k1
secp256k1: secp256k1-$(SECP256K1_VERSION).tar.gz
$(UNPACK)
$(MOVE)
.secp256k1: secp256k1
.secp256k1: secp256k1 .sum-secp256k1
$(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-tests --disable-exhaustive-tests
cd $< && $(MAKE) CFLAGS+="-USECP256K1_BUILD" install
......
2e2d8ea186d26ca37ff27883772384fd4689cfdee12d91babe46b179507d2c6e5b64bac90adb7359c07f6a6ee2c9eab569d39266bc7ed4de8cf76cc61db87198 speex-9172c7ef85fbf058027528d48ededbc7ca847908.tar.gz
......@@ -12,10 +12,8 @@ $(TARBALLS)/speex-$(SPEEX_HASH).tar.gz:
$(call download,$(SPEEX_GITURL))
.sum-speex: speex-$(SPEEX_HASH).tar.gz
$(warning $@ not implemented)
touch $@
speex: speex-$(SPEEX_HASH).tar.gz .sum-speex
speex: speex-$(SPEEX_HASH).tar.gz
rm -Rf $@ $@-$(SPEEX_HASH)
mkdir -p $@-$(SPEEX_HASH)
$(ZCAT) "$<" | (cd $@-$(SPEEX_HASH) && tar x $(if ${BATCH_MODE},,-v) --strip-components=1)
......@@ -32,7 +30,7 @@ ifeq ($(ARCH),aarch64)
SPEEX_CONF += --disable-neon
endif
.speex: speex
.speex: speex .sum-speex
mkdir -p $</m4 && $(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(SPEEX_CONF)
cd $< && $(MAKE) install
......
08ec8c7ea0d573cf4e2b68e9dd8181e6c5a6cafdb88956a0cbf48b0a67fb1ae91d0635fae250db2c6a32368c30e93fee10740a48e36c7286664285d4c93e6f8c speexdsp-83b63852e0e4755a8c04a1f9c87dd73b5aa6293f.tar.gz
......@@ -12,10 +12,8 @@ $(TARBALLS)/speexdsp-$(SPEEXDSP_HASH).tar.gz:
$(call download,$(SPEEXDSP_GITURL))
.sum-speexdsp: speexdsp-$(SPEEXDSP_HASH).tar.gz
$(warning $@ not implemented)
touch $@
speexdsp: speexdsp-$(SPEEXDSP_HASH).tar.gz .sum-speexdsp
speexdsp: speexdsp-$(SPEEXDSP_HASH).tar.gz
rm -Rf $@ $@-$(SPEEXDSP_HASH)
mkdir -p $@-$(SPEEXDSP_HASH)
$(ZCAT) "$<" | (cd $@-$(SPEEXDSP_HASH) && tar x $(if ${BATCH_MODE},,-v) --strip-components=1)
......@@ -40,7 +38,7 @@ SPEEXDSP_CONF += --enable-arm5e-asm
endif
endif
.speexdsp: speexdsp
.speexdsp: speexdsp .sum-speexdsp
mkdir -p $</m4 && $(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(SPEEXDSP_CONF)
cd $< && $(MAKE) install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment