Files
buildroot/package/patch/patch.mk
Peter Seiderer 302f5b6a2f package/patch: security bump version to 2.8.1
- bump version to 2.8.1 (see [1] and [2] for details)
- fixes CVE-2026-115207
- remove 0001-Fix-segfault-with-mangled-rename-patch.patch
  (from upstream, see [3])
- remove 0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch
  (from upstream, see [4])
- remove 0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch
  (from upstream, see [5])
- remove 0004-Invoke-ed-directly-instead-of-using-the-shell.patch
  (from upstream, see [6])
- remove 0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch
  (from upstream, see [7])
- remove 0006-Fix-swapping-fake-lines-in-pch-swap.patch
  (from upstream, see [8])
- removed 0007-Avoid-invalid-memory-access-in-context-format-diffs.patch
  (from upstream, see [9])

[1] https://lists.gnu.org/archive/html/bug-patch/2025-03/msg00003.html
[2] https://lists.gnu.org/archive/html/bug-patch/2026-10/msg00014.html
[3] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a
[4] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=b5a91a01e5d0897facdd0f49d64b76b0f02b43e1
[5] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=123eaff0d5d1aebe128295959435b9ca5909c26d
[6] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0
[7] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a
[8] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=9c986353e420ead6e706262bf204d6e03322c300
[9] https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=15b158db3ae11cb835f2eb8d2eb48e09d1a4af48

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-10-27 23:13:03 +01:00

22 lines
527 B
Makefile

################################################################################
#
# patch
#
################################################################################
PATCH_VERSION = 2.8.1
PATCH_SOURCE = patch-$(PATCH_VERSION).tar.xz
PATCH_SITE = $(BR2_GNU_MIRROR)/patch
PATCH_LICENSE = GPL-3.0+
PATCH_LICENSE_FILES = COPYING
PATCH_CPE_ID_VENDOR = gnu
ifeq ($(BR2_PACKAGE_ATTR),y)
PATCH_CONF_OPTS += --enable-xattr
PATCH_DEPENDENCIES += attr
else
PATCH_CONF_OPTS += --disable-xattr
endif
$(eval $(autotools-package))