Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 19:44:40 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bash Shellshock Bug
Message-ID:  <20140930194440.5f2cdb44.freebsd@edvax.de>
In-Reply-To: <542AC600.1090600@freebsd.org>
References:  <OFBBD12885.C6A08B7B-ON65257D63.002E6EFF-CA257D63.002F0BCD@in.ibm.com> <20140930110034.a637ab6d.freebsd@edvax.de> <OFC03B0588.4C96789C-ON65257D63.00324F6D-CA257D63.0032A7E5@in.ibm.com> <20140930152801.cd7a2a5e.freebsd@edvax.de> <542AC600.1090600@freebsd.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 30 Sep 2014 16:02:24 +0100, Matthew Seaman wrote:
> 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...
> > 
> > This is how you would do it:
> > 
> > 	# portsnap fetch update
> > 	# cd /usr/ports/shells/bash
> > 	# make deinstall
> > 	# make
> > 	# make reinstall
> > 
> > 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:
> > 
> > 	# 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.

That was my initial fear - the ports infrastructure has
changed in a way that it probably won't work on older
versions. Thanks for confirming this fear. So working
with the ports tree is out of scope, and probably there
won't be most recent binary packages (for use with pkg_add)
available...

So it seems that building from source "off the track"
might be the only solution here.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20140930194440.5f2cdb44.freebsd>