<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/nut/files/nut-server-config.sh.functions, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-08-19T20:00:56Z</updated>
<entry>
<title>nut: enable configuring more SSL-related options</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-05T11:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=79db1ee5737efc35c7aec2ab27dde761bb3c03cc'/>
<id>urn:sha1:79db1ee5737efc35c7aec2ab27dde761bb3c03cc</id>
<content type='text'>
Expose the configuration knobs as UCI config for more SSL options.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: enable SSL via NSS by default</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-02T04:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=cdb56f2b0a14415d4043c05c55aed53643df47c8'/>
<id>urn:sha1:cdb56f2b0a14415d4043c05c55aed53643df47c8</id>
<content type='text'>
Enable libnss (Mozilla NSS) for SSL, and make it the default.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: add more common validators and add more validation</title>
<updated>2026-07-15T07:34:39Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-06T23:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=e3f051cefc5c43f97f28d32976a69622bf8cd98b'/>
<id>urn:sha1:e3f051cefc5c43f97f28d32976a69622bf8cd98b</id>
<content type='text'>
Factor out some common validation code into some validator functions,
and add more UCI config validation.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: simplify/improve consistency for RUNAS and STATEPATH</title>
<updated>2026-07-15T07:34:39Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-06T22:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0ebfb5b3e00c413ad001198d7d2f01675757f7ff'/>
<id>urn:sha1:0ebfb5b3e00c413ad001198d7d2f01675757f7ff</id>
<content type='text'>
We claimed we only supported a single upsd section named 'upsd' and a
single uspmon section named 'upsmon', but when determining RUNAS
and STATEPATH we were using overly-complex functions as we were
attempting to support multiple upsd and upsmon sections.

Simplify the logic by adhering to our stated support.

While were are at it we make RUNAS handling more consistent between
nut-server (upsd) and nut-monitor (upsmon).

We no longer try to limp along if RUNAS is not set by find_runas; to do
this properly would require over-complicated logic when setting file
and directory permissions and ownership.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: remove driverpath configuration</title>
<updated>2026-07-15T07:34:39Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-02T22:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=6498ed4a9388697443b498a6459a94967009ae19'/>
<id>urn:sha1:6498ed4a9388697443b498a6459a94967009ae19</id>
<content type='text'>
While driverpath is could in theory be configurable, this was not implemented
in the OpenWrt NUT package, and there is not need for it. Therefore remove the
sample configuration for it, and setting that configuration in the upsd.conf file.

See https://github.com/openwrt/packages/pull/29607#discussion_r3463526037

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: rewrite scripts</title>
<updated>2026-07-02T04:43:08Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-05-08T01:32:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5e6b6943f3137bc31a818aa82fb70f41ddc5e0ca'/>
<id>urn:sha1:5e6b6943f3137bc31a818aa82fb70f41ddc5e0ca</id>
<content type='text'>
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: #28308
Should supersede #21014

Closes: #28298

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
</feed>
