summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2024-05-17 17:49:59 -0700
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2024-05-20 12:11:45 -0700
commitc38bcee10334a35548cdf54064ff7c11a0d66ed3 (patch)
tree186516faa820a1f3b97e9da3ed41f0620a279835
parentf281207f9ea5e457111109729dcc9e6ab65aa573 (diff)
downloadunit-c38bcee10334a35548cdf54064ff7c11a0d66ed3.tar.gz
unit-c38bcee10334a35548cdf54064ff7c11a0d66ed3.tar.bz2
contrib: be quiet on unpack
The lists of files being unpacked are mostly useless but take a significant amount of lines and bytes in e.g. CI jobs. E.g. in rhel9 packaging job, it's 39680 lines just for the unpacking of wasmtime-v11.0.1-src, as compared to total 48945 lines of output.
-rw-r--r--pkg/contrib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/contrib/Makefile b/pkg/contrib/Makefile
index 7e3b8b97..d4f072d2 100644
--- a/pkg/contrib/Makefile
+++ b/pkg/contrib/Makefile
@@ -89,10 +89,10 @@ checksum = \
(cd $(TARBALLS) && $(1))
CHECK_SHA512 = $(call checksum,$(SHA512SUM),SHA512,.sum-)
UNPACK = $(RM) -R $@ \
- $(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xvzfo $(f)) \
- $(foreach f,$(filter %.tar.bz2,$^), && tar xvjfo $(f)) \
- $(foreach f,$(filter %.tar.xz,$^), && tar xvJfo $(f)) \
- $(foreach f,$(filter %.zip,$^), && unzip $(f))
+ $(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xzfo $(f)) \
+ $(foreach f,$(filter %.tar.bz2,$^), && tar xjfo $(f)) \
+ $(foreach f,$(filter %.tar.xz,$^), && tar xJfo $(f)) \
+ $(foreach f,$(filter %.zip,$^), && unzip -q $(f))
UNPACK_DIR = $(patsubst %.tar,%,$(basename $(notdir $<)))
APPLY = (cd $(UNPACK_DIR) && patch -fp1) <
MOVE = mv $(UNPACK_DIR) $@ && touch $@