Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 22:43:08 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Lars Eighner <portsuser@larseighner.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: portdowngrade and meta ports
Message-ID:  <CADLo83_qqGmqkQR54DKa=RemB01zGniREowMzTH7t7c2yzTO6w@mail.gmail.com>
In-Reply-To: <CADLo838ER8kAS276HTyEBFsW=UmjbcBKMrAjfzyJ%2B=JZt-F%2BtA@mail.gmail.com>
References:  <alpine.BSF.2.00.1205241335190.22032@abbf.ynefrvtuareubzr.pbz> <CADLo838ER8kAS276HTyEBFsW=UmjbcBKMrAjfzyJ%2B=JZt-F%2BtA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24 May 2012 21:15, Chris Rees <crees@freebsd.org> wrote:
> On 24 May 2012 19:43, Lars Eighner <portsuser@larseighner.com> wrote:
>>
>> I *must* revert xorg to a point at which changing ttys works.
>>
>> portdowngrade does not seem to work with metaports -- apparently it does=
 not
>> revert the dependencies - which is what a metaport is all about. So when=
 the
>> metaport is built, it may put it's own (old) version number on the port,=
 but
>> actually has not changed anything.
>>
>> Any suggestion on how to get xorg back and how far back it was that
>> switching ttys worked.
>
> Easiest way is to just checkout an old ports tree. =A0This will get you
> one two hours before xorg-new was committed.
>
> Delete all your xorg- related ports:
>
> # pkg_delete -x xorg xf86-
>
> (and any other patterns I've forgotten)
>
> =A0# <<EOF cat > supfile
>
> *default host=3Dftp.FreeBSD.org
> *default prefix=3D/tmp/beforenewxorg
> *default base=3D/tmp/beforenewxorg
> *default release=3Dcvs delete use-rel-suffix
>
> ports-all date=3D2012.04.21.15.00.00
> EOF
>
> # csup supfile
> # mv /etc/make.conf /etc/make.conf.bak && echo
> "PORTSDIR=3D/tmp/beforenewxorg/ports"

For the archive-- just thought-- even though I did a typo there, DON'T use:

mv file file.bak && echo something > file

at least with csh, file will be clobbered before mv gets to it....

Instead,

mv file file.bak

echo something > file

Sorry for giving bad advice!

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_qqGmqkQR54DKa=RemB01zGniREowMzTH7t7c2yzTO6w>