diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-12-22 19:23:57 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-06-05 10:55:35 +0200 |
commit | 2efc05522c75de6dd8e28425515b0501f8559da7 (patch) | |
tree | 6ca35ee3c604ba748495a5fe3dbb7fefb1a9816d /ebuild-vars.tex | |
parent | Ban nameref variables from exported and default scope (diff) | |
download | pms-2efc05522c75de6dd8e28425515b0501f8559da7.tar.gz pms-2efc05522c75de6dd8e28425515b0501f8559da7.tar.bz2 pms-2efc05522c75de6dd8e28425515b0501f8559da7.zip |
EAPI 8 has selective URI restrictions
Bug: https://bugs.gentoo.org/371413
Signed-off-by: Michał Górny <mgorny@gentoo.org>
[Shortened "selective-uri-restrict" label to make it fit in the margin]
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-vars.tex')
-rw-r--r-- | ebuild-vars.tex | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ebuild-vars.tex b/ebuild-vars.tex index 040b02a..f6b1c26 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -169,16 +169,24 @@ on the right of the arrow. When consulting mirrors (except for those explicitly of the arrow, if \t{mirror://} is used), the filename to the right of the arrow shall be requested instead of the filename in the URI. +\featurelabel{uri-restrict} In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting +selective URI restrictions, the URI protocol can be prefixed by an additional \t{fetch+} or +\t{mirror+} term. If the ebuild is fetch restricted, the \t{fetch+} prefix undoes the fetch +restriction for the URI (but not the implied mirror restriction). If the ebuild is fetch or mirror +restricted, the \t{mirror+} prefix undoes both fetch and mirror restrictions for the URI. + \ChangeWhenAddingAnEAPI{8} -\begin{centertable}{EAPIs supporting \t{SRC_URI} arrows} +\begin{centertable}{EAPIs supporting \t{SRC_URI} arrows and selective URI restrictions} \label{tab:uri-arrows-table} - \begin{tabular}{ll} + \begin{tabular}{lll} \toprule \multicolumn{1}{c}{\textbf{EAPI}} & - \multicolumn{1}{c}{\textbf{Supports \t{SRC_URI} arrows?}} \\ + \multicolumn{1}{c}{\textbf{Supports \t{SRC_URI} arrows?}} & + \multicolumn{1}{c}{\textbf{Supports selective URI restrictions?}} \\ \midrule - 0, 1 & No \\ - 2, 3, 4, 5, 6, 7, 8 & Yes \\ + 0, 1 & No & No \\ + 2, 3, 4, 5, 6, 7 & Yes & No \\ + 8 & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable} |