2015-07-14 22:20:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cpio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-01-04 21:18:37 +01:00
|
|
|
CPIO_VERSION = 2.13
|
|
|
|
CPIO_SOURCE = cpio-$(CPIO_VERSION).tar.bz2
|
2017-02-06 17:49:25 +01:00
|
|
|
CPIO_SITE = $(BR2_GNU_MIRROR)/cpio
|
2015-10-02 15:43:49 +02:00
|
|
|
CPIO_CONF_OPTS = --bindir=/bin
|
2017-03-30 15:43:33 +02:00
|
|
|
CPIO_LICENSE = GPL-3.0+
|
2015-07-14 22:20:26 +02:00
|
|
|
CPIO_LICENSE_FILES = COPYING
|
2021-01-17 17:46:49 +01:00
|
|
|
CPIO_CPE_ID_VENDOR = gnu
|
2015-07-14 22:20:26 +02:00
|
|
|
|
2021-08-19 23:46:09 +02:00
|
|
|
# 0002-Rewrite-dynamic-string-support.patch
|
|
|
|
# 0003-Fix-previous-commit.patch
|
|
|
|
CPIO_IGNORE_CVES += CVE-2021-38185
|
|
|
|
|
2015-08-08 00:47:16 +02:00
|
|
|
# cpio uses argp.h which is not provided by uclibc or musl by default.
|
2015-08-08 00:47:17 +02:00
|
|
|
# Use the argp-standalone package to provide this.
|
2015-08-08 00:47:16 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
2015-07-14 22:20:26 +02:00
|
|
|
CPIO_DEPENDENCIES += argp-standalone
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|
2019-07-16 19:35:17 +02:00
|
|
|
$(eval $(host-autotools-package))
|