HomeFreeBSD

shells/zsh: Add BASE_ZSH option

Description

shells/zsh: Add BASE_ZSH option

Add new option BASE_ZSH that makes zsh and rzsh also available as
/bin/zsh and /bin/rzsh.

Under ports flamework everything is installed under /usr/local unless
custom prefix is used. And according to it zsh is installed as
/usr/local/bin/zsh. But on most Linux based OSes zsh is installed as
/bin/zsh. And it causes problem if user's account information is
shared between FreeBSD and Linux by using such tools as LDAP or NIS as
account information also includes absolute path of user's login shell.
To work around it I have created /bin/zsh as symbolic link referencing
/usr/local/bin/zsh and also edited /etc/shells to add /bin/zsh to it
every time I set up new FreeBSD system. But it's quite bothersome and
that is why I add new BASE_ZSH option.

While I'm here,

  • Pet portclippy
  • Re-format Makefile with portfmt

PR: 259109
Proposed by: Chris Hutchinson (more intuitive option name)
Approved by: maintainer timeout (> 2 weeks)

Details

Provenance
yasuAuthored on Oct 12 2021, 4:47 PM
Parents
R11:416817844796: games/dxx-rebirth: update to 20211125
Branches
Unknown
Tags
Unknown
Reverted By
R11:defd64ec3c9a: shells/zsh: Revert "shells/zsh: Add BASE_ZSH option"