<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/package/system, branch v22.03.7</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2024-04-29T21:30:57Z</updated>
<entry>
<title>procd: make mDNS TXT record parsing more solid</title>
<updated>2024-04-29T21:30:57Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-04-29T19:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ebb3faf31f7c34d71e8ffbf3e8d94bf92086188e'/>
<id>urn:sha1:ebb3faf31f7c34d71e8ffbf3e8d94bf92086188e</id>
<content type='text'>
mDNS broadcast can't accept empty TXT record and would fail
registration.

Current procd_add_mdns_service checks only if the first passed arg is
empty but don't make any verification on the other args permittins
insertion of empty values in TXT record.

Example:

	procd_add_mdns "blah" \
				"tcp" "50" \
				"1" \
				"" \
				"3"

Produce:

{ "blah_50": { "service": "_blah._tcp.local", "port": 50, "txt": [ "1", "", "3" ] } }

The middle empty TXT record should never be included as it's empty.

This can happen with scripts that make fragile parsing and include
variables even if they are empty.

Prevent this and make the TXT record more solid by checking every
provided TXT record and include only the non-empty ones.

The fixed JSON is the following:

{ "blah_50": { "service": "_blah._tcp.local", "port": 50, "txt": [ "1", "3" ] } }

Fixes: b0d9dcf84dd0 ("procd: update to latest git HEAD")
Reported-by: Paul Donald &lt;newtwen@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/15331
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 4b043047132de0b3d90619d538f103af6153fa5a)
</content>
</entry>
<entry>
<title>urngd: update to version 2023-11-01</title>
<updated>2023-11-19T13:58:44Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-11-01T21:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=0c7c87a306b592a38006d303907ec8bc8ec519d5'/>
<id>urn:sha1:0c7c87a306b592a38006d303907ec8bc8ec519d5</id>
<content type='text'>
Fix compilation with glibc

44365eb Deactivate _FORTIFY_SOURCE in jitterentropy-base.c

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit d62726b1e44f785d543e4625b19ca1f628adda6c)
</content>
</entry>
<entry>
<title>treewide: Add extra CPE identifier</title>
<updated>2023-09-27T20:33:09Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-09-24T18:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=0a1dc007e49cf20a961de52c36dbf35dd7ef74dd'/>
<id>urn:sha1:0a1dc007e49cf20a961de52c36dbf35dd7ef74dd</id>
<content type='text'>
This adds some Common Platform Enumerations (CPE) identifiers which I
found.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>urngd: update to the latest master</title>
<updated>2023-08-28T14:36:08Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2023-07-25T07:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=aeb1221784c70eccf2d65086b132fb365e4e81a1'/>
<id>urn:sha1:aeb1221784c70eccf2d65086b132fb365e4e81a1</id>
<content type='text'>
7aefb47 jitterentropy-rngd: update to the v1.2.0

What's interesting about jitterentropy-rngd v1.2.0 release is that it
bumps its copy of jitterentropy-library from v2.2.0 to the v3.0.0. That
bump includes a relevant commit 3130cd9 ("replace LSFR with SHA-3 256").

When initializing entropy jent calculates time delta. Time values are
obtained using clock_gettime() + CLOCK_REALTIME. There is no guarantee
from CLOCK_REALTIME of unique values and slow devices often return
duplicated ones.

A switch from jent_lfsr_time() to jent_hash_time() resulted in many less
cases of zero delta and avoids ECOARSETIME.

Long story short: on some system this fixes:
[    6.722725] urngd: jent-rng init failed, err: 2

This is important change for BCM53573 which doesn't include hwrng and
seems to have arch_timer running at 36,8 Hz.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit c74b5e09e692839b39c8325b5f8dc5f2a3b3896c)
</content>
</entry>
<entry>
<title>ca-certificates: Update to version 20230311</title>
<updated>2023-05-28T17:51:52Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2023-05-26T04:09:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ce32068bf2d85e03d3dd034ab345d55247e5626c'/>
<id>urn:sha1:ce32068bf2d85e03d3dd034ab345d55247e5626c</id>
<content type='text'>
Update the ca-certificates and ca-bundle package from version 20211016 to
version 20230311.

Use TAR_OPTIONS instead of hacking Build/Prepare, refresh patches.

Debian change-log entry [1]:
|[...]
|[ Đoàn Trần Công Danh ]
|* ca-certificates: compat with non-GNU mktemp (closes: #1000847)
|
|[ Ilya Lipnitskiy ]
|* certdata2pem.py: use UTC time when checking cert validity
|
|[ Julien Cristau ]
|* Update Mozilla certificate authority bundle to version 2.60
|   The following certificate authorities were added (+):
|   + "Autoridad de Certificacion Firmaprofesional CIF A62634068"
|   + "Certainly Root E1"
|   + "Certainly Root R1"
|   + "D-TRUST BR Root CA 1 2020"
|   + "D-TRUST EV Root CA 1 2020"
|   + "DigiCert TLS ECC P384 Root G5"
|   + "DigiCert TLS RSA4096 Root G5"
|   + "E-Tugra Global Root CA ECC v3"
|   + "E-Tugra Global Root CA RSA v3"
|   + "HARICA TLS ECC Root CA 2021"
|   + "HARICA TLS RSA Root CA 2021"
|   + "HiPKI Root CA - G1"
|   + "ISRG Root X2"
|   + "Security Communication ECC RootCA1"
|   + "Security Communication RootCA3"
|   + "Telia Root CA v2"
|   + "TunTrust Root CA"
|   + "vTrus ECC Root CA"
|   + "vTrus Root CA"
|  The following certificate authorities were removed (-):
|  - "Cybertrust Global Root" (expired)
|  - "EC-ACC"
|  - "GlobalSign Root CA - R2" (expired)
|  - "Hellenic Academic and Research Institutions RootCA 2011"
|  - "Network Solutions Certificate Authority"
|  - "Staat der Nederlanden EV Root CA" (expired)
|* Drop trailing space from debconf template causing misformatting
|  (closes: #980821)
|
|[ Wataru Ashihara ]
|* Make certdata2pem.py compatible with cryptography &gt;= 35 (closes: #1008244)
|[...]

[1]: https://metadata.ftp-master.debian.org/changelogs/main/c/ca-certificates/ca-certificates_20230311_changelog

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
(cherry picked from commit 7c83b6ac8656f9a3b005554d25857e8ed5faf3f6)
</content>
</entry>
<entry>
<title>rpcd: update to latest Git HEAD</title>
<updated>2022-12-19T14:33:27Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-12-15T23:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8e43a44f0851b647130ff753b07bddfccfeaf3e2'/>
<id>urn:sha1:8e43a44f0851b647130ff753b07bddfccfeaf3e2</id>
<content type='text'>
7de4820 iwinfo: add "hwmodes_text" to the info output
b3f530b iwinfo: clean up rpc_iwinfo_call_hw_ht_mode()
c46ad61 iwinfo: reuse infos provided by libiwinfo
6c5e900 iwinfo: constify string map arg for rpc_iwinfo_call_int()

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit d15b1fbed7abb6d4d536c32551ce6d73a309889b)
</content>
</entry>
<entry>
<title>procd: service: pass all arguments to service</title>
<updated>2022-11-27T14:43:08Z</updated>
<author>
<name>Andrew Ammerlaan</name>
</author>
<published>2022-10-30T14:56:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a4af427d805243305e5a8c8effb37d67f938f47d'/>
<id>urn:sha1:a4af427d805243305e5a8c8effb37d67f938f47d</id>
<content type='text'>
Passing all arguments to /etc/init.d/$service restores the
behaviour of openwrt 21.02. This is relevant for services
such as etherwake which take more then one argument, e.g.:
"service etherwake start &lt;list of devices to wake&gt;"

Signed-off-by: Andrew Ammerlaan &lt;andrewammerlaan@gentoo.org&gt;
(cherry picked from commit b2e83c16e1383eb817c1f34d7118b01cefa670d8)
</content>
</entry>
<entry>
<title>rpcd: update to latest Git HEAD</title>
<updated>2022-10-14T22:42:05Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-12T11:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=fa4ec0399332dbf88dddc605103921b5749d07be'/>
<id>urn:sha1:fa4ec0399332dbf88dddc605103921b5749d07be</id>
<content type='text'>
8c852b6 ucode: write ucode runtime exceptions to stderr
e80d0b2 ucode: pass-through `ubus_rpc_session` argument
0d02243 ucode: initialize module search path early

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commits 94129cbefb6027cdfe2b7801a6e27a36d4ec58b8
 and db17c7527107c1dae190608a1313a3977fe4f23f)
</content>
</entry>
<entry>
<title>rpcd: bump version to 2022-08-24</title>
<updated>2022-08-25T09:05:20Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-08-24T11:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8a9733ee0d0fc3fe6667ece1bf43956692cba155'/>
<id>urn:sha1:8a9733ee0d0fc3fe6667ece1bf43956692cba155</id>
<content type='text'>
gcc 10 with -O2 reports following:

 In function ‘strncpy’,
     inlined from ‘rpc_sys_packagelist’ at /opt/devel/openwrt/c-projects/rpcd/sys.c:244:4:
 /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncation]
   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 In function ‘strncpy’,
     inlined from ‘rpc_sys_packagelist’ at /opt/devel/openwrt/c-projects/rpcd/sys.c:227:4:
 /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncation]
   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Since it is not possible to avoid truncation by strncpy, it is necessary
to make sure the result of strncpy is properly NUL-terminated and the
NUL must be inserted explicitly, after strncpy has returned.

References: #10442
Reported-by: Alexey Smirnov &lt;s.alexey@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 34ddd2e545f068e4684ecce98c1da3a6c7c9b04a)
</content>
</entry>
<entry>
<title>rpcd: update to latest Git HEAD</title>
<updated>2022-08-25T08:33:14Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-08-12T19:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8f4a2e42341ef1beed8f096511095cf57d40338b'/>
<id>urn:sha1:8f4a2e42341ef1beed8f096511095cf57d40338b</id>
<content type='text'>
ae5afea ucode: parse ucode plugin scripts in raw mode, init search path

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commit 66a360206e341abdd1e5560e9cb522d8e453b095)
</content>
</entry>
</feed>
