tunneldigger: set PKG_SOURCE_DATE
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 26 Sep 2023 18:14:57 +0000 (20:14 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 27 Sep 2023 16:15:16 +0000 (18:15 +0200)
commitd5fb69c0244ecd726f77270a66e4cabd76577351
tree33fc07bf430b4941960db4e1c6cd7453ab366b27
parent3ceb8b36603daef4d065ef121874677a346ef987
tunneldigger: set PKG_SOURCE_DATE

opkg requires monotonically increasing version numbers to know which
version of a package is newer. As git commit IDs do not satisfy this
condition, PKG_SOURCE_DATE must be set to the date of the referenced
commit, resulting in the complete version number '2021-03-08-4f72b305-1'.

As the source date also becomes part of the paths inside the download
archive, the source hash must be updated as well.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
(cherry picked from commit 0a3e5dd122abb92f215369eeb0a957114b61746f)
net/tunneldigger/Makefile