1 |
commit: b37dece3267ea2c18016c66180b57dc7573e384a |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 2 20:57:17 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 2 21:03:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37dece3 |
7 |
|
8 |
dev-lang/rust-bin: add QA_EXECSTACK for rmeta sections |
9 |
|
10 |
Bug: https://bugs.gentoo.org/806466 |
11 |
Closes: https://bugs.gentoo.org/806468 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
dev-lang/rust-bin/rust-bin-1.52.1.ebuild | 5 +++++ |
15 |
dev-lang/rust-bin/rust-bin-1.53.0.ebuild | 5 +++++ |
16 |
dev-lang/rust-bin/rust-bin-1.54.0.ebuild | 5 +++++ |
17 |
dev-lang/rust-bin/rust-bin-1.55.0.ebuild | 5 +++++ |
18 |
dev-lang/rust-bin/rust-bin-1.56.0.ebuild | 5 +++++ |
19 |
dev-lang/rust-bin/rust-bin-1.56.1.ebuild | 5 +++++ |
20 |
6 files changed, 30 insertions(+) |
21 |
|
22 |
diff --git a/dev-lang/rust-bin/rust-bin-1.52.1.ebuild b/dev-lang/rust-bin/rust-bin-1.52.1.ebuild |
23 |
index 8ae41adca72..74e467bd616 100644 |
24 |
--- a/dev-lang/rust-bin/rust-bin-1.52.1.ebuild |
25 |
+++ b/dev-lang/rust-bin/rust-bin-1.52.1.ebuild |
26 |
@@ -33,6 +33,11 @@ QA_PREBUILT=" |
27 |
opt/${P}/lib/rustlib/.*/lib/.* |
28 |
" |
29 |
|
30 |
+# An rmeta file is custom binary format that contains the metadata for the crate. |
31 |
+# rmeta files do not support linking, since they do not contain compiled object files. |
32 |
+# so we can safely silence the warning for this QA check. |
33 |
+QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" |
34 |
+ |
35 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
36 |
|
37 |
pkg_pretend() { |
38 |
|
39 |
diff --git a/dev-lang/rust-bin/rust-bin-1.53.0.ebuild b/dev-lang/rust-bin/rust-bin-1.53.0.ebuild |
40 |
index 8ae41adca72..74e467bd616 100644 |
41 |
--- a/dev-lang/rust-bin/rust-bin-1.53.0.ebuild |
42 |
+++ b/dev-lang/rust-bin/rust-bin-1.53.0.ebuild |
43 |
@@ -33,6 +33,11 @@ QA_PREBUILT=" |
44 |
opt/${P}/lib/rustlib/.*/lib/.* |
45 |
" |
46 |
|
47 |
+# An rmeta file is custom binary format that contains the metadata for the crate. |
48 |
+# rmeta files do not support linking, since they do not contain compiled object files. |
49 |
+# so we can safely silence the warning for this QA check. |
50 |
+QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" |
51 |
+ |
52 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
53 |
|
54 |
pkg_pretend() { |
55 |
|
56 |
diff --git a/dev-lang/rust-bin/rust-bin-1.54.0.ebuild b/dev-lang/rust-bin/rust-bin-1.54.0.ebuild |
57 |
index 64f7fa3d954..2796cb0698b 100644 |
58 |
--- a/dev-lang/rust-bin/rust-bin-1.54.0.ebuild |
59 |
+++ b/dev-lang/rust-bin/rust-bin-1.54.0.ebuild |
60 |
@@ -33,6 +33,11 @@ QA_PREBUILT=" |
61 |
opt/${P}/lib/rustlib/.*/lib/.* |
62 |
" |
63 |
|
64 |
+# An rmeta file is custom binary format that contains the metadata for the crate. |
65 |
+# rmeta files do not support linking, since they do not contain compiled object files. |
66 |
+# so we can safely silence the warning for this QA check. |
67 |
+QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" |
68 |
+ |
69 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
70 |
|
71 |
pkg_pretend() { |
72 |
|
73 |
diff --git a/dev-lang/rust-bin/rust-bin-1.55.0.ebuild b/dev-lang/rust-bin/rust-bin-1.55.0.ebuild |
74 |
index 64f7fa3d954..2796cb0698b 100644 |
75 |
--- a/dev-lang/rust-bin/rust-bin-1.55.0.ebuild |
76 |
+++ b/dev-lang/rust-bin/rust-bin-1.55.0.ebuild |
77 |
@@ -33,6 +33,11 @@ QA_PREBUILT=" |
78 |
opt/${P}/lib/rustlib/.*/lib/.* |
79 |
" |
80 |
|
81 |
+# An rmeta file is custom binary format that contains the metadata for the crate. |
82 |
+# rmeta files do not support linking, since they do not contain compiled object files. |
83 |
+# so we can safely silence the warning for this QA check. |
84 |
+QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" |
85 |
+ |
86 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
87 |
|
88 |
pkg_pretend() { |
89 |
|
90 |
diff --git a/dev-lang/rust-bin/rust-bin-1.56.0.ebuild b/dev-lang/rust-bin/rust-bin-1.56.0.ebuild |
91 |
index 64f7fa3d954..2796cb0698b 100644 |
92 |
--- a/dev-lang/rust-bin/rust-bin-1.56.0.ebuild |
93 |
+++ b/dev-lang/rust-bin/rust-bin-1.56.0.ebuild |
94 |
@@ -33,6 +33,11 @@ QA_PREBUILT=" |
95 |
opt/${P}/lib/rustlib/.*/lib/.* |
96 |
" |
97 |
|
98 |
+# An rmeta file is custom binary format that contains the metadata for the crate. |
99 |
+# rmeta files do not support linking, since they do not contain compiled object files. |
100 |
+# so we can safely silence the warning for this QA check. |
101 |
+QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" |
102 |
+ |
103 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
104 |
|
105 |
pkg_pretend() { |
106 |
|
107 |
diff --git a/dev-lang/rust-bin/rust-bin-1.56.1.ebuild b/dev-lang/rust-bin/rust-bin-1.56.1.ebuild |
108 |
index 64f7fa3d954..2796cb0698b 100644 |
109 |
--- a/dev-lang/rust-bin/rust-bin-1.56.1.ebuild |
110 |
+++ b/dev-lang/rust-bin/rust-bin-1.56.1.ebuild |
111 |
@@ -33,6 +33,11 @@ QA_PREBUILT=" |
112 |
opt/${P}/lib/rustlib/.*/lib/.* |
113 |
" |
114 |
|
115 |
+# An rmeta file is custom binary format that contains the metadata for the crate. |
116 |
+# rmeta files do not support linking, since they do not contain compiled object files. |
117 |
+# so we can safely silence the warning for this QA check. |
118 |
+QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" |
119 |
+ |
120 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
121 |
|
122 |
pkg_pretend() { |