Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit af827fa

Browse files
committed
Revert "Upgrade UPX to 3.95"
This reverts commit 01d0188. Signed-off-by: Christian Simon <simon@swine.de>
1 parent b92873c commit af827fa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,11 @@ $(BINDIR)/npm: $(BINDIR)/node
162162
# upx binary packer, only supported on Linux
163163
$(BINDIR)/upx:
164164
ifeq ($(UNAME_S),Linux)
165-
curl -sL -o $@.tar.xz https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz
166-
echo "b5d6856b89dd696138ad8c7245a8f0dae4b76f41b5a31c7c43a21bc72c479c4e $@.tar.xz" | $(SHASUM)
165+
# Do not upgrade to 3.95 as it produces wrong binaries for darwin
166+
curl -sL -o $@.tar.xz https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz
167+
echo "e1fc0d55c88865ef758c7e4fabbc439e4b5693b9328d219e0b9b3604186abe20 $@.tar.xz" | $(SHASUM)
167168
which xz || ( apt-get update && apt-get -y install xz-utils)
168-
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.95-amd64_linux/upx --strip-components=1
169+
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.94-amd64_linux/upx --strip-components=1
169170
rm $@.tar.xz
170171
else
171172
echo -e "#/bin/sh\nexit 0" > $@

0 commit comments

Comments
 (0)