From owner-freebsd-ports@FreeBSD.ORG Fri Sep 12 22:22:46 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8196346D; Fri, 12 Sep 2014 22:22:46 +0000 (UTC) Received: from orthanc.ca (orthanc.ca [IPv6:2607:f2f8:abf8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "orthanc.ca", Issuer "orthanc.ca CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4621423E; Fri, 12 Sep 2014 22:22:46 +0000 (UTC) Received: from [192.168.42.6] (d66-183-211-183.bchsia.telus.net [66.183.211.183]) (authenticated bits=0) by orthanc.ca (8.14.7/8.14.7) with ESMTP id s8CMMgew096499 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 12 Sep 2014 15:22:44 -0700 (PDT) (envelope-from lyndon@orthanc.ca) Content-Type: multipart/signed; boundary="Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? From: Lyndon Nerenberg In-Reply-To: <20140912214004.GT6096@ivaldir.etoilebsd.net> Date: Fri, 12 Sep 2014 15:22:15 -0700 Message-Id: References: <20140912214004.GT6096@ivaldir.etoilebsd.net> To: Baptiste Daroussin X-Mailer: Apple Mail (2.1878.6) X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on orthanc.ca Cc: freebsd-current Current , ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 22:22:46 -0000 --Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 12, 2014, at 2:40 PM, Baptiste Daroussin = wrote: > If you want interoperability just use /usr/bin/env bash as a shebang. = Btw you > cannot get interoprability with OS-X in there because the bash they do = provide > is the last GPL-2 recent bash have many incompatiblities with this old = version. The concern is not with shell scripts, it's with the contents of the = pw_shell field in 'struct passwd'. I run into this all the time, too, but with ksh. In my case I just cp a = static-linked version of whatever ksh variant I happened to build into = /bin/ksh and call it a day. It's not like the shell source code is = changing every other week, even for bash. --lyndon --Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJUE3IXAAoJEG8PnXiV/JnUZNMP/i/GYWZ7FBE1VxkQFeglQXKB Zws/F7N4o/6Y3p+z0Xrj5TjYy6V0p8b4Vr2VGTIO7lhq5gwYXSddKcUZuLe6rPU3 vNkRmzN9w5qYhpHQs99MbhX2P1AkSB60pvN2RZT5huoBk3B1a4/WJBFf7+oB6KIR HmrpUcmEW1NS3x6dOQjPt68IRtbQSg/n6LLu3x+Fxh2ah3XmFFhqn/0TrR6GAiHL Od5X+k9wlo8zGw2r0NXT/64NrjzAoikjHooEoi2wxH0+1b8nQ2vu+Db0TWeersOp TYTkcu3u0um+Fv4+33qyFN7QIu3U4TMsC98zcXd8nQt/d0eKc/fb+MTQhQAJYsbA /ujDzF9EtsXb0i6w8L9Ns0MfgPc4O+u281yOCIwKUXd4vTwncsoSaFXcS5CCAyBz NuPCamHtS6LubtTFivbHMsR79ajnEQdHBP+dwDuO5tzDeEVYU+c+6sCUz4LMaqyx cSf++x4ZnfbAtPL9MmUgN2Y05+wxflYMbqlSsJhzfdaH7g8H4au2Vw+gqR4Gof0k ONRfJNt/ZbdzriJlTn6+6ajLmnj/SWj5wkhH679KXSf/TS5x0DjopBDVH5jBjOlp SS29fD2EutOojQWttUMv8hQfw76P9sh/FqdrPr46yM7vtcvEPMaUceMyXKkIqU1D 7u77zXxlRgiYzS6h7R0K =yPAg -----END PGP SIGNATURE----- --Apple-Mail=_AAB70746-F659-4E2E-962D-1C413044639C--