package: remove non-conventional prefix/suffix from github-fetched packages
authorVictor Huesca <victor.huesca@bootlin.com>
Wed, 12 Jun 2019 06:42:08 +0000 (08:42 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 19 Jun 2019 21:26:35 +0000 (23:26 +0200)
commitb34ead55c06cad5b6443da358cd63e9c71265d69
treec606668708c0796fcd7051521cd4cfd4027c8e49
parent69808c7536de5a67dc8bc363f4b56e0097d6a9d1
package: remove non-conventional prefix/suffix from github-fetched packages

On Github, a large number of projects name their tag
<some-prefix>-0.3-<some-suffix> (i.e release-3.0, poco-0.1-release,
etc.). In fact majority of the cased adressed in this commit concerns
prefixes.

In most packages, we encode those prefix/suffix in the <pkg>_VERSION
variable.

The problem with this approach is that when used in conjunction with
release-monitoring.org, it doesn't work very well, because
release-monitoring.org has the concept of "version prefix/suffix" and
using that they drop the prefix/suffix to really get the version. For
example on https://release-monitoring.org/project/5418/ the latest
release of "poco" is "1.8.1", not "poco-1.8.1-release".

Therefore, a number of packages in Buildroot have a version that
doesn't match with release-monitoring.org.

Since really the version number of 1.8.1, is makes sense to update our
packages to drop these prefixes/suffixes.

This commit addreses the case of github-fetched packages with
non-conventional prefixes/suffixes.

Note that these changes modify the name of the files stored in DL_DIR,
which means that this will force a re-download of those package source
code for all users, and requires a change to their .hash file.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
30 files changed:
package/emlog/emlog.hash
package/emlog/emlog.mk
package/gtest/gtest.hash
package/gtest/gtest.mk
package/intel-microcode/intel-microcode.hash
package/intel-microcode/intel-microcode.mk
package/iputils/iputils.hash
package/iputils/iputils.mk
package/jasper/jasper.hash
package/jasper/jasper.mk
package/libnfs/libnfs.hash
package/libnfs/libnfs.mk
package/libusbgx/libusbgx.hash
package/libusbgx/libusbgx.mk
package/lua-cqueues/lua-cqueues.hash
package/lua-cqueues/lua-cqueues.mk
package/motion/motion.hash
package/motion/motion.mk
package/openjdk/openjdk.hash
package/openjdk/openjdk.mk
package/poco/poco.hash
package/poco/poco.mk
package/ptpd2/ptpd2.hash
package/ptpd2/ptpd2.mk
package/python-web2py/python-web2py.hash
package/python-web2py/python-web2py.mk
package/python-webpy/python-webpy.hash
package/python-webpy/python-webpy.mk
package/xinetd/xinetd.hash
package/xinetd/xinetd.mk