Commit graph

171 commits

Author SHA1 Message Date
cjep
af64b052e1 lint my previous 2021-02-12 22:29:36 +00:00
cjep
30b0ea2a96 OpenBSD grumbles without the socket definitions. Fixes build. 2021-02-12 22:28:03 +00:00
kim
cc3ec6fd86 Simplify the IPv6 address handling patch
Also fix the completely incorrect code that was inteded to look for
the closing bracket (but clearly wouldn't work and wasn't hit in my
previous testing).
2020-08-02 10:59:13 +00:00
kim
2c8bb00440 Stop chopping off most of an IPv6 address. 2020-08-01 14:10:23 +00:00
rillig
f518cc6f69 misc/screen: fix typo in recently updated patch 2020-03-24 07:04:37 +00:00
rillig
cbfbdd409b misc/screen: document bug report URL for patch 2020-03-24 07:00:21 +00:00
rillig
d6c6b46981 misc/screen: fix paths in example files, fix array subscript
The warnings in the patches are no longer necessary since pkglint 19.4.13
reports an error for these cases.
2020-03-24 06:55:34 +00:00
ryoon
d9317b79bf screen: Update to 4.8.0
Changelog:
Version 4.8.0 (05/02/2020)
  * Improve startup time by only polling for files to close
  Fixes:
        - Fix for segfault if termcap doesn't have Km entry
        - Make screen exit code be 0 when checking --version
        - Fix potential memory corruption when using OSC 49
2020-02-07 12:18:59 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
rillig
191ad3f718 misc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:04:19 +00:00
rin
6f759a04fd Update misc/screen to 4.7.0:
Version 4.7.0 (02/10/2019)
  * Add support for SGR (1006) mouse mode
  * Add support for OSC 11
  * Update Unicode ambiguous and wide tables to 12.1.0
  * Fixes:
  - cross-compilation support (bug #43223)
  - a lot of manpage fixes and cleanups
2019-10-02 09:11:29 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
kim
7dfa33bcf3 Update MAINTAINER 2019-05-11 22:47:05 +00:00
jperkin
1d4a261341 screen: Include compiler.mk before testing variables. 2018-09-13 12:15:14 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
jperkin
fafb2677b3 screen: Support newer GCC and clang on SunOS. 2018-02-01 13:34:33 +00:00
wiz
e11d177d3e screen: turn on 256-colors support.
Bump PKGREVISION.
2017-12-14 09:38:43 +00:00
ryoon
c70c03a069 Update to 4.6.2
Changelog:
Version 4.6.2 (23/10/2017):
  * Fixes:
        - revert changes to cursor position restore behavour (bug #51832)
        - set freed pointer to NULL (bug #52133)
        - documentation fixes
        - fix windowlist crashes (bug #43054 & #51500)
2017-10-24 11:45:18 +00:00
kim
cd19f8d470 Upgrade misc/screen to version 4.6.1
Version 4.6.1 (10/07/2017):
  * Fixes:
    - problems with starting session in some cases
    - parallel make install
    - segfault when querying info on nonUTF locale

Version 4.6.0 (28/06/2017):
  * Update Unicode wide tables to 9.0
  * Support more serial speeds
  * Improved namespaces support
  * Migrate from fifos to sockets
  * Start viewing scrollback at first line of output
2017-07-18 23:02:18 +00:00
kim
69b7cb1d94 Use bsdtar to extract, so we don't get warnings about the tar file. 2017-07-18 10:35:28 +00:00
kim
ed47f215bc Update to 4.5.1
Version 4.5.1 (25/02/2017):
  *Fixes:
  - logfile permissions problem (CVE-2017-5618)
  - SunOS build problem (bug #50089)
  - FreeBSD core dumps (bug #50143)
2017-04-15 22:31:49 +00:00
maya
e063d2127c fix previous for unpriv'd installs. from dholland.
bump PKGREVISION.
2017-01-25 01:17:16 +00:00
maya
81a5c4efb3 Add patch fixing root exploit.
Reported here: https://lists.gnu.org/archive/html/screen-devel/2017-01/msg00025.html

from dholland
2017-01-25 00:18:02 +00:00
dholland
95ee187c7e PR 51911: needs limits.h 2017-01-23 17:58:06 +00:00
ryoon
6d75a73fa7 Update to 4.5.0
Changelog:
Version 4.5.0 (10/12/2016):
  * Allow specifying logfile's name via command line parameter '-L'
  * Fixes:
        - broken handling of "bind u digraph U+" (bug #48691)
        - crash with long $TERM (bug #48983)
        - crash when bumping blank window
        - build for AIX (bug #49149)
        - %x improperly separating arguments
        - install with custom DESTDIR (bug #48370)
2017-01-22 01:43:24 +00:00
ryoon
7032402e50 Update to 4.4.0
Changelog:
Version 4.4.0 (19/06/2016):
  * Support up to 24 function keys
  * Fix runtime issues
  * 'logfile' command, starts logging into new file upon changing
2016-06-20 16:04:44 +00:00
jperkin
a6bd309680 Fix build on Darwin. 2016-05-02 19:10:40 +00:00
agc
23064a80b9 Add SHA512 digests for distfiles for misc category
Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:49:31 +00:00
kim
4dcab6b643 Add -D__EXTENSIONS__ to CPPFLAGS on SunOS. 2015-09-11 01:24:06 +00:00
kim
841323cd44 Upgrade misc/screen to version 4.3.1 and address stack overflog bug 45713.
Ref: https://savannah.gnu.org/bugs/?45713

Changes since version 4.2.1
---------------------------

Version 4.3.1 (28/06/2015):
  * Fix resize bug

Version 4.3.0 (13/06/2015):
  * Introduce Xx string escape showing the executed command of a window
  * Implement dead/zombie window polling, allowing for auto reconnecting
  * Allow setting hardstatus on first line

  New Commands:
  * 'sort' command sorting windows by title
  * 'bumpleft', 'bumpright' - manually move windows on window list
  * 'collapse' removing numbering 'gaps' between windows, by renumbering
  * 'windows' command now accepts arguments for use with querying
2015-09-01 13:34:47 +00:00
kim
df93bb0382 Revert previous: it expanded the tags. 2015-09-01 12:18:55 +00:00
kim
c8f12b88e6 Revert previous: it expanded the tag. 2015-09-01 12:16:31 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
joerg
7d1eee448b Race conditions around term.h. 2015-02-18 20:01:49 +00:00
rodent
386b76a312 Add patch which includes <sys/uio.h> to fix build on OpenBSD.
Defuzz patchset.
2015-02-13 04:44:40 +00:00
he
80963a0a9f Remove patch for a generated(!) file. Remove the old-style-named patch
which already tweaked the tty.sh file, name it according to the new rules.

This is to actually get the netbsd-5 branch working with this, since
realpath() insists on a non-NULL second argument.
2015-01-13 08:27:28 +00:00
he
fb358cfbc0 The NetBSD -5 branch's version of realpath() insists on a non-NULL
second argument, so make the usage cater for that.
Bump PKGREVISION.
2015-01-12 14:24:40 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
3ccbe28889 Add missing screen-256color entry for terminfo build. 2014-09-19 13:17:22 +00:00
richard
dec8290e29 SunOS needs at least XPG4_2 to expose some structs from <sys/socket.h>
namely msg_control and msg_controllen.  Use XPG5 with _XOPEN_SOURCE=500
for simplicity.
2014-08-27 16:14:27 +00:00
kim
4bc74485dd Upgrade screen to version 4.2.1.
Version 4.2.1 (28/04/2014):
  * allow for terminal with long $TERM (up to 32 characters)
  * allow to use long logins
  * documentation fixes
  * runtime fixes

Version 4.2.0 (17/04/2014):
  New Commands:
  * 'unbindall' to unbind all commands
  * 'up', 'down', 'left', 'right' sub-commands for 'focus'
  * 'rendition' to specify rendition to use in caption/hardstatus for
    window-names that have bell/monitor/silence/so turned on.
  * 'layout', with the following sub-commands
	- 'title'
	- 'number'
	- 'autosave' ('autosave on' or 'autosave off')
	- 'new'
	- 'save' ('save <name>')
	- 'select'
	- 'next'
	- 'prev'
	- 'attach'
	- 'show'
	- 'remove'
	- 'dump'
  * 'group' for moving window(s) into a group.
  * 'defmousetrack' and 'mousetrack', to turn on/off mouse-tracking for
    displays. It's turned off by default. With mouse-tracking turned on, it's
    possible to switch to a region ('focus') using mouse clicks. It's also
    possible to select a text region in copy-mode using a mouse click to place
    a mark and the scroll wheel to scroll through the buffer. Additional
    features might be to allow clicking on window-titles in the caption to
    switch to that window.
  * All commands prefixed '@' are treated as 'quiet', i.e. '@'-prefixed commands
    do not trigger any display messages.

  Changed Commands:
  * '-v' parameter to 'split' command for vertical splits.
  * 'sorendition' deprecated in favour of 'rendition so'.
  * 'digraph' can take a second parameter to specify custom digraphs. For
    example,
	'digraph >= ≥' or 'digraph >= U+2265'
    Using '0' as the second parameter will remove the digraph.
  * 'stuff' will prompt for input if there's nothing to stuff.
  * The argument to ":number" can be prefixed with '+' or '-' to use it as a
    relative argument.
  * '-g' parameter to 'windowlist' to show nested list of windows.
  * '//group' parameter to 'screen' to create a grouped window.
  * 'blankerprg' shows the currently set command on no argument.
  * 'maxwin' can now be used to increase the number of maximum windows.

  .screenrc:
  * $PID expands to the PID of the screen session.
  * $PWD expands to the current working directory of the session.
  * $STY expands to the session name.
  * Tilde-expansion in pathnames (e.g. for the 'source' command)
  * C-style escapes can be used (e.g. "\n" to get a newline with 'stuff')
  * '%p' in caption/hardstatus string expands to the PID of the backend, and
    '%+p' expands to the PID of the frontend (display).
  * '%S' in caption/hardstatus string expands to the session name.
  * '%P' in the caption string evaluates to true if the region is in copy mode.
  * '%E' in the caption string evaluates to true if the escape character has
    currently been pressed.

  Window List:
  * Nested views when there are window groups (with 'windowlist -g').
  * Press 'm' to toggle the most-recent view.
  * Press 'g' to toggle nestedness.
  * Press 'a' to view all windows in the list.
  * Press '/' to search in the list.
  * Press ',' and '.' to re-order windows in the list.
  * Press 'K' to kill a window (requires confirmation).

  Display List:
  * Press 'd' to detach a display, 'D' to power-detach.

  Others:
  * Start using 'ChangeLog' for logging changes again.
  * Terminfo update for 256-color support.
  * Multiple input history (partially from Romain Francoise).
  * vi-like fFtT;, searching in copy mode.
  * In copy mode, search in reverse direction when 'N' is pressed.
  * Tab-completion for command input.
  * Some more readline-like bindings in input mode (e.g. ^W, ^D, ^P, ^N etc.)
  * Fix displaying unicode characters in the caption/hardstatus on UTF8 locale.
  * A revamped displays list (for 'displays' command)
  * Increased default maximum number of windows from 40 to 100.
  * Increased number color/attribute changes in caption/hardstatus string from 16 to 256.
  * Some commands can be remotely queried using the -Q command-line flag.

  In-Progress:
  * Scripting support (thanks to Google Summer of Code 2009 project by Rui Guo)
2014-08-25 20:02:32 +00:00
tron
85c797abcc Remove current master site which is no longer working and re-enable
GNU master sites which are now working.
2014-07-05 11:21:29 +00:00
jperkin
52f906b8e9 Change the terminfo creation on SunOS to happen when CURSES_DEFAULT is
set to 'curses' and use the canonical path to tic(1M) rather than the
obsolete '/usr/5bin' PATH which is no longer valid on some newer OS
releases.

Bump PKGREVISION.
2014-06-09 10:24:13 +00:00
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
apb
e006bded2d Move the NetBSD-specific part of screen's pty.c to the right place.
This commit changes patch-aa so that the patched version
of pty.c contains:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... generic openpty() code
    ... last resort code

instead of the previous:

    ... other OS-specific code
    ... generic openpty() code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

History behind this problem:

The NetBSD-specific openpty() code was added in revision 1.1
of misc/screen/patches/patch-aa.  (See PR pkg/16901.)  At that
time, pkgsrc used screen-3.9.11, and the upstream version of
screen did not use openpty() at all.  The patch added an "#if
defined(__NetBSD__)" block as the last OS-specific section in
pty.c, which then had:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

In screen-3.9.15, upstream added code in pty.c to use openpty().
This was imported to pkgsrc on 2003-03-15.  At that time, pkgsrc's
patch-aa accidentally inserted the NetBSD-specific code below
instead of above the new code, so the patched version of pty.c
had:

    ... other OS-specific code
    ... generic openpty() code         (from upstream)
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

The above is obviously wrong because the generic openpty() code
would be used instead of the NetBSD-specific code, assuming
HAVE_OPENPTY was defined by the configure script.

This problem was reported in PR pkg/25317, but the patch in the PR
was not understood so it was not applied.

This commit changes patch-aa so that the patched version of pty.c
contains:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... generic openpty() code         (from upstream)
    ... last resort code

However, it still doesn't work on NetBSD with ptyfs mounted.
2012-09-15 09:14:53 +00:00
shattered
73b9ef031c PR/39663: enable 256 color support (only with ncurses and PDCurses). 2011-06-11 18:49:31 +00:00
rumko
d6fe8228f2 misc/screen: DragonFly BSD 2.9+ support
Make screen use utmpx on DragonFly BSD 2.9+ so that it compiles
again.

Patch submitted by Matthias Rampke ( https://gist.github.com/823307 ).

ok@ wiz
2011-03-14 06:15:23 +00:00
jmmv
9a786011ff Bump PKGREVISION to reflect the recent change in pkginstall/shells to use
etcutils to update /etc/shells.
2010-05-07 12:02:43 +00:00
zafer
e93211dccf remove dead mirror 2010-03-07 15:13:37 +00:00
spz
9b43a1c0f6 Fix build failure:
NetBSD-current added dwarf.h and that made the code assume that sys/stropts.h
was present without greater need, since configure also checks for
HAVE_SYS_STROPTS_H.
2010-01-01 19:38:44 +00:00