Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915496 - dev-util/pwntools: checks for new versions by default
Summary: dev-util/pwntools: checks for new versions by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-09 18:11 UTC by Sam James
Modified: 2023-10-09 19:28 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-09 18:11:19 UTC
$ pwn shellcraft
[*] Checking for new versions of pwntools
    To disable this functionality, set the contents of /home/sam/.cache/.pwntools-cache-3.11/update to 'never' (old way).
    Or add the following lines to ~/.pwn.conf or ~/.config/pwn.conf (or /etc/pwn.conf system-wide):
        [update]
        interval=never
[*] You have the latest version of Pwntools (4.12.0b0)
usage: pwn [-h] {asm,checksec,constgrep,cyclic,debug,disasm,disablenx,elfdiff,elfpatch,errno,hex,libcdb,phd,pwnstrip,scramble,shellcraft,template,unhex,update,version} ...

Could we disable this auto update checker?
Comment 1 Larry the Git Cow gentoo-dev 2023-10-09 19:28:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954151f451ec299f729b00d7430295e88d534b6b

commit 954151f451ec299f729b00d7430295e88d534b6b
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2023-10-09 18:45:51 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2023-10-09 19:26:18 +0000

    dev-util/pwntools: disable update check
    
    Closes: https://bugs.gentoo.org/915496
    Closes: https://github.com/gentoo/gentoo/pull/33268
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 dev-util/pwntools/files/pwn.conf                                       | 2 ++
 ...pwntools-4.12.0_beta0-r1.ebuild => pwntools-4.12.0_beta0-r2.ebuild} | 3 +++
 2 files changed, 5 insertions(+)