git: 9ef8c35f8559 - main - sysutils/nut*: Require devd prior to start

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 17 Oct 2022 18:20:27 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ef8c35f855969b21a880e942ff53803b5d81ce8

commit 9ef8c35f855969b21a880e942ff53803b5d81ce8
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-10-17 15:12:03 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-10-17 18:20:13 +0000

    sysutils/nut*: Require devd prior to start
    
    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
---
 sysutils/nut-devel/Makefile     | 2 +-
 sysutils/nut-devel/files/nut.in | 2 +-
 sysutils/nut/Makefile           | 2 +-
 sysutils/nut/files/nut.in       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index 25a18668efc9..f364ece0ccaf 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nut
 PORTVERSION=	${NUT_COMMIT_DATE}
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 # MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
diff --git a/sysutils/nut-devel/files/nut.in b/sysutils/nut-devel/files/nut.in
index f79346fb39e7..0e4cb9e8a618 100644
--- a/sysutils/nut-devel/files/nut.in
+++ b/sysutils/nut-devel/files/nut.in
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # PROVIDE: nut
-# REQUIRE: NETWORKING devfs syslogd
+# REQUIRE: NETWORKING devfs devd syslogd
 # BEFORE: LOGIN
 # KEYWORD: shutdown
 
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 2ba36006d53a..5043e65fdec2 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nut
 PORTVERSION=	2.8.0
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 
diff --git a/sysutils/nut/files/nut.in b/sysutils/nut/files/nut.in
index f79346fb39e7..0e4cb9e8a618 100644
--- a/sysutils/nut/files/nut.in
+++ b/sysutils/nut/files/nut.in
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # PROVIDE: nut
-# REQUIRE: NETWORKING devfs syslogd
+# REQUIRE: NETWORKING devfs devd syslogd
 # BEFORE: LOGIN
 # KEYWORD: shutdown