Skip to content

add dev-db/mmdbctl#958

Merged
blueSherii merged 1 commit intomasterfrom
dev-db/mmdbctl
Feb 24, 2026
Merged

add dev-db/mmdbctl#958
blueSherii merged 1 commit intomasterfrom
dev-db/mmdbctl

Conversation

@blueSherii
Copy link
Copy Markdown
Contributor

@blueSherii blueSherii commented Feb 23, 2026

mmdbctl is a tool that can verify mmdb MaxMind database files against corruption

# mmdbctl -h
Usage: mmdbctl <cmd> [<opts>] [<args>]

Commands:
  read        read data for IPs in an mmdb file.
  import      import data in non-mmdb format into mmdb.
  export      export data from mmdb format into non-mmdb format.
  diff        see the difference between two mmdb files.
  metadata    print metadata from the mmdb file.
  verify      check that the mmdb file is not corrupted or invalid.
  completion  install or output shell auto-completion script.

Options:
  General:
    --nocolor
      disable colored output.
    --help, -h
      show help.

@blueSherii blueSherii requested a review from a team as a code owner February 23, 2026 13:56
@blueSherii
Copy link
Copy Markdown
Contributor Author

Installation expriement

# emerge dev-db/mmdbctl

 * IMPORTANT: 18 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
Dependency resolution took 0.54 s (backtrack: 0/20).


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-db/mmdbctl-1.4.8::gentoo
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf'
--2026-02-23 13:52:07--  http://distfiles.gentoo.org/distfiles/layout.conf
Resolving distfiles.gentoo.org... 212.102.56.179, 79.127.216.203, 195.181.170.19, ...
Connecting to distfiles.gentoo.org|212.102.56.179|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38 [text/plain]
Saving to: ‘/var/cache/distfiles/.layout.conf.distfiles.gentoo.org.__download__’

/var/cache/distfile 100%[===================>]      38  --.-KB/s    in 0s

2026-02-23 13:52:07 (10.1 MB/s) - ‘/var/cache/distfiles/.layout.conf.distfiles.gentoo.org.__download__’ saved [38/38]

>>> Downloading 'http://distfiles.gentoo.org/distfiles/9b/mmdbctl-1.4.8.tar.gz'
--2026-02-23 13:52:07--  http://distfiles.gentoo.org/distfiles/9b/mmdbctl-1.4.8.tar.gz
Resolving distfiles.gentoo.org... 212.102.56.179, 79.127.216.203, 195.181.170.19, ...
Connecting to distfiles.gentoo.org|212.102.56.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-02-23 13:52:07 ERROR 404: Not Found.

>>> Downloading 'https://github.com/ipinfo/mmdbctl/archive/refs/tags/mmdbctl-1.4.8.tar.gz'
--2026-02-23 13:52:07--  https://github.com/ipinfo/mmdbctl/archive/refs/tags/mmdbctl-1.4.8.tar.gz
Resolving github.com... 140.82.121.3
Connecting to github.com|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ipinfo/mmdbctl/tar.gz/refs/tags/mmdbctl-1.4.8 [following]
--2026-02-23 13:52:08--  https://codeload.github.com/ipinfo/mmdbctl/tar.gz/refs/tags/mmdbctl-1.4.8
Resolving codeload.github.com... 140.82.121.9
Connecting to codeload.github.com|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 63154 (62K) [application/x-gzip]
Saving to: ‘/var/cache/distfiles/mmdbctl-1.4.8.tar.gz.__download__’

/var/cache/distfile 100%[===================>]  61.67K  --.-KB/s    in 0.04s

2026-02-23 13:52:08 (1.50 MB/s) - ‘/var/cache/distfiles/mmdbctl-1.4.8.tar.gz.__download__’ saved [63154/63154]

 * mmdbctl-1.4.8.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                                                                                     [ ok ]
Unable to unshare: EPERM (for FEATURES="pid-sandbox")
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Unpacking source...
>>> Unpacking 'mmdbctl-1.4.8.tar.gz' to /var/tmp/portage/dev-db/mmdbctl-1.4.8/work
>>> Source unpacked in /var/tmp/portage/dev-db/mmdbctl-1.4.8/work
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Preparing source in /var/tmp/portage/dev-db/mmdbctl-1.4.8/work/mmdbctl-1.4.8 ...
>>> Source prepared.
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Configuring source in /var/tmp/portage/dev-db/mmdbctl-1.4.8/work/mmdbctl-1.4.8 ...
>>> Source configured.
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Compiling source in /var/tmp/portage/dev-db/mmdbctl-1.4.8/work/mmdbctl-1.4.8 ...
go: downloading github.com/ipinfo/cli v0.0.0-20240814004006-a9ca4b1d939d
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/fatih/color v1.16.0
go: downloading github.com/edsrzf/mmap-go v1.1.0
go: downloading github.com/maxmind/mmdbwriter v1.0.1-0.20231024181307-469cd9b959b4
go: downloading github.com/oschwald/maxminddb-golang v1.12.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading golang.org/x/sys v0.15.0
go: downloading go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
go: downloading golang.org/x/exp v0.0.0-20231214170342-aacd6d4b4611
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/posener/script v1.2.0
go: downloading github.com/hashicorp/errwrap v1.1.0
>>> Source compiled.
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Test phase [not enabled]: dev-db/mmdbctl-1.4.8
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")

>>> Install dev-db/mmdbctl-1.4.8 into /var/tmp/portage/dev-db/mmdbctl-1.4.8/image
>>> Completed installing dev-db/mmdbctl-1.4.8 into /var/tmp/portage/dev-db/mmdbctl-1.4.8/image

 * Final size of build directory: 7024 KiB (6.8 MiB)
 * Final size of installed tree:  6760 KiB (6.6 MiB)

strip: aarch64-unknown-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/mmdbctl

>>> Installing (1 of 1) dev-db/mmdbctl-1.4.8::gentoo
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")

>>> Completed (1 of 1) dev-db/mmdbctl-1.4.8::gentoo

 * GNU info directory index is up-to-date.

 * IMPORTANT: 18 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

zegeek
zegeek previously requested changes Feb 23, 2026
@blueSherii blueSherii merged commit d91e605 into master Feb 24, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants