freebsd-ports/shells
Emanuel Haupt 72451773c8 Scripts like https://github.com/henricj/scripts/blob/master/stir.sh often
generate a bunch of,
   cannot make pipe for process substitution: File exists
errors.

The problem lies with colliding pipe names.

The code in sh_mktmpname() in lib/sh/tmpfile.c uses a combination of things like
the current time, the PID, and an incrementing counter. Since the child PIDs
tend to be sequential (barring kern.randompid=1), there are collisions.

Fix this problem without rewriting upstream code by defining USE_MKTEMP=1 to
use the mktemp(3) code of bash.

FreeBSD's mktemp() is not nearly as bad as the bash default and isn't
brain-damaged like some platforms (which is likely why the bash code tries to
do it's own thing). In FreeBSD, "mktemp(3)" it uses arc4random to pick one of
62 symbols for each "X".

Submitted by:   Henric Jungheim <software@henric.org>
2015-07-09 05:47:32 +00:00
..
44bsd-csh Remove $FreeBSD$ from patches files everywhere. 2015-05-22 20:34:27 +00:00
ambit
bash Scripts like https://github.com/henricj/scripts/blob/master/stir.sh often 2015-07-09 05:47:32 +00:00
bash-completion Add completions for portsnap and freebsd-update. Both were obtained from upstream git. 2015-01-27 16:45:57 +00:00
bash-static Ports should not change their pkgname depending on options. Change the way how 2015-02-19 15:59:54 +00:00
bashc
ch Cleanup plist 2015-02-05 15:55:53 +00:00
dash Cleanup plist 2015-02-05 15:55:53 +00:00
es
esh MASTER_SITES cleanup. 2015-05-14 10:15:04 +00:00
fd Remove Author from pkg-descr and white space fixes 2015-03-02 23:47:17 +00:00
fish shells/fish: Fix for hangs on FreeBSD 10.1+ 2015-04-18 13:20:52 +00:00
flash
heirloom-sh
ibsh
jailkit - Update to 2.17 2015-03-08 09:50:25 +00:00
ksh93 - Cleanup -lpthread/-pthread manipulation 2015-03-25 14:59:20 +00:00
lshell shells/lshell: fix syslog file location (/dev/log => /var/run/log) 2015-02-06 10:07:19 +00:00
mksh Update to R50f 2015-04-20 20:18:03 +00:00
nologinmsg
osh Update osh to latest release (bugfix release) 2015-01-24 17:49:36 +00:00
p5-Bash-Completion
p5-Shell-Perl
p5-Term-Bash-Completion-Generator These needs Module::Build. 2015-04-11 08:28:39 +00:00
p5-Term-ShellUI - Fix shebangs 2015-05-30 12:27:51 +00:00
pdksh Fix build with gcc5 2015-04-03 23:50:15 +00:00
pear-PHP_Shell
psh Cleanup plist 2015-02-05 15:55:53 +00:00
rc
rssh - Add CPE info 2015-04-23 09:49:37 +00:00
sash
scponly MASTER_SITES cleanup. 2015-05-14 10:15:04 +00:00
shell-include - Fix stagedir referenced from installed files: 2015-05-09 02:10:09 +00:00
tcsh_nls - remove do_nada from fetch target 2015-04-08 21:14:51 +00:00
tcshrc
v7sh
viewglob
vshnu
wcd Wcd is a command-line program to change directory fast. It saves time typing 2015-05-29 20:34:46 +00:00
zsh Move the SF mirrors first again 2015-06-16 11:03:49 +00:00
Makefile Wcd is a command-line program to change directory fast. It saves time typing 2015-05-29 20:34:46 +00:00