Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492392 - warn if SRC_URI points to a file, but RESTRICT="fetch" is not set
Summary: warn if SRC_URI points to a file, but RESTRICT="fetch" is not set
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-23 21:44 UTC by Julian Ospald
Modified: 2022-10-22 17:20 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 Julian Ospald 2013-11-23 21:44:53 UTC
I really cannot think of a usecase where someone would do:

SRC_URI="foo-bar-gaybar-baz.tar.gz"

but not set RESTRICT="fetch"

if there is none... we should emit a warning
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-10-22 17:20:44 UTC
pkgcheck already reports it (missing uri + missing restrict fetch) using
https://pkgcore.github.io/pkgcheck/man/pkgcheck.html#missinguri