notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
ksh ksh93u+m is the renewed development of ksh93 based on AT&T ksh93u+m (stable)
1.0.8_1 shells on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.0.7Version of this port present on the latest quarterly branch.
Maintainer: cy@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-08-28 21:22:50
Last Update: 2024-01-10 15:29:49
Commit Hash: e4610fc
People watching this port, also watch:: py39-pycparser, gstreamer1-plugins-pango, libdc1394, gstreamer1-plugins-openmpt, xerces-c3
License: EPL
WWW:
http://www.kornshell.com/
Description:
ksh93u+m is the ksh93 reboot aims to develop bugfixes to the last stable release (93u+ 2012-08-01) of ksh93, formerly developed by AT&T Software Technology (AST). This ksh 93u+m reboot now incorporates many of these bugfixes, plus patches from OpenSUSE, Red Hat, and Solaris, as well as many new fixes from the community. Between 2017 and 2020 there was an ultimately unsuccessful attempt to breathe new life into the KornShell by extensively refactoring the last unstable AST beta version (93v-). While that ksh2020 effort is now abandoned and still has many critical bugs, it also had a lot of bugs fixed. More importantly, the AST issue tracker now contains a lot of documentation on how to fix those bugs, which made it possible to backport many of them to the last stable release instead. The shells/ksh port tracks releases.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (11 items)
Collapse this list.
  1. /usr/local/share/licenses/ksh-1.0.8_1/catalog.mk
  2. /usr/local/share/licenses/ksh-1.0.8_1/LICENSE
  3. /usr/local/share/licenses/ksh-1.0.8_1/EPL
  4. @shell bin/ksh93
  5. share/man/man1/ksh93.1.gz
  6. share/examples/ksh93/dirs
  7. share/examples/ksh93/popd
  8. share/examples/ksh93/pushd
  9. @owner
  10. @group
  11. @mode
Collapse this list.
Dependency lines:
  • ksh>0:shells/ksh
Conflicts:
CONFLICTS:
  • ksh93
  • ast-ksh
  • ksh-devel
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/shells/ksh/ && make install clean
To add the package, run one of these commands:
  • pkg install shells/ksh
  • pkg install ksh
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ksh
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1704087407 SHA256 (ksh93-ksh-v1.0.8_GH0.tar.gz) = b46565045d0eb376d3e6448be6dbc214af454efc405d527f92cb81c244106c8e SIZE (ksh93-ksh-v1.0.8_GH0.tar.gz) = 2114262

Packages (timestamps in pop-ups are UTC):
ksh
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.8_11.0.8_1-1.0.8_11.0.8_1---
FreeBSD:13:quarterly1.0.81.0.81.0.61.0.81.0.81.0.81.0.81.0.8
FreeBSD:14:latest1.0.8_11.0.8_11.0.41.0.8_11.0.8_11.0.6-1.0.6
FreeBSD:14:quarterly1.0.81.0.8-1.0.81.0.81.0.81.0.81.0.8
FreeBSD:15:latest1.0.8_11.0.8_1n/a1.0.8_1n/a1.0.8_11.0.8_11.0.8_1
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
This port is required by:
for Build
  1. lang/emilua
  2. x11/cde
  3. x11/cde-25
  4. x11/cde-devel
  5. x11-wm/nscde
for Run
  1. x11/cde
  2. x11/cde-25
  3. x11/cde-devel
  4. x11-wm/nscde

Configuration Options:
===> The following configuration options are available for ksh-1.0.8_1: EXAMPLES=on: Build and/or install examples STATIC=off: Build static executables and/or libraries ====> Options available for the single BIN_KSH: you have to select exactly one of them KSH=off: Install to /usr/local/bin/ksh KSH93=on: Install to /usr/local/bin/ksh93 KSH93N=off: Install to /usr/local/bin/ksh93n (new) ===> Use 'make config' to modify these settings
Options name:
shells_ksh
USES:
compiler:c11
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ksh93/ksh/tar.gz/v1.0.8?dummy=/
Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.8_1
10 Jan 2024 15:29:49
commit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1ccommit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1ccommit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1ccommit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1c files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MAN?PREFIX: eleminate its usage  and move man to share/man
1.0.8
01 Jan 2024 05:56:50
commit hash: 11e7e0df887e7935af81d66de2b4db538dbc2907commit hash: 11e7e0df887e7935af81d66de2b4db538dbc2907commit hash: 11e7e0df887e7935af81d66de2b4db538dbc2907commit hash: 11e7e0df887e7935af81d66de2b4db538dbc2907 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Update to 1.0.8
1.0.7
16 Sep 2023 14:41:56
commit hash: b51504dc11fbbb28a7a0609dfaec2e9fa9ec339ccommit hash: b51504dc11fbbb28a7a0609dfaec2e9fa9ec339ccommit hash: b51504dc11fbbb28a7a0609dfaec2e9fa9ec339ccommit hash: b51504dc11fbbb28a7a0609dfaec2e9fa9ec339c files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Update to 1.0.7

From the announcement email:

Full changelog at:
https://github.com/ksh93/ksh/compare/v1.0.6...v1.0.7

Main changes between 1.0.6 and 1.0.7:
- Fixed a hang in command substitutions (introduced in 93u+m/1.0.0)
   that was triggered when redirecting standard output within a
   command substitution, in combination with other factors. E.g.,
   the following no longer hangs:
         { v=$(redirect 2>&1 1>&9); } 9>&1
- Fixed a crash on trying to append an indexed array value to an
   unset name reference, e.g.: nameref unsetref; unsetref+=(foo
   bar). This now produces a "removing nameref attribute" warning
   before performing the assignment.
- Fixed: assignments like name=(...) to arrays did not preserve the
   array and variable types; similarly, assigning an empty set () to
   a compound indexed array caused the -C attribute to be lost.
- Fixed incorrect rejection of the tab key while reading input
   using the 'read' built-in command.
- Fixed a bug in printf %T: when using dates and times in the past,
   time zones for the present were incorrectly used, ignoring
   historical changes.
1.0.6
26 Aug 2023 20:36:35
commit hash: f10176d67c117074f9901e5bd6f57e1834272314commit hash: f10176d67c117074f9901e5bd6f57e1834272314commit hash: f10176d67c117074f9901e5bd6f57e1834272314commit hash: f10176d67c117074f9901e5bd6f57e1834272314 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
shells/ksh: Remove blank line

Approved by:	portmgr (blanket)
1.0.6
13 Jun 2023 18:53:29
commit hash: f3cb8cd9bedd45c427e2d9f34c907ba12a26adc6commit hash: f3cb8cd9bedd45c427e2d9f34c907ba12a26adc6commit hash: f3cb8cd9bedd45c427e2d9f34c907ba12a26adc6commit hash: f3cb8cd9bedd45c427e2d9f34c907ba12a26adc6 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Update to 1.0.6

From the announcement:

This is an urgent bugfix release that fixes a serious regression in
pathname expansion, see: https://github.com/ksh93/ksh/issues/660
The previous 1.0.5 release is withdrawn and should not be used.

Main changes between 1.0.5 and 1.0.6:

- Fixed a serious regression in pathname expansion where quoted wildcard
   characters were incorrectly expanded if a pattern contains both a brace
   expansion and a variable expansion.
- Fixed a bug where the command to launch a full-screen editor (^X^E in
   emacs and 'v' in vi) could cause the wrong command line to be edited
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.5_2
13 Jun 2023 02:37:49
commit hash: 6f567e62fac522bf3005a01e23b4fdec9e4dc725commit hash: 6f567e62fac522bf3005a01e23b4fdec9e4dc725commit hash: 6f567e62fac522bf3005a01e23b4fdec9e4dc725commit hash: 6f567e62fac522bf3005a01e23b4fdec9e4dc725 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh*: Fix ksh 1.0.5 Regression (issue #660) version 2

From the upstream patch description:

Patch version two. In mac_copy(), don't internally backslash-escape
a backslash in a glob pattern bracket expression. This also fixes
the #549 regression reintroduced by the previous patch, at least for
standard glob patterns. For this, we need to use the bracketexpr flag
(introduced as a copyto() local variable in 6c73c8c) in mac_copy(),
so we move it to the Mac_t struct, making it globally accessible.
Initialisation is automatic.
1.0.5_1
12 Jun 2023 09:19:55
commit hash: a2ba1fd2c5cdc5d3a672126b4c4a06251df3dfb5commit hash: a2ba1fd2c5cdc5d3a672126b4c4a06251df3dfb5commit hash: a2ba1fd2c5cdc5d3a672126b4c4a06251df3dfb5commit hash: a2ba1fd2c5cdc5d3a672126b4c4a06251df3dfb5 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Fix ksh 1.0.5 Regression (issue #660)

From issue #660:

Globs are not expanded with the following:

% echo "/"{bin,sbin}"/*"
/bin/* /sbin/*

% v=/; echo "$v"bin"/*"
/bin/*

But globbing is unexpectedly performed if both parameter substitution
and brace expansion are present:

	% v=/; echo "$v"{bin,sbin}"/*"
	[output omitted for the sake of brevity]

Obtained from:	https://github.com/ksh93/ksh/issues/660
MFH:		2023Q3
1.0.5
07 Jun 2023 15:52:22
commit hash: 141cb5d09e5f712300a3b16527afd91ce4a73341commit hash: 141cb5d09e5f712300a3b16527afd91ce4a73341commit hash: 141cb5d09e5f712300a3b16527afd91ce4a73341commit hash: 141cb5d09e5f712300a3b16527afd91ce4a73341 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Update 1.0.4 --> 1.0.5

The release email outlined the following changes:

This release has a large amount of bugfixes compared to 93u+m/1.0.4. In
summary:

- Fixed various bugs causing crashes.
- Fixed many bugs in the emacs and vi line editors, in command completion,
   and in file name completion.
- Fixed various bugs in the handling of quotes, backslash escapes and braces
   when processing shell glob patterns (e.g. in pathname expansion and
'case').
- ksh now throws a panic and exits if a read error (such as an I/O error)
   occurs while trying to read the next command(s) from a running script.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.4
26 Mar 2023 02:49:11
commit hash: 79bdbf328c82bf586aac15543d4efdbb3439051ecommit hash: 79bdbf328c82bf586aac15543d4efdbb3439051ecommit hash: 79bdbf328c82bf586aac15543d4efdbb3439051ecommit hash: 79bdbf328c82bf586aac15543d4efdbb3439051e files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh*: Remove BROKEN for missing sbrk()

As of Jan 26, 2021, ksh (ksh93/ksh) no longer needs sbrk(). Remove
BROKEN for architectures that don't have sbrk(2). See upstream issue
https://github.com/ksh93/ksh/issues/154.
1.0.4
23 Mar 2023 18:31:07
commit hash: fd44857c89735005473ec7856d5525911bfc2b8bcommit hash: fd44857c89735005473ec7856d5525911bfc2b8bcommit hash: fd44857c89735005473ec7856d5525911bfc2b8bcommit hash: fd44857c89735005473ec7856d5525911bfc2b8b files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh*: Update descriptions

Update ksh ports descriptions to more accurately reflect what they are.

Reported by:	 "Joseph Holsten" <joseph@josephholsten.com>
1.0.4
23 Mar 2023 06:04:59
commit hash: b50fe1ebe5728883f6dc2b02d9f1f9a23f9b0047commit hash: b50fe1ebe5728883f6dc2b02d9f1f9a23f9b0047commit hash: b50fe1ebe5728883f6dc2b02d9f1f9a23f9b0047commit hash: b50fe1ebe5728883f6dc2b02d9f1f9a23f9b0047 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Remove the now expired ksh2020 from CONFLICTS.
1.0.4
15 Feb 2023 16:55:03
commit hash: 38557f2f4558bb032842d36050b7ce7dd1a3bfd3commit hash: 38557f2f4558bb032842d36050b7ce7dd1a3bfd3commit hash: 38557f2f4558bb032842d36050b7ce7dd1a3bfd3commit hash: 38557f2f4558bb032842d36050b7ce7dd1a3bfd3 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh*: Permanently fix LLVM15 build

Fix aso atomics broken by LLVM:

/wrkdirs/usr/ports/shells/ksh/work/ksh-1.0.4/src/lib/libast/aso/aso.c
/wrkdirs/usr/ports/shells/ksh/work/ksh-1.0.4/src/lib/libast/aso/aso.c:839:10:
error: incompatible integer to pointer conversion passing 'uint64_t' (aka
'unsigned long') to parameter of type 'void *' [-Wint-conversion]
                return _aso_casptr((void**)p, o, n);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./FEATURE/aso:19:66: note: expanded from macro '_aso_casptr'
                                                                     
^~~~~~~~~~~
/wrkdirs/usr/ports/shells/ksh/work/ksh-1.0.4/src/lib/libast/aso/aso.c:839:10:
error: incompatible integer to pointer conversion passing 'uint64_t' (aka
'unsigned long') to parameter of type 'void *' [-Wint-conversion]
                return _aso_casptr((void**)p, o, n);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./FEATURE/aso:19:78: note: expanded from macro '_aso_casptr'
                                                                                
 ^~~~~~~~~~~
2 errors generated.
mamake [lib/libast]: *** exit code 1 making aso.o
mamake: *** exit code 1 making lib/libast
mamake: *** exit code 1 making all
package: creating flat view
package: make failed at Fri Feb 10 06:00:01 UTC 2023 in
/wrkdirs/usr/ports/shells/ksh/work/ksh-1.0.4/arch/freebsd14.amd64-64
*** Error code 1
1.0.4
10 Feb 2023 14:40:47
commit hash: 40c294fd4f875a424d08c65bbb0dccb89a5e6e88commit hash: 40c294fd4f875a424d08c65bbb0dccb89a5e6e88commit hash: 40c294fd4f875a424d08c65bbb0dccb89a5e6e88commit hash: 40c294fd4f875a424d08c65bbb0dccb89a5e6e88 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Fix build with LLVM15
1.0.4
22 Oct 2022 17:04:13
commit hash: b5281aedd811dd744bf84b6b7f892cbe0149e5ebcommit hash: b5281aedd811dd744bf84b6b7f892cbe0149e5ebcommit hash: b5281aedd811dd744bf84b6b7f892cbe0149e5ebcommit hash: b5281aedd811dd744bf84b6b7f892cbe0149e5eb files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Update 1.0.3 --> 1.0.4
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.0.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.3
28 Aug 2022 22:49:09
commit hash: 39ac815eecc453e1e7e9cc98000edb4bd9f21c86commit hash: 39ac815eecc453e1e7e9cc98000edb4bd9f21c86commit hash: 39ac815eecc453e1e7e9cc98000edb4bd9f21c86commit hash: 39ac815eecc453e1e7e9cc98000edb4bd9f21c86 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh: Add missing option

Fixes:		6e9237ba47f0c0df54a58ca8a1bf79b44d580208
1.0.3
28 Aug 2022 21:16:45
commit hash: 6e9237ba47f0c0df54a58ca8a1bf79b44d580208commit hash: 6e9237ba47f0c0df54a58ca8a1bf79b44d580208commit hash: 6e9237ba47f0c0df54a58ca8a1bf79b44d580208commit hash: 6e9237ba47f0c0df54a58ca8a1bf79b44d580208 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh*: Allow the ksh ports to coexist

Add an option to allow the ksh ports to avoid conflicting with each
other and to coexist. This allows people who wish to punish themselves
by tracking developent to still be able to fall back should upstream
cause regressions.

This also allows legacy ksh93 to coexist with the recently added
ksh93/ksh, which is not entirely compatible with legacy ksh. Applications
which require a legacy ksh compatible package should use the ksh93 port
installed using one of its options. This allows new and old to exist on
the same system.
1.0.3
28 Aug 2022 21:16:45
commit hash: 039bde8216ed7bb5dcf3bb2fc5af72a8fec317f2commit hash: 039bde8216ed7bb5dcf3bb2fc5af72a8fec317f2commit hash: 039bde8216ed7bb5dcf3bb2fc5af72a8fec317f2commit hash: 039bde8216ed7bb5dcf3bb2fc5af72a8fec317f2 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
shells/ksh93: Introduce new ksh port

Now that ksh development has resumed under a new account on github,
this introduces the fourth stable release (1.0.3) of ksh93/ksh to ports

Number of commits found: 19