2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-02-12 11:40:28 +01:00
|
|
|
#
|
|
|
|
# patch
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-17 16:29:09 +01:00
|
|
|
|
2018-02-23 06:22:31 +01:00
|
|
|
PATCH_VERSION = 2.7.6
|
2013-09-06 08:14:15 +02:00
|
|
|
PATCH_SOURCE = patch-$(PATCH_VERSION).tar.xz
|
2010-12-17 16:29:09 +01:00
|
|
|
PATCH_SITE = $(BR2_GNU_MIRROR)/patch
|
2017-03-30 15:43:33 +02:00
|
|
|
PATCH_LICENSE = GPL-3.0+
|
2013-05-08 01:40:07 +02:00
|
|
|
PATCH_LICENSE_FILES = COPYING
|
2021-01-17 12:43:00 +01:00
|
|
|
PATCH_CPE_ID_VENDOR = gnu
|
2003-02-12 11:40:28 +01:00
|
|
|
|
2020-03-03 20:46:59 +01:00
|
|
|
# 0001-Fix-segfault-with-mangled-rename-patch.patch
|
|
|
|
PATCH_IGNORE_CVES += CVE-2018-6951
|
|
|
|
|
2020-03-03 20:47:00 +01:00
|
|
|
# 0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch
|
|
|
|
PATCH_IGNORE_CVES += CVE-2018-1000156
|
|
|
|
|
2020-03-03 20:47:01 +01:00
|
|
|
# 0004-Invoke-ed-directly-instead-of-using-the-shell.patch
|
2020-03-03 20:47:03 +01:00
|
|
|
PATCH_IGNORE_CVES += CVE-2018-20969 CVE-2019-13638
|
2020-03-03 20:47:01 +01:00
|
|
|
|
2020-03-03 20:47:02 +01:00
|
|
|
# 0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch
|
|
|
|
PATCH_IGNORE_CVES += CVE-2019-13636
|
|
|
|
|
2016-02-21 10:50:05 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ATTR),y)
|
2018-05-06 13:57:51 +02:00
|
|
|
PATCH_CONF_OPTS += --enable-xattr
|
2016-02-21 10:50:05 +01:00
|
|
|
PATCH_DEPENDENCIES += attr
|
|
|
|
else
|
2018-05-06 13:57:51 +02:00
|
|
|
PATCH_CONF_OPTS += --disable-xattr
|
2016-02-21 10:50:05 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|