aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-10-17 15:12:03 +0000
committerCy Schubert <cy@FreeBSD.org>2022-10-17 18:20:13 +0000
commit9ef8c35f855969b21a880e942ff53803b5d81ce8 (patch)
tree091f454bee52841a2b364dc0df34e140b4385034
parent691cdac014c73229532a282f8c5ec4d93fc7c0e2 (diff)
downloadports-9ef8c35f855969b21a880e942ff53803b5d81ce8.tar.gz
ports-9ef8c35f855969b21a880e942ff53803b5d81ce8.zip
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
-rw-r--r--sysutils/nut-devel/Makefile2
-rw-r--r--sysutils/nut-devel/files/nut.in2
-rw-r--r--sysutils/nut/Makefile2
-rw-r--r--sysutils/nut/files/nut.in2
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