aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-09-01 04:01:57 +0000
committerCy Schubert <cy@FreeBSD.org>2021-09-01 04:01:57 +0000
commit8a2664421b9a3b2a5f8eb8408ad9d7f8df8dbc6c (patch)
tree31acfe1c6f5e7837c3d3d01b0394e211e2cab624
parent89602a6df642dbbfb42447355f8fb8a10641bcad (diff)
downloadports-8a2664421b9a3b2a5f8eb8408ad9d7f8df8dbc6c.tar.gz
ports-8a2664421b9a3b2a5f8eb8408ad9d7f8df8dbc6c.zip
sysutils/nut: Guarantee that devfs is started
devfs does not always win the race with nut causing nut to fail to start in some installations. PR: 258190 Submitted by: hsakamt@tsnr.com Reported by: hsakamt@tsnr.com
-rw-r--r--sysutils/nut-devel/Makefile1
-rw-r--r--sysutils/nut-devel/files/nut.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index 2bfd7d4b8410..9547c971febc 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -2,6 +2,7 @@
PORTNAME= nut
PORTVERSION= ${NUT_COMMIT_DATE}
+PORTREVISION= 1
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 4a1cd62bfcc5..e37c0ad00b84 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
+# REQUIRE: NETWORKING devfs
# BEFORE: LOGIN
# KEYWORD: shutdown