mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 00:32:12 +02:00
Changelog: ============= - main_loop.c (command_s): Fix g/x/s/x/x, which failed to skip the final newline, printing lines twice. (From OE-Core rev: 2c473a2cadf198262d06ec5131d111cfe15cb7ba) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d726710f7b1d707a55777d486bf06b0021f9dcfb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
39 lines
1.3 KiB
BlitzBasic
39 lines
1.3 KiB
BlitzBasic
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 = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \
|
|
file://ed.h;endline=20;md5=c3212b6c53b09668107420af9368c0ef \
|
|
file://main.c;endline=17;md5=e5d2ae5ddd1ecb87dc71702c06dd06dc \
|
|
"
|
|
|
|
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] = "65fec7318f48c2ca17f334ac0f4703defe62037bb13cc23920de077b5fa24523"
|
|
|
|
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
|
|
}
|