<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/include/unpack.mk, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/'/>
<updated>2023-01-17T20:40:18Z</updated>
<entry>
<title>include: use libdeflate's gzip to decompress</title>
<updated>2023-01-17T20:40:18Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2023-01-07T08:18:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=11ad0c83554954a7f820238cd94d51a124581fc7'/>
<id>urn:sha1:11ad0c83554954a7f820238cd94d51a124581fc7</id>
<content type='text'>
libdeflate decompresses much faster than gzip.

Example:

~/d/openwrt&gt; time gzip -dc dl/cmake-3.25.1.tar.gz &gt; /dev/null

________________________________________________________
Executed in    1.01 secs      fish           external
   usr time  912.61 millis    1.67 millis  910.94 millis
   sys time   32.21 millis    0.25 millis   31.96 millis

~/d/openwrt&gt; time libdeflate-gzip -dc dl/cmake-3.25.1.tar.gz &gt; /dev/null

________________________________________________________
Executed in  523.04 millis    fish           external
   usr time  415.48 millis    1.07 millis  414.41 millis
   sys time  107.74 millis    0.15 millis  107.59 millis

~/d/openwrt&gt; time gzip -dc dl/tessdata-4.1.0.tar.gz &gt; /dev/null

________________________________________________________
Executed in    8.99 secs    fish           external
   usr time    8.90 secs  530.00 micros    8.90 secs
   sys time    0.07 secs   63.00 micros    0.07 secs

~/d/openwrt&gt; time libdeflate-gzip -dc dl/tessdata-4.1.0.tar.gz &gt; /dev/null

________________________________________________________
Executed in    2.74 secs    fish           external
   usr time    2.38 secs  537.00 micros    2.38 secs
   sys time    0.35 secs   66.00 micros    0.35 secs

Place libdeflate into tools-core as it is needed to decompress other
archives.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>include: use cpio from staging dir</title>
<updated>2021-02-28T00:09:09Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-02-27T18:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=dc5328e7e9d97ea779fa06621ce6da8deaac56c9'/>
<id>urn:sha1:dc5328e7e9d97ea779fa06621ce6da8deaac56c9</id>
<content type='text'>
As we built our own CPIO now, use this version instead of whatever the
host may or may not provide.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>build: add zstd support to pack/unpack functions</title>
<updated>2020-05-31T09:03:30Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2020-05-17T11:18:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=4696112ea28299a805ef7de5aff32451adfb2fc3'/>
<id>urn:sha1:4696112ea28299a805ef7de5aff32451adfb2fc3</id>
<content type='text'>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>include: unpack.mk: remove CRLF_WORKAROUND</title>
<updated>2019-04-18T10:06:47Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-04-17T06:11:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=5a829af69abfc3e054b9c85d55d29844a1820397'/>
<id>urn:sha1:5a829af69abfc3e054b9c85d55d29844a1820397</id>
<content type='text'>
This patch doesn't seem to have any more users.
The only one used to be target in
`target/linux/etrax/image/e100boot/Makefile`.

That target has since been removed via commit
1080f68b2b422f1e72e402765a45d0cc3c550825 .

There doesn't seem to be any reason left for this workaround.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: unzip: perform operations quietly</title>
<updated>2017-01-05T10:09:13Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2016-12-31T17:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=4ebb13a0ef66ba5435a0173954238498f3ce7a53'/>
<id>urn:sha1:4ebb13a0ef66ba5435a0173954238498f3ce7a53</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: drop `trapret` function from non-Linux HOST_TAR variant</title>
<updated>2017-01-03T13:32:35Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2016-10-31T08:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=15d8d9c271507cd272b264e0bf9deb20030723a2'/>
<id>urn:sha1:15d8d9c271507cd272b264e0bf9deb20030723a2</id>
<content type='text'>
Looks like this was meant to workaround some limitations with
non-GNU tar variants (like BSD-tar which are present on Mac os BSD hosts).

Though, I cannot find any use of that `+s` option that's mentioned
in the comment.

Last hash of this I found was 24faf55360271cd0bfc4751753384f9210d52f7f

In my case, it now this fails for `python-setuptools` on Mac OS X (the host-build with):
```
trapret 2 tar -C &lt;home-dir&gt;/work/sources-work/lede/build_dir/target-i386_pentium4_musl-1.1.15/python-setuptools-27.2.0 --strip-components=1 -xzf &lt;home-dir&gt;/work/sources-work/lede/dl/setuptools-27.2.0.tar.gz
bash: trapret: command not found
```

So, I was thinking maybe it's time to remove this workaround (9 years later).
I could also fix the `python-setuptools` host build. If that's more preferred.

[ Btw, I just recently transitioned to a Mac machine for dev-ing,
  so a lot of (this Mac) stuff I'm finding out is new to me too. ]

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>include: remove trailing whitespaces</title>
<updated>2015-03-29T07:29:18Z</updated>
<author>
<name>Luka Perkov</name>
</author>
<published>2015-03-29T07:29:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=7002f6326e9dcd4cb3272763ba9b9debd9f3a60d'/>
<id>urn:sha1:7002f6326e9dcd4cb3272763ba9b9debd9f3a60d</id>
<content type='text'>
Signed-off-by: Luka Perkov &lt;luka@openwrt.org&gt;

SVN-Revision: 45127
</content>
</entry>
<entry>
<title>partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk"</title>
<updated>2014-03-22T19:52:48Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-03-22T19:52:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=627e974c99ae27e8fd3db0e17c2df4d85f8975fa'/>
<id>urn:sha1:627e974c99ae27e8fd3db0e17c2df4d85f8975fa</id>
<content type='text'>
This complicates the evaluation order for some packages

SVN-Revision: 40006
</content>
</entry>
<entry>
<title>build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk</title>
<updated>2014-03-21T15:54:03Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-03-21T15:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=00bcebeb4cabcaa630ee940f8bd15d29a563afa6'/>
<id>urn:sha1:00bcebeb4cabcaa630ee940f8bd15d29a563afa6</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 39979
</content>
</entry>
</feed>
