aboutsummaryrefslogtreecommitdiff
path: root/multimedia/webcamd
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2011-01-20 18:35:28 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2011-01-20 18:35:28 +0000
commit300eb8b506c8bf86e2d40be9bd1bf3043fd4e595 (patch)
treebbc2fe01ba32de19ee7d0216260318b89a9c9212 /multimedia/webcamd
parent67c9e7e724f5856275046c60cd17c0072a840785 (diff)
downloadports-300eb8b506c8bf86e2d40be9bd1bf3043fd4e595.tar.gz
ports-300eb8b506c8bf86e2d40be9bd1bf3043fd4e595.zip
Notes
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";
};