git: 3262e6b155e1 - main - multimedia/webcamd: Set cuse(3) as required kernel module.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Mar 2023 17:23:39 UTC
The branch main has been updated by hselasky:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3262e6b155e17c66aaff42d1eeedb0bce730f1cd
commit 3262e6b155e17c66aaff42d1eeedb0bce730f1cd
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2023-03-30 17:05:30 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2023-03-30 17:20:15 +0000
multimedia/webcamd: Set cuse(3) as required kernel module.
Approved by: pi (implicit)
---
multimedia/webcamd/Makefile | 1 +
multimedia/webcamd/files/webcamd.in | 1 +
multimedia/webcamd/pkg-message | 19 ++++---------------
3 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/multimedia/webcamd/Makefile b/multimedia/webcamd/Makefile
index 4d9422881eee..3a7cc730c5d4 100644
--- a/multimedia/webcamd/Makefile
+++ b/multimedia/webcamd/Makefile
@@ -1,6 +1,7 @@
PORTNAME= webcamd
DISTVERSIONPREFIX= v
DISTVERSION= 5.17.1.2
+PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= hselasky@FreeBSD.org
diff --git a/multimedia/webcamd/files/webcamd.in b/multimedia/webcamd/files/webcamd.in
index b9e6b66b5f4b..30dd72850047 100644
--- a/multimedia/webcamd/files/webcamd.in
+++ b/multimedia/webcamd/files/webcamd.in
@@ -101,6 +101,7 @@ command_args="-B -U ${webcamd_user} -G ${webcamd_group}"
start_cmd="${name}_start"
stop_cmd="${name}_stop"
status_cmd="${name}_status"
+required_modules="cuse"
#
# The following pidfile should not exist and
diff --git a/multimedia/webcamd/pkg-message b/multimedia/webcamd/pkg-message
index 07463243eae5..b0d991ef8a13 100644
--- a/multimedia/webcamd/pkg-message
+++ b/multimedia/webcamd/pkg-message
@@ -1,30 +1,19 @@
[
{ type: install
message: <<EOM
-1) webcamd requires the cuse(3) kernel module.
-Please load this dependency by doing:
-
- # kldload cuse
-
-or by adding
-
- cuse_load="YES"
-
-to your /boot/loader.conf
-
-2) add webcamd_enable="YES"
+1) add webcamd_enable="YES"
to your /etc/rc.conf
-3) Please restart devd to start webcamd
+2) Please restart devd to start webcamd
# service devd restart
-4) Optionally add a user to the "webcamd" group
+3) Optionally add a user to the "webcamd" group
# pw groupmod webcamd -m <username>
-5) If webcamd still did not start, consult the installed webcamd rc.d
+4) If webcamd still did not start, consult the installed webcamd rc.d
script for more help and instructions on how to start webcamd.
EOM
}