Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 02 Oct 2019 18:21:43
Message-Id: 1570040409.1c763dc038d371b30099f8bf2067756a5ce8e537.williamh@gentoo
1 commit: 1c763dc038d371b30099f8bf2067756a5ce8e537
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 2 18:20:09 2019 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 2 18:20:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c763dc0
7
8 go-module.eclass: only show warning for new packages
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 eclass/go-module.eclass | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
16 index e6152966911..9c11959fdf8 100644
17 --- a/eclass/go-module.eclass
18 +++ b/eclass/go-module.eclass
19 @@ -165,6 +165,7 @@ go-module_live_vendor() {
20 # Display a warning about security updates for Go programs.
21 go-module_pkg_postinst() {
22 debug-print-function ${FUNCNAME} "$@"
23 + [[ -n ${REPLACING_VERSIONS} ]] && return 0
24 ewarn "${PN} is written in the Go programming language."
25 ewarn "Since this language is statically linked, security"
26 ewarn "updates will be handled in individual packages and will be"