<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/cache-domains, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-11-04T14:24:51Z</updated>
<entry>
<title>cache-domains: fix CI test with apk</title>
<updated>2026-11-04T14:24:51Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-11-03T08:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=52df6b74dc38a262b980fd6de15132d6af7b1a5b'/>
<id>urn:sha1:52df6b74dc38a262b980fd6de15132d6af7b1a5b</id>
<content type='text'>
The runtime test fails for all three variants on master:

  /ci/utils/cache-domains/pre-test.sh: line 21: opkg: not found

apk downloads through uclient-fetch too, so the libustream swap is still
needed. If the variant's libustream only comes in as a dependency,
removing the tested package purges it with /lib/libustream-ssl.so and
the next download fails. So add the variant with apk, which keeps it in
world, and run apk fix to put its file back if another variant
overwrote it. The opkg part is unchanged.

The generic test then fails on the version check, because
/usr/bin/cache-domains is a shell script that prints only its usage.
test-version.sh skips it.

Tested in the CI test container (aarch64_generic, main) with the
snapshot packages. All three variants pass, each with its own libustream
in place.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Fixed config files being outside of jail</title>
<updated>2023-09-05T09:23:07Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2023-04-12T11:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=104bfa71a9e44a4214291fadfb8078e47d60c28c'/>
<id>urn:sha1:104bfa71a9e44a4214291fadfb8078e47d60c28c</id>
<content type='text'>
This fix dnsmasq failing to startup once configured since the
cache-domains config files are not included in the jail that dnsmasq
runs inside.

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: added pre-test.sh CI step</title>
<updated>2023-05-01T10:38:17Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2023-04-29T06:25:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7dd26ee760153caee550661b9fab0d9ad07dfe51'/>
<id>urn:sha1:7dd26ee760153caee550661b9fab0d9ad07dfe51</id>
<content type='text'>
Some packages variants have conflicting dependencies with the
base packages and the CI test will fail to install before anything
can be done by the packages to setup the system for install.

This change adds a pre-test.sh that runs before the install so things
like the default libustream variant can be swapped out as shown in the
updated cache-domains.

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Fixed hotplug script not running</title>
<updated>2022-03-09T05:55:31Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2022-03-08T12:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=dbd1fd07e8bdde4626ab6701eba95c3f052cdac3'/>
<id>urn:sha1:dbd1fd07e8bdde4626ab6701eba95c3f052cdac3</id>
<content type='text'>
Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Fixed remote script usage change</title>
<updated>2021-10-03T23:43:26Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2021-10-01T02:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=baf556f0de2355bf9ef82b5cbcae3477d4d4ca8d'/>
<id>urn:sha1:baf556f0de2355bf9ef82b5cbcae3477d4d4ca8d</id>
<content type='text'>
* Removed all unnecessary files after configuration
* Reduced code duplication
* Changed to symlinking config instead of copying

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Fixed missing wildcard entries</title>
<updated>2021-06-27T07:11:08Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2021-06-27T06:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8347b46969917cfd9fc095ecb68d5ca3110ee9b1'/>
<id>urn:sha1:8347b46969917cfd9fc095ecb68d5ca3110ee9b1</id>
<content type='text'>
The fix requires the use of the generated dnsmasq `lancache.conf` file.
So I moved configuration of the hosts directory out of the UCI and into
the generated dnsmasq configuration file to simplify the script.

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Fixed host files directory</title>
<updated>2021-04-02T07:15:58Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2021-04-02T05:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8afdaf11953983ad498870b6b57cfcf09c3ac6b3'/>
<id>urn:sha1:8afdaf11953983ad498870b6b57cfcf09c3ac6b3</id>
<content type='text'>
* Hid unnecessary output

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Fixed upstream changes + wolfssl</title>
<updated>2020-09-10T12:22:15Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2020-09-10T11:50:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fc3967f397d7915533eca865e48fea0d309b94a9'/>
<id>urn:sha1:fc3967f397d7915533eca865e48fea0d309b94a9</id>
<content type='text'>
* The upstream script changed to use `.hosts` files from `.conf` files,
so changes were required to make dnsmasq use the new file format.
* Added a default wolfssl variant.

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Improved ifup hotplug reliability</title>
<updated>2020-07-11T12:36:15Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2020-07-11T02:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=af8d8064078337639c0bdbaf52f604ef6f2283aa'/>
<id>urn:sha1:af8d8064078337639c0bdbaf52f604ef6f2283aa</id>
<content type='text'>
I've noticed that in deployment on some reboots it won't configure,
This seems to be due to running before the system/network is ready.

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
<entry>
<title>cache-domains: Changed to hotplug script</title>
<updated>2019-12-02T09:16:42Z</updated>
<author>
<name>Gerard Ryan</name>
</author>
<published>2019-11-19T12:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=124deec9ae2a92637490c616d0f91e3e369687bc'/>
<id>urn:sha1:124deec9ae2a92637490c616d0f91e3e369687bc</id>
<content type='text'>
Since we have to restart dnsmasq to reload the config anyway, this
package doesn't need to run before anything. We do however need to
wait for the network so I've changed this service to be a hotplug
script and utility script.

Signed-off-by: Gerard Ryan &lt;G.M0N3Y.2503@gmail.com&gt;
</content>
</entry>
</feed>
