diff options
author | wangmy <wangmy@fujitsu.com> | 2022-02-08 16:28:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-10 10:32:08 +0000 |
commit | 3fb9966b4fee3c74c0af2e9ff55fa4d5459756c0 (patch) | |
tree | 67ff8c97fe98b2999047c8daea64ed30bc79fa91 /meta/recipes-extended/screen/screen_4.8.0.bb | |
parent | c811b9f1e2d7a85a294db9d1514415dc1a90d636 (diff) | |
download | poky-3fb9966b4fee3c74c0af2e9ff55fa4d5459756c0.tar.gz |
screen: upgrade 4.8.0 -> 4.9.0
CVE-2021-26937.patch
removed since it is included in 4.9.0
Changelog:
=========
* Hardstatus option for used encoding (escape string '%e')
* OpenBSD uses native openpty() from its utils.h
* Fixes:
- fix combining char handling that could lead to a segfault
- CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030)
- make screen exit code be 0 when checking --help
- session names limit is 80 symbols (bug #61534)
- option -X ignores specified user in multiuser env (bug #37437)
- a lot of reformations/fixes/cleanups (man page and source code)
(From OE-Core rev: 8247097d2313ceb73bab1621d61b8aa3fb59095e)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/screen/screen_4.8.0.bb')
-rw-r--r-- | meta/recipes-extended/screen/screen_4.8.0.bb | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta/recipes-extended/screen/screen_4.8.0.bb b/meta/recipes-extended/screen/screen_4.8.0.bb deleted file mode 100644 index 6d307d5abc..0000000000 --- a/meta/recipes-extended/screen/screen_4.8.0.bb +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | SUMMARY = "Multiplexing terminal manager" | ||
2 | DESCRIPTION = "Screen is a full-screen window manager \ | ||
3 | that multiplexes a physical terminal between several \ | ||
4 | processes, typically interactive shells." | ||
5 | HOMEPAGE = "http://www.gnu.org/software/screen/" | ||
6 | BUGTRACKER = "https://savannah.gnu.org/bugs/?func=additem&group=screen" | ||
7 | |||
8 | SECTION = "console/utils" | ||
9 | |||
10 | LICENSE = "GPLv3+" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
12 | file://screen.h;endline=26;md5=b8dc717c9a3dba842ae6c44ca0f73f52 \ | ||
13 | " | ||
14 | |||
15 | DEPENDS = "ncurses virtual/crypt \ | ||
16 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
17 | RDEPENDS:${PN} = "base-files" | ||
18 | |||
19 | SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://screen.pam', '', d)} \ | ||
21 | file://0002-comm.h-now-depends-on-term.h.patch \ | ||
22 | file://0001-fix-for-multijob-build.patch \ | ||
23 | file://0001-Remove-more-compatibility-stuff.patch \ | ||
24 | file://CVE-2021-26937.patch \ | ||
25 | " | ||
26 | |||
27 | SRC_URI[md5sum] = "d276213d3acd10339cd37848b8c4ab1e" | ||
28 | SRC_URI[sha256sum] = "6e11b13d8489925fde25dfb0935bf6ed71f9eb47eff233a181e078fde5655aa1" | ||
29 | |||
30 | inherit autotools texinfo | ||
31 | |||
32 | PACKAGECONFIG ??= "" | ||
33 | PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter," | ||
34 | |||
35 | EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 --with-sys-screenrc=${sysconfdir}/screenrc \ | ||
36 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" | ||
37 | |||
38 | do_install:append () { | ||
39 | install -D -m 644 ${S}/etc/etcscreenrc ${D}/${sysconfdir}/screenrc | ||
40 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then | ||
41 | install -D -m 644 ${WORKDIR}/screen.pam ${D}/${sysconfdir}/pam.d/screen | ||
42 | fi | ||
43 | } | ||
44 | |||
45 | pkg_postinst:${PN} () { | ||
46 | grep -q "^${bindir}/screen$" $D${sysconfdir}/shells || echo ${bindir}/screen >> $D${sysconfdir}/shells | ||
47 | } | ||
48 | |||
49 | pkg_postrm:${PN} () { | ||
50 | printf "$(grep -v "^${bindir}/screen$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells | ||
51 | } | ||