03d3df31f8
Adding the cpio archive utility for the target and host. Patches have been pulled from ArchLinux and Gentoo to fix CVE issues and compile issues. [Thomas: remove host variant of the package, as discussed during the review of earlier version.] Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
1.1 KiB
Makefile
26 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# cpio
|
|
#
|
|
################################################################################
|
|
|
|
CPIO_VERSION = 2.11
|
|
CPIO_SITE = http://ftp.gnu.org/gnu/cpio
|
|
CPIO_LICENSE = GPLv3+
|
|
CPIO_LICENSE_FILES = COPYING
|
|
CPIO_PATCH = \
|
|
https://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-stdio.in.patch \
|
|
https://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-CVE-2014-9112.patch \
|
|
https://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-testsuite-CVE-2014-9112.patch \
|
|
https://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-check_for_symlinks-CVE-2015-1197.patch \
|
|
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/cpio/files/cpio-2.11-stat.patch
|
|
|
|
# cpio uses argp.h which is not provided by uclibc by default.
|
|
# Use the argp-standalone package to provide this but make sure
|
|
# the host package does not try to use the host version.
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
CPIO_DEPENDENCIES += argp-standalone
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|