aboutsummaryrefslogtreecommitdiff
path: root/shells
Commit message (Collapse)AuthorAgeFilesLines
* shells/rssh: Apply fixes for basename(3) handling and some security issuesKai Knoblich2019-03-065-22/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] MFH: 2019Q1 Security: d193aa9f-3f8c-11e9-9a24-6805ca0b38e8 Differential Revision: https://reviews.freebsd.org/D19474 Notes: svn path=/head/; revision=494837
* Update to the latest att/ast github commit.Cy Schubert2019-02-272-5/+5
| | | | Notes: svn path=/head/; revision=494013
* shells/scponly: fix segfault on FreeBSD 12 and newerRenato Botelho2019-02-252-1/+27
| | | | | | | | | | | On FreeBSD 12+ basename(3) writes to its argument, which in scponly isn't a writable string, so it segfaults. This patch works around it. PR: 235810 Submitted by: fullermd@over-yonder.net Notes: svn path=/head/; revision=493861
* shells/fish: upgrade to 3.0.2Alan Somers2019-02-242-4/+4
| | | | Notes: svn path=/head/; revision=493822
* Do not attempt to build 'loadables' in the install target when the static buildEmanuel Haupt2019-02-211-0/+12
| | | | | | | | | | | | | option is selected. Loadables will not build statically. The upstream makefile handles this by ignoring a non-zero exit status by prefixing the build instruction with a minus. Nevertheless this causes plenty of confusion among our user base. No PORTREVISION bump as this is a NOOP. Notes: svn path=/head/; revision=493497
* Update to the latest att/ast github commit.Cy Schubert2019-02-212-5/+5
| | | | Notes: svn path=/head/; revision=493489
* shells/fish: upgrade to 3.0.1Alan Somers2019-02-204-40/+4
| | | | Notes: svn path=/head/; revision=493425
* New port: shells/ammoniteKurt Jaeger2019-02-185-0/+65
| | | | | | | | | | | | | | | | | | | A modern replacement for the Bash system shell. Provides a systems shell in the high-level Scala language, letting you seamlessly mix system operations with real code without the hassle or the frustration of trying to write complex code in Bash. Ammonite lets you use the Scala language for scripting purposes: in a Read-Evaluate-Print-Loop (REPL), as scripts, as a library to use in existing projects, or as a standalone systems shell. WWW: https://ammonite.io/ PR: 235759 Submitted by: Jens Grassel <jan0sch@mykolab.com> Notes: svn path=/head/; revision=493275
* Update to the latest att/ast github commit.Cy Schubert2019-02-152-5/+5
| | | | Notes: svn path=/head/; revision=492972
* Recent ksh93 no longer use sbrk(). This port should build on aarch64.Cy Schubert2019-02-101-2/+0
| | | | Notes: svn path=/head/; revision=492659
* Remove the remnant the defunct STATIC option.Cy Schubert2019-02-101-2/+0
| | | | Notes: svn path=/head/; revision=492658
* Update to the latest att/ast commit on github.Cy Schubert2019-02-092-5/+5
| | | | Notes: svn path=/head/; revision=492511
* Fix build on GCC architectures.Cy Schubert2019-02-051-1/+1
| | | | | | | | | PR: 235535 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Reported by: Piotr Kubaj <pkubaj@anongoth.pl> Notes: svn path=/head/; revision=492272
* Update to 5.7.1Baptiste Daroussin2019-02-054-44/+7
| | | | Notes: svn path=/head/; revision=492261
* shells/jailkit: Update to 2.20Ben Woods2019-02-043-10/+10
| | | | | | | | Changes this release: https://olivier.sessink.nl/jailkit/index.html#news Notes: svn path=/head/; revision=492125
* shells/oksh: Convert to options helpersTobias Kortkamp2019-02-011-13/+5
| | | | Notes: svn path=/head/; revision=491793
* Update MASTER_SITES and WWWSunpoet Po-Chuan Hsieh2019-01-272-3/+3
| | | | | | | Approved by: portmgr (blanket) Notes: svn path=/head/; revision=491396
* Add zsh-completions 0.30.0Sunpoet Po-Chuan Hsieh2019-01-275-0/+166
| | | | | | | | | | | | | zsh-completions is the additional completion definitions for Zsh. This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts may be contributed to the Zsh project when stable enough. WWW: https://github.com/zsh-users/zsh-completions Notes: svn path=/head/; revision=491382
* Add a patch to fix an infinite recursion when using VCS_infoBaptiste Daroussin2019-01-272-0/+38
| | | | | | | Reported by: ume Notes: svn path=/head/; revision=491369
* Commit forgotten patch:Baptiste Daroussin2019-01-271-0/+11
| | | | | | | Mandoc was not able to find zshbuiltin.1 in the path Notes: svn path=/head/; revision=491359
* Update to 5.7Baptiste Daroussin2019-01-273-7/+21
| | | | Notes: svn path=/head/; revision=491352
* Update to the latest att/ast commit on github.Cy Schubert2019-01-272-5/+5
| | | | | | | | | This includes an upstream commit: Remove dangerous duplicate definition of SH_SIGSET. Notes: svn path=/head/; revision=491319
* Update to the latest att/ast github commit.Cy Schubert2019-01-212-5/+5
| | | | | | | | | | | | `${foo.__}` should not expand to parent node This was an experimental feature that was added after last stable release. Disable it. Fixes upstream issue #1116. Notes: svn path=/head/; revision=490863
* Update to the latest att/ast commit on github.Cy Schubert2019-01-212-5/+5
| | | | | | | | | | | | | | | | | This brings in the following important commit on github: Ensure fd 0, 1, 2 are never closed Closing stdin, stdout, or stderr is extremely dangerous and should never be done. If an attempt is made to do so redirect the file descriptor to /dev/null. Similarly, if ksh is started with one of those fd's closed open it on /dev/null before doing anything else. Resolving upstream issue #1117. Notes: svn path=/head/; revision=490818
* Update to 5.0.2Emanuel Haupt2019-01-192-13/+13
| | | | Notes: svn path=/head/; revision=490726
* Update to the latest att/ast commit on github.Cy Schubert2019-01-182-5/+5
| | | | Notes: svn path=/head/; revision=490627
* shells/fish: patch upstream issue #5453Alan Somers2019-01-173-1/+37
| | | | | | | | | | | | | | | This change fixes a segfault that would happen from operations like 'printf "%f" 7.0'. Also, this change removes Python as a runtime dependency. That was supposed to have been done in r488840, but there was a typo. https://github.com/fish-shell/fish-shell/issues/5453 Reported by: Mahmoud Al-Qudsi <mqudsi@neosmart.net> MFH: 2019Q1 Notes: svn path=/head/; revision=490604
* Properly fix broken man pages by removing unsupported characters.Emanuel Haupt2019-01-162-8/+16
| | | | | | | | | PR: 234992 (based on) Reviewed by: bapt Reported by: bapt Notes: svn path=/head/; revision=490489
* Mandoc'ify man pages to avoid dependency to groff.Emanuel Haupt2019-01-161-1/+5
| | | | | | | | PR: 234992 (based on) Submitted by: sakisp@gmail.com Notes: svn path=/head/; revision=490481
* Update to 5.0Emanuel Haupt2019-01-155-244/+28
| | | | | | | | PR: 234827 Exp-run by: antoine Notes: svn path=/head/; revision=490404
* Update to the latest ATT/AST commit on github.Cy Schubert2019-01-062-5/+5
| | | | Notes: svn path=/head/; revision=489548
* lang/ghc: Update to 8.6.3 and bump PORTREVISION's of all Haskell ports.Gleb Popov2019-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As usual, it is recommended to rebuild or reinstall all the dependent ports and the lang/ghc port itself in one of the following ways: # portmaster -w -r ghc or # portupgrade -fr lang/ghc In case of pkg(8), it is probably safer to remove all the GHC-dependent packages along with GHC and reinstall everything from scratch. For example: # pkg query "%ro" ghc > ghc-pkgs.txt # pkg delete -y lang/ghc # pkg install -y `cat ghc-pkgs.txt` During update some hs-* ports got two PORTREVISION bumps in a row. Other ports got a PORTVERSION update together with one PORTREVISION bump. This is caused by bulk-bumping PORTREVISION of all hs-* ports. There are a lot of them updated, so figuring out which ones require a bump and which are not is too tedious. Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D18707 Notes: svn path=/head/; revision=489474
* Add do-test:Sunpoet Po-Chuan Hsieh2019-01-051-0/+8
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D18370 PR: 233619 Submitted by: 0mp Notes: svn path=/head/; revision=489413
* shells/fish: upgrade to 3.0.0Alan Somers2018-12-316-169/+211
| | | | | | | | | | | | | This also switches the build system from autoconf to cmake, and adds an on-by-default MANPAGES option. MANPAGES are now optional because building them requires doxygen. PR: 234493 Reviewed by: koobs Approved by: koobs (ports) Notes: svn path=/head/; revision=488840
* Update to 3.01hAkinori MUSHA2018-12-252-4/+4
| | | | Notes: svn path=/head/; revision=488294
* Update to the latest ast/ksh93 github commit.Cy Schubert2018-12-232-5/+5
| | | | | | | | | | | | | | | | Notable fixes: Fix `${+}` parameter expansion inside loops `nv_getval()` function internally calls `nv_optimize()` and optimizations outside `varsub()` function depend on it. Using `nv_isnull()` instead of `nv_getval()` was causing broken behavior with `${+}` parameter expansions inside loops. Resolves: #70 Notes: svn path=/head/; revision=488166
* Update to the latest ast/ksh93 github commit.Cy Schubert2018-12-202-5/+5
| | | | | | | | | | | | | Notable fixes are: Sync all streams before restoring file descriptors This was causing issues while truncating files. Sync all streams before restoring file descriptors to avoid any similar issues in future. Notes: svn path=/head/; revision=487849
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-12-121-1/+1
| | | | | | | | | | | | | | | | | | defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590 Notes: svn path=/head/; revision=487272
* These ports now build on powerpc64.Mark Linimon2018-12-051-2/+0
| | | | | | | | | While here, pet portlint. Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=486720
* Update FreeBSD bash-completion to 1.0.3Sunpoet Po-Chuan Hsieh2018-11-282-5/+5
| | | | | | | | | | | - Bump PORTREVISION for package change Changes: https://github.com/0mp/bash-completion-freebsd/commits/master PR: 233610 Reported by: 0mp Notes: svn path=/head/; revision=486143
* This port now builds on 13.0-CURRENT.Emanuel Haupt2018-11-281-2/+0
| | | | | | | Reported by: Manfred Antar <manfredantar@gmail.com> (via mail) Notes: svn path=/head/; revision=486080
* shells/jailkit: Avoid accidentally picking up procmailTobias Kortkamp2018-11-152-2/+14
| | | | | | | | | | | | | When configure sees procmail in the environment building of jk_procmailwrapper is enabled. Add a new non-default PROCMAIL option to make it explicit. PR: 230132 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Approved by: woodsb02 (maintainer timeout, 3.5 months) Notes: svn path=/head/; revision=485007
* Update `databases/gdbm' to version 1.18.1, an important bugfix releaseAlexey Dokuchaev2018-11-111-0/+1
| | | | | | | | | | | | | which restores compatibility with old databases (version 1.8) and some later versions which were built without mmap(2) support. Due to shlib version change, bump port revisions of the consumer ports. PR: 233059 Exp-run by: antoine Approved by: maintainer (johans, numerous timeouts) Notes: svn path=/head/; revision=484696
* Install texinfo files (GNU info) into ${PREFIX}/share/infoBaptiste Daroussin2018-11-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=484628
* Update to the latest ast/ksh93 github commit.Cy Schubert2018-11-092-5/+5
| | | | | | | This commit fixes a number of resource leaks and a heap use after free. Notes: svn path=/head/; revision=484498
* Mark BROKEN on FreeBSD 13 while the problem is being investigated.Emanuel Haupt2018-11-061-0/+2
| | | | | | | Notified by: pkg-fallout Notes: svn path=/head/; revision=484322
* Update to the latest ast/ksh93 commit for:Cy Schubert2018-11-052-5/+5
| | | | | | | Coverity: 279521 Out-of-bounds read Notes: svn path=/head/; revision=484172
* Remove compatibility code for FreeBSD < 11.2 from all ports.Rene Ladan2018-11-022-9/+3
| | | | | | | | | | Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724 Notes: svn path=/head/; revision=483807
* Update to the latest ast/ksh93 github commit. From their commit log:Cy Schubert2018-11-022-5/+5
| | | | | | | | | | | | | | Coverity Out-of-bounds read This Coverity Scan issue appears to be a false positive. This change is a reformulation of the code that attempts to both clarify the behavior and suppress the false positive error. Coverity CID#316729 Notes: svn path=/head/; revision=483770
* Update to the latest ast/ksh93 github commit, specifically to bringCy Schubert2018-11-012-5/+5
| | | | | | | | | | | | | in from upstream: Coverity Out-of-bounds access error The call to `nv_addtype()` is passing the wrong structure length. Coverity CID#279500 Notes: svn path=/head/; revision=483635