Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add openbsd netcat to script/linux (#21478)
Peter Tripp165d50ff5b1d
diff --git a/script/linux b/script/linuxindex f1fe7511542..7457b8de76a 100755--- a/script/linux+++ b/script/linux@@ -37,6 +37,7 @@ if [[ -n $apt ]]; thencmakeclangjq+ netcat-openbsdgitcurlgettext-base@@ -84,12 +85,14 @@ if [[ -n $dnf ]] || [[ -n $yum ]]; thentar)# perl used for building openssl-sys crate. See: https://docs.rs/openssl/latest/openssl/+ # openbsd-netcat is unavailable in RHEL8/9 (and nmap-ncat doesn't support sockets)if grep -qP '^ID="(fedora)' /etc/os-release; thendeps+=(perl-FindBinperl-IPC-Cmdperl-File-Compareperl-File-Copy+ netcatmold)elif grep -qP '^ID="(rhel|rocky|alma|centos|ol)' /etc/os-release; then@@ -120,7 +123,7 @@ if [[ -n $dnf ]] || [[ -n $yum ]]; thenfifi- $maysudo $pkg_cmd install -y "${deps[@]}"+ $maysudo "$pkg_cmd" install -y "${deps[@]}"finalizeexit 0fi@@ -145,6 +148,7 @@ if [[ -n $zyp ]]; thenlibzstd-develmakemold+ netcat-openbsdopenssl-develsqlite3-develtar@@ -169,6 +173,7 @@ if [[ -n $pacman ]]; thenwaylandlibgit2libxkbcommon-x11+ openbsd-netcatopensslzstdpkgconf@@ -198,6 +203,7 @@ if [[ -n $xbps ]]; thenlibxcb-devellibxkbcommon-devellibzstd-devel+ openbsd-netcatopenssl-develwayland-develvulkan-loader@@ -222,6 +228,7 @@ if [[ -n $emerge ]]; thenmedia-libs/alsa-libmedia-libs/fontconfigmedia-libs/vulkan-loader+ net-analyzer/openbsd-netcatx11-libs/libxcbx11-libs/libxkbcommonsys-devel/mold