aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/files
Commit message (Collapse)AuthorAgeFilesLines
* sysutils/screen: Fix 64-bit big endian supportAdrian Chadd2026-01-044-0/+193
| | | | PR: 292142
* sysutils/screen: Fix upstream bug #67155, buffer overflowCy Schubert2025-10-031-0/+108
| | | | | | | | Fix upstream bug #67155, buffer overflow due to `strncpy()`. There is no CVE yet. Obtained from: https://savannah.gnu.org/bugs/?67155
* sysutils/screen: Replace sysutils/screen with sysutils/screen50Cy Schubert2025-06-098-0/+227
| | | | Remove sysutils/screen and rename sysutils/screen50 to sysutils/screen.
* sysutils/screen*: Rename screen and introduce a meta portCy Schubert2024-08-2915-549/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation for the import of screen 5.0.0. I've tried screen-devel (5.0.0 prelrelease). There were some bugs and inconsistencies with screen 4.9.1. So we move screen to screen49 to maintain a version of screen that is known to work. This implements the concept of a master screen port by renaming it to screen49 and creating a slave port called screen. The idea of this is similar in concept used with the cfengine or krb5 family of ports. Users should never need to change port origins when a new stable version of screen is committed. People can install the screen port or package as before. However if they choose to use the other screen port/package they may remove screen and install the versioned "master" port/package directly. This is in preparation for import of screen 5.0.0 into the ports collection. Unfortunately my initial testing of screen 5.0.0 using the screen-devel port uncovered an annoying (to me) bug, which I have opened an issue with our upstream. I have not found the time to test their patches enough to feel comfortalbe replacing the existing screen 4.9.1 with 5.0.0. When 5.0.0 will be imported as sysutils/screen50, it will not become the default master port until we believe it won't become a source of many bugzilla bugs.
* sysutils/screen*: Fix off-by-one buffer overflowCy Schubert2024-08-191-0/+9
| | | | | | | | | | | | | | FreeBSD ncurses, as of c8b9c85ee5bb, does a strncpy() of 1024 bytes into a 1023 byte buffer supplied by screen. This section of code in ncurses was removed in 61f66a1f4403, and is not a problem since 14.0-RELEASE. But it is still a problem in 13-STABLE. Thank you to dim@ for detailed analysis and initial patch to sysutils/screen. The same patch is also applied to sysutils/screen-devel this commit. PR: 280868 MFH: 2024Q3
* sysutils/screen: Fix build on __FreeBSD_version >= 1500020Cy Schubert2024-07-181-0/+19
| | | | | I haven't bisected the real cause but I believe this breakage was likely caused by the recent ssp commits to 15-CURRENT.
* sysutils/screen: Ignore legacy pty (pty.ko) during buildCy Schubert2024-01-031-4/+24
| | | | | | | | | screen built on a machine with pty.ko (legacy SYSVR4 pty support) loaded will fail to run on machines without pty.ko loaded. It will try to open /dev/ptmx and fail, crashing screen. This commit fixes this by removing the test for /dev/ptmx (legacy SYSVR4 pty support). Reported by: Jonathan Chen <jonc@chen.org.nz>
* sysutils/screen: Update 4.9.0 --> 4.9.1Cy Schubert2023-08-202-23/+71
| | | | | | | | | | | | | | | Version 4.9.1 (20/08/2023): * Support stop/parity bits on serial port (#23952) * Add needed system headers in checks and return values for implicit function declarations * Fixes: - Avoid zombies after shell exit (#25089) - Missed signal sending permission check on failed query messages (CVE-2023-24626) - manpage fixes - source code fixes during cleanup - UTF-8 encoding can emit invalid UTF-8 sequences for out of range unicode values (#62097)
* sysutils/screen: Add session creation time when list active sessionsRodrigo Osorio2023-08-164-0/+134
| | | | | | | | | | | | | | Reimplement Debian patches to display screen session creation time and sort the list of sessions by date. Output example for 'screen -ls' command --------------------------------------- There is a screen on: 14059.pts-7.1302amd64-head (08/15/23 10:02:52) (Attached) 1 Socket in /tmp/screens/S-root. Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D41469
* sysutils/screen: Fix SHOWENC buildCy Schubert2022-03-181-21/+0
| | | | | | | | | The SHOWENC optional patch is now included in screen 4.9.0. We simply enable the option now and build. The patch is redundant. PR: 262641 Reported by: Trond.Endrestol@ximalas.info, sunpoet, many others Fixes: 9bdc78861688
* sysutils/screen: Update to 4.9.0Cy Schubert2022-03-176-301/+50
| | | | | | | | | | | | | | | | | | | | Update screen to 4.9.0. From the release announcement: New in this release: * Hardstatus option for used encoding (escape string '%e') * 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) For full list of changes see https://git.savannah.gnu.org/cgit/screen.git/log/?h=v.4.9.0 Note that CVE-2021-26937 was fixed in the FreeBSD port in 2021.
* Fix CVE-2021-26937 for real: segfaults by displaying some UTF-8 charactersCy Schubert2021-02-162-0/+80
| | | | | | | | | | | | | | | | | | This is a recommit of r565281 fixing a typo in r565281, causing a regression. CVE-2021-26937 segfaults when displayingsome UTF-8 characters described in https://lists.gnu.org/archive/html/screen-devel/2021-02/msg00000.html. PR: 253515 Reported by: daniel.engberg.lists at pyret.net Obtained from: https://build.opensuse.org/request/show/871482 MFH: 2020Q1 Security: CVE-2021-26937 Notes: svn path=/head/; revision=565376
* Revert r565281. It breaks UTF-8.Cy Schubert2021-02-152-80/+0
| | | | | | | | | Reported by: Trond.Endrestol at ximalas.info Christos Chatzaras <chris at cretaforce.gr> PR: 253515 Notes: svn path=/head/; revision=565328
* Fix CVE-2021-26937: segfaults by displaying some UTF-8 charactersCy Schubert2021-02-152-0/+80
| | | | | | | | | | | | | | | CVE-2021-26937 segfaults when displayingsome UTF-8 characters described in https://lists.gnu.org/archive/html/screen-devel/2021-02/msg00000.html. PR: 253515 Reported by: daniel.engberg.lists at pyret.net Obtained from: https://build.opensuse.org/request/show/871482 MFH: 2020Q1 Security: CVE-2021-26937 Notes: svn path=/head/; revision=565281
* Update 4.7.0 --> 4.8.0Cy Schubert2020-02-125-145/+3
| | | | Notes: svn path=/head/; revision=525895
* Correctly identify utmpx support in FreeBSD.Cy Schubert2019-10-292-28/+30
| | | | | | | | | | | | | | - FreeBSD's utmpx is incorrectly identified in ./configure. - Because of the falsely identified utmpx support in the ./configure script, a previously applied patch, which didn't work, is no longer needed. PR: 241530 Reported by: Henry David Bartholomew <PopularMoment@protonmail.com> Daniel Drinnon <ddrinnon@cdor.net> Notes: svn path=/head/; revision=515953
* Resolve upstream bug #55482: TERMCAP can break on systems that don'tCy Schubert2019-10-295-5/+138
| | | | | | | | | support terminfo Obtained from: https://savannah.gnu.org/bugs/?55482 Notes: svn path=/head/; revision=515952
* sysutils/screen: fix coredump on xterm/rxvt variants without KmChristoph Moench-Tegeder2019-10-281-3/+12
| | | | | | | | | | | | | | | | On xterm- and rxvt-variants (and in some other cases) screen's InitTermcap() tries to strdup() the terminals "Km" ("key_mouse") termcap attribute - but that might be NULL, as some of these terminals (notably rxvt and xterm-color) do not have "Km". Trying to strdup() NULL results in segfault and coredump. Catch that NULL and prevent the segfault. PR: 241538 Reported by: Marcin Cieślak, Gareth de Vaux Approved by: cy@ Notes: svn path=/head/; revision=515868
* Resolve a segfault in utmp.c:519 at some installations.Cy Schubert2019-10-091-9/+5
| | | | Notes: svn path=/head/; revision=514110
* Update 4.6.2 --> 4.7.0Cy Schubert2019-10-083-23/+45
| | | | Notes: svn path=/head/; revision=514098
* Update 4.5.0 --> 4.6.1Cy Schubert2017-08-262-22/+7
| | | | Notes: svn path=/head/; revision=448749
* Properly detect devel/ncurses if installed and use it. Previously ifCy Schubert2017-05-141-11/+31
| | | | | | | | | | | devel/ncurses was installed, even though the dependency was registered, base ncurses would still be linked. PR: 219260 Submitted by: knu@ Notes: svn path=/head/; revision=440861
* Fix style.Cy Schubert2017-02-111-1/+1
| | | | Notes: svn path=/head/; revision=433829
* Fix a segfault in utmp.c when performing a windowlist move (,).Cy Schubert2017-02-111-7/+8
| | | | | | | | Reported by: Alex Naumov <alexander_naumov@opensuse.org> See also: https://savannah.gnu.org/bugs/?50143 Notes: svn path=/head/; revision=433828
* Circumvent a trivial root privilege escalation.Cy Schubert2017-01-251-2/+17
| | | | | | | | | | | See: https://lists.gnu.org/archive/html/screen-devel/2017-01/msg00025.html Reported by: Tim Zingelman <tez@pkgsrc.org> Security: CVE not assigned yet Notes: svn path=/head/; revision=432410
* Fix optional patch.Cy Schubert2017-01-181-19/+9
| | | | | | | Reported by: ler Notes: svn path=/head/; revision=431826
* Update 4.4.0 --> 4.5.0Cy Schubert2017-01-182-18/+18
| | | | Notes: svn path=/head/; revision=431795
* Update 4.3.1 --> 4.4.0Cy Schubert2016-06-213-62/+20
| | | | Notes: svn path=/head/; revision=417201
* - Add missing file dependencies to fix threaded build, remove MAKE_JOBS_UNSAFEDmitry Marakasov2015-11-161-4/+18
| | | | | | | | | PR: 201781 Submitted by: truckman Approved by: maintainer timeout (cy, 3.5 months) Notes: svn path=/head/; revision=401774
* Add patch to resolve stack overflow vulnerabilityMark Felder2015-09-081-0/+55
| | | | | | | | | MFH: 2015Q3 Security: 98092444-5645-11e5-9ad8-14dae9d210b8 Security: CVE-2015-6806 Notes: svn path=/head/; revision=396408
* Remove incorrect screenrc command.Cy Schubert2015-07-221-1/+0
| | | | | | | PR: 201717 Notes: svn path=/head/; revision=392658
* Fix build under stable/8.Cy Schubert2015-07-021-5/+37
| | | | | | | PR: PR/201279 Notes: svn path=/head/; revision=391202
* Update 4.2.1 --> 4.3.1Cy Schubert2015-07-013-41/+0
| | | | Notes: svn path=/head/; revision=391023
* nstall optional screenrc with helpful status line instead of theCy Schubert2014-11-261-0/+11
| | | | | | | | | | default. Submitted by: alfred, kmoore Reviewed by: rodrigc Notes: svn path=/head/; revision=373436
* Rename sysutils/ patch-xy patches to reflect the files they modify.Adam Weinberger2014-07-295-0/+0
| | | | Notes: svn path=/head/; revision=363335
* Fix colour in hardstatus when color between two %= (GNU screen bug #42247).Cy Schubert2014-05-013-248/+20
| | | | | | | Options CJK and HOSTINLOCKED are in the base screen, remove them. Notes: svn path=/head/; revision=352735
* Update screen 4.0.3 --> 4.2.1.Cy Schubert2014-04-3014-253/+131
| | | | | | | Put final touches onto screen-legacy. Notes: svn path=/head/; revision=352669
* Allow $TERM to be longer than 20 bytes, allow for 63 bytes.Cy Schubert2011-11-082-2/+22
| | | | | | | PR: 162339 Notes: svn path=/head/; revision=285273
* Back out previous commit. It broke UTF8 functioning.Cy Schubert2011-05-035-73/+0
| | | | | | | Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Notes: svn path=/head/; revision=273591
* Add support for KOI8-U.Cy Schubert2011-05-015-0/+73
| | | | | | | | PR: ports/156031 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> Notes: svn path=/head/; revision=273389
* Add option to enable locking using user's password.Cy Schubert2011-01-041-0/+24
| | | | | | | PR: 153548 Notes: svn path=/head/; revision=267359
* Bjorn Zeeb discovered that screen(1) was mangling ut_host by performingCy Schubert2010-11-181-2/+69
| | | | | | | | | | | | | | strange translations. For example, foo.bar.com gets translated to foo:S.0. Unfortunately, this means that it also truncates IPv6 addresses, e.g. 2001:7b8:310::1 -> 2001:S.0. Wouldn't it be better to just use the hostname unmodified? ut_host is supposed to contain a hostname, not some arbitrary string. Submitted by: ed (Ed Schouten) Discovered by: Bjorn Zeeb Notes: svn path=/head/; revision=264788
* Apply a new improved utmp patch.Cy Schubert2010-07-221-34/+5
| | | | | | | Submitted by: ed Notes: svn path=/head/; revision=258045
* Screen failed to work properly under HEAD. This patch resolve the issue.Cy Schubert2010-02-096-78/+57
| | | | | | | Submitted by: ed Notes: svn path=/head/; revision=249471
* Make screen build on the latest HEAD (900008).Cy Schubert2010-01-276-22/+123
| | | | Notes: svn path=/head/; revision=248661
* Fix build under FreeBSD 9.0-CURRENT.Cy Schubert2009-12-211-4/+27
| | | | | | | PR: 141743 Notes: svn path=/head/; revision=246404
* Set termios' VERASE to DEL, for vte's autodetect feature.Cy Schubert2009-02-231-0/+23
| | | | | | | | | | | PR: 131858 Submitted by: Szalai Andras <szalai.bandi@gmail.com> Obtained from: screen.git commit 01fbf99748f536519605087d5937761790fc6ded by Micah Cowan <micah@cowan.name> see: http://git.savannah.gnu.org/cgit/screen.git/commit/?id=01fbf99748f536519605087d5937761790fc6ded Notes: svn path=/head/; revision=228953
* Implement a new knob WITH_SHOWENC to show the encoding of every windowCy Schubert2008-07-251-0/+31
| | | | | | | | | | on status line. PR: 124492 Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> Notes: svn path=/head/; revision=217457
* Add optional patch to include hostname in screen's "locked" message.Cy Schubert2008-06-101-0/+21
| | | | | | | | PR: 122718 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> Notes: svn path=/head/; revision=214608
* Increase support for 512 ptys as per src/sys/kern/tty_pty.c r1.155.Cy Schubert2008-05-061-1/+1
| | | | Notes: svn path=/head/; revision=212699