From 57d521c5d806692722159a9bc6669ef40d7c17a4 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 10:55:04 +0000 Subject: [PATCH 01/16] add utils::mtd-utils v2.3.0 --- recipes/utils/mtd-utils.yaml | 56 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 57 insertions(+) create mode 100644 recipes/utils/mtd-utils.yaml diff --git a/recipes/utils/mtd-utils.yaml b/recipes/utils/mtd-utils.yaml new file mode 100644 index 00000000..3a6629df --- /dev/null +++ b/recipes/utils/mtd-utils.yaml @@ -0,0 +1,56 @@ +inherit: [autotools] + +metaEnvironment: + PKG_VERSION: "2.3.0" + PKG_LICENSE: "GPL-2.0-or-later" + +Config: + MTDUTILS_UBIFS: + type: bool + default: false + help: Enable ubifs utilities + +depends: + - tools: + target-toolchain: host-compat-toolchain + use: [tools] + name: utils::e2fsprogs + + - libs::lzo-dev + - libs::zlib-dev + - libs::zstd-dev + - if: "${MTDUTILS_UBIFS}" + depends: + - core::util-linux-dev + - libs::openssl-dev + - use: [] + depends: + - if: "${MTDUTILS_UBIFS}" + depends: + - core::util-linux-tgt + - libs::openssl-tgt + - libs::zstd-tgt + - libs::lzo-tgt + - libs::zlib-tgt + +checkoutSCM: + scm: url + url: "https://infraroot.at/pub/mtd/mtd-utils-${PKG_VERSION}.tar.bz2" + digestSHA256: 2db102908b232406ccb20719c0f43b61196aef4534493419fbf98a273c598c10 + stripComponents: 1 + +buildTools: [e2fsprogs] +buildVars: [MTDUTILS_UBIFS] +buildScript: | + CONFIG_OPTS= + if [[ "${MTDUTILS_UBIFS}" == "0" ]]; then + CONFIG_OPTS+="--without-ubifs " + fi + + autotoolsBuild $1 \ + --without-tests \ + $CONFIG_OPTS + +provideDeps: [ '*-tgt' ] +packageScript: | + autotoolsPackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 747b8265..92dd4b15 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -194,6 +194,7 @@ depends: - utils::genimage - utils::gnupg - utils::luajit + - utils::mtd-utils - utils::minicom - utils::mingetty - utils::mtools From d213f4f739f38f94b8be6f7149df81066650e431 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:03:28 +0000 Subject: [PATCH 02/16] add utils::minicoredumper v2.0.7 --- recipes/utils/minicoredumper.yaml | 32 +++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 33 insertions(+) create mode 100644 recipes/utils/minicoredumper.yaml diff --git a/recipes/utils/minicoredumper.yaml b/recipes/utils/minicoredumper.yaml new file mode 100644 index 00000000..b14d88ed --- /dev/null +++ b/recipes/utils/minicoredumper.yaml @@ -0,0 +1,32 @@ +inherit: [autotools] + +metaEnvironment: + PKG_VERSION: "2.0.7" + PKG_LICENSE: "LicenseRef-minicoredumper" + PKG_LICENSE_PATH: | + minicoredumper:COPYING + +depends: + - libs::elfutils-libelf-dev + - libs::jsonc-dev + - use: [] + depends: + - libs::elfutils-libelf-tgt + - libs::jsonc-tgt + +checkoutSCM: + scm: url + url: https://www.linutronix.de/minicoredumper/files/minicoredumper-${PKG_VERSION}.tar.xz + digestSHA256: 4ec3c96eea1141e1aee65717a60d32967afd5ca76f8d4a114b7563806d0e148a + stripComponents: 1 + +buildScript: | + autotoolsBuild $1 \ + --without-minicoredumper_regd \ + --without-minicoredumper_trigger \ + --without-libminicoredumper \ + --without-coreinject + +provideDeps: ['*-tgt'] +packageScript: | + autotoolsPackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 92dd4b15..8fa152e7 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -196,6 +196,7 @@ depends: - utils::luajit - utils::mtd-utils - utils::minicom + - utils::minicoredumper - utils::mingetty - utils::mtools - utils::nano From 5c6bc615dce0c2de1e6efeacd28a1855c57583ce Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:24:35 +0000 Subject: [PATCH 03/16] add multimedia::v4l-utils v1.32.0 --- recipes/multimedia/v4l-utils.yaml | 21 +++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 22 insertions(+) create mode 100644 recipes/multimedia/v4l-utils.yaml diff --git a/recipes/multimedia/v4l-utils.yaml b/recipes/multimedia/v4l-utils.yaml new file mode 100644 index 00000000..e57b26bb --- /dev/null +++ b/recipes/multimedia/v4l-utils.yaml @@ -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 diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 8fa152e7..70fb97aa 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -110,6 +110,7 @@ depends: - multimedia::gst-plugins-good-tgt - multimedia::gstreamer-tgt - multimedia::pipewire + - multimedia::v4l-utils - multimedia::wireplumber - net::bridge-utils From 30b32ed64f0c3f86a86d806509409a40e1e1a3bf Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:26:03 +0000 Subject: [PATCH 04/16] add net::iperf3 v3.20 --- recipes/net/iperf3.yaml | 28 ++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 29 insertions(+) create mode 100644 recipes/net/iperf3.yaml diff --git a/recipes/net/iperf3.yaml b/recipes/net/iperf3.yaml new file mode 100644 index 00000000..a9f6e5e4 --- /dev/null +++ b/recipes/net/iperf3.yaml @@ -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 diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 70fb97aa..29900fe0 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -122,6 +122,7 @@ depends: - net::ifenslave - net::ifupdown - net::iperf + - net::iperf3 - net::iproute2 - net::iptables - net::lighttpd From 38063bd6e051dccfa8943454d5cff5f0a0cfb0f4 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:32:20 +0000 Subject: [PATCH 05/16] add net::iputils v20250605 --- recipes/net/iputils.yaml | 24 ++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 25 insertions(+) create mode 100644 recipes/net/iputils.yaml diff --git a/recipes/net/iputils.yaml b/recipes/net/iputils.yaml new file mode 100644 index 00000000..6c60d477 --- /dev/null +++ b/recipes/net/iputils.yaml @@ -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 diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 29900fe0..2e448536 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -125,6 +125,7 @@ depends: - net::iperf3 - net::iproute2 - net::iptables + - net::iputils - net::lighttpd - net::net-tools - net::nftables From 08b4380ce3a15c350d73a24dbfa3b2364c66c9b3 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:33:03 +0000 Subject: [PATCH 06/16] add net::openldap v2.6.12 --- recipes/net/openldap.yaml | 53 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 54 insertions(+) create mode 100644 recipes/net/openldap.yaml diff --git a/recipes/net/openldap.yaml b/recipes/net/openldap.yaml new file mode 100644 index 00000000..dac963fa --- /dev/null +++ b/recipes/net/openldap.yaml @@ -0,0 +1,53 @@ +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 + + case $(cpackageLibraryType) in + shared) + DYNAMIC="--enable-dynamic" + ;; + *) + ;; + esac + + export STRIP="true" + autotoolsBuild $1 --disable-slapd \ + --disable-debug \ + ${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 diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 2e448536..dcc03105 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -130,6 +130,7 @@ depends: - net::net-tools - net::nftables - net::ntp + - net::openldap - net::openssh - net::socat - net::strongswan From 096396c83d84b15edb97b5f1ba23772781a3376f Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:38:58 +0000 Subject: [PATCH 07/16] add utils::usbutils v019 --- recipes/utils/usbutils.yaml | 28 ++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 29 insertions(+) create mode 100644 recipes/utils/usbutils.yaml diff --git a/recipes/utils/usbutils.yaml b/recipes/utils/usbutils.yaml new file mode 100644 index 00000000..12640cfa --- /dev/null +++ b/recipes/utils/usbutils.yaml @@ -0,0 +1,28 @@ +inherit: [meson] + +metaEnvironment: + PKG_LICENSE: "GPL-2.0-or-later" + PKG_VERSION: "019" + +depends: + - libs::libusb-dev + - libs::zlib-dev + - virtual::core::udev-dev + - use: [] + depends: + - libs::zlib-tgt + - libs::libusb-tgt + - virtual::core::udev-tgt + +checkoutSCM: + scm: url + url: https://github.com/gregkh/usbutils/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: f0df341a2125a4bdf2f88c77c3828af9f24c2d58e30928c45b23f41e1315df7a + stripComponents: 1 + +buildScript: | + mesonBuild $1 + +provideDeps: ['*-tgt'] +packageScript: | + mesonPackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index dcc03105..124d6023 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -211,6 +211,7 @@ depends: - utils::sysbench - utils::tidy - utils::ttysnoop + - utils::usbutils - utils::xorriso - utils::xxd From 758f64dbf2ee435dd3dc2431f52222d615b066fb Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Wed, 12 Feb 2025 14:54:10 +0000 Subject: [PATCH 08/16] add utils::qpdf v12.3.2 --- recipes/utils/qpdf.yaml | 29 +++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 30 insertions(+) create mode 100644 recipes/utils/qpdf.yaml diff --git a/recipes/utils/qpdf.yaml b/recipes/utils/qpdf.yaml new file mode 100644 index 00000000..a872532b --- /dev/null +++ b/recipes/utils/qpdf.yaml @@ -0,0 +1,29 @@ +inherit: [cmake] + +metaEnvironment: + PKG_LICENSE: "Apache-2.0" + PKG_VERSION: "12.3.2" + +depends: + - libs::zlib-dev + - virtual::libs::libjpeg-dev + - use: [] + depends: + - libs::zlib-tgt + - virtual::libs::libjpeg-tgt + +checkoutSCM: + scm: url + url: https://github.com/qpdf/qpdf/releases/download/v${PKG_VERSION}/qpdf-${PKG_VERSION}.tar.gz + digestSHA256: 6cba2f9f2cd887d905faeb99e0e51a307b217920d1bbf3e9cfbb2e8178a2deda + stripComponents: 1 + +buildScript: | + cmakeBuild $1 + +provideDeps: ['*-tgt'] +packageScript: | + cmakePackageTgt + +provideTools: + qpdf: "usr/bin" diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 124d6023..cfc90cfa 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -212,6 +212,7 @@ depends: - utils::tidy - utils::ttysnoop - utils::usbutils + - utils::qpdf - utils::xorriso - utils::xxd From cda55f40897c7cfcc6cd282b746817f734045332 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 27 Feb 2025 10:12:14 +0000 Subject: [PATCH 09/16] add utils::dmidecode v3.7 --- recipes/utils/dmidecode.yaml | 23 +++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 24 insertions(+) create mode 100644 recipes/utils/dmidecode.yaml diff --git a/recipes/utils/dmidecode.yaml b/recipes/utils/dmidecode.yaml new file mode 100644 index 00000000..82806d69 --- /dev/null +++ b/recipes/utils/dmidecode.yaml @@ -0,0 +1,23 @@ +inherit: [cpackage, make, install] + +metaEnvironment: + PKG_VERSION: "3.7" + PKG_LICENSE: "GPL-2.0-or-later" + +checkoutSCM: + scm: url + url: "https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${PKG_VERSION}.tar.xz" + digestSHA256: 2c3aed12c85a1e6a9410d406d5e417c455466dc1bc7c89278bb32cf7cad91e8a + stripComponents: 1 + +buildVars: [CC] +buildScript: | + mkdir -p __src__ + rsync -a --delete $1/ __src__ + pushd __src__ + makeParallel prefix=/usr + make install DESTDIR=$(pwd)/../install/ prefix=/usr + popd + +packageScript: | + installPackageTgt $1/install/ diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index cfc90cfa..c2bf7a2a 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -191,6 +191,7 @@ depends: - utils::brtools - utils::cpio - utils::cryptsetup + - utils::dmidecode - utils::dosfstools - utils::e2fsprogs - utils::evtest From 64a48b7c251ab8d4154eb5003e925707f1bb5cd7 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 27 Feb 2025 10:12:36 +0000 Subject: [PATCH 10/16] add net::iw v6.9 --- recipes/net/iw.yaml | 27 +++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 28 insertions(+) create mode 100644 recipes/net/iw.yaml diff --git a/recipes/net/iw.yaml b/recipes/net/iw.yaml new file mode 100644 index 00000000..8167545c --- /dev/null +++ b/recipes/net/iw.yaml @@ -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: + installPackageTgt $1/install/ diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index c2bf7a2a..705b2021 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -126,6 +126,7 @@ depends: - net::iproute2 - net::iptables - net::iputils + - net::iw - net::lighttpd - net::net-tools - net::nftables From b4d1fee2b4736a32cf4549b57cf9b0ee84086b6f Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 27 Feb 2025 10:13:53 +0000 Subject: [PATCH 11/16] add net::wpa-supplicant v2.11 --- recipes/net/wpa-supplicant.yaml | 52 +++++++++++++++++++++++ recipes/net/wpa-supplicant/default.config | 21 +++++++++ tests/buildall/recipes/all.yaml | 1 + 3 files changed, 74 insertions(+) create mode 100644 recipes/net/wpa-supplicant.yaml create mode 100644 recipes/net/wpa-supplicant/default.config diff --git a/recipes/net/wpa-supplicant.yaml b/recipes/net/wpa-supplicant.yaml new file mode 100644 index 00000000..a99e1d61 --- /dev/null +++ b/recipes/net/wpa-supplicant.yaml @@ -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: | + installPackageTgt $1/install/ diff --git a/recipes/net/wpa-supplicant/default.config b/recipes/net/wpa-supplicant/default.config new file mode 100644 index 00000000..10e2d1d9 --- /dev/null +++ b/recipes/net/wpa-supplicant/default.config @@ -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 + diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 705b2021..962441b8 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -137,6 +137,7 @@ depends: - net::strongswan - net::tcpdump - net::wget + - net::wpa-supplicant - perl::cache-memcached-tgt - perl::string-crc32-tgt From 2e78f446b153c386666a5ac2e4988ba26e01585c Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 24 Oct 2024 12:42:14 +0000 Subject: [PATCH 12/16] add libs::libssh2 v1.11.1 --- recipes/libs/libssh2.yaml | 30 ++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 31 insertions(+) create mode 100644 recipes/libs/libssh2.yaml diff --git a/recipes/libs/libssh2.yaml b/recipes/libs/libssh2.yaml new file mode 100644 index 00000000..267257fb --- /dev/null +++ b/recipes/libs/libssh2.yaml @@ -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: + provideDeps: ['*-dev'] + packageScript: | + cmakePackageDev + tgt: + provideDeps: ['*-tgt'] + packageScript: | + cmakePackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 962441b8..ffaebfce 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -67,6 +67,7 @@ depends: - libs::libpng-tgt - libs::libseccomp-tgt - libs::libssh-tgt + - libs::libssh2-tgt - libs::libtasn1-tgt - libs::libtirpc-tgt - libs::libtomcrypt-tgt From 572db77f9d5bad8038753500e9b61fb852f3a112 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 4 Jan 2024 12:20:59 +0000 Subject: [PATCH 13/16] add net::nmap v7.98 --- recipes/net/nmap.yaml | 52 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 53 insertions(+) create mode 100644 recipes/net/nmap.yaml diff --git a/recipes/net/nmap.yaml b/recipes/net/nmap.yaml new file mode 100644 index 00000000..7b1d1504 --- /dev/null +++ b/recipes/net/nmap.yaml @@ -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 diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index ffaebfce..54402142 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -131,6 +131,7 @@ depends: - net::lighttpd - net::net-tools - net::nftables + - net::nmap - net::ntp - net::openldap - net::openssh From 1a3c8eb898ff19dcb95312aa9981ef5274f4ea31 Mon Sep 17 00:00:00 2001 From: Jorge Luis Sacchini Date: Tue, 24 Jun 2025 16:20:30 +0200 Subject: [PATCH 14/16] add devel::valgrind v3.26.0 --- recipes/utils/valgrind.yaml | 43 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 44 insertions(+) create mode 100644 recipes/utils/valgrind.yaml diff --git a/recipes/utils/valgrind.yaml b/recipes/utils/valgrind.yaml new file mode 100644 index 00000000..43e6b6ae --- /dev/null +++ b/recipes/utils/valgrind.yaml @@ -0,0 +1,43 @@ +inherit: [autotools] + +metaEnvironment: + PKG_VERSION: "3.26.0" + PKG_LICENSE: "GPL-3.0-or-later" + +checkoutSCM: + scm: url + url: https://sourceware.org/pub/valgrind/valgrind-${PKG_VERSION}.tar.bz2 + digestSHA256: 8d54c717029106f1644aadaf802ab9692e53d93dd015cbd19e74190eba616bd7 + stripComponents: 1 + +buildVars: [AR] +buildTools: [perl] +buildScript: | + autotoolsBuild $1 + +multiPackage: + dev: + packageScript: autotoolsPackageDev + tgt: + packageScript: autotoolsPackageLib + "": + depends: + - use: [] + name: utils::valgrind-tgt + packageScript: | + autotoolsPackageBin + + mv usr/bin/valgrind usr/bin/valgrind_real + cat > usr/bin/valgrind << EOF + #!/bin/bash + + BASE_DIR="\$(dirname \${BASH_SOURCE[0]})/../.." + + VALGRIND_LIB=\$BASE_DIR/usr/libexec/valgrind \\ + exec \$BASE_DIR/usr/bin/valgrind_real "\$@" + EOF + chmod a+x usr/bin/valgrind + + provideDeps: ['*-tgt'] + provideTools: + valgrind: "usr/bin" diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 54402142..0eded26b 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -218,6 +218,7 @@ depends: - utils::ttysnoop - utils::usbutils - utils::qpdf + - utils::valgrind - utils::xorriso - utils::xxd From 0e13342fb40a0bc2d78a24f73619cf779e0dce64 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:34:52 +0000 Subject: [PATCH 15/16] add utils::rauc v1.15 --- recipes/utils/rauc.yaml | 61 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 2 ++ 2 files changed, 63 insertions(+) create mode 100644 recipes/utils/rauc.yaml diff --git a/recipes/utils/rauc.yaml b/recipes/utils/rauc.yaml new file mode 100644 index 00000000..2634641e --- /dev/null +++ b/recipes/utils/rauc.yaml @@ -0,0 +1,61 @@ +inherit: [meson, python3] + +depends: + - tools: + target-toolchain: host-compat-toolchain + depends: + - libs::glib-tools + - python::python3-setuptools + - python::packaging + + - libs::glib-dev + - libs::openssl-dev + - use: [] + depends: + - libs::glib-tgt + - libs::openssl-tgt + +metaEnvironment: + PKG_LICENSE: "LGPL-2.1" + PKG_VERSION: "1.15" + +checkoutSCM: + scm: url + url: https://github.com/rauc/rauc/releases/download/v${PKG_VERSION}/rauc-${PKG_VERSION}.tar.xz + digestSHA256: 4ae0b5246c668acb544ce0230a3bada81c78e8afd4755e5afa2218cbd686fd70 + stripComponents: 1 + +buildTools: [glib] +buildVars: [RAUC_OPTIONS] +buildSetup: | + export PYTHONPATH=$PYTHONPATH:${BOB_DEP_PATHS['libs::glib-tools']}/usr/share/glib-2.0/ +buildScript: | + mesonBuild $1 \ + -Djson=disabled \ + -Dnetwork=false \ + -Dstreaming=false \ + -Dgpt=disabled \ + -Dtests=false \ + -Ddbussystemservicedir="/usr/share/dbus-1/system-services" \ + -Ddbusinterfacesdir="/usr/share/dbus-1/interfaces" \ + -Ddbuspolicydir="/usr/share/dbus-1/system.d" \ + ${RAUC_OPTIONS} + +packageScript: | + mesonPackageTgt + +multiPackage: + host: + environment: + RAUC_OPTIONS: "-Dservice=false" + provideTools: + rauc: "usr/bin" + client: + depends: + - core::dbus-dev + - use: [] + depends: + - core::dbus-tgt + provideDeps: ['*-tgt'] + environment: + RAUC_OPTIONS: "-Dcreate=false" diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 0eded26b..4e2e2bfc 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -210,6 +210,8 @@ depends: - utils::mtools - utils::nano - utils::pciutils + - utils::rauc-client + - utils::rauc-host - utils::s390-tools-ttyrun - utils::screen - utils::strace From 8b57e5345470a44343d2c5a429c1b5ba499a2c47 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 11:36:51 +0000 Subject: [PATCH 16/16] add utils::sysvinit v3.14 --- recipes/utils/sysvinit.yaml | 31 +++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 32 insertions(+) create mode 100644 recipes/utils/sysvinit.yaml diff --git a/recipes/utils/sysvinit.yaml b/recipes/utils/sysvinit.yaml new file mode 100644 index 00000000..7cb63b30 --- /dev/null +++ b/recipes/utils/sysvinit.yaml @@ -0,0 +1,31 @@ +inherit: [make, cpackage, install] + +metaEnvironment: + PKG_LICENSE: "GPL-2.0-or-later" + PKG_VERSION: "3.14" + +checkoutSCM: + scm: url + url: https://github.com/slicer69/sysvinit/releases/download/${PKG_VERSION}/sysvinit-${PKG_VERSION}.tar.xz + digestSHA256: c90874b8c054a35991fb8c4d30c443ed1e9b1815ff6165c7b483f558be4e4b53 + 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/ diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 4e2e2bfc..e4488ce6 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -216,6 +216,7 @@ depends: - utils::screen - utils::strace - utils::sysbench + - utils::sysvinit - utils::tidy - utils::ttysnoop - utils::usbutils