diff options
author | William Hubbs <williamh@gentoo.org> | 2021-09-01 11:12:22 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-09-01 11:40:54 -0500 |
commit | 93ef6af81fcc7e1b25dade61de00267a6efe6d63 (patch) | |
tree | a05e22f838a461a2153fc22f4702593d4ff1dafe /eclass/go-module.eclass | |
parent | www-servers/caddy: drop calls to go-module_pkg_postinst (diff) | |
download | gentoo-93ef6af81fcc7e1b25dade61de00267a6efe6d63.tar.gz gentoo-93ef6af81fcc7e1b25dade61de00267a6efe6d63.tar.bz2 gentoo-93ef6af81fcc7e1b25dade61de00267a6efe6d63.zip |
go-module.eclass: drop the go-module_pkg_postinst function
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r-- | eclass/go-module.eclass | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index d51b8279f97c..d1e81babf1f8 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -83,7 +83,7 @@ QA_FLAGS_IGNORED='.*' # Go packages should not be stripped with strip(1). RESTRICT+=" strip" -EXPORT_FUNCTIONS src_unpack pkg_postinst +EXPORT_FUNCTIONS src_unpack # @ECLASS-VARIABLE: EGO_SUM # @DESCRIPTION: @@ -415,21 +415,6 @@ go-module_live_vendor() { popd >& /dev/null || die } -# @FUNCTION: go-module_pkg_postinst -# @DESCRIPTION: -# 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" - ewarn "difficult for us to track as a distribution." - ewarn "For this reason, please update any go packages asap when new" - ewarn "versions enter the tree or go stable if you are running the" - ewarn "stable tree." -} - # @FUNCTION: _go-module_gomod_encode # @DESCRIPTION: # Encode the name(path) of a Golang module in the format expected by Goproxy. |