From e0a8a314e897a5262dac2aacdf05344f1201bb2a Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 10 Aug 2011 00:13:02 +0000
Subject: lirc: Repackage to add (1) lirc.lr and (2) lirc_imon.conf Ref #596

---
 abs/core/lirc/PKGBUILD       | 15 ++++++++++-----
 abs/core/lirc/lirc.lr        |  6 ++++++
 abs/core/lirc/lirc_imon.conf |  2 ++
 3 files changed, 18 insertions(+), 5 deletions(-)
 create mode 100644 abs/core/lirc/lirc.lr
 create mode 100644 abs/core/lirc/lirc_imon.conf

diff --git a/abs/core/lirc/PKGBUILD b/abs/core/lirc/PKGBUILD
index 14c4962..5254945 100644
--- a/abs/core/lirc/PKGBUILD
+++ b/abs/core/lirc/PKGBUILD
@@ -4,7 +4,7 @@
 pkgbase=lirc
 pkgname=('lirc' 'lirc-utils')
 pkgver=0.9.0
-pkgrel=5
+pkgrel=8
 #epoch=1
 _kernver=2.6.39-LinHES
 arch=('i686' 'x86_64')
@@ -17,7 +17,8 @@ source=(http://prdownloads.sourceforge.net/${pkgbase}/${pkgbase}-${pkgver}.tar.b
         lircd-handle-large-config.patch
         lirc_atiusb-kfifo.patch
         kernel-2.6.39.patch
-	lircd lircmd lirc.logrotate lircd.conf irexec.conf irexecd)
+	lircd lircmd lirc.lr lircd.conf irexec.conf irexecd
+        lirc_imon.conf)
 
 build() {
   cd "${srcdir}/lirc-${pkgver}"
@@ -77,7 +78,7 @@ package_lirc-utils() {
   chmod -R go-w "${pkgdir}/usr/share/lirc/"
 
   # install the logrotate config
-  install -Dm644 "${srcdir}/lirc.logrotate" "${pkgdir}/etc/logrotate.d/lirc"
+  install -Dm644 "${srcdir}/lirc.lr" "${pkgdir}/etc/logrotate.d/lirc"
     
   # install conf.d file
   install -Dm644 "${srcdir}/lircd.conf" "${pkgdir}/etc/conf.d/lircd.conf"
@@ -87,6 +88,9 @@ package_lirc-utils() {
 
   install -d "${pkgdir}/etc/lirc"
   
+  # install IMON VFD module options
+  install -Dm644 ${srcdir}/lirc_imon.conf ${pkgdir}/etc/modprobe.d/lirc_imon.conf
+
   # remove built modules
   rm -r "${pkgdir}/lib/"
 }
@@ -97,7 +101,8 @@ md5sums=('b232aef26f23fe33ea8305d276637086'
          '087a7d102e1c96bf1179f38db2b0b237'
          '8d0e238dc0eda95e340fe570605da492'
          '85f7fdac55e5256967241864049bf5e9'
-         '1f5611304c1cdcd1f0696468f58b87de'
+         '33905430f163432d70e66e593dc4ca5a'
          '5b1f8c9cd788a39a6283f93302ce5c6e'
          'f0c0ac930326168035f0c8e24357ae55'
-         '69d099e6deedfa3c1ee2b6e82d9b8bfb')
+         '69d099e6deedfa3c1ee2b6e82d9b8bfb'
+         '56f1d74bd20edd96c8e2f2687b124341')
diff --git a/abs/core/lirc/lirc.lr b/abs/core/lirc/lirc.lr
new file mode 100644
index 0000000..44bbdbb
--- /dev/null
+++ b/abs/core/lirc/lirc.lr
@@ -0,0 +1,6 @@
+/var/log/lircd {
+   missingok
+   notifempty
+   delaycompress
+}
+
diff --git a/abs/core/lirc/lirc_imon.conf b/abs/core/lirc/lirc_imon.conf
new file mode 100644
index 0000000..d3e0b8f
--- /dev/null
+++ b/abs/core/lirc/lirc_imon.conf
@@ -0,0 +1,2 @@
+# Module options for IMON VFD. usbid=15c2:ffdc Ref #596
+options lirc_imon display_type=1
-- 
cgit v0.12

