From 1b46342c1684485bde18322fe8329473cfafec72 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 27 Aug 2009 12:20:21 -0400 Subject: [PATCH] inputattach: Added inputattach 1.24 - Tool to attach serial devices to the input subsystem --- base/inputattach/inputattach.cache | 16 +++++++++++++ base/inputattach/inputattach.conf | 30 ++++++++++++++++++++++++ base/inputattach/inputattach.desc | 37 ++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 base/inputattach/inputattach.cache create mode 100644 base/inputattach/inputattach.conf create mode 100644 base/inputattach/inputattach.desc diff --git a/base/inputattach/inputattach.cache b/base/inputattach/inputattach.cache new file mode 100644 index 000000000..fbfefed97 --- /dev/null +++ b/base/inputattach/inputattach.cache @@ -0,0 +1,16 @@ + +[TIMESTAMP] 1251389323 Thu Aug 27 12:08:43 2009 +[BUILDTIME] 0 (5) +[SIZE] 0.02 MB, 7 files + +[DEP] bash +[DEP] binutils +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] linux-header +[DEP] sed diff --git a/base/inputattach/inputattach.conf b/base/inputattach/inputattach.conf new file mode 100644 index 000000000..783b175da --- /dev/null +++ b/base/inputattach/inputattach.conf @@ -0,0 +1,30 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../inputattach/inputattach.conf +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +srctar=none +makeopt= +makeinstopt= + +build_inputattach() { + local src=$(match_source_file -p inputattach) + local header=$(match_source_file -p serio-ids) + + mkdir "$pkg" + cd "$pkg" + cp -v "$header" . + $CC -o $pkg -I. "$src" + cp -v "$pkg" "$root$sbindir/" +} + +hook_add inmake 5 'build_inputattach' diff --git a/base/inputattach/inputattach.desc b/base/inputattach/inputattach.desc new file mode 100644 index 000000000..bcb6d7929 --- /dev/null +++ b/base/inputattach/inputattach.desc @@ -0,0 +1,37 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../inputattach/inputattach.desc +[COPY] Copyright (C) 2009 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] Tool to attach serial devices to the input subsystem + +[T] inputattach is a utility to attach legacy serial devices such as mice +[T] and joysticks to the input subsystem using the serport and sermouse +[T] kernel modules. +[T] +[T] Amongst other things, this allows you to use a serial mouse through +[T] the /dev/input/mice device. + +[U] http://www.kernel.org/pub/linux/kernel/people/dtor + +[A] Vojtech Pavlik +[M] Alejandro Mery + +[C] extra/tool + +[L] GPL +[S] Stable +[V] 1.24 +[P] X -----5---9 800.000 + +[D] 2761170016 inputattach-1.24.c !http://www.kernel.org/pub/linux/kernel/people/dtor/inputattach.c +[D] 3901639745 serio-ids.h http://www.kernel.org/pub/linux/kernel/people/dtor/