diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-03-04 09:43:35 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-03-04 09:53:47 +0200 |
commit | 361926ec953c93bac40cfe984197c461777bc9d5 (patch) | |
tree | 72d46e2e57d6834b7f8a1b20a27e1fb4c9d36e60 | |
parent | net-firewall/fwknop: add 2.6.11 (diff) | |
download | gentoo-361926ec953c93bac40cfe984197c461777bc9d5.tar.gz gentoo-361926ec953c93bac40cfe984197c461777bc9d5.tar.bz2 gentoo-361926ec953c93bac40cfe984197c461777bc9d5.zip |
net-misc/openvswitch: migrate 2.17.8 to linux-mod-r1.eclass
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | net-misc/openvswitch/openvswitch-2.17.8.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/openvswitch/openvswitch-2.17.8.ebuild b/net-misc/openvswitch/openvswitch-2.17.8.ebuild index 059ccf3295d6..b8af26f3b838 100644 --- a/net-misc/openvswitch/openvswitch-2.17.8.ebuild +++ b/net-misc/openvswitch/openvswitch-2.17.8.ebuild @@ -6,7 +6,7 @@ EAPI=8 MODULES_OPTIONAL_USE="modules" PYTHON_COMPAT=( python3_{10..11} ) -inherit autotools linux-mod python-single-r1 systemd tmpfiles +inherit autotools linux-mod-r1 python-single-r1 systemd tmpfiles DESCRIPTION="Production quality, multilayer virtual switch" HOMEPAGE="https://www.openvswitch.org" @@ -51,7 +51,7 @@ pkg_setup() { CONFIG_CHECK+=" ~!OPENVSWITCH" kernel_is ge 3 10 0 || die "Linux >= 3.10.0 and <= 5.8 required for userspace modules" kernel_is le 5 8 999 || die "Linux >= 3.10.0 and <= 5.8 required for userspace modules" - linux-mod_pkg_setup + linux-mod-r1_pkg_setup else CONFIG_CHECK+=" ~OPENVSWITCH" linux-info_pkg_setup @@ -106,7 +106,7 @@ src_configure() { src_compile() { default - use modules && linux-mod_src_compile + use modules && linux-mod-r1_src_compile } src_install() { @@ -144,11 +144,11 @@ src_install() { insinto /etc/logrotate.d newins rhel/etc_logrotate.d_openvswitch openvswitch - use modules && linux-mod_src_install + use modules && linux-mod-r1_src_install } pkg_postinst() { - use modules && linux-mod_pkg_postinst + use modules && linux-mod-r1_pkg_postinst tmpfiles_process openvswitch.conf |