Subject: Re: Changing root's shell to /bin/sh
To: Soren S. Jorvang <soren@t.dk>
From: Bill Studenmund <skippy@macro.Stanford.EDU>
List: current-users
Date: 03/18/1999 10:37:27
On Thu, 18 Mar 1999, Soren S. Jorvang wrote:

> On Wed, Mar 17, 1999 at 05:44:02PM -0800, Bill Studenmund wrote:
> > I'd vote we make the tcsh and bash packages install into root, rather than
> > pull them into the distribution. That way they're package-ized (you don't
> > want it, you don't get it, you pkg_delete, it's gone) and in /bin. They'd
> > be compiled static of course. :-)
> 
> Well, that would certainly be workable.
> 
> However, it complicates the issue a bit. Should all of pkgsrc/shells/*
> then put static binaries in /bin or should tcsh and bash be special-cased?

Maybe the thing to do is to make two copies of each package. One installs
into usr/pkg (technically with all the other packages) and the other
installs a static binary into /bin.

We could probably make the two packages identical (if all that's needed is
adding -static to the compile), having the static one add what it needs,
and then .include the other package's Makefile. Symlinks could mirror all
the patches over. :-)

Thus the admin gets to choose which shells are special and which aren't.

Take care,

Bill