On 01/23/2015 03:22 PM, Michał Górny wrote: > Dnia 2015-01-23, o godz. 14:26:48 > Michael Orlitzky <m...@gentoo.org> napisał(a): > >> On 01/23/2015 02:13 PM, Michał Górny wrote: >>> To help you enable the correct USE flags, we are providing a Python >>> script which generates the correct value from your /proc/cpuinfo [1]. >>> The Python script can be downloaded and executed using the following >>> command: >>> >>> $ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python >> >> Can we not encourage people to pipe stuff from a plain-http website into >> an interpreter? > > Find a better solution. >
Is there an easy way for users to verify our signatures against the keys in LDAP? Even `wget --no-check-certificate` would be a big improvement. Or since Firefox seems happy with the dev.gentoo.org certificate, we could just ask them to download it with their browsers. Longer term: can we make wget like our SSL certificate? >> But that's not the biggest problem with the wget thing: the first time >> someone runs this it's going to fail. >> >> $ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python >> ... >> Unable to determine PORTDIR, please set it before calling this script > > Don't you have Portage installed? I do. $ emerge --info | grep PORTDIR PORTDIR="/var/cache/portage/repositories/gentoo" >> Now they get to download it again. Perhaps a bigger problem: >> >> $ echo $PORTDIR >> /var/cache/portage/repositories/gentoo >> $ python cpuinfo2cpuflags-x86.py >> Unable to determine PORTDIR, please set it before calling this script > > Did you export PORTDIR? > No, but the error says to set it, not export it =)