From 98b94c35eab4e07cc28942f90d3ba63383a8957b Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 10:31:27 +0200 Subject: [PATCH 1/7] scdoc: Add version 1.11.4 --- scdoc.be0 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 scdoc.be0 diff --git a/scdoc.be0 b/scdoc.be0 new file mode 100755 index 000000000..7f55333b6 --- /dev/null +++ b/scdoc.be0 @@ -0,0 +1,38 @@ +#!/usr/bin/env beesh + +# BEE_VERSION scdoc-1.11.4-0 + +# more info: https://git.sr.ht/~sircmpwn/scdoc/tree/master/item/README.md + +#SRCURL[0]="https://git.sr.ht/~sircmpwn/scdoc/archive/${PKGVERSION}.tar.gz scdoc-${PKGVERSION}.tar.gz" +SRCURL[0]="https://beehive.molgen.mpg.de/8899efbd90bd1cc3df5b5732e6d9d1a7/scdoc-1.11.4.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#} From e49b2768e02879d5f6a4d9ff5c36b4604c229b10 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 10:07:33 +0200 Subject: [PATCH 2/7] kmod: Convert to versionless bee file --- kmod-22-0.bee => kmod.be0 | 2 ++ 1 file changed, 2 insertions(+) rename kmod-22-0.bee => kmod.be0 (99%) diff --git a/kmod-22-0.bee b/kmod.be0 similarity index 99% rename from kmod-22-0.bee rename to kmod.be0 index 3dc8b0f9f..3bee9d6c4 100755 --- a/kmod-22-0.bee +++ b/kmod.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION kmod-22-0 + ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) From 2db2512d6fd8f78148820652bbeb23eaac338c99 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 10:13:37 +0200 Subject: [PATCH 3/7] kmod: Convert to mTEMPLATE.be0 --- kmod.be0 | 59 +++----------------------------------------------------- 1 file changed, 3 insertions(+), 56 deletions(-) diff --git a/kmod.be0 b/kmod.be0 index 3bee9d6c4..1cf1e9808 100755 --- a/kmod.be0 +++ b/kmod.be0 @@ -2,49 +2,14 @@ # BEE_VERSION kmod-22-0 -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - SRCURL[0]="https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${PKGVERSION}.tar.xz" -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - # PATCHURL+=() -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - # build_in_sourcedir -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - # sourcesubdir_append src - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - #mee_extract() { # bee_extract "${@}" #} @@ -64,31 +29,13 @@ mee_configure() { mee_install() { bee_install - mkdir -p ${D}${SBINDIR} - ln -s kmod ${D}${BINDIR}/lsmod - for i in rmmod insmod modinfo modprobe depmod ; do ln -s ${BINDIR}/kmod ${D}${SBINDIR}/${i} done } -## by default this may be 'make install DESTDIR="${D}"' -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## +#mee_install_post() { +# exit +#} From a924645d6c7f95551da274f7c93a1268f833cdca Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 10:35:08 +0200 Subject: [PATCH 4/7] kmod: Update version from 22 to 34.2 Update version. In this version, the installation script provided from upstream already creates the symlinks, so remove the customized mee_install(). This version installs the tools without `--enable-tools` so remove the customized mee_configure(). This version requires "sdoc" to be installed. --- kmod.be0 | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/kmod.be0 b/kmod.be0 index 1cf1e9808..b2b06ab31 100755 --- a/kmod.be0 +++ b/kmod.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION kmod-22-0 +# BEE_VERSION kmod-34.2-0 SRCURL[0]="https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${PKGVERSION}.tar.xz" @@ -18,23 +18,18 @@ SRCURL[0]="https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${PKGVERSION} # bee_patch "${@}" #} -mee_configure() { - bee_configure \ - --enable-tools -} +#mee_configure() { +# bee_configure \ +# --enable-tools +#} #mee_build() { # bee_build #} -mee_install() { - bee_install - mkdir -p ${D}${SBINDIR} - ln -s kmod ${D}${BINDIR}/lsmod - for i in rmmod insmod modinfo modprobe depmod ; do - ln -s ${BINDIR}/kmod ${D}${SBINDIR}/${i} - done -} +#mee_install() { +# bee_install +#} #mee_install_post() { # exit From e80ac5801ab45dc5740a7b688834848e110ac0f0 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 10:47:39 +0200 Subject: [PATCH 5/7] kmod: Switch build type to meson Built kmod with meson which is the method documented by upstream. The current 34.y version provides a configure script, but that is only for backward compatibilitiy and will go away in the next release. --- kmod.be0 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kmod.be0 b/kmod.be0 index b2b06ab31..bcfc53a08 100755 --- a/kmod.be0 +++ b/kmod.be0 @@ -10,6 +10,8 @@ SRCURL[0]="https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${PKGVERSION} # sourcesubdir_append src +BEE_BUILDTYPE=meson + #mee_extract() { # bee_extract "${@}" #} From d7128d2333bd0d314e461b01a05f0340ad5c460e Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 13:25:57 +0200 Subject: [PATCH 6/7] kmod: Change version to mpi variant Change version from 34.2 to 34.2_mpi and the repository URL to our repository at https://github.molgen.mpg.de/mariux64/kmod. The _mpi variant adds code to support module whitelists. --- kmod.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kmod.be0 b/kmod.be0 index bcfc53a08..f37b19e44 100755 --- a/kmod.be0 +++ b/kmod.be0 @@ -1,8 +1,8 @@ #!/usr/bin/env beesh -# BEE_VERSION kmod-34.2-0 +# BEE_VERSION kmod-34.2_mpi-0 -SRCURL[0]="https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${PKGVERSION}.tar.xz" +SRCURL="https://github.molgen.mpg.de/mariux64/kmod/archive/refs/tags/v${PKGVERSION}-mpi.tar.gz kmod-${PKGVERSION}-mpi.tar.gz" # PATCHURL+=() From 1eb94d80876cf854dafebe106db2beb8c24f2819 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 17 May 2026 13:31:25 +0200 Subject: [PATCH 7/7] kmod: Update SRCURL --- kmod.be0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kmod.be0 b/kmod.be0 index f37b19e44..7b3d8bfc8 100755 --- a/kmod.be0 +++ b/kmod.be0 @@ -2,7 +2,8 @@ # BEE_VERSION kmod-34.2_mpi-0 -SRCURL="https://github.molgen.mpg.de/mariux64/kmod/archive/refs/tags/v${PKGVERSION}-mpi.tar.gz kmod-${PKGVERSION}-mpi.tar.gz" +#SRCURL="https://github.molgen.mpg.de/mariux64/kmod/archive/refs/tags/v${PKGVERSION}-mpi.tar.gz kmod-${PKGVERSION}-mpi.tar.gz" +SRCURL[0]="https://beehive.molgen.mpg.de/7340aa8abc00021003366ea8d1549759/kmod-34.2-mpi.tar.gz" # PATCHURL+=()