Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904122 - games-action/minetest Disable update check by default
Summary: games-action/minetest Disable update check by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-10 11:12 UTC by Jaak Ristioja
Modified: 2023-04-10 13:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2023-04-10 11:12:15 UTC
Please disable by default the automatic call home and check for updates feature in Minetest, e.g. add -DENABLE_UPDATE_CHECKER=no to mycmakeargs in src_configure().

This will disable the update checker for new Minetest profiles.

For old profiles one would still have to manually disable the update check by adding the following line to the respective ~/.minetest/minetest.conf file when Minetest is not running:

  update_last_checked = disabled

Alternatively, it is possible to disable this by navigating to main menu -> "Settings" -> "All Settings" -> "Client and Server" -> "Client" and editing the "Last update check" setting to change its value to "disabled". Note however, that the update check might also run when Minetest is started but before the setting is changed.

Thanks!

PS: Minetest 5.7.0 was also released on April 8.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-10 11:14:40 UTC
(In reply to Jaak Ristioja from comment #0)
> PS: Minetest 5.7.0 was also released on April 8.

commit 4a437492e78bdce4b1059b5512e893d26a040a5a
Author: Marek Szuba <marecki@gentoo.org>
Date:   Mon Apr 10 00:23:26 2023 +0100

    games-action/minetest: add 5.7.0

    Signed-off-by: Marek Szuba <marecki@gentoo.org>
Comment 2 Marek Szuba (RETIRED) archtester gentoo-dev 2023-04-10 13:15:39 UTC
Funny, I was just thinking the other day if there was a way of disabling this. Thanks for the tip! Will push the relevant change shortly.
Comment 3 Larry the Git Cow gentoo-dev 2023-04-10 13:20:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f76904c98b70ae6cd5d78717e0306d27c1c9b0

commit 86f76904c98b70ae6cd5d78717e0306d27c1c9b0
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-04-10 13:18:01 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-04-10 13:19:59 +0000

    games-action/minetest: disable upstream update checker for new configs
    
    User with existing ~/.minetest/minetest.conf have to change this
    by hand so the ebuild provides instructions for how to do it.
    
    Suggested-by: Jaak Ristioja <jaak@ristioja.ee>
    Closes: https://bugs.gentoo.org/904122
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../{minetest-5.7.0-r1.ebuild => minetest-5.7.0-r2.ebuild}     | 10 ++++++++++
 1 file changed, 10 insertions(+)