Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Michael Orlitzky <mjo@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Review: news item and script for CPU_FLAGS_X86
Date: Fri, 23 Jan 2015 22:07:54
Message-Id: 20150123230739.360290ee@pomiot.lan
In Reply to: Re: [gentoo-dev] Re: Review: news item and script for CPU_FLAGS_X86 by Michael Orlitzky
1 Dnia 2015-01-23, o godz. 16:16:25
2 Michael Orlitzky <mjo@g.o> napisał(a):
3
4 > On 01/23/2015 03:22 PM, Michał Górny wrote:
5 > > Dnia 2015-01-23, o godz. 14:26:48
6 > > Michael Orlitzky <mjo@g.o> napisał(a):
7 > >
8 > >> On 01/23/2015 02:13 PM, Michał Górny wrote:
9 > >>> To help you enable the correct USE flags, we are providing a Python
10 > >>> script which generates the correct value from your /proc/cpuinfo [1].
11 > >>> The Python script can be downloaded and executed using the following
12 > >>> command:
13 > >>>
14 > >>> $ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python
15 > >>
16 > >> Can we not encourage people to pipe stuff from a plain-http website into
17 > >> an interpreter?
18 > >
19 > > Find a better solution.
20 > >
21 >
22 > Is there an easy way for users to verify our signatures against the keys
23 > in LDAP?
24
25 No. At least not that I'm aware of. Maybe gentoo-keys has something.
26
27 > Even `wget --no-check-certificate` would be a big improvement.
28
29 ...because?
30
31 > Or since
32 > Firefox seems happy with the dev.gentoo.org certificate, we could just
33 > ask them to download it with their browsers.
34
35 The link to the project page is below. If someone wants to download by
36 hand, he can clone the repo as well.
37
38 > >> Now they get to download it again. Perhaps a bigger problem:
39 > >>
40 > >> $ echo $PORTDIR
41 > >> /var/cache/portage/repositories/gentoo
42 > >> $ python cpuinfo2cpuflags-x86.py
43 > >> Unable to determine PORTDIR, please set it before calling this script
44 > >
45 > > Did you export PORTDIR?
46 > >
47 >
48 > No, but the error says to set it, not export it =)
49
50 Thanks, mr troll. REALLY HELPFUL.
51
52 --
53 Best regards,
54 Michał Górny

Replies