Commit graph

48 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
jmmv
476e25c10b Fix destdir support by defining PKG_DESTDIR_SUPPORT early enough and by
not setting setuid permissions too early.
2009-03-05 09:59:12 +00:00
tonnerre
317771a665 Include curses header for screen configure script when testing tgetent
in order to prevent crash on 64-bit architectures. Otherwise the result
of termcap/terminfo detection is wrong, causing the infamous "bad format 'p'"
messages, or "OOPSOOPSOOPS" when SSHing from MacOS.
Fixes PR 33808
Approved-by: joerg
2008-04-04 21:09:16 +00:00
tron
6da092472f Update "screen" package to version 4.0.3. A list of changes since
version 4.0.2 isn't available but this release contains a fix for
the security vulnerability report in CVE-2006-4573.
2006-10-29 15:08:27 +00:00
reed
cc7cd45463 This will install two screenrc examples (and changes name of one) and
fixes man page to point to them.

Update patch-ap for doc/screen.1 so the location of examples files
is corrected.

Now install both examples. Update PLISTs. Note that the
screenrc example is now called screenrc and etcscreenrc is
etcscreenrc (makes sense).

Mention both examples in MESSAGE.

Bump PKGREVISION.

This will solve problem for PR #32391.

Okayed by maintainer.
2005-12-28 17:53:24 +00:00
rillig
7f6a676139 Added patch-aq, which makes screen use the setenv() function with three
parameters instead of the one with two parameters. The setenv() function
has been added to Solaris recently, so this wasn't necessary before.
Should fix PR 32273.
2005-12-10 23:28:13 +00:00
joerg
8d751efc7b Always use the errno from errno.h. 2005-11-08 12:58:47 +00:00
rillig
7356d65d87 Fixed pkglint warnings. 2005-09-28 19:35:36 +00:00
kim
2923a41f18 Avoid repeated compiler warnings about redefining USEVARARGS. 2005-03-29 07:02:25 +00:00
agc
07b46baa43 Add RMD160 digests 2005-02-24 11:02:49 +00:00
atatat
6ac8f64732 Put the config.h.in patch into its own patch file and add more to it
that forces varargs to be used on NetBSD.  Some gcc 3.3 instances
(specifically 3.3.3nb1 on NetBSD/alpha) fail one of the configure
tests making it think we don't have sprintf() (and therefore no
varargs) causing unmentionably evil things to be done instead.  This
usually leads to core dumps.

Fix a pointer-to-integer cast warning by casting to long in between.
The actual use case is harmless, but the compiler can't tell that.

Bump PKGREVISION to 1 for the gcc workaround (affects at least
NetBSD/alpha which can now build a better screen).

Addresses PR pkg/25937.
2004-07-15 04:05:40 +00:00
christos
48c9113196 Fix a compile issue under /current. Screen wrongly detects that we have
svr4 ptys because of /dev/ptmx, but erroneously wants <sys/stropts.h>
because of that define. Fix properly, by detecting the presense of
<sys/stropts.h> before including it.

I am not bumping the nb number because nothing realy changes; you'll
get the same binary if you recompile.

XXX: The utmp stuff is still completely broken, that is why this is still
setuid.
2004-06-16 21:35:00 +00:00
wiz
84970eaa04 Not necessary any longer after update to 4.0.2. 2004-01-06 18:10:46 +00:00
wiz
4b0261de50 Update to 4.0.2, provided by Soren Jacobsen in PR 24000.
In his own words:
4.0.2 fixes a local privelege escalation problem.  See
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0972 for
more information.

There's no ChangeLog available, but other than the fix for this
and regeneration of the configure script, changes are extremely
small.

Also, I've removed the info files from PLIST and PLIST.SunOS.  They
are handled automatically as of bsd.pkg.mk 1.1332.
2004-01-06 16:30:39 +00:00
grant
bb36ff1b94 call ln with separate -s and -f args to appease Solaris.
from Dima Veselov on tech-pkg.
2003-12-11 22:35:09 +00:00
ben
8af6a397e4 On sparc64 when I used the "w" command, the screen logins had absurdly
large login and idle times.  This was due to a bug in utmp.c:

in os.h
-------
#  define utmp          utmpx
#  define ut_time       ut_xtime

in utmp.c::makeuser()
---------------------
struct utmp *u;
  (void)time((time_t *)&u->ut_time);

The above works fine on i386 where ut_xtime and time_t are the same size,
but on sparc64 ut_xtime is 8 bytes rather than 4.

This fix was tested on i386 and sparc64.
2003-12-01 15:18:27 +00:00
wiz
511619f71b Fix
http://www.securityfocus.com/archive/1/345844
with the patches supplied there.
Bump PKGREVISION to 1.
2003-11-27 20:29:48 +00:00
hubertf
3094e835c4 Updated screen to 4.0.1. No log of changes available, but as the
distfile has vanished from the master site, this may be security\
related.
2003-09-22 21:00:40 +00:00
adam
f7710bd53f Changes 4.0.0:
* new screenrc parser, not 100% compatible

* screenblanker support: new 'idle', 'blanker', 'blankerprg' commands

* zmodem support via the 'zmodem' command

* nonblock code rewritten, nonblock now understands a timeout.
  new command 'defnonblock'
2003-09-10 12:11:13 +00:00
seb
1a211d2439 Convert to USE_NEW_TEXINFO.
Remove now unnecessary patch file.
2003-08-03 08:14:46 +00:00
hubertf
06bf877bd7 Update to screen 3.9.15. Changes:
* unicode combining character support
* new encoding: chinese GBK
* new 'backtick' command and string escape to embed command
  output into e.g. the hardstatus line

Update submitted by Juan RP <juan@xtraeme.unixbsd.org>
2003-03-15 16:16:37 +00:00
grant
dc6db4c806 Fix paths in man page and example screenrc (for pkgsrc). 2002-12-23 13:13:02 +00:00
hubertf
6ff50914d7 Update screen to 3.9.13. Changes:
* 29.08.2002  3.09.12 Port to POSIX 1003.1-2001 hosts (Paul Eggert).
 *                     Fixed encoding for reattach password test.
 *                     Fixed NUL characters when encodings are active.
 *                     Fixed silly encodings bugs. Fixed bogus
 *                     oldflayer when a window gets freed.
 *                     Altscreen support by Gurusamy Sarathy.
 *                     Reuse old password in builtin_screenlock.
 *                     -- DISTRIBUTED
 * 05.09.2002  3.09.13 added missing break statement that broke
 *                     the eval command.
 *                     -- DISTRIBUTED

Upgrade requested by dolemite@wuli.nu in private mail.
2002-11-04 22:39:17 +00:00
kim
fe233f7a84 Handle utmpx on NetBSD-current. 2002-09-15 06:51:35 +00:00
tron
7c58683c08 Use openpty(3) to allocate a new pty under NetBSD. This fixes PR pkg/16901
by Bernd Ernesti.
2002-05-21 17:57:03 +00:00
wiz
40f34fa7cc Update to 3.9.11:
* windowlist, bound to ^A"
* support for other encodings, e.g. big5, koi8r, cp1251
    new commands 'encoding', 'defencoding'
    'register', 'readreg', 'readbuf', 'writebuf' now understand
    an extra encoding parameter
* support for double utf-8 characters
* lots of new string escapes and extensions to existsing ones:
    %LD, %LM, %Lw, %W, %-w, %+w, %H, %f, %F, %l, %=, %<, %>
* new commands: 'source', 'eval', 'deflog', 'ignorecase', 'setsid'
* command key classes: 'bind', 'command' and 'help' understand
  a '-c <class>' parameter. See the man page for examples
* new login state: always - don't remove slot even if screen gets
  detached
* 256 color support (experimental)
* configurable time format string (for ^At)
* config option to use localized month/week names
* new option '-h' for hardcopy: also dump the scrollback buffer

XXX: SunOS PLIST untested.
2002-02-16 11:18:34 +00:00
itojun
3f394c1a9f upgrade to 3.9.10. security fix on -R command line option. 2001-09-07 06:12:53 +00:00
itojun
ffd75749e9 support non-japanese iso2022 multibyte escape sequences, like
ESC $ ( C for ksx1001/ksc5601 korean charsets.
patch already sent to screen@uni-erlangen.de.
2001-08-18 11:21:19 +00:00
wiz
1cbd5110a1 Update to 3.9.9. Changes since 3.9.8:
* new '-X' option to send commands to screen sessions.
* added a possibility to change the attributes/color in caption or
  hardstatus strings:
    caption always "%3n %{r}%t%{-}%? @%u%?%? %{g}[%h]%{-}%?"
* new 'dinfo' command to show what screen thinks about your terminal.
* new 'attrcolor' command to map attributes to color codes:
* support for UTF-8: new commands 'utf8', 'defutf8' to change the
  encoding of a window, plus a '-U' option to tell screen that
  your terminal sends/receives UTF-8 codes.
* support for 16 colors.
2001-08-18 09:53:01 +00:00
agc
88670a4a89 Move to sha1 digests, and add distfile sizes. 2001-04-20 13:52:07 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00