aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/uhidd/Makefile2
-rw-r--r--sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample19
2 files changed, 20 insertions, 1 deletions
diff --git a/sysutils/uhidd/Makefile b/sysutils/uhidd/Makefile
index 4558c7f61a9c..2d0f8ab4169f 100644
--- a/sysutils/uhidd/Makefile
+++ b/sysutils/uhidd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= uhidd
PORTVERSION= 0.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE \
http://people.freebsd.org/~kaiw/distfiles/
diff --git a/sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample b/sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
new file mode 100644
index 000000000000..c020dfae1dc5
--- /dev/null
+++ b/sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
@@ -0,0 +1,19 @@
+Index: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
+===================================================================
+RCS file: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
+diff -N sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
+--- /dev/null 1 Jan 1970 00:00:00 -0000
++++ sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample 8 Aug 2011 03:25:53 -0000
+@@ -0,0 +1,12 @@
++--- uhidd/uhidd-devd.conf.sample~
+++++ uhidd/uhidd-devd.conf.sample
++@@ -1,4 +1,6 @@
++-attach 0 {
++- match "device-name" "ugen[0-9]+.[0-9]+";
++- action "/usr/local/etc/rc.d/uhidd start /dev/$device-name";
+++notify 0 {
+++ match "subsystem" "DEVICE";
+++ match "type" "ATTACH";
+++ match "cdev" "ugen[0-9]+.[0-9]+";
+++ action "/usr/local/etc/rc.d/uhidd start /dev/$cdev";
++ }; \ No newline at end of file