commit: 7282d9cfdcf814cdcb92b96273a4cd86a531c851 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Thu Aug 14 17:43:37 2025 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Thu Aug 14 17:43:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7282d9cf
net-vpn/ocserv: add kernel config check for TUN and UNIX_DIAG Bug: https://bugs.gentoo.org/961489 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> net-vpn/ocserv/ocserv-1.3.0-r11.ebuild | 4 +++- net-vpn/ocserv/ocserv-1.3.0-r2.ebuild | 4 +++- net-vpn/ocserv/ocserv-9999.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/net-vpn/ocserv/ocserv-1.3.0-r11.ebuild b/net-vpn/ocserv/ocserv-1.3.0-r11.ebuild index 80e5a10ba4e7..2cfeed4807b5 100644 --- a/net-vpn/ocserv/ocserv-1.3.0-r11.ebuild +++ b/net-vpn/ocserv/ocserv-1.3.0-r11.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit systemd +inherit linux-info systemd if [[ ${PV} == 9999 ]]; then inherit autotools git-r3 @@ -63,6 +63,8 @@ PATCHES=( "${FILESDIR}"/ocserv-1.3.0-seccomp-readlinkat.patch ) +CONFIG_CHECK="~TUN ~UNIX_DIAG" + src_prepare() { default if [[ ${PV} == 9999 ]]; then diff --git a/net-vpn/ocserv/ocserv-1.3.0-r2.ebuild b/net-vpn/ocserv/ocserv-1.3.0-r2.ebuild index e39f2c8c8eda..1ffac56571e4 100644 --- a/net-vpn/ocserv/ocserv-1.3.0-r2.ebuild +++ b/net-vpn/ocserv/ocserv-1.3.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit systemd +inherit linux-info systemd if [[ ${PV} == 9999 ]]; then inherit autotools git-r3 @@ -64,6 +64,8 @@ PATCHES=( "${FILESDIR}"/ocserv-1.3.0-freeradius-1.1.8.patch ) +CONFIG_CHECK="~TUN ~UNIX_DIAG" + src_prepare() { default if [[ ${PV} == 9999 ]]; then diff --git a/net-vpn/ocserv/ocserv-9999.ebuild b/net-vpn/ocserv/ocserv-9999.ebuild index 2f82fb5d8c84..5df85a7e4dae 100644 --- a/net-vpn/ocserv/ocserv-9999.ebuild +++ b/net-vpn/ocserv/ocserv-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit systemd +inherit linux-info systemd if [[ ${PV} == 9999 ]]; then inherit autotools git-r3 @@ -59,6 +59,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +CONFIG_CHECK="~TUN ~UNIX_DIAG" + src_prepare() { default if [[ ${PV} == 9999 ]]; then
