1 |
Add the manifest-required-hashes setting that specifies which hashes |
2 |
need to be present in the Manifest files for Portage to consider old |
3 |
distfile checksums acceptable (and not refetch the files to rehash |
4 |
them). It is complementary to manifest-hashes that specifies which |
5 |
hashes are used in new/updated entries. |
6 |
|
7 |
Formerly, this setting was hardcoded in Portage. However, the new |
8 |
Portage release will no longer do that and instead expect layout.conf |
9 |
to supply the setting. |
10 |
--- |
11 |
metadata/layout.conf | 6 ++++++ |
12 |
1 file changed, 6 insertions(+) |
13 |
|
14 |
diff --git a/metadata/layout.conf b/metadata/layout.conf |
15 |
index a46d1b7b9411..cb517f356887 100644 |
16 |
--- a/metadata/layout.conf |
17 |
+++ b/metadata/layout.conf |
18 |
@@ -4,11 +4,17 @@ |
19 |
# For details on this file, see the layout.conf section of the |
20 |
# portage(5) man page. |
21 |
|
22 |
+# The following hashes are used for new/updated Manifest entries. |
23 |
# This went live Wednesday, July 4, 2012 at 10:00 UTC |
24 |
# https://archives.gentoo.org/gentoo-dev-announce/message/a15cbea85dd089c99302f949b4072c20 |
25 |
# https://www.gentoo.org/glep/glep-0059.html |
26 |
manifest-hashes = SHA256 SHA512 WHIRLPOOL |
27 |
|
28 |
+# The following hashes are required on all Manifest entries. If any |
29 |
+# of them are missing, repoman will refetch and rehash old distfiles. |
30 |
+# Otherwise, old distfiles will keep using their current hash set. |
31 |
+manifest-required-hashes = SHA512 |
32 |
+ |
33 |
# 2013-04-09 gentoo's council says to deprecate EAPIs 1 and 2 (bug #470670). |
34 |
# 2014-02-25 council meeting deprecated EAPIs 0 and 3. |
35 |
# 2015-10-11 council meeting deprecated EAPI 4. |
36 |
-- |
37 |
2.15.0 |