Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Cc: William Hubbs <williamh@g.o>
Subject: [gentoo-dev] [PATCH 1/1] go-module.eclass: only show warning for new packages
Date: Tue, 01 Oct 2019 21:08:40
Message-Id: 20191001210749.31266-2-williamh@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/1] go-module.eclass: only show wwarning for new packages by William Hubbs
1 ---
2 eclass/go-module.eclass | 1 +
3 1 file changed, 1 insertion(+)
4
5 diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
6 index e6152966911..f1f1d743f43 100644
7 --- a/eclass/go-module.eclass
8 +++ b/eclass/go-module.eclass
9 @@ -165,6 +165,7 @@ go-module_live_vendor() {
10 # Display a warning about security updates for Go programs.
11 go-module_pkg_postinst() {
12 debug-print-function ${FUNCNAME} "$@"
13 + [[ -n ${REPLACING_VERSIONS} ]] || return 0
14 ewarn "${PN} is written in the Go programming language."
15 ewarn "Since this language is statically linked, security"
16 ewarn "updates will be handled in individual packages and will be"
17 --
18 2.21.0

Replies