Install this version:
emerge -a =net-vpn/amneziawg-tools-1.0.20250903
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-vpn/amneziawg-tools-1.0.20250903
Or alternatively:
emerge --autounmask-write -a =net-vpn/amneziawg-tools-1.0.20250903
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0.20250903 | 8 | amd64 | 0 |
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 systemd toolchain-funcs
DESCRIPTION="Tools for configuring Amnezia-WG "
HOMEPAGE="https://github.com/amnezia-vpn/amneziawg-tools"
SRC_URI="https://github.com/amnezia-vpn/amneziawg-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
src_compile() {
emake RUNSTATEDIR="${EPREFIX}/run" -C src CC="$(tc-getCC)" LD="$(tc-getLD)"
}
src_install() {
dodoc README.md
dodoc -r contrib
emake \
WITH_BASHCOMPLETION=yes \
WITH_SYSTEMDUNITS=yes \
WITH_WGQUICK=yes \
DESTDIR="${D}" \
BASHCOMPDIR="$(get_bashcompdir)" \
SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \
PREFIX="${EPREFIX}/usr" \
-C src install
local NETIFRCNETDIR="${EPREFIX}/lib/netifrc/net"
insinto "${NETIFRCNETDIR}"
doins "${FILESDIR}/amneziawg.sh"
fowners root:root "${NETIFRCNETDIR}/amneziawg.sh"
fperms 644 "${NETIFRCNETDIR}/amneziawg.sh"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | amneziawg-tools-1.0.20250903.tar.gz | 160214 bytes | https://github.com/amnezia-vpn/amneziawg-tools/archive/v1.0.20250903.tar.gz |