Commit graph

173 commits

Author SHA1 Message Date
Cy Schubert
ebec9ca98b 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>
2019-11-07 17:00:49 +00:00
Cy Schubert
ab9c2a4930 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)
2019-11-06 21:17:24 +00:00
Cy Schubert
d43961bab7 Fix a stack assertion under arm.
PR:		241690
Submitted by:	mikael.urankar at gmail.com
Reported by:	Ulrich Grey <usenet at ulrich-grey.de>
2019-11-04 20:43:08 +00:00
Cy Schubert
2fd1af8b15 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>
2019-10-29 04:23:50 +00:00
Cy Schubert
16d12e00c3 Resolve upstream bug #55482: TERMCAP can break on systems that don't
support terminfo

Obtained from:	https://savannah.gnu.org/bugs/?55482
2019-10-29 04:23:45 +00:00
Christoph Moench-Tegeder
67f2a18488 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@
2019-10-28 14:42:21 +00:00
Cy Schubert
8dadaadc90 Resolve a segfault in utmp.c:519 at some installations. 2019-10-09 01:03:04 +00:00
Cy Schubert
5317b01e06 Update 4.6.2 --> 4.7.0 2019-10-08 19:13:02 +00:00
Baptiste Daroussin
b6d1aea0a8 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
2019-08-29 14:09:54 +00:00
Kirill Ponomarev
ac617afa60 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.
2019-08-29 06:38:31 +00:00
Mathieu Arnold
bc89cd3d2c Convert to UCL & cleanup pkg-message (categories s) 2019-08-14 12:16:12 +00:00
Cy Schubert
5c427cd308 nroff/groff was removed from base by r319664. Since then textproc/groff
is required to avoid the following error:

> $ man screen
> This manpage needs groff(1) to be rendered
> First install groff(1):
> pkg install groff

Reported by:	mayhem30@gmail.com
MFH:		2019Q1
2019-02-04 06:10:03 +00:00
Baptiste Daroussin
7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Antoine Brodin
590da593ef Add missing USES=makeinfo 2018-11-02 17:15:52 +00:00
Cy Schubert
bda22d9964 Instead of people.freebsd.org use LOCAL as per
https://www.freebsd.org/doc/en/books/porters-handbook/slow-sources.html

Reported by:	mat
2018-01-09 20:41:44 +00:00
Cy Schubert
daf4f8023b Remove redundant master sites. Also, replace my domain name named after
the fictitious place in the Edmonton Journal political cartoon at the time
with my preferred domain name.
2018-01-09 07:25:51 +00:00
Jimmy Olgeni
e929aea23c Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.
This round is @FreeBSD.org residents except teams.
2017-11-02 21:41:47 +00:00
Cy Schubert
02b1e7cb3b Update 4.6.1 --> 4.6.2 2017-10-24 19:07:36 +00:00
Cy Schubert
8a385ee972 Fix typo. Ports s/b port.
Reported by:	Randy Bush <randy@psg.com>
Pointy hat to:	cy
2017-08-31 12:53:06 +00:00
Cy Schubert
ab2189a6a0 Allow the user to select dependency on ncurses in base (USES=ncurses:base)
or devel/ncurses in ports (USES=ncurses:ports). The default option is to
depend on ncurses in ports (if installed), otherwise depend on base
(same as USES=ncurses).

This works around the following problem when screen is linked with
devel/ncurses:

$ view /etc/passwd
view: No terminal database found
$

To avoid the above problem either have screen depend on ncurses in base
or set TERM=xterm when creating new screen window.

Adding screeninfo.src from the screen tarball to terminfo.src in
devel/ncurses does not resolve this issue.

This problem does not affect packages built by poudriere.

PR:		221829
2017-08-27 03:35:20 +00:00
Cy Schubert
ddce9c2ca4 Prefer ncurses from base. This resolves an issue using curses
applications within screen.
2017-08-26 05:40:47 +00:00
Cy Schubert
243e8be544 Update 4.5.0 --> 4.6.1 2017-08-26 03:50:33 +00:00
Cy Schubert
fdd05e256a Properly detect devel/ncurses if installed and use it. Previously if
devel/ncurses was installed, even though the dependency was registered,
base ncurses would still be linked.

PR:		219260
Submitted by:	knu@
2017-05-14 04:39:16 +00:00
Cy Schubert
a059025239 Fix style. 2017-02-11 01:11:58 +00:00
Cy Schubert
1e2b3b3957 Fix a segfault in utmp.c when performing a windowlist move (,).
Reported by:	Alex Naumov <alexander_naumov@opensuse.org>
See also:	https://savannah.gnu.org/bugs/?50143
2017-02-11 00:57:15 +00:00
Cy Schubert
1cbcdcecea Circumvent a trivial root privilege escalation.
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
2017-01-25 01:36:42 +00:00
Cy Schubert
7f25cb0930 Fix optional patch.
Reported by:	ler
2017-01-18 20:28:04 +00:00
Cy Schubert
bddf1289ef Update 4.4.0 --> 4.5.0 2017-01-18 13:19:25 +00:00
Baptiste Daroussin
449b329c60 Remove useless dependency on texinfo
Approved by:	cy (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8450
2016-11-05 18:07:28 +00:00
Cy Schubert
5f212c8c5c Add a pkg-message note about a fix to the screen message structure
field responsible for $TERM handling. It is impossible to reattach
to older versions.

See https://lists.gnu.org/archive/html/screen-users/2016-06/msg00014.html.

PR:		210551
2016-06-26 06:00:42 +00:00
Cy Schubert
f2e766b1be Update 4.3.1 --> 4.4.0 2016-06-21 11:20:48 +00:00
Dmitry Marakasov
1f8b48b772 - Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by:	portmgr blanket
2016-05-19 10:53:05 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
John Marino
bb0d4e1cff sysutils/screen: document ncurses requirement (USES+=ncurses)
approved by:	infrastructure blanket
2016-01-31 00:47:45 +00:00
Dmitry Marakasov
34f0918046 - Add missing file dependencies to fix threaded build, remove MAKE_JOBS_UNSAFE
PR:		201781
Submitted by:	truckman
Approved by:	maintainer timeout (cy, 3.5 months)
2015-11-16 16:10:35 +00:00
Dmitry Marakasov
da6651524d - Mark MAKE_JOBS_UNSAFE: tries to use comm.h before it's generated
- Switch to options helpers

Approved by:	portmgr blanket
2015-11-06 16:47:43 +00:00
Mark Felder
a3aa75afeb Add patch to resolve stack overflow vulnerability
MFH:		2015Q3
Security:	98092444-5645-11e5-9ad8-14dae9d210b8
Security:	CVE-2015-6806
2015-09-08 16:35:20 +00:00
Cy Schubert
23e54d3bb8 Remove incorrect screenrc command.
PR:		201717
2015-07-22 03:14:31 +00:00
Cy Schubert
fec278be9c Fix build under stable/8.
PR:		PR/201279
2015-07-02 22:36:30 +00:00
Cy Schubert
6170c01bdd Update 4.2.1 --> 4.3.1 2015-07-01 01:51:16 +00:00
Cy Schubert
39484d51f9 Advertise CPE info.
PR:		198477, 198478
2015-03-11 01:25:46 +00:00
Cy Schubert
a1c954811e Fix pkg-plist. 2015-02-01 14:30:29 +00:00
Cy Schubert
924b98fff0 Bump PORTREVISION for r373436.
PR:		PR/197225
2015-01-31 23:32:50 +00:00
Cy Schubert
35d023ef00 nstall optional screenrc with helpful status line instead of the
default.

Submitted by:	alfred, kmoore
Reviewed by:	rodrigc
2014-11-26 01:37:15 +00:00
Antoine Brodin
23b328aaf9 Cleanup plist 2014-11-22 09:13:35 +00:00
Adam Weinberger
7792c21583 Rename sysutils/ patch-xy patches to reflect the files they modify. 2014-07-29 15:00:12 +00:00
Cy Schubert
0a5913865c Reversed check. Bump portrevision.
Pointy hat to:	me
2014-06-15 06:06:27 +00:00
Cy Schubert
03624ac11a Due to popular demand sockets are back! Sockets are the default option.
Users should choose named pipes in a heterogeneous environement that uses
both screen 4.0.3 and 4.2.1.

PR:		191029, 191017
2014-06-15 05:44:44 +00:00
Cy Schubert
e04402cf33 Make screen 4.0 compatible, prefer fifo over sockets.
PR:		191017
Submitted by:	bdrewery
2014-06-14 04:07:56 +00:00
Bryan Drewery
2733b72a4f Add LICENSE 2014-05-23 06:16:30 +00:00