Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687022 - repoman should warn, if any item in LICENSE is in the EULA group and restictions are not set
Summary: repoman should warn, if any item in LICENSE is in the EULA group and resticti...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-30 17:14 UTC by Jonas Stein
Modified: 2022-07-12 03:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2019-05-30 17:14:02 UTC
This idea was inspired by ulm in
https://bugs.gentoo.org/687018#c2
"So the ebuild will need RESTRICT="mirror bindist". (Basically, every license in @EULA requires that, because we cannot ask mirror admins to accept anything.)"

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-05-30 19:02:02 UTC
It would be more complicated...

Conditionals should be preserved.
LICENSE="x a? ( !b? ( EULA_license ) )" would require RESTRICT="a? ( !b? ( bindist mirror ) )".

LICENSE="|| ( EULA_license GPL-3 )" should not require any RESTRICT.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:38 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:24:38 UTC
I believe pkgcheck does this right now (MissingLicenseRestricts).