Index | Thread | Search

From:
David Uhden Collado <david@uhden.dev>
Subject:
Update and add patches to ksh93
To:
ports@openbsd.org
Cc:
pascal@stumpf.co
Date:
Thu, 8 Aug 2024 05:51:53 +0200

Download raw body.

Thread
Attached in this email, I provide an update for the shells/ksh93 port to 
version 1.0.10 along with patches that address an issue I have 
previously mentioned in other emails sent to this mailing list [1]. 
These patches, proposed by the lead developer of ksh93u+m (Martijn 
Dekker) in response to a GitHub Issue I raised for this reason [2], 
modify the shells/ksh93 port to make runtime decisions based on whether 
ksh is invoked as ksh93. If invoked as ksh93, it searches for 
/etc/ksh93.kshrc and ~/.ksh93rc instead of the filenames without the 93, 
which resolves the issues when set as the user's shell using the 
chpass(1) utility. This port has been tested on OpenBSD 7.6-beta for the 
amd64 platform.

References:
1. https://marc.info/?l=openbsd-ports&m=172247028813109&w=2
2. https://github.com/ksh93/ksh/issues/776#issuecomment-2272440847

Best regards,

David.