aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2022-08-25 11:03:33 -0400
committerRosen Penev <rosenp@gmail.com>2022-09-09 15:20:58 -0700
commitd581399e6033ee0750c1b9ae27ee22aa95128cf4 (patch)
tree40cbd45d70d0f18ba092e4774cc413141103b676 /devel
parentaf92cf8f2fbca1ebfe3e382841cce0af6bc9d6ac (diff)
patch: do not patch automake Makefile template
We do not build the tests for this package, so we can avoid needing autoreconf when the host automake version doesn't match the version this package was bootstrapped with by not changing the .am file in this patch. Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'devel')
-rw-r--r--devel/patch/Makefile2
-rw-r--r--devel/patch/patches/020-CVE-2018-1000156.patch14
2 files changed, 3 insertions, 13 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile
index 5ea67c7a8..c84267503 100644
--- a/devel/patch/Makefile
+++ b/devel/patch/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=patch
PKG_VERSION:=2.7.6
-PKG_RELEASE:=6
+PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/patch
diff --git a/devel/patch/patches/020-CVE-2018-1000156.patch b/devel/patch/patches/020-CVE-2018-1000156.patch
index bf16f8e64..e3c9f2319 100644
--- a/devel/patch/patches/020-CVE-2018-1000156.patch
+++ b/devel/patch/patches/020-CVE-2018-1000156.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] Fix arbitrary command execution in ed-style patches
of piping it to ed: this will cause ed to abort on invalid commands
instead of rejecting them and carrying on.
* tests/ed-style: New test case.
-* tests/Makefile.am (TESTS): Add test case.
+* tests/Makefile.am (TESTS): Add test case. (OPENWRT REMOVED)
---
src/pch.c | 89 +++++++++++++++++++++++++++++++++++------------
- tests/Makefile.am | 1 +
+ tests/Makefile.am | 1 + (OPENWRT REMOVED)
tests/ed-style | 41 ++++++++++++++++++++++
3 files changed, 108 insertions(+), 23 deletions(-)
create mode 100644 tests/ed-style
@@ -143,16 +143,6 @@ instead of rejecting them and carrying on.
if (ofp)
{
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -32,6 +32,7 @@ TESTS = \
- crlf-handling \
- dash-o-append \
- deep-directories \
-+ ed-style \
- empty-files \
- false-match \
- fifo \
--- /dev/null
+++ b/tests/ed-style
@@ -0,0 +1,41 @@