Varsuuk wrote:I haven't updated my laptop in ages.
Last night I ran emerge --sync
then
emerge portage
which failed due to not having my profile set.
I used to point to default-linux/x86/2005.0
Is there any way I can find out the old values I had set there that I might need? In particular - I suspect I very MUCH need the old
USE = "......." line if my updates are going to work correctly?
First, when you sync ALL things under ${PORTDIR} can be overwritten, erased, toasted, killed, etc. etc... That is not a good place to put custom settings at all. That is one of the reasons why some of us think that portage should reside in /var, but that is another story.
The 2005 profiles have been deprecated (we are now in 2007), so, you would do better migrating to something like 2006.1 or so. You don't need the old make.defaults, since each new profile do have a proper set. You can put custom settings in /etc/make.conf. There is where all your custom cflags, use flags, portage variables and such should reside. That file will not be overwritten. About your old use flags... sorry, but if they where in a make.defaults into /usr/portage, it has been probably erased. A way to try to rebuild your old set of use flags is to emerge -puDvN world and see what is changing with your use flags, then add the correct ones manyally into make.conf.
I have the old RCS dispatch-conf thing setup - is there any chance that dir/file is recoverable - I am guessing not since it appears to have gone during emerge --sync not emerging a product...

I just use the stardard etc-update, so I cant tell for sure, but I really don't think that dispatch-conf does any backup at all of the stuff into /etc/portage... That is supposed to be volatile stuff, so there is no need to do such backups.
Bear in mind that between major releases use flags gets removed or added, there is nothing wrong with that. If you don't know what a specific use flag does, you are better leaving it alone. You can always change it at a later stage and recompile the needed package(s).
EDIT, oh, almost forgot, you first need to creaty the profile symlink. Do it manually, since on an old install you might not have "eselect profile". Just rm /etc/make.profile and then ln -s /usr/portage/profiles/default-linux/amd64/2006.1/desktop/ /etc/make.profile. That is for amd64, you might need any other.