diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-12 01:05:44 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-12 14:55:07 +0100 |
commit | d9aa41dcdaeb38d48e0e74c61fd3fa6a41ac7f87 (patch) | |
tree | 1cdd0a29f6e4b394cb93807670bdba111a8cd1ad /package | |
parent | 0a35d3f9923703fc229abc16e2e7459a9f68b1d9 (diff) | |
download | upstream-d9aa41dcdaeb38d48e0e74c61fd3fa6a41ac7f87.tar.gz upstream-d9aa41dcdaeb38d48e0e74c61fd3fa6a41ac7f87.tar.bz2 upstream-d9aa41dcdaeb38d48e0e74c61fd3fa6a41ac7f87.zip |
lldpd: use release tar instead of codeload
There is currently a problem with making reproducible version of lldpd.
The tool version is generated based on 3 source:
1. .dist-version file in release tar
2. git hash with presence of .git directory
3. current date
Using the codeload tar from github results in getting the repo without
the .git directory and since they are not release tar, we don't have
.dist-version. This results in having lldpd bin with a version set to
the current build time.
Switch to release tar so that we correctly have a .dist-version file and
the version is not based on the build time.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/lldpd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index b9770909a9..a08626366f 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -12,8 +12,8 @@ PKG_VERSION:=1.0.16 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://codeload.github.com/lldpd/lldpd/tar.gz/$(PKG_VERSION)? -PKG_HASH:=9bc6154377b97187d96d5e22aa5c4946c6cbc85f1416149853cc0940639a77e5 +PKG_SOURCE_URL:=https://github.com/lldpd/lldpd/releases/download/$(PKG_VERSION)/ +PKG_HASH:=7753c6e31e938923185f4e10c4ab328929729e22ee4a9687d08881fb82c092ee PKG_MAINTAINER:=Stijn Tintel <stijn@linux-ipv6.be> PKG_LICENSE:=ISC |