freebsd-ports/shells
Kai Knoblich 49d8789e48 MFH: r494837
shells/rssh: Apply fixes for basename(3) handling and some security issues

basename(3) has been changed to be POSIX compliant in r308264. This implies
that it can possibly write to the passed string. shells/rssh passes a const
string, so it always crashes on invocation with FreeBSD 12 and later. The
new patches remedy this issue. [1] [2]

During further tests and research came to light that there were also
recently discovered security issues with the parsing of rsync/scp command
line arguments and insufficient sanitization of environment variables when
using rysnc.

The corresponding fixes have been incorporated to the new patches and the
already existing patch for the RSYNC option has been tightened for the
argument parsing. Please note that with this patch the scp option "-3" can
no longer be used. [3]

Furthermore, another patch was applied to make this port a bit more secure.
That patch handles a buffer allocation issue for an error message. [4]

PR:		235121
Submitted by:	topical@gmx.net (first version) [1], Jason Harris (maintainer) [2]
Approved by:	tcberner (mentor)
Obtained from:	Debian [3] [4]
Security:	d193aa9f-3f8c-11e9-9a24-6805ca0b38e8
Differential Revision:	https://reviews.freebsd.org/D19474

Approved by:	ports-secteam (riggs), mentors implicit
2019-03-07 14:59:36 +00:00
..
44bsd-csh Add DOCS options to ports that should have one. 2018-09-10 13:14:50 +00:00
bash Install texinfo files (GNU info) into ${PREFIX}/share/info 2018-11-10 18:12:57 +00:00
bash-completion Update FreeBSD bash-completion to 1.0.3 2018-11-28 19:22:56 +00:00
bash-static This port now builds on 13.0-CURRENT. 2018-11-28 07:28:41 +00:00
bashc
bicon
ch
dash - Update to 0.5.10.2 [1] 2018-09-13 20:58:56 +00:00
envy
es
esh Install texinfo files (GNU info) into ${PREFIX}/share/info 2018-11-10 18:12:57 +00:00
fd Update to 3.01h 2018-12-25 07:12:34 +00:00
fish shells/fish: upgrade to 3.0.0 2018-12-31 21:38:49 +00:00
flash
heirloom-sh Add DOCS options to ports that should have one. 2018-09-10 13:14:50 +00:00
hs-shelly
ibsh
jailkit shells/jailkit: Avoid accidentally picking up procmail 2018-11-15 08:56:15 +00:00
klish
ksh93 Remove compatibility code for FreeBSD < 11.2 from all ports. 2018-11-02 13:32:34 +00:00
ksh93-devel Update to the latest ast/ksh93 github commit. 2018-12-23 05:45:01 +00:00
lshell Add DOCS options to ports that should have one. 2018-09-10 13:14:50 +00:00
mksh
nologinmsg
oksh shells/oksh: update to 20181009 2018-10-11 02:33:20 +00:00
osh Add EXAMPLES options to ports that should have one. 2018-09-10 13:15:47 +00:00
p5-Bash-Completion Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except 2018-10-06 13:06:42 +00:00
p5-Shell-Perl Add LICENSE 2018-10-10 10:24:15 +00:00
p5-Term-Bash-Completion-Generator Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except 2018-10-06 13:06:42 +00:00
p5-Term-ShellUI Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except 2018-10-06 13:06:42 +00:00
pdksh These ports now build on powerpc64. 2018-12-05 20:01:10 +00:00
pear-PHP_Shell
psh
rc
rssh MFH: r494837 2019-03-07 14:59:36 +00:00
sash
scponly
shell-include
sparforte Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
tcsh_nls
tcshrc
v7sh
viewglob
vshnu
wcd shells/wcd: Update to 6.0.2 2018-08-11 18:04:44 +00:00
xonsh Upgrade to 0.7.9 2018-09-21 08:41:47 +00:00
zsh Update `databases/gdbm' to version 1.18.1, an important bugfix release 2018-11-11 15:38:50 +00:00
zsh-antigen
zsh-navigation-tools
Makefile Introducing the new ksh93-devel port, tracking att/ast development 2018-09-21 07:20:43 +00:00