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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 14:27:03 UTC 2013


    Date: Monday, May 13, 2013 @ 16:27:02
  Author: spupykin
Revision: 90678

upgpkg: inputattach 1.24-7

upd

Modified:
  inputattach/trunk/PKGBUILD
Deleted:
  inputattach/trunk/inputattach.conf.d
  inputattach/trunk/inputattach.rc.d

--------------------+
 PKGBUILD           |    8 +-------
 inputattach.conf.d |   10 ----------
 inputattach.rc.d   |   40 ----------------------------------------
 3 files changed, 1 insertion(+), 57 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:26:58 UTC (rev 90677)
+++ PKGBUILD	2013-05-13 14:27:02 UTC (rev 90678)
@@ -4,7 +4,7 @@
 
 pkgname=inputattach
 pkgver=1.24
-pkgrel=6
+pkgrel=7
 pkgdesc="Attach serial mice, keyboards and other input devices to the kernel input system"
 arch=('i686' 'x86_64')
 url="http://linuxconsole.sourceforge.net/"
@@ -17,16 +17,12 @@
 #	'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.rc.d'
 	'inputattach.service'
 	'inputattachctl'
 	'0001-Add-w8001-flag.patch'
 	'0002-Allow-for-custom-baud-rates.patch')
 md5sums=('eb595a766ca363edb3b14c25404596ce'
          '93d34d96cd3ad19ea1aeca7f68a66b4a'
-         '7ca903e54829764c8241233af5069216'
-         'aa2e404fc113abdd2ab14e2a6352c331'
          'c19b9ed38b243191cf5378b87a42a4cc'
          '84c6463660c10bd34c0390102da087d5'
          'f1b3ddae308351357f557cbd5c6cda81'
@@ -49,8 +45,6 @@
 package() {
   cd "$srcdir/src"
   install -Dm755 inputattach "$pkgdir/usr/sbin/inputattach"
-  install -Dm644 $srcdir/inputattach.conf.d "$pkgdir/etc/conf.d/inputattach"
-  install -Dm755 $srcdir/inputattach.rc.d "$pkgdir/etc/rc.d/inputattach"
   install -Dm755 $srcdir/inputattachctl $pkgdir/usr/bin/inputattachctl
   install -Dm644 $srcdir/inputattach.service $pkgdir/usr/lib/systemd/system/inputattach.service
 }

Deleted: inputattach.conf.d
===================================================================
--- inputattach.conf.d	2013-05-13 14:26:58 UTC (rev 90677)
+++ inputattach.conf.d	2013-05-13 14:27:02 UTC (rev 90678)
@@ -1,10 +0,0 @@
-#
-# 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.rc.d
===================================================================
--- inputattach.rc.d	2013-05-13 14:26:58 UTC (rev 90677)
+++ inputattach.rc.d	2013-05-13 14:27:02 UTC (rev 90678)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/inputattach
-
-case "$1" in
-  start)
-    stat_busy "Starting inputattach"
-    for param in "${IAPARAMS[@]}"; do
-      if ! /usr/sbin/inputattach --daemon $param; then
-        stat_fail
-        exit 1
-      fi
-    done
-
-    add_daemon inputattach
-    stat_done
-    ;;
-  stop)
-    stat_busy "Stopping inputattach"
-    PID=`pidof -o %PPID /usr/sbin/inputattach`
-    [ ! -z "$PID" ] && kill $PID &>/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-      exit 1
-    else
-      rm_daemon inputattach
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0




More information about the arch-commits mailing list