From 17d2f61c7b2ba6f748b072f2f1a8ac2933bde466 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 19 Sep 2021 02:12:02 -0700 Subject: [PATCH] libseccomp: update to 2.5.2 Use AUTORELEASE for simplicity. Add libtool patch to fix compilation under some platforms. Signed-off-by: Rosen Penev --- libs/libseccomp/Makefile | 7 ++++--- libs/libseccomp/patches/010-no-code-coverage.patch | 10 ++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 libs/libseccomp/patches/010-no-code-coverage.patch diff --git a/libs/libseccomp/Makefile b/libs/libseccomp/Makefile index e82ec751b..0ab08a101 100644 --- a/libs/libseccomp/Makefile +++ b/libs/libseccomp/Makefile @@ -8,19 +8,20 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libseccomp -PKG_VERSION:=2.5.1 -PKG_RELEASE:=1 +PKG_VERSION:=2.5.2 +PKG_RELEASE:=$(AUTORELEASE) PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/seccomp/libseccomp/releases/download/v$(PKG_VERSION)/ -PKG_HASH:=ee307e383c77aa7995abc5ada544d51c9723ae399768a97667d4cdb3c3a30d55 +PKG_HASH:=17a652dfb491d96be893960e9b791914936ee16c13b777a3caf562fe48cb87df PKG_MAINTAINER:=Nikos Mavrogiannopoulos PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=LICENSE PKG_CPE_ID:=cpe:/a:libseccomp_project:libseccomp +PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=gperf/host diff --git a/libs/libseccomp/patches/010-no-code-coverage.patch b/libs/libseccomp/patches/010-no-code-coverage.patch new file mode 100644 index 000000000..093bace25 --- /dev/null +++ b/libs/libseccomp/patches/010-no-code-coverage.patch @@ -0,0 +1,10 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -16,7 +16,6 @@ + # along with this library; if not, see . + # + +-@CODE_COVERAGE_RULES@ + + CODE_COVERAGE_OUTPUT_FILE = libseccomp.lcov.info + CODE_COVERAGE_OUTPUT_DIRECTORY = libseccomp.lcov.html.d