Skip to content

Commit

Permalink
go-module.eclass: drop the go-module_pkg_postinst function
Browse files Browse the repository at this point in the history
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Sep 1, 2021
1 parent 8db8cf7 commit 93ef6af
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions eclass/go-module.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 93ef6af

Please sign in to comment.