<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/tools, branch v18.06.5</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.5</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.5'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-09-12T06:07:18Z</updated>
<entry>
<title>tools: mkimage: fix __u64 typedef conflict with new glibc</title>
<updated>2019-09-12T06:07:18Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2019-09-11T13:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=6f677d6848fb8a149de69b48298692c6422f976e'/>
<id>urn:sha1:6f677d6848fb8a149de69b48298692c6422f976e</id>
<content type='text'>
Including "sys/stat.h" from newer glibc will cause __u64 from linux uapi
header to be included, causing compilation failure for u-boot tools
USE_HOSTCC

Remove typedef for __u64 in include/compiler.h to fix the issue.  It should be
safe because as of u-boot-2018.03, no ref to __u64 is found under u-boot tools/
directory

Error message snippet follows

	  HOSTCC  tools/mkenvimage.o
	In file included from /usr/include/asm-generic/types.h:7,
			 from /usr/include/asm/types.h:5,
			 from /usr/include/linux/types.h:5,
			 from /usr/include/linux/stat.h:5,
			 from /usr/include/bits/statx.h:30,
			 from /usr/include/sys/stat.h:446,
			 from tools/mkenvimage.c:21:
	/usr/include/asm-generic/int-ll64.h:31:42: error: conflicting types for '__u64'
	   31 | __extension__ typedef unsigned long long __u64;
	      |                                          ^~~~~
	In file included from &lt;command-line&gt;:
	././include/compiler.h:69:18: note: previous declaration of '__u64' was here
	   69 | typedef uint64_t __u64;
	      |                  ^~~~~
	make[5]: *** [scripts/Makefile.host:116: tools/mkenvimage.o] Error 1

Ref: https://forum.openwrt.org/t/compile-error-19-07/44423
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1699194
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/patch: apply upstream patch for cve-2019-13638</title>
<updated>2019-08-14T07:12:23Z</updated>
<author>
<name>Russell Senior</name>
</author>
<published>2019-08-11T20:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=dc2f2a16d385147abf8bc13b0b05ab0f2512b537'/>
<id>urn:sha1:dc2f2a16d385147abf8bc13b0b05ab0f2512b537</id>
<content type='text'>
GNU patch through 2.7.6 is vulnerable to OS shell command injection that
can be exploited by opening a crafted patch file that contains an ed style

diff payload with shell metacharacters. The ed editor does not need to be
present on the vulnerable system. This is different from CVE-2018-1000156.

https://nvd.nist.gov/vuln/detail/CVE-2019-13638

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;
(cherry picked from commit bcfd1d76852974170780dbe368e6194dbb0e123e)
</content>
</entry>
<entry>
<title>tools/patch: apply upstream patch for CVE-2019-13636</title>
<updated>2019-08-14T07:12:23Z</updated>
<author>
<name>Russell Senior</name>
</author>
<published>2019-07-29T19:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=c99ceb7030ed92926d6e3561b176cb9940daa3cb'/>
<id>urn:sha1:c99ceb7030ed92926d6e3561b176cb9940daa3cb</id>
<content type='text'>
In GNU patch through 2.7.6, the following of symlinks is mishandled in
certain cases other than input files. This affects inp.c and util.c.

https://nvd.nist.gov/vuln/detail/CVE-2019-13636

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;
(cherry picked from commit 995bcc532943639f3df36dbcaa361f9167f9f4d5)
</content>
</entry>
<entry>
<title>tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin</title>
<updated>2019-04-24T05:22:25Z</updated>
<author>
<name>Ted Hess</name>
</author>
<published>2018-11-13T20:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=24aefaec62f87f7d958376c8a0152adb649f4419'/>
<id>urn:sha1:24aefaec62f87f7d958376c8a0152adb649f4419</id>
<content type='text'>
Signed-off-by: Ted Hess &lt;thess@kitschensync.net&gt;
(cherry picked from commit 042d68a19593ac796098845366a235f5465816da)
</content>
</entry>
<entry>
<title>tools/pkg-config: pass arguments at the end</title>
<updated>2019-04-24T05:22:17Z</updated>
<author>
<name>Arthur Skowronek</name>
</author>
<published>2018-10-15T12:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=aaa34526c4a71a4f2a63142db1a207f493c4be8f'/>
<id>urn:sha1:aaa34526c4a71a4f2a63142db1a207f493c4be8f</id>
<content type='text'>
Go for openwrt passes pkg-config arguments in the format of

        pkg-config --cflags -- pkg-name

which in turn will be passed down to the real pkg-config as something
like

        pkg-config.real --cflags -- pkg-name --define...

and causes the real pkg-config implementation to missinterpret the given
argument list.

This also helps to fix https://github.com/golang/go/issues/27940

Signed-off-by: Arthur Skowronek &lt;arthur.skowronek@tuta.io&gt;
(cherry picked from commit 5f2cb6d7dc9de24bec7b1139f8d785f0e7588eed)
</content>
</entry>
<entry>
<title>tools/libelf: Add mirrors as main site is dead</title>
<updated>2019-03-17T15:26:05Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2019-03-14T07:25:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=400601f0e341115eb87fd73032c08559c30491ef'/>
<id>urn:sha1:400601f0e341115eb87fd73032c08559c30491ef</id>
<content type='text'>
Main site hasn't resolved for days so just add a few mirrors instead

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;
(cherry picked from commit a56c21f582810a28e9493dcfae584132d7ea9451)
</content>
</entry>
<entry>
<title>tools/firmware-utils: fix sysupgrade typo in mkdapimg2</title>
<updated>2019-01-13T09:13:18Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-01-12T18:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d58c6aedb6c8e53c0c9d29f646462787f3c6d584'/>
<id>urn:sha1:d58c6aedb6c8e53c0c9d29f646462787f3c6d584</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/firmware-utils: fix sysupgrade typo in mkdapimg</title>
<updated>2019-01-13T09:13:07Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-01-12T18:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=0cef35f09645387b4b7980124e21c6e6672f85a7'/>
<id>urn:sha1:0cef35f09645387b4b7980124e21c6e6672f85a7</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/e2fsprogs: Update to 1.44.2</title>
<updated>2018-12-18T16:22:08Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2018-06-09T20:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=492174198f612df46c58b2dcd636cad163a13ca8'/>
<id>urn:sha1:492174198f612df46c58b2dcd636cad163a13ca8</id>
<content type='text'>
Update e2fsprogs to 1.44.2

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;
(backported from 651a62353b02a61f685e34ad6eaea8e61394a741)
</content>
</entry>
<entry>
<title>flex: Add a lex symlink</title>
<updated>2018-12-18T16:22:07Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2018-11-13T20:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=0340d3ad2d1b6bdc9c58e242d987dd92a98d0db1'/>
<id>urn:sha1:0340d3ad2d1b6bdc9c58e242d987dd92a98d0db1</id>
<content type='text'>
Some packages like libpfring assume the presense of lex, which on some
other systems is a symlink to flex but not all. Symlink flex to fix
compilation.

Arch Linux and Fedora do this as far as I know.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
(backported from 7ef38e42c8440a29d1dc721a9e6184b2e369bc2f)
</content>
</entry>
</feed>
