From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3EC1B138334 for ; Tue, 1 Oct 2019 21:08:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6FACE094F; Tue, 1 Oct 2019 21:08:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77945E0940 for ; Tue, 1 Oct 2019 21:08:23 +0000 (UTC) Received: from whubbs1.gaikai.biz (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 27C6E34B773; Tue, 1 Oct 2019 21:08:22 +0000 (UTC) Received: (nullmailer pid 31315 invoked by uid 1000); Tue, 01 Oct 2019 21:07:54 -0000 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: William Hubbs Subject: [gentoo-dev] [PATCH 1/1] go-module.eclass: only show warning for new packages Date: Tue, 1 Oct 2019 16:07:49 -0500 Message-Id: <20191001210749.31266-2-williamh@gentoo.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191001210749.31266-1-williamh@gentoo.org> References: <20191001210749.31266-1-williamh@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 8db9f50f-bdda-4df3-bb78-54aa7948d807 X-Archives-Hash: 9a680242595260c1e7a442cdac74966d --- eclass/go-module.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index e6152966911..f1f1d743f43 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -165,6 +165,7 @@ go-module_live_vendor() { # Display a warning about security updates for Go programs. go-module_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" + [[ -n ${REPLACING_VERSIONS} ]] || return 0 ewarn "${PN} is written in the Go programming language." ewarn "Since this language is statically linked, security" ewarn "updates will be handled in individual packages and will be" -- 2.21.0