Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

sys-libs/ncurses: update to 6.2_p20210619 #1383

Merged
merged 4 commits into from Nov 2, 2021

Conversation

dongsupark
Copy link
Contributor

@dongsupark dongsupark commented Oct 29, 2021

Update sys-libs/ncurses to 6.2_p20210619, mainly to address CVE-2021-39537.

Adjust a Flatcar patch, to add a symlink-usr USE flag for keeping a minimal set of terminfo
files in /usr/share/terminfo.
Also allow writes to /dev/ptmx, which sometimes causes the sandbox to fail Jenkins builds.
Based on 9a6728f5f5d6 and 380aa9c60af1 .

Clean up an unnecessary USE flag unicode from arm64 keywords.

This PR should be merged together with flatcar-archive/portage-stable#236.

How to use

emerge-amd64-usr sys-libs/ncurses

Testing done

CI passed: http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/4033/cldsv

Update sys-libs/ncurses to 6.2_p20210619, mainly to address
CVE-2021-39537.
Add a symlink-usr USE flag for keeping a minimal set of terminfo
files in /usr/share/terminfo.

Also allow writes to /dev/ptmx, which sometimes causes the sandbox
to fail Jenkins builds.

Based on 9a6728f and
380aa9c .
Since ncurses 6.2_p20210619 does not have the USE flag `unicode`,
we should clean up from profiles.
Now that sys-libs/ncurses 6.2_p20210619 dropped the USE flag 'unicode',
it is not possible to specify the flag in app-emulation/qemu.
Make the unicode flag optional, by specifying '(+)'.

See also https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ea02f40f21d21e584fe45c9d1c8cfb57f5acc6
@dongsupark
Copy link
Contributor Author

CI failed due to mismatches of USE flag unicode, because ncurses 6.2_p20210619 dropped the flag.
We need to make the flag optional in app-emulation/qemu, by specifying '(+)'.
We need to also do the same in sys-apps/gptfdisk, sys-libs/readline, sys-process/procps. See the PR flatcar-archive/portage-stable#236 .

@dongsupark dongsupark moved this from In Progress to Ready to Review in Flatcar Container Linux Releases Planning Nov 2, 2021
@dongsupark dongsupark marked this pull request as ready for review November 2, 2021 06:15
@dongsupark dongsupark requested a review from a team November 2, 2021 06:16
@dongsupark dongsupark merged commit 6ace17a into main Nov 2, 2021
@dongsupark dongsupark deleted the dongsu/ncurses-6.2-20210619 branch November 2, 2021 14:15
@dongsupark dongsupark moved this from Ready to Review to Ready to Release - 2021-11-01 in Flatcar Container Linux Releases Planning Nov 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants