aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/webcamd
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-01-21 02:35:28 +0800
committerjkim <jkim@FreeBSD.org>2011-01-21 02:35:28 +0800
commit2143cc8bb5c56f439f49213f997d27a6b82faf0e (patch)
tree65a3c88f1d6780a4d1c0021eb75701211ee54e01 /multimedia/webcamd
parentedaeebaf5eb8784baadbdd6a85704fa8ac9ef1db (diff)
downloadfreebsd-ports-gnome-2143cc8bb5c56f439f49213f997d27a6b82faf0e.tar.gz
freebsd-ports-gnome-2143cc8bb5c56f439f49213f997d27a6b82faf0e.tar.zst
freebsd-ports-gnome-2143cc8bb5c56f439f49213f997d27a6b82faf0e.zip
Update devd(8) configuration file to not start webcamd on vendor-specific
interface class devices except for Logitech's. Approved by: hselasky (maintainer) Feature safe: yes
Diffstat (limited to 'multimedia/webcamd')
-rw-r--r--multimedia/webcamd/Makefile1
-rw-r--r--multimedia/webcamd/files/webcamd.conf.in13
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/webcamd/Makefile b/multimedia/webcamd/Makefile
index d542d9cc9ca6..60bf8744312e 100644
--- a/multimedia/webcamd/Makefile
+++ b/multimedia/webcamd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= webcamd
PORTVERSION= 0.1.18
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.selasky.org/hans_petter/video4bsd/releases/
diff --git a/multimedia/webcamd/files/webcamd.conf.in b/multimedia/webcamd/files/webcamd.conf.in
index c1f79bbd20e0..0a21c0353dce 100644
--- a/multimedia/webcamd/files/webcamd.conf.in
+++ b/multimedia/webcamd/files/webcamd.conf.in
@@ -1,7 +1,18 @@
+# Generic USB video devices.
notify 100 {
match "system" "USB";
match "subsystem" "INTERFACE";
match "type" "ATTACH";
- match "intclass" "(0x0e|0xff)";
+ match "intclass" "0x0e";
+ action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev";
+};
+
+# Logitech USB webcams.
+notify 100 {
+ match "system" "USB";
+ match "subsystem" "INTERFACE";
+ match "type" "ATTACH";
+ match "vendor" "0x046d";
+ match "intclass" "0xff";
action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev";
};