<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/dangole/package/system, branch main</title>
<subtitle>Staging tree of Daniel Golle</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/dangole/atom?h=main</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/'/>
<updated>2024-05-20T15:10:42Z</updated>
<entry>
<title>apk: update to latest HEAD 2024-05-19</title>
<updated>2024-05-20T15:10:42Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-20T15:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=5a5d12695489141e1e99552e525bc00aa963c2e1'/>
<id>urn:sha1:5a5d12695489141e1e99552e525bc00aa963c2e1</id>
<content type='text'>
Upstream refactoring caused some mbedtls issues, now fixed again.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>apk: update to latest HEAD 2024-05-18</title>
<updated>2024-05-18T13:05:55Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-18T13:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=99636d4dd8d4bda15b9e072d2d92dd5f4ae0580f'/>
<id>urn:sha1:99636d4dd8d4bda15b9e072d2d92dd5f4ae0580f</id>
<content type='text'>
Drop downstream mbedtls patch since it went upstream.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Link: https://github.com/openwrt/openwrt/pull/15522
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>apk: disable helptext for host build</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-17T20:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=b773ca1a966de99a43925bbaa2ac775536a7b112'/>
<id>urn:sha1:b773ca1a966de99a43925bbaa2ac775536a7b112</id>
<content type='text'>
The host build would need Lua to compile which currently adds a race
condition. Instead of tracking that down just disable helptext for the
host build.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: add APK package build capabilities</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-14T10:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=d788ab376f859164df84e2054cbbbb0921943c5b'/>
<id>urn:sha1:d788ab376f859164df84e2054cbbbb0921943c5b</id>
<content type='text'>
A new option called `USE_APK` is added which generated APK packages
(.apk) instead of OPKG packages (.ipk).

Some features like fstools `snapshot` command are not yet ported

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>apk: add missing PROVIDES</title>
<updated>2024-05-17T18:56:20Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-17T18:47:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=ad4bd9c5d8245ca7e8abaccce8ff106e2a16980b'/>
<id>urn:sha1:ad4bd9c5d8245ca7e8abaccce8ff106e2a16980b</id>
<content type='text'>
Add PROVIDES:=apk to the Makefile so we can default to install `apk` by
default as a dependency.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>rpcd: fix package dependency for APK</title>
<updated>2024-05-17T18:55:51Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-03T15:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=081a59e0f289b820f101cedf1dbbff29e3d4d45a'/>
<id>urn:sha1:081a59e0f289b820f101cedf1dbbff29e3d4d45a</id>
<content type='text'>
Version dependencies must not contain spaces to be compatible with both
OPKG and APK.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>opkg: fix stray \ warnings with grep-3.8</title>
<updated>2024-05-13T22:27:12Z</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2022-09-14T07:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=eb1b0220439262d6fff2a2e2180b87db27390905'/>
<id>urn:sha1:eb1b0220439262d6fff2a2e2180b87db27390905</id>
<content type='text'>
We simply grep for "src/". So no need for "\/".
Furthermore, since grep-3.8 this creates warnings.

As written in the grep-3.8 announcement:
  Regular expressions with stray backslashes now cause warnings, as
  their unspecified behavior can lead to unexpected results.
  For example, '\a' and 'a' are not always equivalent
  &lt;https://bugs.gnu.org/39678&gt;.

Fixes a warning during the first boot:
  grep: warning: stray \ before /

Signed-off-by: Georgi Valkov &lt;gvalkov@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: fix build with GCC 14</title>
<updated>2024-05-12T11:49:39Z</updated>
<author>
<name>Rui Salvaterra</name>
</author>
<published>2024-05-07T12:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=da0cd9d764a39ef60b1594b82721d77b241034d4'/>
<id>urn:sha1:da0cd9d764a39ef60b1594b82721d77b241034d4</id>
<content type='text'>
Also fix a couple of warnings while at it.

Signed-off-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
</content>
</entry>
<entry>
<title>procd: make mDNS TXT record parsing more solid</title>
<updated>2024-04-29T21:24:58Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-04-29T19:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=4b043047132de0b3d90619d538f103af6153fa5a'/>
<id>urn:sha1:4b043047132de0b3d90619d538f103af6153fa5a</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;
</content>
</entry>
<entry>
<title>apk: add package</title>
<updated>2024-04-29T09:36:03Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-03-17T17:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dangole/commit/?id=00b86168bd3c575a740696eaf25f31f01d178b4b'/>
<id>urn:sha1:00b86168bd3c575a740696eaf25f31f01d178b4b</id>
<content type='text'>
APK (Alpine Package Keeper) is the package manager of Alpine Linux and
has multiple advantages over OPKG. While Alpine uses APK version 2, this
commit adds version 3 with a heavily optimised database structure and
additional feature making it suitable for OpenWrt.

This commit will be followed by many more to add APK build capabilities
to the OpenWrt build system, firstly enabling side by side builds of APK
and OPKG packages, later replacing OPKG entirely.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
