package/libmodplug: update to git version

The libmodplug release has not been updated for over 5 years.
The git version contains many bug fixes, including for OOB
accesses, unaligned reads and writes, etc.

This git repository is the official home of libmodplug (by the original
author), however a new release does not seem likely anytime soon:
there are multiple open issues in the repository asking the author to
tag a release, all without a response.

Update buildroot to the current version of libmodplug from the official
git repository. The build system changed from autotools to cmake since
the last version.

We add a _CPE_ID_VERSION variable pointing to the latest stable
version, so that we don't get notified about all older CVEs that we
are not affected by.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Gleb Mazovetskiy 2022-12-19 17:39:34 +00:00 committed by Thomas Petazzoni
parent f99714d90e
commit 369ff9a88f
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,3 @@
# Locally computed:
sha256 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de libmodplug-0.8.9.0.tar.gz
sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz
sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING

View File

@ -4,11 +4,14 @@
#
################################################################################
LIBMODPLUG_VERSION = 0.8.9.0
LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
LIBMODPLUG_VERSION = d1b97ed
LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION))
LIBMODPLUG_INSTALL_STAGING = YES
LIBMODPLUG_LICENSE = Public Domain
LIBMODPLUG_LICENSE_FILES = COPYING
LIBMODPLUG_CPE_ID_VENDOR = konstanty_bialkowski
# Our version is actually newer than this, but having this allows to
# not have reports about CVEs for versions older than 0.8.9.0.
LIBMODPLUG_CPE_ID_VERSION = 0.8.9.0
$(eval $(autotools-package))
$(eval $(cmake-package))