From 16403507bd273e7ba4ac89fc63342f4d3096eb3f Mon Sep 17 00:00:00 2001 From: wangmy Date: Fri, 11 Feb 2022 10:17:08 +0800 Subject: ed: upgrade 1.17 -> 1.18 License-Update: year updated to 2022. license changed from GPLv3+ to GPLv2. (In version 1.5 the maintainer mistakenly changed the copyright holder from Andrew Moore to the FSF. In versions 1.18 he restored the original COPYING.) Changelog: ========= * main_loop.c (get_shell_command): Flush stdout after printing cmd. * signal.c (sighup_handler): Fix a memory leak just before exiting. * carg_parser.c (ap_init): Likewise. * io.c (read_file, write_file): Check ptr returned by strip_escapes. * main_loop.c (get_shell_command, exec_command): Likewise. * main_loop.c (get_shell_command): Remove backslash from escaped '%'. * main_loop.c, regex.c: Implement case-insensitive REs. * regex.c (compile_regex): Don't overwrite previous regex if error. * main.c: New option '--strip-trailing-cr'. * buffer.c (push_undo_atom): Fail if stack grows larger than INT_MAX. (too_many_lines): Fail if buffer grows larger than INT_MAX lines. * global.c (set_active_node): Fail if list grows larger than INT_MAX. * signal.c (resize_buffer): Fail if a line grows longer than INT_MAX. * io.c (read_file): Return -2 for fatal errors. * main_loop.c (main_loop): Set error status if fatal error from main. * main.c [restricted_]: New message "Directory access restricted". * ed.texi: New chapter "The 's' Command". * COPYING: Restored. (From OE-Core rev: 3b2804babd629b55a37eb33ae823dfb682b53b8b) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-extended/ed/ed_1.17.bb | 38 ------------------------------------- meta/recipes-extended/ed/ed_1.18.bb | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta/recipes-extended/ed/ed_1.17.bb create mode 100644 meta/recipes-extended/ed/ed_1.18.bb (limited to 'meta') diff --git a/meta/recipes-extended/ed/ed_1.17.bb b/meta/recipes-extended/ed/ed_1.17.bb deleted file mode 100644 index addf652d52..0000000000 --- a/meta/recipes-extended/ed/ed_1.17.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "Line-oriented text editor" -HOMEPAGE = "http://www.gnu.org/software/ed/" -DESCRIPTION = "GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands." - -LICENSE = "GPLv3+" -LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7 \ - file://ed.h;endline=20;md5=b72aa5eaafef318c6bfc37f858469113 \ - file://main.c;endline=17;md5=2c93e24f4db3528a00a24c7df5618e41 \ - " - -SECTION = "base" - -CVE_PRODUCT = "gnu:ed" - -# LSB states that ed should be in /bin/ -bindir = "${base_bindir}" - -# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/ -SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz" -UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/" - -SRC_URI[sha256sum] = "71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54" - -EXTRA_OEMAKE = "-e MAKEFLAGS=" - -inherit texinfo - -do_configure() { - ${S}/configure -} - -do_install() { - oe_runmake 'DESTDIR=${D}' install - # Info dir listing isn't interesting at this point so remove it if it exists. - if [ -e "${D}${infodir}/dir" ]; then - rm -f ${D}${infodir}/dir - fi -} diff --git a/meta/recipes-extended/ed/ed_1.18.bb b/meta/recipes-extended/ed/ed_1.18.bb new file mode 100644 index 0000000000..c1ab1f5ecb --- /dev/null +++ b/meta/recipes-extended/ed/ed_1.18.bb @@ -0,0 +1,38 @@ +SUMMARY = "Line-oriented text editor" +HOMEPAGE = "http://www.gnu.org/software/ed/" +DESCRIPTION = "GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands." + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ + file://ed.h;endline=20;md5=6e6a818b0593f937fc63ba08d5e314bf \ + file://main.c;endline=17;md5=8419a08bb12936f32384a0d1c0f9e74c \ + " + +SECTION = "base" + +CVE_PRODUCT = "gnu:ed" + +# LSB states that ed should be in /bin/ +bindir = "${base_bindir}" + +# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/ +SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz" +UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/" + +SRC_URI[sha256sum] = "aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f" + +EXTRA_OEMAKE = "-e MAKEFLAGS=" + +inherit texinfo + +do_configure() { + ${S}/configure +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install + # Info dir listing isn't interesting at this point so remove it if it exists. + if [ -e "${D}${infodir}/dir" ]; then + rm -f ${D}${infodir}/dir + fi +} -- cgit v1.2.3-54-g00ecf