[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shells/bash (was: Re: CVS: cvs.openbsd.org: ports)
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: shells/bash (was: Re: CVS: cvs.openbsd.org: ports)
- From: naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de (Christian Weisgerber)
- Date: Mon, 12 Dec 2005 23:09:59 +0000 (UTC)
- Newsgroups: list.openbsd.ports
Christian Weisgerber <naddy_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org> wrote:
> Modified files:
> shells/bash : Makefile distinfo
> shells/bash/patches: patch-configure
>
> Log message:
...
> Remove static FLAVOR.
Maybe I should explain myself.
What do you need a statically linked bash for? Seriously?
For single user mode, init(8) explicitly asks you what shell to
run. So even if you have /usr/local/bin/bash as root's shell and
/usr is unavailable, you can extract yourself from that.
If you want to copy a static bash to, say, /bin/bash, that's outside
the scope of the ports system. We don't need to support this.
As people have pointed out in the past, the dependencies for
bash-static were dubious. Instead of the LIB_DEPENDS on gettext
that MODULES will produce on dynamic archs, it should have
BUILD/RUN_DEPENDS. Oh, and properly the static FLAVOR shouldn't
even exist on static archs. Sure, I could add .if's for all that,
but why bother?
Look at FreeBSD's ports/shells/bash/Makefile for an example how to
make a straightforward port disproportionally complicated by
introducing all sorts of marginal knobs.
--
Christian "naddy" Weisgerber naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Visit your host, monkey.org