[arch-commits] Commit in inputattach/trunk (3 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 12:33:07 EDT 2013


    Date: Monday, May 13, 2013 @ 18:33:06
  Author: spupykin
Revision: 90758

upgpkg: inputattach 1.24-9

upd

Added:
  inputattach/trunk/inputattach.conf.d
Modified:
  inputattach/trunk/PKGBUILD
Deleted:
  inputattach/trunk/inputattach.install

---------------------+
 PKGBUILD            |    8 ++++----
 inputattach.conf.d  |   10 ++++++++++
 inputattach.install |   16 ----------------
 3 files changed, 14 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 16:24:06 UTC (rev 90757)
+++ PKGBUILD	2013-05-13 16:33:06 UTC (rev 90758)
@@ -4,7 +4,7 @@
 
 pkgname=inputattach
 pkgver=1.24
-pkgrel=7
+pkgrel=9
 pkgdesc="Attach serial mice, keyboards and other input devices to the kernel input system"
 arch=('i686' 'x86_64')
 url="http://linuxconsole.sourceforge.net/"
@@ -12,17 +12,16 @@
 depends=('bash')
 makedepends=('gcc')
 backup=(etc/conf.d/inputattach)
-install=inputattach.install
-#source=('http://kernel.org/pub/linux/kernel/people/dtor/inputattach.c'
-#	'http://kernel.org/pub/linux/kernel/people/dtor/serio-ids.h'
 source=('http://arch.p5n.pp.ru/~sergej/dl/2011/inputattach.c'
 	'http://arch.p5n.pp.ru/~sergej/dl/2011/serio-ids.h'
+	'inputattach.conf.d'
 	'inputattach.service'
 	'inputattachctl'
 	'0001-Add-w8001-flag.patch'
 	'0002-Allow-for-custom-baud-rates.patch')
 md5sums=('eb595a766ca363edb3b14c25404596ce'
          '93d34d96cd3ad19ea1aeca7f68a66b4a'
+         '7ca903e54829764c8241233af5069216'
          'c19b9ed38b243191cf5378b87a42a4cc'
          '84c6463660c10bd34c0390102da087d5'
          'f1b3ddae308351357f557cbd5c6cda81'
@@ -46,5 +45,6 @@
   cd "$srcdir/src"
   install -Dm755 inputattach "$pkgdir/usr/sbin/inputattach"
   install -Dm755 $srcdir/inputattachctl $pkgdir/usr/bin/inputattachctl
+  install -Dm644 $srcdir/inputattach.conf.d "$pkgdir/etc/conf.d/inputattach"
   install -Dm644 $srcdir/inputattach.service $pkgdir/usr/lib/systemd/system/inputattach.service
 }

Added: inputattach.conf.d
===================================================================
--- inputattach.conf.d	                        (rev 0)
+++ inputattach.conf.d	2013-05-13 16:33:06 UTC (rev 90758)
@@ -0,0 +1,10 @@
+#
+# Configuration for inputattach
+#
+# IAPARAMS is an array of inputattach arguments, see 'inputattach --help'.
+# An inputattach instance will be started for each element.
+
+IAPARAMS=(
+  "--microsoft /dev/ttyS0"
+  #"--baud 9600 --w8001 /dev/ttyS1"
+)

Deleted: inputattach.install
===================================================================
--- inputattach.install	2013-05-13 16:24:06 UTC (rev 90757)
+++ inputattach.install	2013-05-13 16:33:06 UTC (rev 90758)
@@ -1,16 +0,0 @@
-## arg 1:  the new package version
-
-post_upgrade() {
-  (( $(vercmp 1.24-3 $2) > 0 )) && cat <<EOF
-ATTENTION:
-  /etc/conf.d/inputattach.conf has been replaced by /etc/conf.d/inputattach
-  Make sure you adjust the new config file, which has a new format.
-EOF
-}
-
-post_install() {
-  cat << EOF
-The correct device mode and /dev device file will need to be set in
-/etc/conf.d/inputattach before starting /etc/rc.d/inputattach
-EOF
-}



More information about the arch-commits mailing list