-
Notifications
You must be signed in to change notification settings - Fork 12
Utils #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rhubert
wants to merge
17
commits into
BobBuildTool:master
Choose a base branch
from
rhubert:utils
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Utils #161
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
57d521c
add utils::mtd-utils v2.3.0
rhubert d213f4f
add utils::minicoredumper v2.0.7
rhubert 5c6bc61
add multimedia::v4l-utils v1.32.0
rhubert 30b32ed
add net::iperf3 v3.20
rhubert 38063bd
add net::iputils v20250605
rhubert 6d06759
add net::openldap v2.6.12
rhubert 6413cf4
add utils::usbutils v019
rhubert 41038c4
add utils::qpdf v12.3.2
rhubert 109ec7d
add utils::dmidecode v3.7
rhubert 7f1312e
add net::iw v6.9
rhubert cd45024
add net::wpa-supplicant v2.11
rhubert 06430a7
add libs::libssh2 v1.11.1
rhubert dfc9a6d
add net::nmap v7.98
rhubert cfb28da
add devel::valgrind v3.26.0
4fd918d
add utils::rauc v1.15
rhubert 441b070
add core::sysvinit v3.17
rhubert 1a1acc8
add utils::chipsec v1.13.20
rhubert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| inherit: [make, cpackage, install] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "GPL-2.0-or-later" | ||
| PKG_VERSION: "3.17" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://codeberg.org/thejessesmith/sysvinit/releases/download/${PKG_VERSION}/sysvinit-${PKG_VERSION}.tar.xz | ||
| digestSHA256: 897961b2c50a56c202b7b70386b2074df04ab652390e6ee9aeae5a1176fc41f0 | ||
| stripComponents: 1 | ||
|
|
||
| depends: | ||
| - libs::libxcrypt-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::libxcrypt-tgt | ||
|
|
||
| buildVars: [CC, AR] | ||
| buildTools: [target-toolchain] | ||
| buildSetup: | | ||
| export CFLAGS="${CFLAGS:-} $CPPFLAGS" | ||
| buildScript: | | ||
| mkdir -p build | ||
| rsync -a --delete $1/ build/ | ||
| pushd build | ||
| makeParallel -C $(pwd)/src | ||
| make -C $(pwd)/src DESTDIR=$(pwd)/../install install | ||
|
|
||
| provideDeps: ['*-tgt'] | ||
| packageScript: installPackageTgt $1/install/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| inherit: [cmake] | ||
|
|
||
| metaEnvironment: | ||
| PKG_VERSION: "1.11.1" | ||
| PKG_LICENSE: "BSD-3-Clause" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://libssh2.org/download/libssh2-${PKG_VERSION}.tar.gz | ||
| digestSHA256: d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7 | ||
| stripComponents: 1 | ||
|
|
||
| depends: | ||
| - libs::openssl-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::openssl-tgt | ||
|
|
||
| buildScript: | | ||
| cmakeBuild $1 | ||
|
|
||
| multiPackage: | ||
| dev: | ||
jkloetzke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| provideDeps: ['*-dev'] | ||
| packageScript: | | ||
| cmakePackageDev | ||
| tgt: | ||
| provideDeps: ['*-tgt'] | ||
| packageScript: | | ||
| cmakePackageTgt | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| inherit: [meson] | ||
|
|
||
| metaEnvironment: | ||
| PKG_VERSION: "1.32.0" | ||
| PKG_LICENSE: "GPL-2.0-only AND LGPL-2.1-only" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://www.linuxtv.org/downloads/v4l-utils/v4l-utils-${PKG_VERSION}.tar.xz | ||
| digestSHA256: 6828828a17775526eb93fb258a9294d1d1073d633c344dd71ecd4e7a1ffb7dfc | ||
| stripComponents: 1 | ||
|
|
||
| buildTools: [gettext, perl] | ||
| buildScript: | | ||
| mesonBuild $1 \ | ||
| -Dv4l2-ctl-libv4l=false \ | ||
| -Dv4l2-compliance-libv4l=false \ | ||
| -Dv4l2-ctl-stream-to=false \ | ||
| -Dgconv=disabled | ||
|
|
||
| packageScript: mesonPackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| inherit: [autotools] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "LicenseRef-iperf3" | ||
| PKG_LICENSE_PATH: | | ||
| iperf3:LICENSE | ||
| PKG_VERSION: "3.20" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://github.com/esnet/iperf/releases/download/${PKG_VERSION}/iperf-${PKG_VERSION}.tar.gz | ||
| digestSHA256: 3acc572d1ecca4e0b20359c7bf0132ddc80d982efeee20c86f6726a9a6094388 | ||
| stripComponents: 1 | ||
|
|
||
| depends: | ||
| - core::util-linux-dev | ||
| - libs::openssl-dev | ||
| - use: [] | ||
| depends: | ||
| - core::util-linux-tgt | ||
| - libs::openssl-tgt | ||
|
|
||
| buildScript: | | ||
| autotoolsBuild $1 | ||
|
|
||
| provideDeps: ['*-tgt'] | ||
| packageScript: | | ||
| autotoolsPackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| inherit: [meson] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "BSD-3-Clause AND GPL-2.0-or-later" | ||
| PKG_VERSION: "20250605" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: ${GITHUB_MIRROR}/iputils/iputils/releases/download/${PKG_VERSION}/iputils-${PKG_VERSION}.tar.xz | ||
| digestSHA256: 6f213700dbf96b5cc4499ca70cb15ecd69c09f405b06785bb4a1a10b572b6276 | ||
| stripComponents: 1 | ||
|
|
||
| buildScript: | | ||
| mesonBuild $1 \ | ||
| -DUSE_CAP=false \ | ||
| -DUSE_IDN=false \ | ||
| -DBUILD_MANS=false \ | ||
| -DBUILD_CLOCKDIFF=false \ | ||
| -DBUILD_HTML_MANS=false \ | ||
| -DUSE_GETTEXT=false \ | ||
| -DSKIP_TESTS=true | ||
|
|
||
| packageScript: | | ||
| mesonPackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| inherit: [install, make, cpackage] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "ISC" | ||
| PKG_VERSION: "6.9" | ||
|
|
||
| depends: | ||
| - libs::libnl-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::libnl-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://mirrors.edge.kernel.org/pub/software/network/iw/iw-${PKG_VERSION}.tar.xz | ||
| digestSHA256: 3f2db22ad41c675242b98ae3942dbf3112548c60a42ff739210f2de4e98e4894 | ||
| stripComponents: 1 | ||
|
|
||
| buildVars: [CC] | ||
| buildScript: | | ||
| rsync -a --delete $1/ . | ||
| makeParallel PREFIX="/usr/" | ||
| makeSequential install PREFIX="/usr/" DESTDIR=$(pwd)/install | ||
|
|
||
| provideDeps: ['*-tgt'] | ||
| packageScript: | ||
jkloetzke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| installPackageTgt $1/install/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| inherit: [autotools] | ||
|
|
||
| metaEnvironment: | ||
| PKG_VERSION: "7.98" | ||
| PKG_LICENSE: "LicenseRef-Nmap" | ||
| PKG_LICENSE_PATH: | | ||
| Nmap:LICENSE | ||
|
|
||
| depends: | ||
| - libs::libpcap-dev | ||
| - libs::libpcre2-dev | ||
| - libs::libssh2-dev | ||
| - libs::openssl-dev | ||
| - libs::zlib-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::libpcap-tgt | ||
| - libs::libpcre2-tgt | ||
| - libs::libssh2-tgt | ||
| - libs::openssl-tgt | ||
| - libs::zlib-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://nmap.org/dist/nmap-${PKG_VERSION}.tar.bz2 | ||
| digestSHA256: ce847313eaae9e5c9f21708e42d2ab7b56c7e0eb8803729a3092f58886d897e6 | ||
| stripComponents: 1 | ||
|
|
||
| buildTools: [python3] | ||
| buildVars: [AR, CC, RANLIB] | ||
| buildSetup: | | ||
| # Makefile has hard-coded ar and ranlib calls.. | ||
| mkdir -p __bin | ||
| pushd __bin | ||
| ln -snf $(which ${AR}) ar | ||
| ln -snf $(which ${RANLIB}) ranlib | ||
| export PATH=$(pwd):${PATH} | ||
| popd | ||
|
|
||
| buildScript: | | ||
| mkdir -p build | ||
| rsync -a --delete $1/ build/ | ||
| autotoolsBuild $(pwd)/build \ | ||
| --without-liblua \ | ||
| --without-zenmap \ | ||
| --enable-static | ||
| # shared linking fails with: | ||
| # cannot find ./libdnet-stripped/src/.libs/libdnet.a: No such file or directory | ||
|
|
||
| provideDeps: ['*-tgt'] | ||
| packageScript: | | ||
| autotoolsPackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| inherit: [autotools] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "OLDAP-2.8" | ||
| PKG_VERSION: "2.6.12" | ||
|
|
||
| depends: | ||
| - tools: | ||
| target-toolchain: host-compat-toolchain | ||
| name: devel::groff | ||
| use: [tools] | ||
| - libs::openssl-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::openssl-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${PKG_VERSION}.tgz | ||
| digestSHA256: 1716ad779e85d743694c3e3b05277fb71b6a5eadca43c7a958aa62683b22208e | ||
| stripComponents: 1 | ||
|
|
||
| buildTools: [groff] | ||
| buildScript: | | ||
| export ac_cv_func_memcmp_working=yes | ||
|
|
||
| export STRIP="true" | ||
| autotoolsBuild $1 --disable-slapd \ | ||
| --disable-debug \ | ||
| $(cpackageLibraryTypeCheck "" "--enable-dynamic") \ | ||
| --with-yielding-select=yes | ||
|
|
||
| multiPackage: | ||
| "": | ||
| depends: | ||
| - name: net::openldap-tgt | ||
| use: [] | ||
| packageScript: autotoolsPackageBin | ||
| provideDeps: ['*-tgt'] | ||
| dev: | ||
| provideDeps: ['*-dev'] | ||
| packageScript: autotoolsPackageDev | ||
| tgt: | ||
| provideDeps: ['*-tgt'] | ||
| packageScript: autotoolsPackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| inherit: [make, install, cpackage] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "BSD-3-Clause" | ||
| PKG_VERSION: "2.11" | ||
|
|
||
| Config: | ||
| WPA_SUPPLICANT_CUSTOM_CONFIG: | ||
| type: str | ||
| default: "false" | ||
| help: Set to the package providing a custom .config. | ||
|
|
||
| depends: | ||
| - if: "${WPA_SUPPLICANT_CUSTOM_CONFIG}" | ||
| name: "${WPA_SUPPLICANT_CUSTOM_CONFIG}" | ||
| - libs::ncurses-dev | ||
| - libs::openssl-dev | ||
| - libs::readline-dev | ||
| - libs::libnl-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::ncurses-tgt | ||
| - libs::openssl-tgt | ||
| - libs::readline-tgt | ||
| - libs::libnl-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://w1.fi/releases/wpa_supplicant-${PKG_VERSION}.tar.gz | ||
| digestSHA256: 912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc5d75dee6c81ac7fc0a | ||
| stripComponents: 1 | ||
|
|
||
| buildVars: [CC, LD, WPA_SUPPLICANT_CUSTOM_CONFIG] | ||
| buildSetup: | | ||
| export CFLAGS="${CFLAGS:-} ${CPPFLAGS}" | ||
| buildScript: | | ||
| rsync -aHu --exclude=".config" $1/ . | ||
| pushd wpa_supplicant | ||
| if [[ ${WPA_SUPPLICANT_CUSTOM_CONFIG} != false ]]; then | ||
| if [ ${BOB_DEP_PATHS[${WPA_SUPPLICANT_CUSTOM_CONFIG}]}/.config -nt .config ]; then | ||
| cp ${BOB_DEP_PATHS[${WPA_SUPPLICANT_CUSTOM_CONFIG}]}/.config . | ||
| fi | ||
| else | ||
| cp $<@wpa-supplicant/default.config@> .config | ||
| fi | ||
|
|
||
| BINDIR=/sbin makeParallel | ||
| makeSequential install DESTDIR=../install BINDIR=/sbin | ||
|
|
||
| provideDeps: ['*-tgt'] | ||
| packageScript: | | ||
jkloetzke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| installPackageTgt $1/install/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CONFIG_DRIVER_NL80211=y | ||
| CONFIG_DRIVER_WEXT=y | ||
| CONFIG_IEEE8021X_EAPOL=y | ||
| CONFIG_EAP_MD5=y | ||
| CONFIG_EAP_MSCHAPV2=y | ||
| CONFIG_EAP_TLS=y | ||
| CONFIG_EAP_PEAP=y | ||
| CONFIG_EAP_TTLS=y | ||
| CONFIG_EAP_GTC=y | ||
| CONFIG_EAP_OTP=y | ||
| CONFIG_EAP_SIM=y | ||
| CONFIG_EAP_AKA=y | ||
| CONFIG_EAP_AKA_PRIME=y | ||
| CONFIG_EAP_PSK=y | ||
| CONFIG_EAP_SAKE=y | ||
| CONFIG_EAP_GPSK=y | ||
| CONFIG_EAP_PAX=y | ||
| CONFIG_EAP_LEAP=y | ||
| CONFIG_EAP_IKEV2=y | ||
| CONFIG_EAP_PWD=y | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| inherit: ['python3::setuptools', 'python3::cext', make, patch] | ||
|
|
||
| metaEnvironment: | ||
| PKG_VERSION: "1.13.20" | ||
| PKG_LICENSE: "GPL-2.0-only" | ||
|
|
||
| depends: | ||
| - tools: | ||
| target-toolchain: host-compat-toolchain | ||
| name: devel::nasm | ||
| use: [tools] | ||
| - kernel::linux-kmod-dist | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: ${GITHUB_MIRROR}/chipsec/chipsec/releases/download/${PKG_VERSION}/chipsec-${PKG_VERSION}.zip | ||
| digestSHA256: b4ac10a4833f5132e040f92ed74d3f20b1dd1dd1ada81339775a61251a34a61a | ||
|
|
||
| checkoutDeterministic: True | ||
| checkoutScript: | | ||
| patchApplySeries $<@chipsec/*.patch@> | ||
|
|
||
| buildVars: [CC, LD] | ||
| buildSetup: | | ||
| export KSRC=${BOB_DEP_PATHS['kernel::linux-kmod-dist']} | ||
| export CFLAGS="${CFLAGS} -Wno-error=missing-prototypes" | ||
| buildTools: [nasm] | ||
| buildScript: | | ||
| python3BuildSetuptools $1 | ||
|
|
||
| packageScript: | | ||
| python3PackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Pass CC and LD to the kernel module makefile to support cross compilation | ||
| diff -Nurp a/setup.py b/setup.py | ||
| --- a/setup.py 2026-01-31 00:44:59.000000000 +0100 | ||
| +++ b/setup.py 2026-03-16 08:33:04.873656735 +0100 | ||
| @@ -85,7 +85,8 @@ class build_ext(_build_ext): | ||
| # We copy the drivers extension to the build directory. | ||
| self.copy_tree(os.path.join('drivers', 'linux'), build_driver) | ||
| # Run the makefile there. | ||
| - subprocess.check_output(['make', '-C', build_driver]) | ||
| + subprocess.check_output(['make', '-C', build_driver, | ||
| + "CC="+os.getenv('CC'), "LD="+os.getenv('LD')]) | ||
| # And copy the resulting .ko to the right place. | ||
| # That is to the source directory if we are in 'develop' mode, | ||
| # otherwise to the helper subdirectory in the build directory. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.