1 |
commit: 93ef6af81fcc7e1b25dade61de00267a6efe6d63 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 1 16:12:22 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 1 16:40:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ef6af8 |
7 |
|
8 |
go-module.eclass: drop the go-module_pkg_postinst function |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
eclass/go-module.eclass | 17 +---------------- |
13 |
1 file changed, 1 insertion(+), 16 deletions(-) |
14 |
|
15 |
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass |
16 |
index d51b8279f97..d1e81babf1f 100644 |
17 |
--- a/eclass/go-module.eclass |
18 |
+++ b/eclass/go-module.eclass |
19 |
@@ -83,7 +83,7 @@ QA_FLAGS_IGNORED='.*' |
20 |
# Go packages should not be stripped with strip(1). |
21 |
RESTRICT+=" strip" |
22 |
|
23 |
-EXPORT_FUNCTIONS src_unpack pkg_postinst |
24 |
+EXPORT_FUNCTIONS src_unpack |
25 |
|
26 |
# @ECLASS-VARIABLE: EGO_SUM |
27 |
# @DESCRIPTION: |
28 |
@@ -415,21 +415,6 @@ go-module_live_vendor() { |
29 |
popd >& /dev/null || die |
30 |
} |
31 |
|
32 |
-# @FUNCTION: go-module_pkg_postinst |
33 |
-# @DESCRIPTION: |
34 |
-# Display a warning about security updates for Go programs. |
35 |
-go-module_pkg_postinst() { |
36 |
- debug-print-function "${FUNCNAME}" "$@" |
37 |
- [[ -n ${REPLACING_VERSIONS} ]] && return 0 |
38 |
- ewarn "${PN} is written in the Go programming language." |
39 |
- ewarn "Since this language is statically linked, security" |
40 |
- ewarn "updates will be handled in individual packages and will be" |
41 |
- ewarn "difficult for us to track as a distribution." |
42 |
- ewarn "For this reason, please update any go packages asap when new" |
43 |
- ewarn "versions enter the tree or go stable if you are running the" |
44 |
- ewarn "stable tree." |
45 |
-} |
46 |
- |
47 |
# @FUNCTION: _go-module_gomod_encode |
48 |
# @DESCRIPTION: |
49 |
# Encode the name(path) of a Golang module in the format expected by Goproxy. |