From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 15:02:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D08F7AE5 for ; Tue, 30 Sep 2014 15:02:55 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 76C7994A for ; Tue, 30 Sep 2014 15:02:55 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s8UF2ivB009914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 30 Sep 2014 16:02:46 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s8UF2ivB009914 Authentication-Results: smtp.infracaninophile.co.uk/s8UF2ivB009914; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <542AC600.1090600@freebsd.org> Date: Tue, 30 Sep 2014 16:02:24 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Bash Shellshock Bug References: <20140930110034.a637ab6d.freebsd@edvax.de> <20140930152801.cd7a2a5e.freebsd@edvax.de> In-Reply-To: <20140930152801.cd7a2a5e.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nAuWlbGLFb4pBJXkoijSbU2LkeA50oVgV" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 15:02:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nAuWlbGLFb4pBJXkoijSbU2LkeA50oVgV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/30/14 14:28, Polytropon wrote: > Again note: Make a backup (!) of your current /usr/ports > tree before you start! Updating the ports tree is possible, > but probably you don't even have portsnap on FreeBSD 6 yet. > I'm not sure when it has been introduced, but I assume it > was somewhere betweeen FreeBSD 7 and 8... >=20 > This is how you would do it: >=20 > # portsnap fetch update > # cd /usr/ports/shells/bash > # make deinstall > # make > # make reinstall >=20 > If you have any other means to update your ports tree (CVS > was the standard at FreeBSD 6, I don't know if this is still > supported, as FreeBSD now uses Subversion), you could also > try the equivalent with binary packages: >=20 > # portsnap fetch update > # portupgrade -P bash Neither of these approaches will work with the current ports tree on anything older than FreeBSD 8.2-RELEASE. You'll get syntax errors while trying to parse the Makefiles used in the ports certainly because of a change in the way you tell make to map strings to upper or lower case (eg. ${VAR:L} changed to ${VAR:tl}) and quite possibly for other reasons.= Nor will the current ports tree work with anything other than pkg(8). We haven't tried compiling pkg(8) on anything that old -- it might work, but I sincerely doubt it. Cheers, Matthew --nAuWlbGLFb4pBJXkoijSbU2LkeA50oVgV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUKsYTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnQDYQAIcuRxXDpfhDTKRFofUd8Ygf zuoK9ZDVGdhX8wUREVnCTN02YNWBWaALtBQYivd5/4toS8vVk/Wn11nMVmSe35xB HheB9zuEpU7/Jm4j1UtBysQzY1JYM5xPpULB0FYevDUjbifVdMLUuu22bFVoUXvn ShV8rmvC/A3EifBx1pTdr4XLPuxX966blYiRXFT35i3cWNQWSta87cLhb4Gq68TQ aeXh9AcRO5ACuAMM0W/WIELNU04f6IP1ZXNHfBOMBkKVzcHpXcvMBSplEqwTGO3A pLItpmFNHtZApz5jtSMMgBdEDK3ExC1+n54FVOB7koK0mt8CHWkvo42w3uWjCwGl as293iUDRIf3D8uR8Y1RaiMdUI5Dnji3Fcpr2KwOzGEF5alIGAHY+9zNGyxjLVkx PgSSc9B32IeqlcW46nUr3WGejFgHjbem80hVjoiz4IaAQTnIA66hdt4mC7Cy8HQn auMS1m2LTUIfkBvCsYgLJ73QTwdffYTwBcEfdObZOXDVeBOJ7GSPOJzP2qCjIvCs X0M7dAGmTDBMrzewnbJsMHVRboQjsKPp4umnt9coysPmo70tW8nc0QjAaNGRCDIW n0iz6Ctc5o6OLosyjfJPrTb7n216LqYAiyEJivR9FzhFaJcJX0W5POUBfkN2xOoS 09IHZXenECy3DLAqV0/w =cy7E -----END PGP SIGNATURE----- --nAuWlbGLFb4pBJXkoijSbU2LkeA50oVgV--