Install this version:
emerge -a =net-misc/myip-1.2.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/myip-1.2.1
Or alternatively:
emerge --autounmask-write -a =net-misc/myip-1.2.1
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Get your external IP address using STUN server"
HOMEPAGE="https://github.com/Snawoot/myip"
EGO_PN="github.com/Snawoot/${PN}"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
LICENSE="MIT BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_install() {
dobin bin/*
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | myip-1.2.1-vendor.tar.xz | 30924 bytes | https://gentoo.kropotkin.rocks/go-pkgs/myip-1.2.1-vendor.tar.xz |
| DIST | myip-1.2.1.tar.gz | 4446 bytes | https://github.com/Snawoot/myip/archive/v1.2.1.tar.gz |