From owner-freebsd-current@FreeBSD.ORG Sat Sep 13 09:01:52 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD2A0C7F for ; Sat, 13 Sep 2014 09:01:52 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44FD3F94 for ; Sat, 13 Sep 2014 09:01:51 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.78.13]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LmbZb-1Y2suS2pW7-00aHYj for ; Sat, 13 Sep 2014 11:01:43 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 9734123CF97 for ; Sat, 13 Sep 2014 11:01:42 +0200 (CEST) Message-ID: <541407F6.3020300@gmx.de> Date: Sat, 13 Sep 2014 11:01:42 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? References: <541367D1.8090002@FreeBSD.org> In-Reply-To: <541367D1.8090002@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:T/Q8D8OS4h6zBilECChtS/iIbAYGuOmjNMkxDr6E67m3uXxWwU/ EI7qQzwqcPOXR/62et1ortVt8wJ5gAsHLZCe/MFMm2bTXG9QJ3YdTD4F7OIyreksR3JMti6 rTDsvSfJHRxPBJg2vzJDTvich2v1/IgOnBNx72E1PAMXFPIQ6PJCfLlBlZn8kUJFUK30Fed K3MyM//16/ilSaqpN9ttg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 09:01:52 -0000 Am 12.09.2014 um 23:38 schrieb Bryan Drewery: > The proper fix is to fix scripts to be portable and use #! /usr/bin/env > bash rather than /bin/bash. Proper portability means scripting for a POSIX sh, and /bin/sh can handle those scripts. In the majority of cases replacing == by = in test or [ commands suffices. > We install all packages to PREFIX=/usr/local by default. Why should a > bin symlink be an exception? There's no suggestion for symlinking > includes or libraries which also hit users often. We'd need something for fsck and thereabouts though... if /usr is on, for instance, an ext2 file system (which is part of the kernel after all), we need the tools early in the boot process, before /usr is there.