Add, improve and remove more recipes

This commit is contained in:
Ribbon 2026-06-08 16:09:49 -03:00
parent 0c39c897ba
commit 5ccb829d8b
24 changed files with 218 additions and 39 deletions

View File

@ -1,6 +1,7 @@
#TODO implement a Cookbook template for the Go programming language #TODO implement go template
[source] [source]
git = "https://github.com/docker/cli" git = "https://github.com/docker/cli"
branch = "27.x" branch = "27.x"
shallow_clone = true
[build] [build]
template = "go" template = "go"

View File

@ -1,6 +1,7 @@
#TODO Implement a Cookbook template for the Go programming language #TODO implement go template
[source] [source]
git = "https://github.com/containers/podman" git = "https://github.com/containers/podman"
branch = "v5.2" branch = "v5.2"
shallow_clone = true
[build] [build]
template = "go" template = "go"

View File

@ -1,6 +1,7 @@
#TODO Implement the Cookbook template for the Go programming language #TODO implement go template
[source] [source]
git = "https://github.com/containers/skopeo" git = "https://github.com/containers/skopeo"
branch = "release-1.16" branch = "release-1.16"
shallow_clone = true
[build] [build]
template = "go" template = "go"

View File

@ -1,12 +0,0 @@
#TODO missing script for stack or cabal: https://hledger.org/install.html#build-from-source
[source]
git = "https://github.com/simonmichael/hledger"
rev = "1.52.1"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"libgmp",
"ncursesw",
"zlib",
]

View File

@ -0,0 +1,16 @@
#TODO compile and test
# build instructions: https://github.com/ledger/ledger#building
[source]
git = "https://github.com/ledger/ledger"
rev = "v3.4.1"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_LIBRARY=OFF",
]
dependencies = [
"boost",
"libgmp",
"libmpfr",
]

View File

@ -1,6 +1,8 @@
#TODO missing script for Go, see https://github.com/kahing/goofys/#installation #TODO implement go template
# build instructions: https://github.com/kahing/goofys/#installation
[source] [source]
git = "https://github.com/kahing/goofys" git = "https://github.com/kahing/goofys"
rev = "45b8d78375af1b24604439d2e60c567654bcdf88" rev = "v0.24.0"
shallow_clone = true
[build] [build]
template = "custom" template = "go"

View File

@ -0,0 +1,15 @@
#TODO add script for proper packaging: https://github.com/nicolargo/glances#source
[source]
git = "https://github.com/nicolargo/glances"
rev = "v4.5.4"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/glances"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/glances"
"""
[package]
dependencies = [
"python312",
]

View File

@ -0,0 +1,9 @@
#TODO compile and test
# build instructions: https://github.com/tgraf/bmon#compile-yourself
[source]
tar = "https://github.com/tgraf/bmon/releases/download/v4.0/bmon-4.0.tar.gz"
[build]
template = "configure"
dependencies = [
"libconfuse",
]

View File

@ -0,0 +1,17 @@
#TODO compile and test
# build instructions: https://onotelli.github.io/justniffer/
[source]
git = "https://github.com/onotelli/justniffer"
rev = "v0.6.13"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"libpcap",
"boost",
]
script = """
COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/main"
DYNAMIC_INIT
cookbook_configure
"""

View File

@ -0,0 +1,9 @@
#TODO compile and test
# build instructions: https://github.com/traviscross/mtr#installing
[source]
tar = "https://www.bitwizard.nl/mtr/files/mtr-0.96.tar.gz"
[build]
template = "configure"
configureflags = [
"--without-gtk"
]

View File

@ -0,0 +1,12 @@
#TODO need the pcap driver
#TODO compile and test
# build instructions: https://github.com/jpr5/ngrep/blob/master/INSTALL
[source]
git = "https://github.com/jpr5/ngrep"
rev = "v1.49.0"
shallow_clone = true
[build]
template = "configure"
dependencies = [
"libpcap",
]

View File

@ -0,0 +1,23 @@
#TODO compile and test
# probably missing dependencies
# build instructions: https://github.com/ntop/ntopng/blob/6.6-stable/doc/README.compilation
[source]
git = "https://github.com/ntop/ntopng"
rev = "6.6"
shallow_clone = true
script = """
autotools_recursive_regenerate
"""
[build]
template = "configure"
dependencies = [
"glib",
"libxml2",
"sqlite3",
"curl",
"libmaxminddb",
]
[package]
dependencies = [
"valkey",
]

View File

@ -0,0 +1,11 @@
#TODO compile and test
# build instructions: https://docs.zeek.org/en/v8.0.8/building-from-source.html
[source]
tar = "https://download.zeek.org/zeek-8.0.8.tar.gz"
[build]
template = "configure"
dependencies = [
"libpcap",
"openssl3",
"zlib",
]

View File

@ -0,0 +1,11 @@
#TODO port openjdk
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
wget https://faculty.washington.edu/browning/beagle/beagle.27Feb25.75f.jar "${COOKBOOK_STAGE}"/usr/bin/beagle.jar
echo "#!/usr/bin/env sh \n java -jar /usr/bin/beagle.jar" > "${COOKBOOK_STAGE}"/usr/bin/beagle
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/beagle
"""
[package]
dependencies = ["openjdk17"]

View File

@ -0,0 +1,15 @@
#TODO add script for proper packaging: https://docs.angr.io/en/latest/getting-started/installing.html
[source]
git = "https://github.com/angr/angr"
rev = "v9.2.221"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/angr"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/angr"
"""
[package]
dependencies = [
"python312",
]

View File

@ -0,0 +1,15 @@
#TODO add script for proper packaging: https://github.com/mandiant/capa/blob/master/doc/installation.md
[source]
git = "https://github.com/mandiant/capa"
rev = "v9.4.0"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/capa"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/capa"
"""
[package]
dependencies = [
"python312",
]

View File

@ -0,0 +1,15 @@
#TODO add script for proper packaging: https://github.com/fail2ban/fail2ban#installation
[source]
git = "https://github.com/fail2ban/fail2ban"
rev = "1.1.0"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/fail2ban"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/fail2ban"
"""
[package]
dependencies = [
"python312",
]

View File

@ -1,8 +1,8 @@
#TODO missing script for go #TODO implement go template
# build instructions: https://github.com/elves/elvish/blob/main/docs/building.md # build instructions: https://github.com/elves/elvish/blob/main/docs/building.md
[source] [source]
git = "https://github.com/elves/elvish" git = "https://github.com/elves/elvish"
branch = "v0.21-release" branch = "v0.21-release"
shallow_clone = true shallow_clone = true
[build] [build]
template = "custom" template = "go"

View File

@ -1,14 +0,0 @@
#TODO finish cross-compilation script
# build instructions: https://github.com/helio-fm/helio-sequencer/blob/develop/Docs/readme.md#building-from-source
[source]
git = "https://github.com/helio-fm/helio-sequencer"
rev = "3.17"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
cd Projects/LinuxMakefile
make CONFIG=Release64
"""

View File

@ -0,0 +1,16 @@
#TODO add script for proper packaging: https://deepwiki.com/deep5050/radio-active/2-installation-and-setup
[source]
git = "https://github.com/deep5050/radio-active"
rev = "v4.0.2"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/radio-active"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/radio-active"
"""
[package]
dependencies = [
"python312",
"ffmpeg6",
]

View File

@ -0,0 +1,5 @@
#TODO implement go template
[source]
tar = "https://github.com/charmbracelet/freeze/releases/download/v0.2.2/freeze-0.2.2.tar.gz"
[build]
template = "go"

View File

@ -0,0 +1,10 @@
#TODO add script for gnu make: https://github.com/Xfennec/progress#how-do-you-build-it-from-source
[source]
git = "https://github.com/Xfennec/progress"
rev = "v0.17"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"ncursesw",
]

View File

@ -1,5 +1,6 @@
#TODO missing script for Go, see https://rclone.org/install/#source #TODO implement go template
# build instructions: https://rclone.org/install/#source
[source] [source]
tar = "https://github.com/rclone/rclone/releases/download/v1.64.2/rclone-v1.64.2.tar.gz" tar = "https://github.com/rclone/rclone/releases/download/v1.64.2/rclone-v1.64.2.tar.gz"
[build] [build]
template = "custom" template = "go"

View File

@ -1,6 +1,6 @@
#TODO missing script for Go, see https://restic.readthedocs.io/en/stable/020_installation.html#from-source #TODO implement go template
#TODO maybe needs to be patched # build instructions: https://restic.readthedocs.io/en/stable/020_installation.html#from-source
[source] [source]
tar = "https://github.com/restic/restic/releases/download/v0.16.2/restic-0.16.2.tar.gz" tar = "https://github.com/restic/restic/releases/download/v0.16.2/restic-0.16.2.tar.gz"
[build] [build]
template = "custom" template = "go"