Install this version:
emerge -a =net-vpn/ovpn-dco-0.2.20241216
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-vpn/ovpn-dco-0.2.20241216
Or alternatively:
emerge --autounmask-write -a =net-vpn/ovpn-dco-0.2.20241216
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.20241216 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 | 0 |
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic linux-mod-r1
DESCRIPTION="OpenVPN Data Channel Offload in the linux kernel"
HOMEPAGE="https://github.com/OpenVPN/ovpn-dco"
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://github.com/OpenVPN/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="debug"
pkg_setup() {
CONFIG_CHECK="
INET
NET
NET_UDP_TUNNEL
DST_CACHE
CRYPTO
CRYPTO_AES
CRYPTO_GCM
CRYPTO_CHACHA20POLY1305"
linux-mod-r1_pkg_setup
}
src_configure() {
# Causes build failures because it builds with -pg,
# bug #907744
filter-flags -fomit-frame-pointer
default
}
src_compile() {
local modlist=( "ovpn-dco-v2=updates:.:drivers/net/ovpn-dco" )
local modargs=( KERNEL_SRC="${KERNEL_DIR}" )
[[ ${PV} != 9999 ]] && modargs+=( REVISION="${PV}" )
use debug && modargs+=( DEBUG=1 )
linux-mod-r1_src_compile
}
src_install() {
linux-mod-r1_src_install
insinto /usr/share/${PN}
doins -r include
}
Manage flags for this package:
euse -i <flag> -p net-vpn/ovpn-dco |
euse -E <flag> -p net-vpn/ovpn-dco |
euse -D <flag> -p net-vpn/ovpn-dco
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ovpn-dco-0.2.20241216.tar.gz | 70783 bytes | https://github.com/OpenVPN/ovpn-dco/archive/refs/tags/v0.2.20241216.tar.gz |