From 193e818971e68191ad4ad90582c0d14a0c378675 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Tue, 17 Feb 2026 20:37:58 -0300 Subject: [PATCH] Improve and update many networking recipes --- recipes/wip/net/admin/webmin/recipe.toml | 4 +- .../net/analysis/angryether-rs/recipe.toml | 1 + recipes/wip/net/analysis/pepe/recipe.toml | 1 + recipes/wip/net/analysis/rkik/recipe.toml | 1 + recipes/wip/net/analysis/ttl/recipe.toml | 1 + .../net/bittorrent/aquatic-udp/recipe.toml | 2 + .../wip/net/bittorrent/attractorr/recipe.toml | 3 +- recipes/wip/net/bittorrent/btpd/recipe.toml | 1 + .../wip/net/bittorrent/superseedr/recipe.toml | 1 + .../wip/net/bittorrent/synapse-bt/recipe.toml | 1 + .../wip/net/bittorrent/transg-tui/recipe.toml | 3 +- recipes/wip/net/chat/bitchat-tui/recipe.toml | 1 + recipes/wip/net/chat/halloy/recipe.toml | 3 +- recipes/wip/net/chat/iamb/recipe.toml | 1 + recipes/wip/net/chat/jami/recipe.toml | 38 +++--------------- recipes/wip/net/chat/pidgin/recipe.toml | 3 +- .../wip/net/chat/telegram-desktop/recipe.toml | 39 ++++++++++--------- recipes/wip/net/chat/termchat/recipe.toml | 7 ++-- recipes/wip/net/chat/tiny/recipe.toml | 2 + recipes/wip/net/download/aim/recipe.toml | 12 ++---- .../net/download/anime-downloader/recipe.toml | 1 + recipes/wip/net/download/apkeep/recipe.toml | 1 + recipes/wip/net/download/aria2/recipe.toml | 4 +- recipes/wip/net/download/curlio/recipe.toml | 1 + recipes/wip/net/download/kelpsget/recipe.toml | 10 ++--- recipes/wip/net/lan/lantun/recipe.toml | 2 + recipes/wip/net/lan/malai/recipe.toml | 2 + recipes/wip/net/lan/zerotier/recipe.toml | 12 +++--- recipes/wip/net/lan/ztui/recipe.toml | 1 + 29 files changed, 80 insertions(+), 79 deletions(-) diff --git a/recipes/wip/net/admin/webmin/recipe.toml b/recipes/wip/net/admin/webmin/recipe.toml index 654297457..2567c60c9 100644 --- a/recipes/wip/net/admin/webmin/recipe.toml +++ b/recipes/wip/net/admin/webmin/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO not tested # how to setup: https://webmin.com/download/#freebsd-and-any-other-linux-installation-from-source [source] tar = "https://github.com/webmin/webmin/releases/download/2.600/webmin-2.600-minimal.tar.gz" @@ -8,3 +8,5 @@ script = """ mkdir -pv "${COOKBOOK_STAGE}/home/user/webmin" cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/webmin" """ +[package] +dependencies = ["perl5"] diff --git a/recipes/wip/net/analysis/angryether-rs/recipe.toml b/recipes/wip/net/analysis/angryether-rs/recipe.toml index e780647da..2c6a9c25b 100644 --- a/recipes/wip/net/analysis/angryether-rs/recipe.toml +++ b/recipes/wip/net/analysis/angryether-rs/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/pg3uk/AngryEtherRust" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/analysis/pepe/recipe.toml b/recipes/wip/net/analysis/pepe/recipe.toml index 8ee7e350b..79cc3dd59 100644 --- a/recipes/wip/net/analysis/pepe/recipe.toml +++ b/recipes/wip/net/analysis/pepe/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/omarmhaimdat/pepe" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/analysis/rkik/recipe.toml b/recipes/wip/net/analysis/rkik/recipe.toml index c571577a1..bf869c88b 100644 --- a/recipes/wip/net/analysis/rkik/recipe.toml +++ b/recipes/wip/net/analysis/rkik/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/aguacero7/rkik" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/analysis/ttl/recipe.toml b/recipes/wip/net/analysis/ttl/recipe.toml index 21e74b053..38b6492e5 100644 --- a/recipes/wip/net/analysis/ttl/recipe.toml +++ b/recipes/wip/net/analysis/ttl/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/lance0/ttl" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/bittorrent/aquatic-udp/recipe.toml b/recipes/wip/net/bittorrent/aquatic-udp/recipe.toml index 9d2b9ee2a..b45881d41 100644 --- a/recipes/wip/net/bittorrent/aquatic-udp/recipe.toml +++ b/recipes/wip/net/bittorrent/aquatic-udp/recipe.toml @@ -1,9 +1,11 @@ #TODO not compiled or tested [source] git = "https://github.com/greatest-ape/aquatic" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages aquatic_udp mv "${COOKBOOK_STAGE}/usr/bin/aquatic_udp" "${COOKBOOK_STAGE}/usr/bin/aquatic-udp" """ diff --git a/recipes/wip/net/bittorrent/attractorr/recipe.toml b/recipes/wip/net/bittorrent/attractorr/recipe.toml index 892015455..475e408b7 100644 --- a/recipes/wip/net/bittorrent/attractorr/recipe.toml +++ b/recipes/wip/net/bittorrent/attractorr/recipe.toml @@ -1,8 +1,9 @@ #TODO compiled but not tested [source] git = "https://github.com/rnestler/attractorr" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/net/bittorrent/btpd/recipe.toml b/recipes/wip/net/bittorrent/btpd/recipe.toml index a37033a61..96c733075 100644 --- a/recipes/wip/net/bittorrent/btpd/recipe.toml +++ b/recipes/wip/net/bittorrent/btpd/recipe.toml @@ -3,6 +3,7 @@ [source] git = "https://github.com/btpd/btpd" rev = "a3a10dfe1ece4a726530353a7b208c0cb4ff7e0d" +shallow_clone = true [build] template = "configure" dependencies = [ diff --git a/recipes/wip/net/bittorrent/superseedr/recipe.toml b/recipes/wip/net/bittorrent/superseedr/recipe.toml index c8d85fcec..4292327e2 100644 --- a/recipes/wip/net/bittorrent/superseedr/recipe.toml +++ b/recipes/wip/net/bittorrent/superseedr/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/Jagalite/superseedr" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/bittorrent/synapse-bt/recipe.toml b/recipes/wip/net/bittorrent/synapse-bt/recipe.toml index 53ef1be26..8234dbb8c 100644 --- a/recipes/wip/net/bittorrent/synapse-bt/recipe.toml +++ b/recipes/wip/net/bittorrent/synapse-bt/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/Luminarys/synapse" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/bittorrent/transg-tui/recipe.toml b/recipes/wip/net/bittorrent/transg-tui/recipe.toml index 36cad9696..f6b152df9 100644 --- a/recipes/wip/net/bittorrent/transg-tui/recipe.toml +++ b/recipes/wip/net/bittorrent/transg-tui/recipe.toml @@ -1,8 +1,9 @@ #TODO not compiled or tested [source] git = "https://github.com/PanAeon/transg-tui" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/net/chat/bitchat-tui/recipe.toml b/recipes/wip/net/chat/bitchat-tui/recipe.toml index 01c5de945..80cd89eab 100644 --- a/recipes/wip/net/chat/bitchat-tui/recipe.toml +++ b/recipes/wip/net/chat/bitchat-tui/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/vaibhav-mattoo/bitchat-tui" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/chat/halloy/recipe.toml b/recipes/wip/net/chat/halloy/recipe.toml index a25cebc55..e2867ccd9 100644 --- a/recipes/wip/net/chat/halloy/recipe.toml +++ b/recipes/wip/net/chat/halloy/recipe.toml @@ -1,8 +1,9 @@ #TODO xdg-home crate error (after cargo update) [source] git = "https://github.com/squidowl/halloy" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/net/chat/iamb/recipe.toml b/recipes/wip/net/chat/iamb/recipe.toml index 35120e3c4..debc32690 100644 --- a/recipes/wip/net/chat/iamb/recipe.toml +++ b/recipes/wip/net/chat/iamb/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/ulyssa/iamb" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/chat/jami/recipe.toml b/recipes/wip/net/chat/jami/recipe.toml index f3f66a3b6..8cdcb4871 100644 --- a/recipes/wip/net/chat/jami/recipe.toml +++ b/recipes/wip/net/chat/jami/recipe.toml @@ -1,39 +1,13 @@ -#TODO missing cross-compilation variables -# build instructions - https://git.jami.net/savoirfairelinux/jami-client-qt/-/blob/master/INSTALL.md -# dependencies - https://docs.jami.net/en_US/build/dependencies.html +#TODO missing cross-compilation variables in build.py script +#TODO build with libwrap instead of dbus +#TODO discover minimum dependencies +# build instructions: https://docs.jami.net/en_US/build/index.html [source] git = "https://git.jami.net/savoirfairelinux/jami-client-qt" -rev = "91475c3a3f316b1b674a8fbe453f9d0dd7ef444e" +branch = "stable/20260216.0" +shallow_clone = true [build] template = "custom" -dependencies = [ - "ffmpeg6", - "boost", - "expat", - "gnutls3", - "libopus", - "pcre", - "pulseaudio", - "openssl1", - "speex", - "speexdsp", - "libuuid", - "libfmt", - "libarchive", - "libgit2", - "libnettle", - "zlib", - "libnotify", - "libqrencode", - "qt6-base", - "qt6-declarative", - "qt6-graphicaleffects", - "qt6-multimedia", - "qt6-networkauth", - "qt6-svg", - "qt6-tools", - "qt6-webengine", -] script = """ ./build.py --install """ diff --git a/recipes/wip/net/chat/pidgin/recipe.toml b/recipes/wip/net/chat/pidgin/recipe.toml index 8ac647168..2069350ed 100644 --- a/recipes/wip/net/chat/pidgin/recipe.toml +++ b/recipes/wip/net/chat/pidgin/recipe.toml @@ -1,4 +1,5 @@ -#TODO missing dependencies +#TODO not compiled or tested +#TODO discover minimum dependencies from gnu autotools log [source] tar = "https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.12/pidgin-2.14.12.tar.bz2" [build] diff --git a/recipes/wip/net/chat/telegram-desktop/recipe.toml b/recipes/wip/net/chat/telegram-desktop/recipe.toml index e8da71226..e80874bdb 100644 --- a/recipes/wip/net/chat/telegram-desktop/recipe.toml +++ b/recipes/wip/net/chat/telegram-desktop/recipe.toml @@ -1,23 +1,26 @@ #TODO not compiled or tested -# lacking build instructions +#TODO discover minimum dependencies from cmake log [source] -tar = "https://github.com/telegramdesktop/tdesktop/releases/download/v6.2.3/tdesktop-6.2.3-full.tar.gz" +tar = "https://github.com/telegramdesktop/tdesktop/releases/download/v6.5.1/tdesktop-6.5.1-full.tar.gz" [build] template = "cmake" -dependencies = [ - "qt6-svg", - "qt6-imageformats", - "fontconfig", - "freetype2", - "gobject-introspection", - "glib", - "expat", - "libuuid", - "libpng", - "zlib", - "libffi", - "libpcre", - "libbsd", - "libmd", - "libbrotli", +cmakeflags = [ + "-DDESKTOP_APP_DISABLE_AUTOUPDATE=1", + #"-DDESKTOP_APP_ENABLE_LTO=ON", ] +# dependencies = [ +# "qt6-svg", +# "qt6-imageformats", +# "fontconfig", +# "freetype2", +# "glib", +# "expat", +# "libuuid", +# "libpng", +# "zlib", +# "libffi", +# "libpcre", +# "libbsd", +# "libmd", +# "libbrotli", +# ] diff --git a/recipes/wip/net/chat/termchat/recipe.toml b/recipes/wip/net/chat/termchat/recipe.toml index 9e5675c9a..1c4447ca9 100644 --- a/recipes/wip/net/chat/termchat/recipe.toml +++ b/recipes/wip/net/chat/termchat/recipe.toml @@ -1,8 +1,7 @@ #TODO update the mio crate to 0.8.x [source] git = "https://github.com/lemunozm/termchat" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo --all-features -""" +template = "cargo" +cargoflags = "--all-features" diff --git a/recipes/wip/net/chat/tiny/recipe.toml b/recipes/wip/net/chat/tiny/recipe.toml index e262610b6..955339a29 100644 --- a/recipes/wip/net/chat/tiny/recipe.toml +++ b/recipes/wip/net/chat/tiny/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested (after cargo update and a patch on ring) [source] git = "https://github.com/osa1/tiny" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages tiny """ diff --git a/recipes/wip/net/download/aim/recipe.toml b/recipes/wip/net/download/aim/recipe.toml index e6300a9a1..cdab4f5c8 100644 --- a/recipes/wip/net/download/aim/recipe.toml +++ b/recipes/wip/net/download/aim/recipe.toml @@ -1,13 +1,9 @@ -#TODO openssl-sys crate compilation error +#TODO not compiled or tested [source] git = "https://github.com/mihaigalos/aim" +shallow_clone = true [build] dependencies = [ - "openssl1", + "openssl3", ] -template = "custom" -script = """ -export OPENSSL_DIR="${COOKBOOK_SYSROOT}" -export OPENSSL_STATIC="true" -cookbook_cargo -""" +template = "cargo" diff --git a/recipes/wip/net/download/anime-downloader/recipe.toml b/recipes/wip/net/download/anime-downloader/recipe.toml index 72ac5ab94..dc2d345bd 100644 --- a/recipes/wip/net/download/anime-downloader/recipe.toml +++ b/recipes/wip/net/download/anime-downloader/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/B0SEmc/Anime-Downloader" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/download/apkeep/recipe.toml b/recipes/wip/net/download/apkeep/recipe.toml index 97f907f98..449c7f28d 100644 --- a/recipes/wip/net/download/apkeep/recipe.toml +++ b/recipes/wip/net/download/apkeep/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/EFForg/apkeep" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/download/aria2/recipe.toml b/recipes/wip/net/download/aria2/recipe.toml index 165ff9111..ac27a0025 100644 --- a/recipes/wip/net/download/aria2/recipe.toml +++ b/recipes/wip/net/download/aria2/recipe.toml @@ -1,10 +1,10 @@ -#TODO make dependencies work +#TODO not compiled or tested [source] tar = "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz" [build] template = "configure" dependencies = [ - "openssl1", + "openssl3", "zlib", "libxml2", "libgcrypt", diff --git a/recipes/wip/net/download/curlio/recipe.toml b/recipes/wip/net/download/curlio/recipe.toml index b80fc8c60..f62031e22 100644 --- a/recipes/wip/net/download/curlio/recipe.toml +++ b/recipes/wip/net/download/curlio/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/Kei-K23/curlio" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/net/download/kelpsget/recipe.toml b/recipes/wip/net/download/kelpsget/recipe.toml index c02bd15b8..2f26a6501 100644 --- a/recipes/wip/net/download/kelpsget/recipe.toml +++ b/recipes/wip/net/download/kelpsget/recipe.toml @@ -1,9 +1,9 @@ #TODO not compiled or tested -#TODO require transmission-daemon [source] -git = "https://github.com/davimf721/KelpsGet" +git = "https://github.com/davimf721/KGet" +shallow_clone = true [build] template = "cargo" -dependencies = [ - "openssl1", -] +#dependencies = [ +# "openssl3", +#] diff --git a/recipes/wip/net/lan/lantun/recipe.toml b/recipes/wip/net/lan/lantun/recipe.toml index 91dab8418..b87dd8f1b 100644 --- a/recipes/wip/net/lan/lantun/recipe.toml +++ b/recipes/wip/net/lan/lantun/recipe.toml @@ -1,8 +1,10 @@ #TODO not compiled or tested [source] git = "https://github.com/maxomatic458/lantun" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages lantun-cli """ diff --git a/recipes/wip/net/lan/malai/recipe.toml b/recipes/wip/net/lan/malai/recipe.toml index 237c72592..8f5b4c857 100644 --- a/recipes/wip/net/lan/malai/recipe.toml +++ b/recipes/wip/net/lan/malai/recipe.toml @@ -1,8 +1,10 @@ #TODO not compiled or tested [source] git = "https://github.com/fastn-stack/kulfi" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages malai """ diff --git a/recipes/wip/net/lan/zerotier/recipe.toml b/recipes/wip/net/lan/zerotier/recipe.toml index cbaaa9aee..f86ea058b 100644 --- a/recipes/wip/net/lan/zerotier/recipe.toml +++ b/recipes/wip/net/lan/zerotier/recipe.toml @@ -1,9 +1,11 @@ -#TODO missing script for "make", see https://github.com/zerotier/ZeroTierOne#build-and-platform-notes +#TODO missing script for gnu make: https://github.com/zerotier/ZeroTierOne/blob/dev/build.md +#TODO discover minimum dependencies [source] git = "https://github.com/zerotier/ZeroTierOne" -rev = "327eb9013b39809835a912c9117a0b9669f4661f" +rev = "1.16.0" +shallow_clone = true [build] template = "custom" -dependencies = [ - "openssl1", -] +#dependencies = [ +# "openssl3", +#] diff --git a/recipes/wip/net/lan/ztui/recipe.toml b/recipes/wip/net/lan/ztui/recipe.toml index dbb916c60..d0d0edc58 100644 --- a/recipes/wip/net/lan/ztui/recipe.toml +++ b/recipes/wip/net/lan/ztui/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/erikh/ztui" +shallow_clone = true [build] template = "cargo"