<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/sysutils/nut, branch 13.1-eol</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=13.1-eol</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=13.1-eol'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2023-04-06T21:45:49Z</updated>
<entry>
<title>sysutils/nut: Install nut-usb.conf</title>
<updated>2023-04-06T21:45:49Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-04-06T21:40:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=7267b89b748860bd8dbca6d8682ebb3a541892df'/>
<id>urn:sha1:7267b89b748860bd8dbca6d8682ebb3a541892df</id>
<content type='text'>
devd fails to change UPS device node ownership because the nut port
fails to install ${LOCALBASE}/etc/devd/nut-usb.conf. Install it.

Reported by:	Kostas Oikonomou &lt;ko56 _AT_ winlab.rutgers.edu&gt;
MFH:		2023Q2
</content>
</entry>
<entry>
<title>sysutils/nut*: Fix syntax error</title>
<updated>2023-02-14T20:33:59Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-02-14T20:33:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=e2630f644fcb41ca2f9cba64a2e4416043b59fda'/>
<id>urn:sha1:e2630f644fcb41ca2f9cba64a2e4416043b59fda</id>
<content type='text'>
Add missing then.

PR:		269497
Reported by:	&lt;vvd@unislabs.com&gt;
Fixes:		6558c2506990
</content>
</entry>
<entry>
<title>sysutils/nut*: Make nut file ownership fixes optional with default enabled</title>
<updated>2023-02-14T18:40:00Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-02-13T18:57:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=6558c25069901328610d155bea362aeb7ab00f17'/>
<id>urn:sha1:6558c25069901328610d155bea362aeb7ab00f17</id>
<content type='text'>
The nut file ownership fixups due to the UID/GID change from uucp/uucp
to nut/nut may not be desireable for all users. Some users with custom
file ownership may wish ownership to remain untouched. This revision
to the nut family of ports/packages allows users to optionally disable
automatic fixup of nut file ownership.

While at it, rather than use a hardcoded string for user/group ownerships,
use the set parameters in Makefile.

PR:		269497
suggested by:	dvl
</content>
</entry>
<entry>
<title>sysutils/nut*: Add missing SUB_LIST</title>
<updated>2023-02-11T16:15:46Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-02-11T16:13:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=6b4b52c843c34374e12b0b894129549caf22b276'/>
<id>urn:sha1:6b4b52c843c34374e12b0b894129549caf22b276</id>
<content type='text'>
a4cc1509a9b6 failed to add NUT_GROUP to SUB_LIST. This fixes the error.

PR:		269497
Submitted by:	dvl
Reported by:	dvl
Fixes:		a4cc1509a9b6
</content>
</entry>
<entry>
<title>sysutils/nut*: IPMI is not supported by ARM</title>
<updated>2023-02-10T18:26:34Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-02-09T16:40:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=71dda54b318583d02e571f99b6efa036405e4749'/>
<id>urn:sha1:71dda54b318583d02e571f99b6efa036405e4749</id>
<content type='text'>
IPMI is not supported by ARM. Remove it from defaults.

Reported by:	avg
</content>
</entry>
<entry>
<title>sysutils/nut*: Fix nut file access</title>
<updated>2023-02-10T18:26:33Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-02-09T16:03:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a4cc1509a9b65367f76bbdf6b684035d0c3bfbc3'/>
<id>urn:sha1:a4cc1509a9b65367f76bbdf6b684035d0c3bfbc3</id>
<content type='text'>
Preexisting nut files will have uucp group permissions, which will no
longer be available to nut because it runs under its own GID. For the
time being add code to nut_prestart() adjusting the ownership of the
files to UID nut and GID nut.

This code should be removed approximately a year from now as it is
expected that most if not all nut installations will have correct file
ownership by then.

While here, also fix nut.newsyslog to refer to the new nut UID/GID.

Reported by:	avg, Mathieu &lt;sigsys@gmail.com&gt;
Fixes:		02c038c8cc15
</content>
</entry>
<entry>
<title>sysutils/nut*: Fix group for serial UPS users.</title>
<updated>2023-01-23T16:31:29Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-01-23T14:55:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=48b7e2243a83011bce087ffb12932579312d0aa3'/>
<id>urn:sha1:48b7e2243a83011bce087ffb12932579312d0aa3</id>
<content type='text'>
02c038c8cc15, though more secure, broke access to serial devices for
users of serial UPS devices. Add the nut user to the dialer group.

PR:		268960
Reported by:	vvd@unislabs.com
Fixes:		02c038c8cc15
</content>
</entry>
<entry>
<title>sysutils/nut*: Use a dedicated UID and GID</title>
<updated>2023-01-17T21:12:13Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-01-16T22:00:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=02c038c8cc15469c27b4b8ec24ae8b75d587262f'/>
<id>urn:sha1:02c038c8cc15469c27b4b8ec24ae8b75d587262f</id>
<content type='text'>
To reduce conflicts with other packages and improve security, avoid
using the uucp UID and GID. This avoids potential conflicts with the
net/freebsd-uucp port.

Users who wish to continue using the uucp user and group may add
NUT_USER=uucp and NUT_GROUP=uucp to their make.conf.

PR:		268960
Reported by:	delphij
MFH:		2023Q1
</content>
</entry>
<entry>
<title>sysutils/nut*: Remove bash_completion dependency</title>
<updated>2022-10-22T16:58:46Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2022-10-20T06:16:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=6d2af9e3f07a2473b50b02388a58708ad5015cf5'/>
<id>urn:sha1:6d2af9e3f07a2473b50b02388a58708ad5015cf5</id>
<content type='text'>
Even though bash completion scripts are installed, bash_completion
need not be installed, reducing the port and package footprint.
Should a person actually need bash_completion, it can be installed
separately by the user.

PR:		267214
Reported by:	Mel Pilgrim &lt;ports.maintainer@evilphi.com&gt;
MFH:		2022Q4
</content>
</entry>
<entry>
<title>sysutils/nut*: Require devd prior to start</title>
<updated>2022-10-17T18:20:13Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2022-10-17T15:12:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=9ef8c35f855969b21a880e942ff53803b5d81ce8'/>
<id>urn:sha1:9ef8c35f855969b21a880e942ff53803b5d81ce8</id>
<content type='text'>
In some cases nut may start before devd causing it to fail because it
lacks permissions to USB attached UPS devices. The nut supplied
devd.conf ensures that nut has read/write access to the UPS.

PR:		267144
Reported by:	ml@netfence.it
MFH		2022Q4
</content>
</entry>
</feed>
