Remove netcat dependency (#28920)
Closes #28813 Closes #27749 Release Notes: - Removed the need to have openbsd `netcat` (`nc`) installed on your system in order to enter passwords for `git` or `ssh` (remote development). If you previously installed `netcat` specifically for Zed, you may uninstall it.
This commit is contained in:
parent
63b4b60b79
commit
cbb6c221b3
8 changed files with 72 additions and 22 deletions
|
@ -38,7 +38,6 @@ if [[ -n $apt ]]; then
|
|||
cmake
|
||||
clang
|
||||
jq
|
||||
netcat-openbsd
|
||||
git
|
||||
curl
|
||||
gettext-base
|
||||
|
@ -88,14 +87,12 @@ if [[ -n $dnf ]] || [[ -n $yum ]]; then
|
|||
tar
|
||||
)
|
||||
# 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; then
|
||||
deps+=(
|
||||
perl-FindBin
|
||||
perl-IPC-Cmd
|
||||
perl-File-Compare
|
||||
perl-File-Copy
|
||||
netcat
|
||||
mold
|
||||
)
|
||||
elif grep -qP '^ID="?(rhel|rocky|alma|centos|ol)' /etc/os-release; then
|
||||
|
@ -152,7 +149,6 @@ if [[ -n $zyp ]]; then
|
|||
libzstd-devel
|
||||
make
|
||||
mold
|
||||
netcat-openbsd
|
||||
openssl-devel
|
||||
sqlite3-devel
|
||||
tar
|
||||
|
@ -179,7 +175,6 @@ if [[ -n $pacman ]]; then
|
|||
libgit2
|
||||
libxcb
|
||||
libxkbcommon-x11
|
||||
openbsd-netcat
|
||||
openssl
|
||||
zstd
|
||||
pkgconf
|
||||
|
@ -209,7 +204,6 @@ if [[ -n $xbps ]]; then
|
|||
libxcb-devel
|
||||
libxkbcommon-devel
|
||||
libzstd-devel
|
||||
openbsd-netcat
|
||||
openssl-devel
|
||||
wayland-devel
|
||||
vulkan-loader
|
||||
|
@ -234,7 +228,6 @@ if [[ -n $emerge ]]; then
|
|||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/vulkan-loader
|
||||
net-analyzer/openbsd-netcat
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
sys-devel/mold
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue