shells/ksh93 93.u_1,2 MidnightBSD
AT&T KornShell ksh93u+ 2012-08-01 (stable) version
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
d8138203e7- License
- epl
- Categories
- shells
Description
ksh93u+ is the 2012-08-01 (stable) version of the KornShell Language described in "The KornShell Command and Programming Language," by Morris Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is a shell programming language, which is upward compatible with "sh" (the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO 9945.2 Shell and Utilities standard. ksh93u+ provides an enhanced programming environment in addition to the major command-entry features of the BSD shell "csh". With ksh93u+, medium-sized programming tasks can be performed at shell-level without a significant loss in performance. In addition, "sh" scripts can be run on ksh93u+ without modification.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | shells/ksh93 | 93.u_1,2 |
| FreeBSD | shells/ksh93 | 93.u_4,2 |
| OpenBSD | shells/ksh93 | 1.0.10p0v0 |
| NetBSD | shells/ksh93 | 1.0.10nb3 |
| DragonFly | shells/ksh93 | 93.u_4,2 |
Install
Binary package:
mport install ksh93
From mports:
cd /usr/mports/shells/ksh93 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ksh93>0:shells/ksh93
Dependencies
No port depends on this one.
Configuration
Options name: shells_ksh93
| Option | Default | Description |
|---|---|---|
| EXAMPLES | on | |
| KSH | off | Install to ${PREFIX}/bin/ksh |
| KSH93 | on | Install to ${PREFIX}/bin/ksh93 |
| KSH93L | off | Install to ${PREFIX}/bin/ksh93l (legacy) |
| STATIC | off |
- USES
- compiler:c11
- Service scripts
- none
Files
Manual pages 1
- ksh(1)
pkg-plist 5
- @shell bin/ksh
- share/man/man1/ksh.1.gz
- share/examples/ksh%%93%%/dirs
- share/examples/ksh%%93%%/popd
- share/examples/ksh%%93%%/pushd
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ksh93/att-ast-93u_GH0.tar.gz | 1.2960931e+07 | 4cf10ae50306361a18d900008961093b5c2c51d69f4e50d14b911a8ce014d37f |
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
d8138203e7 |
Lucas Holt | shells/ksh93: bootstrap libast before ksh (#667) Uses AST’s libast bootstrap target, which builds the required archive
before nmake links against it.\n\nFixes Magus run 643 failure to resolve
-last during the ksh93 build.\n\nValidation: bmake build; bmake fake;
bmake package; work/ast-93u/bin/ksh --version; git diff --check.
## Summary by Sourcery
Bug Fixes:
- Fix ksh93 build failure in Magus caused by unresolved -last during
linking.
Signed-off-by: Lucas Holt <[email protected]> |
|
d04eee19c1 |
Lucas Holt | shells/ksh93: fix i386 libast bootstrap The AST mamake bootstrap needs mam_cc_L set so -last resolves through INSTALLROOT/lib. On MidnightBSD i386 the probe can omit CC.L even though the compiler supports -L, leaving a raw -last in the nmake link and failing run 641.
Force CC.L for MidnightBSD host types in both mamprobe copies used by the early bootstrap path.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |