Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2021 17:26:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259109] shells/zsh: Add BIN_ZSH option
Message-ID:  <bug-259109-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259109

            Bug ID: 259109
           Summary: shells/zsh: Add BIN_ZSH option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: yasu@freebsd.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
          Assignee: bapt@FreeBSD.org

Created attachment 228632
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228632&action=
=3Dedit
Patch file

Add new option BIN_ZSH that makes zsh and rzsh also available as /bin/zsh a=
nd
/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 proble=
m 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 I decided to cre=
ate
patch to add new option that makes this port do these jobs automatically by
enabling it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259109-7788>