From c6a81dce93ce9936f8122aaf85141b4d372a8fcd Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Fri, 3 Feb 2012 17:16:28 +0000 Subject: [PATCH] This patch has been committed into uhidd upstream and will be included in the next uhidd release. However it seems that the next release will take some time and some people want/need this patch so temporarily add it. PR: ports/159313 Submitted by: Test Rat Reviewed by: Kai Wang Requested by: Jan Beich jbeich@tormail.net Approved by: maintainer --- sysutils/uhidd/Makefile | 2 +- .../files/patch-uhidd-uhidd-devd.conf.sample | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample 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