Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o, base-system@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 17 Apr 2016 22:50:26
Message-Id: 57141324.8090307@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/ by "Anthony G. Basile"
1 On 4/17/16 4:28 AM, Anthony G. Basile wrote:
2 > On 4/17/16 4:15 AM, Fabian Groffen wrote:
3 >> On 16-04-2016 21:05:56 +0200, Michał Górny wrote:
4 >>> Congratulations! You've just committed an invalid dependency that is
5 >>> going to cause true mayhem on every package using the eclass.
6 >>
7 >> I assume you've taken proper actions to mitigate this.
8 >>
9 >>> But why would anyone send patches for review, or even start wondering
10 >>> that we might be using USE=libressl all around for some reason...
11 >>
12 >> While I believe your point is right (patches for review), I think this
13 >> style of communication is unnecessary.
14 >
15 > In case you haven't been following the other communications regarding
16 > the matter, the USE flag is not necessary here because ssl-cert.eclass
17 > does not involve any linking against openssl/libressl. So I'll be
18 > recommitting the original patch without the slot operator.
19 >
20 > The original patch is at
21 >
22 > https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/ssl-cert.eclass?id=7a4d6bd5fcb25d8381bc08e20ad6a5c1c80ad78f
23 >
24 > plus s/:0=/:0/
25 >
26 >>
27 >> Thanks,
28 >> Fabian
29 >>
30 >
31 >
32
33 mgorny suggested that i look for any EAPI=0 ebuild inheriting
34 ssl-cert.eclass. I hacked up the following:
35
36 import portage
37
38 portdb = portage.db["/"]["porttree"].dbapi
39 gentoo_repo_location = portdb.repositories["gentoo"].location
40
41 for cp in portdb.cp_all(trees=[gentoo_repo_location]):
42 for cpv in portdb.cp_list(cp, mytree=gentoo_repo_location):
43 eapi, inherited = portdb.aux_get(cpv, ["EAPI", "INHERITED"],
44 myrepo="gentoo")
45 if eapi == '0' and 'ssl-cert' in inherited.split():
46 print(cpv)
47
48 and found net-ftp/netkit-ftpd-0.17-r8. Its pretty ancient and belongs
49 to base system.
50
51 Does base-system object if I bump it to EAPI=5 before I commit the
52 ssl-cert patch? I'll start stabilization too obviously.
53
54 --
55 Anthony G. Basile, Ph.D.
56 Gentoo Linux Developer [Hardened]
57 E-Mail : blueness@g.o
58 GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
59 GnuPG ID : F52D4BBA

Replies