CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

sysutils/screen5.0.2_1

Multi-screen window manager

Maintainer
cy@FreeBSD.org
Packages
screen 5.0.2_1
Upstream
up to date
CPE
gnu:screen from the port
WWW
https://www.gnu.org/software/screen/
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (3)

Show 3 fixed
VuXML entries whose affected range this version has left.

Commits (212)

Cy Schubert (cy) · 5.0.2_1
sysutils/screen*: MULTIUSER is now non-default

MULTIUSER requires a setuid root screen binary. Not many people use
this feature anymore so let's disable it by default. If people do want
MULTIUSER screen they should either set the option or manually add the
setuid bit to the screen binary.

Reported by:	sjg
118191c692
Cy Schubert (cy) · 5.0.2
sysutils/screen: Update to 5.0.2
f8b6517b33
Cy Schubert (cy) · 5.0.1_6
sysutils/screen: Fix 64-bit big endian support

PR:		292142
52ecaddb95
Cy Schubert (cy) · 5.0.1_5
sysutils/screen: Fix upstream bug #67155, buffer overflow

Fix upstream bug #67155, buffer overflow due to `strncpy()`.

There is no CVE yet.

Obtained from:	https://savannah.gnu.org/bugs/?67155
25019f85fd
Cy Schubert (cy) · 5.0.1_4
sysutils/screen: Replace sysutils/screen with sysutils/screen50

Remove sysutils/screen and rename sysutils/screen50 to sysutils/screen.
9edb6f7cb0
Cy Schubert (cy)
sysutils/screen: Make sysutils/screen50 default
aba41ffb4b
Cy Schubert (cy)
sysutils/screen*: Rename screen and introduce a meta port

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.
43808d10e2
Cy Schubert (cy) · 4.9.1_5
sysutils/screen*: Fix off-by-one buffer overflow

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
1c7e0fd32c
Cy Schubert (cy) · 4.9.1_4
sysutils/screen*: Bump PORTREVISION for runtime fix

92b0c9cdbef5 fixed a runtime issue. A PORTREVISION bump is required.

PR:	280868
MFH:	2024Q4
4188186190
Cy Schubert (cy) · 4.9.1_3
sysutils/screen*: Fix stack overflow detected on aarch64

Fix,

SCREEN[1304]: stack overflow detected; terminated
kernel: pid 1304 (screen-4.9.1), jid 0, uid 0: exited on signal 6 (core dumped)

PR:		280868
Tested by:	Andreas Schwarz <bugs.freebsd.asc@schwarzes.net>
MFH:		2024Q3
92b0c9cdbe
Cy Schubert (cy) · 4.9.1_3
sysutils/screen: Fix build on __FreeBSD_version >= 1500020

I haven't bisected the real cause but I believe this breakage was
likely caused by the recent ssp commits to 15-CURRENT.
6027322e3b
Cy Schubert (cy) · 4.9.1_3
sysutils/screen: Bump PORTREVISION to chase src 21817992b331

21817992b331 in FreeBSD/main installed ncurses 6.5 into 15-CURRENT.
This causes screen to display errors about duplicate entries in
termcap/terminfo. A rebuild of screen fixes the problem.

The errors are:

Name collision 'cdc456tst' between
        cdc456tst
and     cdc456tst
Cannot remove alias 'cdc456tst'
Name collision 'tab132w' between
        tab132w
and     tab132w
Cannot remove alias 'tab132w'

And many more errors like the above.
4399046475
Cy Schubert (cy) · 4.9.1_2
sysutils/screen: Register conflict with sysutils/screen-devel
bf782a9338
Cy Schubert (cy) · 4.9.1_2
sysutils/screen: move man page
23c55b77de
Cy Schubert (cy) · 4.9.1_1
sysutils/screen: Ignore legacy pty (pty.ko) during build

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>
8659dcf7d1
Cy Schubert (cy) · 4.9.1
sysutils/screen: Update 4.9.0 --> 4.9.1

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)
bfae663ae1
Rodrigo Osorio (rodrigo) · 4.9.0_7
sysutils/screen: Add session creation time when list active sessions

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
7418bfa0e6
Stefan Eßer (se) · 4.9.0_6
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 4.9.0_6
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Tobias C. Berner (tcberner) · 4.9.0_6
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
  *  Alex Deiter <tiamat@komi.mts.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alex de Kruijff
  *  Alexander Haderer <alexander.haderer@loescap.de>
  *  Alexander Kuehn <freebsd@nagilum.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Moisseev <moiseev@mezonplus.ru>
  *  Alexander V. Chernikov <melifaro@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@regency.nsu.ru>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Anders Nordby <anders@fix.no>
  *  Andreas Dobloug <andreasd@@ifi.uio.no>
  *  Andreas Fehlner (fehlner@gmx.de)
  *  Andreas Klemm <andreas@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrej Zverev <az@inec.ru>
  *  Andrew <andrew@ugh.net.au>, Iain Templeton <iain@ugh.net.au>
  *  Andrew Khlebutin <andrey@hm.perm.ru>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
  *  Andrew Stevenson <andrew@ugh.net.au>
  *  Andrew Turner <zombie@i4free.co.nz>
  *  Andrey A. Chernov <ache@FreeBSD.org>
  *  Andrey Cherkashin <andoriyu@gmail.com>
  *  Andrey Chernov <ache@FreeBSD.org>
  *  Andrey Kuzmin <akuz84@gmail.com>
  *  Andrey Simonenko
  *  Andrey Zonov <andrey@zonov.org>
  *  Andris Raugulis <moo@arthepsy.eu>
  *  Andy Fawcett <andy@athame.co.uk>
  *  Anes Mukhametov <anes@anes.su>
  *  Anish Mistry
  *  Anish Mistry <amistry@am-productions.biz>
  *  Antoine Brodin <antoine@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
  *  Anton Karpov <toxa@toxahost.ru>
  *  Anton Lysenok <bart@tapolsky.net.ua>
  *  Anton Statutov <astatutov@gmail.com>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Aragon Gouveia <aragon@phat.za.net>
  *  Arjan van der Velde <noresult@xs4all.nl>
  *  Artem Zaytsev <a.arepo@gmail.com>
  *  Ashish SHUKLA <wahjava@gmail.com>
  *  Austin Shafer <ashafer@badland.io>
  *  Babak Farrokhi <farrokhi@FreeBSD.org>
  *  Baptiste Grenier <gwarf@gwarf.org>
  *  Bartek Rutkowski <robak@FreeBSD.org>
  *  Ben Kibbey <bjk@arbornet.org>
  *  Ben Woods <woodsb02@FreeBSD.org>
  *  Bjoern A. Zeeb <bzeeb+freebsd+ports@zabbadoz.net>
  *  Blaz Zupan <blaz@amis.net>
  *  Boris Kochergin <spawk@acm.poly.edu>
  *  Boris Popov <bp@FreeBSD.org>
  *  Boris Samorodov <bsam@FreeBSD.org>
  *  Brad Lanam <bll@gentoo.com>
  *  Brian Dean <bsd@FreeBSD.org>
  *  Brian Handy <handy@physics.montana.edu>
  *  Brian Somers <brian@FreeBSD.org>
  *  Cameron Katri <me@cameronkatri.com>
  *  Carlo Strub
  *  Chad Castleberry AKA ritalin
  *  Charles Swiger <chuck@pkix.net>
  *  Charlie Kester <corky1951@comcast.net>
  *  Chifeng Qu <chifeng@gmail.com>
  *  Chris Calvey <chris@securityforensics.co.uk>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Howey <howeyc@gmail.com>
  *  Christer Edwards <christer.edwards@gmail.com>
  *  Christopher Boumenot <boumenot@gmail.com>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Colin Booth <colin@heliocat.net>
  *  Colin Percival
  *  Conrad Meyer <cem@FreeBSD.org>
  *  Cosmin Stroe <cstroe1@uic.edu>
  *  Craig Leres <leres@FreeBSD.org>
  *  Craig Rodrigues <rodrigc@FreeBSD.org>
  *  Cy Schubert <cy@FreeBSD.org>
  *  Cyrille Lefevre <Cyrille.Lefevre@laposte.net>
  *  Cyrille Lefevre <clefevre@citeweb.net>
  *  Dale Woolridge <dale.woolridge@gmail.com>
  *  Dan Langille <dan@langille.org>
  *  Dan Piponi <wmtop@tanelorn.demon.co.uk>
  *  Daniel Baker <dbaker@FreeBSD.org>
  *  Daniel Bond
  *  Daniel Gerzo <danger@FreeBSD.org>
  *  Daniel Harris <dannyboy@subdimension.com>
  *  Daniel Johansson <donnex@donnex.net>
  *  Daniel Roethlisberger <daniel@roe.ch>
  *  Daniel Solsona <daniel@ish.com.au>, Guido Falsi <madpilot@FreeBSD.org>
  *  Daniel Thiele
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  Danilo Egea Gondolfo <danilogondolfo@gmail.com>
  *  Danny Howard <dannyman@toldme.com>
  *  Dave Cottlehuber <dch@skunkwerks.at>
  *  David Gardner
  *  David Le Brun <david@dyn-ns.net>
  *  David Naylor <dbn@FreeBSD.org>
  *  David O'Brien (obrien@FreeBSD.org)
  *  David O'Brien (obrien@NUXI.com)
  *  David O'Brien <obrien@FreeBSD.org>
  *  David O'Brien <obrien@cs.ucdavis.edu>
  *  David Thiel <lx@redundancy.redundancy.org>
  *  David W. Chapman Jr. (dwcjr@FreeBSD.org)
  *  Denis Barov
  *  Denis Barov <dindin@dindin.ru>
  *  Denis N. Peplin <info@volginfo.ru>
  *  Dennis Herrmann <dhn@FreeBSD.org>
  *  Dereckson <dereckson@gmail.com>
  *  Derik van Zuetphen <dz@426.ch>
  *  Devin Teske <dteske@FreeBSD.org>
  *  Devin Teske <dteske@vicor.com>
  *  Dikshie
  *  Dima Panov <fluffy@Fluffy.Khv.RU>
  *  Dima Sivachenko <dima@chg.ru>
  *  Dirk Engling <erdgeist@erdgeist.org>
  *  Dmitri Nikulin <setagllib@optusnet.com.au>
  *  Dmitry Frolov <frol@nov.net>
  *  Dmitry N Fomin <fdn@okbire.ru>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Dmitry Sivachenko <dima@Chg.RU>
  *  Dmitry Yashin <dmitry@yashin.su>
  *  Dmitry Yu Okunev dyokunev@ut.mephi.ru
  *  Dom Mitchell <dom@happygiraffe.net>
  *  Dom Mitchell <dom@myrddin.demon.co.uk>
  *  Dominic Fandrey <kamikaze@bsdforen.de>
  *  Donald Burr <dburr@FreeBSD.org>
  *  Doug Harple
  *  Douglas Thrift
  *  Dryice Liu <dryice@dryice.name>
  *  Dylan Bridgman
  *  Ed Schouten <ed@FreeBSD.org>
  *  Ed Schouten <ed@fxq.nl>
  *  Ederson de Moura <ederbs@ederbs.org>
  *  Edson Brandi <ebrandi@fugspbr.org>
  *  Eduard Martinescu
  *  Edward Tomasz Napierala <trasz@FreeBSD.org>
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Emmanuel Vadot <manu@freebsd.org>
  *  Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Erik Greenwald <erik@smluc.org>
  *  Erwin Lansing <erwin@FreeBSD.org>
  *  Eugene Grosbein <eugen@FreeBSD.org>
  *  Evan Sarmiento <esarmiento@wayfair.com>
  *  Evgeny Zhirnov <jirnov@gmail.com>
  *  Fabian Keil <fk@fabiankeil.de>
  *  Felippe de Meirelles Motta <lippemail@gmail.com>
  *  Florent Thoumie <flz@xbsd.org>
  *  Florian Smeets <flo@smeets.im>
  *  Frank Fenor <frank@fenor.de>
  *  Frank Wall <fw@moov.de>
  *  Frederic Culot <culot@FreeBSD.org>
  *  FreeBSD GNOME Team <gnome@freebsd.org>
  *  Frerich Raabe <frerich.raabe@gmx.de>
  *  Fukang Chen <loader@FreeBSD.org>
  *  Gabor Zahemszky
  *  Gabriel M. Dutra <0xdutra@gmail.com>
  *  Ganael LAPLANCHE <ganael.laplanche@martymac.org>
  *  Ganael Laplanche <ganael.laplanche@martymac.org>
  *  Gasol Wu <gasol.wu@gmail.com>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Cox <gjvc@gjvc.com>
  *  George Neville-Neil gnn@freebsd.org
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Gerhard Häring <gh@ghaering.de>
  *  Gerrit Beine <tux@pinguru.net>
  *  Gert Doering <gert@space.net>
  *  Gleb Kurtsou <gleb@FreeBSD.org>
  *  Gleb Smirnoff <glebius@FreeBSD.org>
  *  Greg Larkin <glarkin@FreeBSD.org>
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Guangyuan Yang <ygy@FreeBSD.org>
  *  Gustau Perez i Querol <gustau.perez@gmail.com>
  *  Gvozdikov Veniamin <g.veniamin@googlemail.com>
  *  Hakisho Nukama <nukama@gmail.com>
  *  Hans Petter Selasky <hselasky@freebsd.org>
  *  Harshavardhana
  *  Heiner <h.eichmann@gmx.de>
  *  Henrik Brix Andersen <brix@FreeBSD.org>
  *  Hizbulin Ildar <hizel@vyborg.ru>
  *  Hokan
  *  Hondareyte <lhondareyte@laposte.net>
  *  Hung-Yi Chen <gaod@hychen.org>
  *  Ian Lepore <ian@FreeBSD.org>
  *  Igor Pokrovsky <ip@unixway.org>
  *  Ivan Dreckman <ivannashdreckman@fastmail.fm>
  *  Ivan Lago <ivan.lago@ifom-ieo-campus.it>
  *  J.R. Oldroyd <fbsd@opal.com>
  *  James Hunt <james.hunt@ubuntu.com>
  *  James O'Gorman <james@netinertia.co.uk>
  *  Jamie Heckford <jamie@jamiesdomain.co.uk>
  *  Jan Stocker <Jan.Stocker@t-online.de>
  *  Janne Snabb <snabb@epipe.com>
  *  Jase Thew <freebsd@beardz.net>
  *  Jason Evans <jasone@FreeBSD.org>
  *  Jason Harris <jharris@widomaker.com>
  *  Jason Helfman <jgh@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@FreeBSD.org>
  *  Jeffrey Goldberg <jeffrey@goldmark.org>
  *  Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
  *  Jeremy Chadwick <freebsd@jdc.parodius.com>
  *  Jeremy Chadwick <jdc@parodius.com>
  *  Jeremy Shaffner <jeremy@external.org>
  *  Jesse
  *  Jesse Smith
  *  Jesse Smith <jessefrgsmith@yahoo.ca>
  *  Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
  *  Jev Björsell <ports@ecadlabs.com>
  *  Jim Pirzyk <pirzyk@FreeBSD.org>
  *  Jim Pirzyk pirzyk@FreeBSD.org
  *  Jim Riggs <ports@christianserving.org>
  *  Jim Shewmaker
  *  Jin-Sih Lin <linpct@gmail.com>
  *  Jin-Sih, Lin <linpct@gmail.com>
  *  Joe Barbish
  *  Joe Barbish <jail-primer1@a1poweruser.com>
  *  Joe Barbish <qchroot1@a1poweruser.com>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Joerg Pulz <Joerg.Pulz@frm2.tum.de>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  John D. "Trix" Farrar <trix@basement.net>
  *  John Hixson <jhixson@FreeBSD.org>
  *  John Hixson <jhixson@freebsd.org>
  *  John Hixson <john@pcbsd.org>
  *  John Reynolds <johnjen@reynoldsnet.org>
  *  Jon Wilson <jon@phuq.co.uk>
  *  Jonathan Liu <Net147@hotmail.com>
  *  Joris Vandalon
  *  Jose G. Juanino <jjuanino@gmail.com>
  *  Josef El-Rayes <josef@FreeBSD.org>
  *  Joseph Benden <joe@thrallingpenguin.com>
  *  Jouke Witteveen <j.witteveen@gmail.com>
  *  Jov <amutu@amutu.com>
  *  Ju Pengfei <jupengfei@gmail.com>
  *  Juergen Lock <nox@FreeBSD.org>
  *  Juergen Lock <nox@jelal.hb.north.de>
  *  Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
  *  Jung-uk Kim <jkim@FreeBSD.org>
  *  Juraj Lutter <otis@sk.FreeBSD.org>
  *  Jyun-Yan You <jyyou@cs.nctu.edu.tw>
  *  KIMURA Takamichi <takamiti@tsden.org>
  *  Kai Wang <kaiwang27@gmail.com>
  *  Kamila Souckova <kamila@ksp.sk>
  *  Kay Lehmann
  *  Kay Lehmann <kay_lehmann@web.de>
  *  Kevin Bowling <kbowling@FreeBSD.org>
  *  Kirill Ponomarev <krion@FreeBSD.org>
  *  Kirill Ponomarew <ponomarew@oberon.net>
  *  Kirk Strauser <kirk@strauser.com>
  *  Konstantin Menshikov <kostjnspb@yandex.ru>
  *  Konstantin Reznichenko <kot@premierbank.dp.ua>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Koop Mast<kwm@FreeBSD.org>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Kris Moore <kmoore@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Kueifeng Li <thinker@branda.to>
  *  Lapo Luchini <lapo@lapo.it>
  *  Lars Engels <lars.engels@0x20.net>
  *  Lars Engels <lme@FreeBSD.org>
  *  Lars Köller <Lars.Koeller@Uni-Bielefeld.DE>
  *  Lars Thegler <lars@thegler.dk>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Len Sassama
  *  Leo Vandewoestijne <freebsd@dns-lab.com>
  *  Loic Pefferkorn <loic-freebsd@loicp.eu>
  *  Loren M. Lang
  *  Luca Pizzamiglio <pizzamig@FreeBSD.org>
  *  Lucas Holt <luke@foolishgames.com>
  *  Lukasz Wasikowski <lukasz@wasikowski.net>
  *  Lupe Christoph <lupe@lupe-christoph.de>
  *  M. Warner Losh <imp@FreeBSD.org>
  *  MANTANI Nobutaka <nobutaka@FreeBSD.org>
  *  Mahdi Mokhtari <mokhi64@gmail.com>
  *  Mahlon E. Smith <mahlon@martini.nu>
  *  Manuel Rabade Garica <mig@mig-29.net>
  *  Marc G. Fournier <scrappy@FreeBSD.org>
  *  Marc Lagrange <rhaamo@gruik.at>
  *  Marcel Kaiser <mk@nic-nac-project.org>
  *  Marcin Cieslak <saper@SYSTEM.PL>
  *  Marcin Simonides <marcin@studio4plus.com>
  *  Marco Steinbach <coco@executive-computing.de>
  *  Mario S F Ferreira <lioux@linf.unb.br> et al.
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Marius Strobl <marius@FreeBSD.org>
  *  Mark Blackman <tmb_ports@maddog.u-net.com>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  Markus Dolze
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Otto
  *  Martin Pala <martinp@tildeslash.com>
  *  Martin Tournoij <carpetsmoker@xs4all.nl>
  *  Martin Tournoij <martin@arp242.net>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Marwan Burelle <marwan.burelle@lri.fr>
  *  Mateusz Piotrowski <0mp@FreeBSD.org>
  *  Matt Lancereau <matt@rimasec.net>
  *  Matt Lancereau <ports@FreeBSD.org>
  *  Matt Peterson <matt@peterson.org>
  *  Matteo Cypriani <mcy@lm7.fr>
  *  Matthew Dillon <dillon@backplane.com>
  *  Matthew Fuller <fullermd@over-yonder.net>
  *  Matthew Seaman <matthew@FreeBSD.org>
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  Max Khon
  *  Max Khon <fjoe@FreeBSD.org>
  *  Max Laier <max@love2party.net>
  *  Maxim Ignatenko <gelraen.ua@gmail.com>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Melvyn Sopacua <melvyn@magemana.nl>
  *  Michael Gmelin <freebsd@grem.de>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael L. Hostbaek <mich@freebsdcluster.org>
  *  Michael Moll <kvedulv at kvedulv.de>
  *  Michael Moll <kvedulv@kvedulv.de>
  *  Michael Ranner <michael@ranner.eu>
  *  Michael Reifenberger
  *  Miguel Mendez <flynn@energyhq.homeip.net>
  *  Mike Meyer <mwm@mired.org>
  *  Mike Muir <mmuir@es.co.nz>
  *  Mikolaj Golub <to.my.trociny@gmail.com>
  *  Mikolaj Golub <trociny@FreeBSD.org>
  *  Mohammad S. Babaei <info@babaei.net>
  *  Muhammad Moinur Rahman <bofh@FreeBSD.org>
  *  Murilo Opsfelder <mopsfelder@gmail.com>
  *  Murray Nesbitt <freebsd@nesbitt.ca>
  *  Mykola Dzham <i@levsha.me>
  *  Natacha Porte <natbsd@instinctive.eu>
  *  Nick Hibma <n_hibma@FreeBSD.org>
  *  Nicola Vitale <nivit@email.it>
  *  Nikola Kolev <koue@chaosophia.net>
  *  Nikolai Lifanov
  *  Nikolai Lifanov <lifanov@FreeBSD.org>
  *  Nikolai Lifanov <lifanov@FreeBSD.org> and Ben Woods <woodsb02@FreeBSD.org>
  *  Nikolay Dachev <jadm@dachev.info>
  *  Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
  *  Nosov Artem <chip-set@mail.ru>
  *  Oleg A. Mamontov <oleg@mamontov.net>
  *  Oleg Alexeenkov <proler@gmail.com>
  *  Oleg Ginzburg
  *  Oleg Ginzburg <olevole@olevole.ru>
  *  Oliver Braun <obraun@FreeBSD.org>
  *  Oliver Eikemeier
  *  Oliver Lehmann <Kai_Allard_Liao@gmx.de>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Olivier Duchateau
  *  Olivier Duchateau <duchateau.olivier@gmail.com>
  *  Olivier Duchateau <olivierd@FreeBSD.org>
  *  Palle Girgensohn <girgen@FreeBSD.org>
  *  Patrice Clement <monsieurp@gentoo.org
  *  Patrice Clement <monsieurp@gentoo.org>
  *  Patrick Li <pat@databits.net>
  *  Patrick M. Hausen (pmh@hausen.com)
  *  Patrick Rinke <patrick@rinke-bochum.de>
  *  Paul Dlug <paul@aps.org>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pavel Novikov
  *  Pavel Timofeev <timp87@gmail.com>
  *  Pawel Pekala <c0rn@o2.pl>
  *  Pete Fritchman <petef@databits.net>
  *  Peter Ankerstal <peter@pean.org>
  *  Peter Edwards <pmedwards@eircom.net>
  *  Peter TKATHENKO <peter@flytrace.com>
  *  Philippe Casidy <pcasidy@casidy.com>
  *  Pieter Danhieux <opr@bsdaemon.be>
  *  Piotr Kubaj <pkubaj@FreeBSD.org>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Qiang Guo <guoqiang_cn@126.com>
  *  Radim Kolar
  *  Ralf van Dooren <r.vdooren@snow.nl>
  *  Rashid N. Achilov <shelton@granch.ru>
  *  Remington Lang <MrL0Lz@gmail.com>
  *  Renaud Chaput <renchap@cocoa-x.com>
  *  René Ladan <rene@freebsd.org>
  *  Ricardo A. Reis <ricardo.areis@gmail.com>
  *  Robert Gogolok <gogo@cs.uni-sb.de>
  *  Rod Person <rodperson@rodperson.com>
  *  Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
  *  Rodrigo Graeff <delphus@gmail.com>
  *  Rodrigo OSORIO <rodrigo@FreeBSD.org>
  *  Roman Bogorodskiy <novel@FreeBSD.org>
  *  Rozhuk Ivan <rozhuk.im@gmail.com>
  *  Rusmir Dusko <nemysis@FreeBSD.org>
  *  Russell Jackson <raj@csub.edu>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sachidananda Urs
  *  Samir Noir <samir@noir.im>
  *  Samy Al Bahra <samy@kerneled.com>
  *  Samy Al Bahra <samy@kerneled.org>
  *  Sascha Klauder <sklauder@trimind.de>
  *  Scot Hetzel <swhetzel@gmail.com>
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Sean Rees <sean@rees.us>
  *  Sebastian Yepes F. <esn@x123.info>
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Kozlov <sergey.kozlov@intel.com>
  *  Sergey Kozlov <skozlov@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
  *  Slawomir Wojciech Wojtczak <vermaden@interia.pl>
  *  Soeren Boll Overgaard <boll@tolkien.dk>
  *  Sofian Brabez <sbrabez@gmail.com>
  *  Sofian Brabez <sbz@FreeBSD.org>
  *  SriSaiGanesh
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Stefan Esser
  *  Stefan Jahn <stefan.jahn@nemesis-sektor.de>
  *  Stefan Rumetshofer
  *  Steffen Fritz <steffen@fritz.wtf>
  *  Steffen Vogelreuter
  *  Stephen J. Roznowski <sjr@home.net>
  *  Steve Atwell
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Steven Kreuzer <steven@exit2shell.com>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  The Anarcat <anarcat@anarcat.ath.cx>
  *  Thierry Dussuet <dussuett@wigwam.ethz.ch>
  *  Thierry Thomas (<thierry@FreeBSD.org>)
  *  Thierry Thomas (<thierry@pompo.net>)
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Bartelmess <thomas@bartelmess.io>
  *  Thomas E. Zander <riggs@rrr.de>
  *  Thomas Hurst <tom@hur.st>
  *  Thomas Seck <tmseck@netcologne.de>
  *  Thomas Zander <riggs@FreeBSD.org>
  *  Thorsten Greiner <thorsten.greiner@web.de>
  *  Tim Bishop <tdb@FreeBSD.org>
  *  Tim Bishop <tim@bishnet.net>
  *  Tim Welch <ports@thepentagon.org>
  *  Tim van der Hoek <hoek@FreeBSD.org>
  *  Timothy Redaelli
  *  Tobias Roth <ports@fsck.ch>
  *  Tom Judge <tom@tomjudge.com>
  *  Tom Rhodes <trhodes@FreeBSD.org>
  *  Tomoyuki Sakurai <cherry@trombik.org>
  *  Tony Narlock <tony@git-pull.com>
  *  Tony Shadwick <tshadwick@oss-solutions.com>
  *  Torsten Zuehlsdorff <tz@FreeBSD.org>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Uffe Jakobsen <uffe@uffe.org>
  *  Ulrich Spoerlein <uspoerlein@gmail.com>
  *  Valerio Daelli <valerio.daelli@gmail.com>
  *  Vanilla I. Shu <vanilla@FreeBSD.org>
  *  Vanilla I. Shu <vanilla@MinJe.com.TW>
  *  Vasiliy Ch <blttll@gmail.com>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vladimir Kondratyev <wulf@FreeBSD.org>
  *  Vladimir Laskov <samflanker@gmail.com>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Wes Peters <wes@FreeBSD.org>
  *  William Grzybowski <wg@FreeBSD.org>
  *  Wu Chin-Hao <wchunhao@cs.nctu.edu.tw>
  *  Xavier Beaudouin <kiwi@oav.net>
  *  Xin LI <delphij@FreeBSD.org>
  *  Xin Li <delphij@FreeBSD.org>
  *  Yasuhiro KIMURA <yasu@utahime.org>
  *  Yen-Ming Lee <leeym@FreeBSD.org>
  *  Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
  *  Yinghong Liu <relaxbsd@gmail.com>
  *  Yonatan <Yonatan@xpert.com>
  *  Yonatan <onatan@gmail.com>
  *  Yoshifumi Watanabe <mwatts@edu1.tokyo-med.ac.jp>
  *  Yoshihiko Sarumaru <mistral@imasy.or.jp>
  *  Yuan-Chen Cheng <ycheng@sinica.edu.tw>
  *  Yuichiro NAITO <naito.yuichiro@gmail.com>
  *  Yuri Victorovich <yuri@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Zane C, Bowers <vvelox@vvelox.net>
  *  Zane C. Bowers-Hadley <vvelox@vvelox.net>
  *  Zeus Panchenko <zeus@gnu.org.ua>
  *  alepulver
  *  anarcat
  *  anders
  *  arved
  *  asami
  *  bjohnson@wedgie.org
  *  bsdx
  *  carl@servicefactory.com
  *  chinsan
  *  chinsan <chinsan.tw@gmail.com>
  *  chuck@pkix.net
  *  clsung
  *  cracauer@cons.org "Martin Cracauer"
  *  cy@FreeBSD.org
  *  dds
  *  desmo@bandwidth.org
  *  dieringe
  *  eivind
  *  freebsd@spatula.net
  *  futatuki
  *  gahr
  *  grog
  *  gtodd@bellanet.org
  *  gurkan@phys.ethz.ch
  *  ijliao
  *  imp
  *  ismail.yenigul@endersys.com.tr
  *  jack
  *  janos.mohacsi@bsd.hu
  *  jfreund
  *  jhb
  *  jim@thehousleys.net
  *  jkh
  *  joerg
  *  jon@witchspace.com
  *  joseph@randomnetworks.com
  *  jpaetzel@FreeBSD.org
  *  jrhett@netconsonance.com
  *  jwd
  *  kaz@kobe1995.net (NAKAMURA Kauzushi)
  *  kiesel
  *  kiesel@schlund.de
  *  kmoore@FreeBSD.org
  *  koma2@lovepeers.org
  *  kuriyama
  *  luigi@FreeBSD.org
  *  lx@redundancy.redundancy.org
  *  marius@alchemy.franken.de
  *  mi@aldan.algebra.com
  *  mich@freebsdcluster.org
  *  michael@fuckner.net
  *  mm
  *  mranner@inode.at
  *  netch@netch.kiev.ua
  *  ntarmos@ceid.upatras.gr
  *  okeeblow <root@cooltrainer.org>
  *  papowell@lprng.com
  *  pat
  *  petef@FreeBSD.org
  *  peter
  *  philip@FreeBSD.org
  *  ports@c0decafe.net
  *  rantapaa@uswest.net
  *  rhay
  *  rhwang@bigpanda.com
  *  roam@FreeBSD.org
  *  roam@orbitel.bg
  *  samm
  *  samu <freebsd-ports@samu.pl>
  *  se@freebsd.org
  *  shige
  *  stas
  *  sten@blinkenlights.nl
  *  sterling
  *  sumikawa
  *  takawata@jp.FreeBSD.org
  *  thierry@pompo.net
  *  thompsa@FreeBSD.org
  *  trasz
  *  trasz <trasz@pin.if.uz.zgora.pl>
  *  tundra
  *  uffe@uffe.org
  *  uri@keves.org
  *  walt
  *  will
  *  wmoran
  *  wosch

With hat:	portmgr
ea7123695a
Cy Schubert (cy) · 4.9.0_6
sysutils/screen: Fix NOSOCKETDIR option

The NOSOCKETDIR option is reversed. Fix it.

Reported by:	leres
MFH:		2022Q2
dcae0ddeb2
Cy Schubert (cy) · 4.9.0_5
sysutils/screen: Socket directory location option

Allow the user to specify the location of the socket directory through a
make.conf or make command line option called SCREEN_SOCKET_DIR. Simply
add SCREEN_SOCKET_DIR= to make.conf or put it on the command line.
42254d38fc
Cy Schubert (cy) · 4.9.0_5
sysutils/screen: Option to disable socketdir

Some users may prefer not to have screen sockets in /tmp/screens (EUID== 0)
and /tmp/uscreens (EUID != 0), preferring instead to keep screen sockets in
the user's home directory. Enabling the NOSOCKETDIR option accomplishes
this.

Reported by:	"John W. O'Brien" <john@saltant.com>
MFH:		2022Q2
a0aa88c3b0
Cy Schubert (cy) · 4.9.0_5
sysutils/screen: Make MULTIUSER default

Setuid root screen uses /tmp/screen for its sockets while non-setuid root
screen uses /tmp/uscreens. This is too much of a POLA violation, therefore
make MULTUSER default. This commit reverts the intent of PR/262903. People
wishing to secure their screen must terminate all screen sessions before
rebuilding without the MULTIUSER option.

Reported by:	many
Fixes:		2022Q2
d7c0a4e88f
Cy Schubert (cy) · 4.9.0_4
sysutils/screen: Varioius fixups

Make interprets PLIST variable names too. Choose a variable name
different enough not to be interpreted by make.

Fix a typo.

Use default executable permissions of 555, same as if permissions
weren't set in the first place. We're only interested in the setuid
bit. This requries a PORTREVISION bump.
61ebb668c1
Cy Schubert (cy) · 4.9.0_3
sysutils/screen: Fix plist

PLIST doesn't like "_" in variable names. Fix by renaming
MULTIUSER_SCREEN to MULTIUSER.

PR:		262903
Reported by:	sunpoet, Michael Butler <imb@protected-networks.net>
Fixes:		8f528507e9ca
Pointy hat to:	cy
36f516ad2a
Cy Schubert (cy) · 4.9.0_3
sysutils/screen: Disable multiuser mode by default

Multiuser mode is a handy way to share a screen among people who do
not reside in the same location. Unforutnately it requires that screen
be setuid root. GNU screen has had a number of CVEs over the years.
See https://www.cvedetails.com/vulnerability-list/vendor_id-72/\
product_id-1860/GNU-Screen.html. Removing the setuid bit mitigates this
at the expense of breaking the multuser feature.

Red Hat removed GNU screen's setuid bit over a dozen years ago. Their
rationale is documented in their bugzilla bug 580339, where they stated
that most users don't use the multiuser feature. (Personally, I'm the only
person I know of who uses that feature.)

Users who use the multuser feature should enable the MUILTUSER option
prior to building screen or using poudriere-options. Alternatively, users
can chmod the setuid bit on when needed.

PR:		262903
Submitted by:	david@isnic.is (mostly)
Reported by:	david@isnic.is
8f528507e9
Cy Schubert (cy) · 4.9.0_2
sysutils/screen: Fix build

autoreconf:build must be unconditional

Reported by:	leres
Fixes:		9bdc78861688
866d2d7edc
Cy Schubert (cy) · 4.9.0_1
sysutils/screen: SHOWENC is default now

screen 4.9.0 enables encodings by default in acconfig.h. Remove the option
entirely.

PR:		262641
a6764f541f
Cy Schubert (cy) · 4.9.0
sysutils/screen: Fix SHOWENC build

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
f65342707d
Cy Schubert (cy) · 4.9.0
sysutils/screen: Update to 4.9.0

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.
9bdc788616
Mathieu Arnold (mat) · 4.8.0_3
Remove # $FreeBSD$ from Makefiles.
305f148f48
Cy Schubert (cy) · 4.8.0_3
Fix CVE-2021-26937 for real: segfaults by displaying some UTF-8 characters

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
80237935b3
Cy Schubert (cy) · 4.8.0_2
Revert r565281. It breaks UTF-8.

Reported by:	Trond.Endrestol at ximalas.info
		Christos Chatzaras <chris at cretaforce.gr>
PR:		253515
facc12c31f
Cy Schubert (cy) · 4.8.0_1
Fix CVE-2021-26937: segfaults by displaying some UTF-8 characters

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
44b22afe11
Mark Linimon (linimon) · 4.8.0
Canonicalize use of SSP_CFLAGS on all powerpc variants.

Approved by:	portmgr (tier-2 blanket)
c6ab7b70da
Cy Schubert (cy) · 4.8.0
Update 4.7.0 --> 4.8.0
0c60b0c84b
Marius Strobl (marius) · 4.7.0_8
Add and use a shared INFO description. I have patches to add that knob to a bunch of additional ports.
d1e482d908
Cy Schubert (cy) · 4.7.0_8
The hang also occurs on a Power9 box.

Submitted by:	tuexen@
Reported by:	tuexen@
727068b7b8
Cy Schubert (cy) · 4.7.0_7
Memory constrained i386 is affected on all versions of FreeBSD. Though I am not able to reproduce this locally, it is reported that the hang also occurs on -CURRENT i386 on a memory constrained Intel Pentium III. (I am not able to reproduce this hang on my sandbox machine, with multiple boot partitions, one of which is i386 -CURRENT, because it has plenty of memory.)

Reported by:	Michael Butler <imb@protected-networks.net>
ebec9ca98b
Cy Schubert (cy) · 4.7.0_6
Circumvent a hang on FreeBSD 11 i386 caused by an unreported (only visible through truss) stack assertion.

This is a temporary fix which will require further investigation to
determine the cause.

PR:		241750
Reported by:	Victor Sudakov <vas@sibptus.ru> (in the PR)
		Paul Beard <paulbeard@gmail.com> (via direct email)
ab9c2a4930
Cy Schubert (cy) · 4.7.0_5
Fix a stack assertion under arm.

PR:		241690
Submitted by:	mikael.urankar at gmail.com
Reported by:	Ulrich Grey <usenet at ulrich-grey.de>
d43961bab7
Cy Schubert (cy) · 4.7.0_4
Correctly identify utmpx support in FreeBSD.

- 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>
2fd1af8b15
Cy Schubert (cy) · 4.7.0_3
Resolve upstream bug #55482: TERMCAP can break on systems that don't support terminfo

Obtained from:	https://savannah.gnu.org/bugs/?55482
16d12e00c3
Christoph Moench-Tegeder (cmt) · 4.7.0_2
sysutils/screen: fix coredump on xterm/rxvt variants without Km

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@
67f2a18488
Cy Schubert (cy) · 4.7.0_1
Resolve a segfault in utmp.c:519 at some installations.
8dadaadc90
Cy Schubert (cy) · 4.7.0
Update 4.6.2 --> 4.7.0
5317b01e06
Baptiste Daroussin (bapt) · 4.6.2_3
Always install the manpage and let the user decide if they do want to install groff(1) as advised by man(1) if they want.

Reviewed by:	cy
Approved by:	cy (maintainer)
Differential Revision:	https://reviews.freebsd.org/D21463
b6d1aea0a8
Kirill Ponomarev (krion) · 4.6.2_2
Remove building man page by default. It's currently broken on HEAD and requires to build textproc/groff which requires devel/llvm80 which is an overkill for using screen.
ac617afa60
Mathieu Arnold (mat) · 4.6.2_1
Convert to UCL & cleanup pkg-message (categories s)
bc89cd3d2c