commit:     23519748c883f31a57898480c4e211be8ff628bc
Author:     Alexander Miroshnichenko <alex <AT> millerson <DOT> name>
AuthorDate: Thu Jan  8 18:48:01 2026 +0000
Commit:     Alexander Miroshnichenko <alex <AT> millerson <DOT> name>
CommitDate: Thu Jan  8 18:48:41 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23519748

sys-fs/bcachefs-kmod: add 9999

Signed-off-by: Alexander Miroshnichenko <alex <AT> millerson.name>

 sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild   |  4 +---
 ...mod-1.34.0.ebuild => bcachefs-kmod-9999.ebuild} | 23 +++++++++++++++-------
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild 
b/sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild
index 5c924885ed..2021bac5c7 100644
--- a/sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild
+++ b/sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild
@@ -20,12 +20,10 @@ if [[ ${PV} == "9999" ]]; then
 else
        
SRC_URI="https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.zst";
        SRC_URI+=" verify-sig? ( 
https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.sign )"
-       S="${WORKDIR}/${P}"
        KEYWORDS="~amd64 ~arm64"
+       S="${WORKDIR}/${MY_PN}-${PV}"
 fi
 
-S="${WORKDIR}/${MY_PN}-${PV}"
-
 LICENSE="GPL-2"
 SLOT="0"
 

diff --git a/sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild 
b/sys-fs/bcachefs-kmod/bcachefs-kmod-9999.ebuild
similarity index 88%
copy from sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild
copy to sys-fs/bcachefs-kmod/bcachefs-kmod-9999.ebuild
index 5c924885ed..07eac94152 100644
--- a/sys-fs/bcachefs-kmod/bcachefs-kmod-1.34.0.ebuild
+++ b/sys-fs/bcachefs-kmod/bcachefs-kmod-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2026 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,22 +20,23 @@ if [[ ${PV} == "9999" ]]; then
 else
        
SRC_URI="https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.zst";
        SRC_URI+=" verify-sig? ( 
https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.sign )"
-       S="${WORKDIR}/${P}"
        KEYWORDS="~amd64 ~arm64"
+       S="${WORKDIR}/${MY_PN}-${PV}"
 fi
 
-S="${WORKDIR}/${MY_PN}-${PV}"
-
 LICENSE="GPL-2"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
 
 IUSE="debug verify-sig"
 
-BDEPEND="
-       >=sys-kernel/linux-headers-6.16
-       verify-sig? ( >=sec-keys/openpgp-keys-kentoverstreet-20241012 )
+RDEPEND="${DEPEND}
 "
 
+BDEPEND=">=sys-kernel/linux-headers-6.16
+       verify-sig? ( >=sec-keys/openpgp-keys-kentoverstreet-20241012 )
+"
 pkg_setup() {
        local CONFIG_CHECK="
                BLOCK
@@ -110,3 +111,11 @@ src_compile() {
 
        linux-mod-r1_src_compile
 }
+
+src_install() {
+       linux-mod-r1_src_install
+}
+
+pkg_postinst() {
+       linux-mod-r1_pkg_postinst
+}

Reply via email to