diff options
Diffstat (limited to 'community/inputattach')
-rw-r--r-- | community/inputattach/PKGBUILD | 13 | ||||
-rw-r--r-- | community/inputattach/inputattach.install | 6 | ||||
-rw-r--r-- | community/inputattach/inputattach.rc.d | 4 |
3 files changed, 13 insertions, 10 deletions
diff --git a/community/inputattach/PKGBUILD b/community/inputattach/PKGBUILD index b081de6c5..ea5b4240a 100644 --- a/community/inputattach/PKGBUILD +++ b/community/inputattach/PKGBUILD @@ -1,8 +1,10 @@ +# $Id: PKGBUILD 48320 2011-05-31 10:23:41Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Mark Smith <markzzzsmith@yahoo.com.au> pkgname=inputattach pkgver=1.24 -pkgrel=3 +pkgrel=4 pkgdesc="Attach serial mice, keyboards and other input devices to the kernel input system" arch=('i686' 'x86_64' 'mips64el') url="http://linuxconsole.sourceforge.net/" @@ -15,9 +17,12 @@ source=('http://kernel.org/pub/linux/kernel/people/dtor/inputattach.c' 'http://kernel.org/pub/linux/kernel/people/dtor/serio-ids.h' 'inputattach.conf.d' 'inputattach.rc.d' '0001-Add-w8001-flag.patch' '0002-Allow-for-custom-baud-rates.patch') -md5sums=('eb595a766ca363edb3b14c25404596ce' '93d34d96cd3ad19ea1aeca7f68a66b4a' - '7ca903e54829764c8241233af5069216' '8d62f8840a2e6457a953f667df39ef99' - 'f1b3ddae308351357f557cbd5c6cda81' '8f76908449cae24a95adbf0bc0a17721') +md5sums=('eb595a766ca363edb3b14c25404596ce' + '93d34d96cd3ad19ea1aeca7f68a66b4a' + '7ca903e54829764c8241233af5069216' + 'aa2e404fc113abdd2ab14e2a6352c331' + 'f1b3ddae308351357f557cbd5c6cda81' + '8f76908449cae24a95adbf0bc0a17721') build() { cd "$srcdir" diff --git a/community/inputattach/inputattach.install b/community/inputattach/inputattach.install index b5381e14a..d705bceaf 100644 --- a/community/inputattach/inputattach.install +++ b/community/inputattach/inputattach.install @@ -1,18 +1,16 @@ ## arg 1: the new package version post_upgrade() { - (( $(vercmp 1.24-3 $2) > 0 )) && cat <<MSG + (( $(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. -MSG +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 } diff --git a/community/inputattach/inputattach.rc.d b/community/inputattach/inputattach.rc.d index 6b92827be..eb626e199 100644 --- a/community/inputattach/inputattach.rc.d +++ b/community/inputattach/inputattach.rc.d @@ -7,7 +7,7 @@ case "$1" in start) stat_busy "Starting inputattach" - for param in ${IAPARAMS[@]}; do + for param in "${IAPARAMS[@]}"; do if ! /usr/sbin/inputattach --daemon $param; then stat_fail exit 1 @@ -35,6 +35,6 @@ case "$1" in $0 start ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart}" esac exit 0 |