Exclude broken pcap from CI tool bundle

ober

26bd4dbbaf2ce1e05b83b74e05af1df865328a11

diff --git a/.build.yml b/.build.yml
index e41bdda..b3ec505 100644
--- a/.build.yml
+++ b/.build.yml
@@ -38,6 +38,12 @@ tasks:
       # prevents the pinned builder's Termux fallback from classifying Debian
       # as Android and adding -liconv.
       cd jerboa
+      # The pinned optional pcap backend does not compile on Debian because
+      # rscap's mapped Sniffer is not Send. Jcode does not use pcap; retain the
+      # rest of Jerboa's full tool feature set and fail closed if the upstream
+      # command changes shape.
+      grep -Fq 'CARGO_TARGET_DIR=target/bundle-native cargo build --locked --release --features full' Makefile
+      sed -i '/CARGO_TARGET_DIR=target\/bundle-native cargo build/ s/--features full/--features tls,crypto,sqlite,duckdb_feat,postgres_feat,wasm/' Makefile
       PREFIX=/usr make jerboa
       echo 'export PATH="$HOME/jerboa/dist:$PATH"' >> ~/.buildenv
   - package-code: |