Skip to content

Commit ca5fca2

Browse files
committed
build(windows)!: drop cat and tee executables from windows
The legitimacy of the binaries can't be guaranteed and poses a security risk. A replacement version of these may be introduced in the future in a more secure manner. Closes neovim#32431.
1 parent f247402 commit ca5fca2

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

cmake.deps/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ endif()
156156
if(WIN32)
157157
include(GetBinaryDeps)
158158

159-
GetExecutable(TARGET cat)
160-
GetExecutable(TARGET tee)
161159
GetExecutable(TARGET xxd)
162160

163161
GetBinaryDep(TARGET win32yank_X86_64

cmake.deps/deps.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ LPEG_SHA256 4b155d67d2246c1ffa7ad7bc466c1ea899bbc40fef0257cc9c03cecbaed4352a
1919
LUA_COMPAT53_URL https://github.com/lunarmodules/lua-compat-5.3/archive/v0.13.tar.gz
2020
LUA_COMPAT53_SHA256 f5dc30e7b1fda856ee4d392be457642c1f0c259264a9b9bfbcb680302ce88fc2
2121

22-
CAT_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/cat.exe
23-
CAT_SHA256 93b8d307bb15af3968920bdea3beb869a49d166f9164853c58a4e6ffdcae61c6
24-
TEE_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/tee.exe
25-
TEE_SHA256 950eea4e17fa3a7e89fa2c55374037b5797b3f1a54fea1304634884ab42ec14d
2622
XXD_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/xxd.exe
2723
XXD_SHA256 7a581e3882d28161cc52850f9a11d634b3eaf2c029276f093c1ed4c90e45a10c
2824

src/nvim/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,6 @@ if(WIN32)
770770
set(EXTERNAL_BLOBS_SCRIPT
771771
"file(MAKE_DIRECTORY \"${PROJECT_BINARY_DIR}/windows_runtime_deps/platforms\")")
772772
foreach(DEP_FILE IN ITEMS
773-
cat.exe
774-
tee.exe
775773
win32yank.exe
776774
xxd.exe)
777775
get_filename_component(DEP_FILE_DIR ${DEP_FILE} DIRECTORY)

0 commit comments

Comments
 (0)