<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/nut/Makefile, 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-09-10T08:22:36Z</updated>
<entry>
<title>nut: prevent service thrashing on boot or hotplug</title>
<updated>2026-09-10T08:22:36Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-08-27T10:41:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ca828ffc4fb971711616bdce2d31cd6b5e6b4cad'/>
<id>urn:sha1:ca828ffc4fb971711616bdce2d31cd6b5e6b4cad</id>
<content type='text'>
On boot, hotplug events were causing excessive start and stop action
for the upsd daemon and driver daemons. We fix that with two primary
actions:
  1. Don't restart service daemons on hotplug until after first boot
     has completed.
  2. Use more robust handling of procd instance starts by ensuring
     that the first start starts the nut-server service and all
     others add to the nut-server service (rather than replacing it).

Ignore hotplug events without a DEVNAME.

In addition clean up some logging.

In the process, this fixes #30375 "hotplugging for setting usb access
right[s] doesn't work anymore"

Closes: #30375

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: drop unnecessary postinsts</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-08-05T04:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f444e3c1eb8b5a611796324148ccb79802b6b9cc'/>
<id>urn:sha1:f444e3c1eb8b5a611796324148ccb79802b6b9cc</id>
<content type='text'>
The uci-defaults scripts are already sourced and removed
by default_postinst so nut-server and nut-upsmon postinsts in this
Makefile are not needed.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: tweak configure settings for NUT 2.8.5+</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-05T11:53:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=12154a072810c630f0bc9bf05a6008f86ccad955'/>
<id>urn:sha1:12154a072810c630f0bc9bf05a6008f86ccad955</id>
<content type='text'>
Update deprecated configure option for NUT build.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: enable shared NSS certificate/key database for upsd and upsmon</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-05T11:50:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b384d15813a05efaee33fec3455f6bd7f77d83e2'/>
<id>urn:sha1:b384d15813a05efaee33fec3455f6bd7f77d83e2</id>
<content type='text'>
Create a group to allow sharing directories files between upsd and
upsmon, and create a shared NSS certificate/key database on postinst
of nut-common (providing the database dir does not already exist).

Also enables preserving the shared database across sysupgrades.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: enable peer certificate verification</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-05T11:47:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=04533d520674578e01d4c05553077deadd4e3797'/>
<id>urn:sha1:04533d520674578e01d4c05553077deadd4e3797</id>
<content type='text'>
Enable CERTVERIFY, CERTREQUEST, and related options for requiring
verified certificates from peers.

While we are at it, alphabetize the list of PKG_CONFIG_DEPENDS in the
Makefile

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<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.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: use spaces for all non-recipe whitespace</title>
<updated>2026-08-19T20:00:56Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-08-02T23:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=27e39ec97ca87a85faba30c2666ed774c20ece1b'/>
<id>urn:sha1:27e39ec97ca87a85faba30c2666ed774c20ece1b</id>
<content type='text'>
To satisfy the CI (because of project style) use spaces instead of tab
in the Makefile, except for Make 'recipes' (which require tabs).

To be consistent do this through the file, no only where CI complained.

There is unusual spacing on the nested define recipes as Make's rules for
those is very particular.

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.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: manage logging</title>
<updated>2026-07-19T09:23:51Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-18T22:24:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=95e3d348f8dac1fff73f1e506b0c46ca17adafa4'/>
<id>urn:sha1:95e3d348f8dac1fff73f1e506b0c46ca17adafa4</id>
<content type='text'>
NUT (upstream) logging has changed. With the introduction of
NUT_DEBUG_SYSLOG we can set it to "stderr" and have NUT's messages
go to stderr only.

This avoid most duplicate messages when procd sends stderr to syslog.

The reverse (syslog only from NUT) is not a current configuration
option. See the section for NUT_DEBUG_SYSLOG at
https://networkupstools.org/docs/man/nut.conf.html#_directives

This is needed because we use '-FF' so that the daemons remain in the
foreground, which is required for procd to manage them. When using
'-FF' logging behaves differently in NUT than when backgrounded.

Unfortunately, there is still some work to be done upstream to
completely eliminate duplicate messages, so some message continue to
appear twice, though not neccessarily with the same facility.priority.

See also
https://github.com/jimklimov/nut/blob/0c3eed09b89cce1e5c0c65ca03d05b4612371cb8/UPGRADING.adoc#changes-from-282-to-283
and
https://github.com/openwrt/packages/pull/29896#issuecomment-5012737643

Conversely, the log messages the initscripts emit are now configured to
emit only to syslog and not to stderr. This avoids duplicates messages
caused by procd's automatic (not configurable) behaviour of sending
the initscript's stderr to syslog, while preserving the syslogid,
facility and priority we want.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>nut: bump PKG_RELEASE for fixes</title>
<updated>2026-07-15T07:34:39Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-07-02T23:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=35012ec0626d139a4706809ccd1da6646257a45a'/>
<id>urn:sha1:35012ec0626d139a4706809ccd1da6646257a45a</id>
<content type='text'>
Script executables have changed, therefore bump PKG_RELEASE

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