Gentoo Archives: gentoo-dev

From: justin <jlec@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: intel-sdp.eclass check user license
Date: Tue, 27 Nov 2012 12:27:43
Message-Id: 50B4B18A.5020501@gentoo.org
1 Hi,
2
3 next patch for intel-sdp.eclass
4
5 Problem:
6 If the intel compiler are installed but no valid license is present,
7 several buildsystem including cmake generate sandbox violations.
8
9 Solution:
10 Do not let the user install the package without valid license. Its
11 useless anyway without.
12 Realized in two checks, first in pkg_pretend check for simple existence
13 of a license file; second check in pkg_postinst calls for version
14 informations from compiler (runtime test).
15 First test is deadly; Second not, because user already intervened
16 manually to bypass first check and we consider this as
17 he-knows-what-he-is-doing.
18
19 Thanks justin

Attachments

File name MIME type
license.patch text/x-patch
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC: intel-sdp.eclass check user license Mike Frysinger <vapier@g.o>