• [gentoo-dev] [PATCH 0/9] drop the go-module_pkg_postinst function

    From William Hubbs@21:1/5 to All on Sun Aug 29 18:40:01 2021
    It seems to me that we don't need this function any longer since the go
    ebuild displays a message when it is upgraded or downgraded explaining
    how to rebuild go packages, so I would like to remove it.

    This patch series contains all of the changes I could find that need to
    happen to allow the removal.

    William Hubbs (9):
    app-admin/vault: drop calls to go-module_pkg_postinst
    app-metrics/blackbox_exporter: drop calls to go-module_pkg_postinst
    app-misc/pet: drop calls to go-module_pkg_postinst
    net-dns/coredns: drop calls to go-module_pkg_postinst
    net-dns/dnscrypt-proxy: drop calls to go-module_pkg_postinst
    net-vpn/riseup-vpn: drop calls to go-module_pkg_postinst
    www-apps/gitea: drop calls to go-module_pkg_postinst
    www-servers/caddy: drop calls to go-module_pkg_postinst
    go-module.eclass: drop the go-module_pkg_postinst function

    app-admin/vault/vault-1.5.9.ebuild | 5 -----
    app-admin/vault/vault-1.6.5.ebuild | 5 -----
    app-admin/vault/vault-1.7.3.ebuild | 5 -----
    app-admin/vault/vault-1.8.1.ebuild | 5 -----
    .../blackbox_exporter-0.19.0.ebuild | 5 -----
    app-misc/pet/pet-0.3.6-r1.ebuild | 4 +---
    eclass/go-module.eclass | 17 +----------------
    net-dns/coredns/coredns-1.8.3.ebuild | 1 -
    .../dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 1 -
    .../dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 1 -
    .../dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 1 -
    net-vpn/riseup-vpn/riseup-vpn-0.21.6.ebuild | 1 -
    www-apps/gitea/gitea-1.14.6.ebuild | 1 -
    www-apps/gitea/gitea-9999.ebuild | 1 -
    www-servers/caddy/caddy-2.3.0-r1.ebuild | 1 -
    www-servers/caddy/caddy-2.4.2.ebuild | 1 -
    16 files changed, 2 insertions(+), 53 deletions(-)

    --
    2.31.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Hubbs@21:1/5 to All on Sun Aug 29 18:40:02 2021
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: William Hubbs <williamh@gentoo.org>
    ---
    .../blackbox_exporter/blackbox_exporter-0.19.0.ebuild | 5 -----
    1 file changed, 5 deletions(-)

    diff --git a/app-metrics/blackbox_exporter/blackbox_exporter-0.19.0.ebuild b/app-metrics/blackbox_exporter/blackbox_exporter-0.19.0.ebuild
    index fd11adf7117..6a621d733a1 100644
    --- a/app-metrics/blackbox_exporter/blackbox_exporter-0.19.0.ebuild
    +++ b/app-metrics/blackbox_exporter/blackbox_exporter-0.19.0.ebuild
    @@ -506,8 +506,3 @@ src_install() {
    insinto /etc/logrotate.d
    newins "${FILESDIR}/${PN}.logrotated" "${PN}"
    }
    -
    -pkg_postinst() {
    - fcaps_pkg_postinst
    - go-module_pkg_postinst
    -}
    --
    2.31.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Hubbs@21:1/5 to All on Sun Aug 29 18:40:02 2021
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: William Hubbs <williamh@gentoo.org>
    ---
    app-misc/pet/pet-0.3.6-r1.ebuild | 4 +---
    1 file changed, 1 insertion(+), 3 deletions(-)

    diff --git a/app-misc/pet/pet-0.3.6-r1.ebuild b/app-misc/pet/pet-0.3.6-r1.ebuild
    index 09f5ee655f7..4beff9649cc 100644
    --- a/app-misc/pet/pet-0.3.6-r1.ebuild
    +++ b/app-misc/pet/pet-0.3.6-r1.ebuild
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2020 Gentoo Authors
    +# Copyright 1999-2021 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    EAPI=7
    @@ -78,8 +78,6 @@ src_install() {
    }

    pkg_postinst() {
    - go-module_pkg_postinst
    -
    if ! has_version app-shells/peco && ! has_version app-shells/fzf ; then
    einfo "You should consider to install app-shells/peco or"
    einfo "app-shells/fzf to be able to use selector command"
    --
    2.31.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Hubbs@21:1/5 to All on Sun Aug 29 18:40:02 2021
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: William Hubbs <williamh@gentoo.org>
    ---
    net-dns/coredns/coredns-1.8.3.ebuild | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/net-dns/coredns/coredns-1.8.3.ebuild b/net-dns/coredns/coredns-1.8.3.ebuild
    index 14b4e4767af..184cef43304 100644
    --- a/net-dns/coredns/coredns-1.8.3.ebuild
    +++ b/net-dns/coredns/coredns-1.8.3.ebuild
    @@ -911,6 +911,5 @@ src_test() {

    pkg_postinst() {
    fcaps_pkg_postinst
    - go-module_pkg_postinst
    tmpfiles_process ${PN}.conf
    }
    --
    2.31.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Hubbs@21:1/5 to William Hubbs on Wed Sep 1 18:50:01 2021
    On Sun, Aug 29, 2021 at 11:33:17AM -0500, William Hubbs wrote:
    It seems to me that we don't need this function any longer since the go ebuild displays a message when it is upgraded or downgraded explaining
    how to rebuild go packages, so I would like to remove it.

    This patch series contains all of the changes I could find that need to happen to allow the removal.

    This series has been added to the tree.

    Thanks,

    William

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCYS+ubwAKCRBuVBb0MMRl OLpYAJsGpe09Tkh9UQwwRoXC1RJmEC6mAACghOzMq1aSj8aQcGVPTPC8gHfjdmc=
    =LM0Y
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin H. Johnson@21:1/5 to William Hubbs on Tue Sep 7 01:30:01 2021
    On Sun, Aug 29, 2021 at 11:33:17AM -0500, William Hubbs wrote:
    It seems to me that we don't need this function any longer since the go ebuild displays a message when it is upgraded or downgraded explaining
    how to rebuild go packages, so I would like to remove it.

    This patch series contains all of the changes I could find that need to happen to allow the removal.
    This series seems to remove fcaps postinst in some cases where it's the
    only thing otherwise left, but not all cases.

    I think it would be better if the fcaps postinst was explicitly left.

    --
    Robin Hugh Johnson
    Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
    E-Mail : robbat2@gentoo.org
    GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
    GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2
    Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it.

    iQKTBAABCgB9FiEEveu2pS8Vb98xaNkRGTlfI8WIJsQFAmE2olNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE RUJCNkE1MkYxNTZGREYzMTY4RDkxMTE5Mzk1RjIzQzU4ODI2QzQACgkQGTlfI8WI JsQK4Q/9GnpvID/6+/hpxPR5alGCNNPVHO9icf+vGffVzO1r1WoohRaw3VOB3IgA ZNWI4lgZxh7wX9JS2CVf4jyAk5xzHwktS5RwxJUyRgZhnKEcuBWdGtfAvNpLk3Hr EsFJKneATO7eYAgdT6+zx7psnrcH1n8xVzn9NpeNOM3+dOvTia9TCsOeBWADN5/g wWYLVv9u7aKvbw85NxkI7Jo0bPf+YJwJ05iJufKYAUkQOwKsxTmDtRyimQV0XBlV glU4n9jPPZ82IYdsggpY8sqjmYuRkKOyRUeLofR8KCmPGaFb3yVziitL4EwK9osm CYnNIo798MdQy+ICH4jA/wcmeX7+f8QIOh9pYgV4DATbpzLcfLKZDXziU50X+I5R 7k2nR9Ns8TpHdNOEGLL/