• [gentoo-dev] [PATCH 9/9] go-module.eclass: drop the go-module_pkg_posti

    From William Hubbs@21:1/5 to All on Sun Aug 29 18:40:02 2021
    Signed-off-by: William Hubbs <williamh@gentoo.org>
    ---
    eclass/go-module.eclass | 17 +----------------
    1 file changed, 1 insertion(+), 16 deletions(-)

    diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
    index 053861a1a18..3f6e07fad2f 100644
    --- a/eclass/go-module.eclass
    +++ b/eclass/go-module.eclass
    @@ -85,7 +85,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:
    @@ -417,21 +417,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"
    -