diff --git a/package/avm/hal/hal.conf b/package/avm/hal/hal.conf new file mode 100644 index 000000000..1329df260 --- /dev/null +++ b/package/avm/hal/hal.conf @@ -0,0 +1,6 @@ +var_append confopt " " "--enable-pcmcia-support" +var_append confopt " " "--enable-verbose-mode" +var_append confopt " " "--enable-fstab-sync" +install_init hal $confdir/hal.init + +hook_add postmake 3 'echo RUN+="/usr/libexec/hal.hotplug" > /etc/udev/rules.d/01-hal.rules' diff --git a/package/avm/hal/hal.desc b/package/avm/hal/hal.desc new file mode 100644 index 000000000..255630751 --- /dev/null +++ b/package/avm/hal/hal.desc @@ -0,0 +1,41 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/avm/hal/hal.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +[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; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] Hardware Abstraction Layer + +[T] This daemon actively monitores hardware for changes. + +[U] http://freedesktop.org/wiki/Software_2fhal + +[A] Various Authors +[M] Andreas V. 'netrunner' Meier + +[C] extra/configuration + +[L] GPL +[S] Beta +[V] 0.5.4 +[P] X -----5---9 800.000 + +[D] 0 hal-0.5.4.tar.gz http://freedesktop.org/~david/dist/ + diff --git a/package/avm/hal/hal.init b/package/avm/hal/hal.init new file mode 100644 index 000000000..5902e6ff0 --- /dev/null +++ b/package/avm/hal/hal.init @@ -0,0 +1,15 @@ +# Desc: Hardware Abstraction Layer Daemon +# Runlevel: 61 rcX + +main_begin + + block_begin(start, `Setting up Hardware Abstraction Layer.') + check(`export PATH=D_prefix/libexec:$PATH') + check(`D_prefix/sbin/hald --daemon=yes --retain-privileges') + block_end + + block_begin(stop, `Shutting down Hardware Abstraction Layer.') + check(`D_prefix/bin/killall D_prefix/sbin/hald') + block_end + +main_end diff --git a/package/avm/hal/postsysfiles.in b/package/avm/hal/postsysfiles.in new file mode 100644 index 000000000..a0f3d4032 --- /dev/null +++ b/package/avm/hal/postsysfiles.in @@ -0,0 +1,4 @@ + +safe_groupadd haldaemon 29 +safe_useradd haldaemon 29 29 "HAL-Daemon" / /bin/false "*" +