diff --git a/package/mathieu/acpid/acpid.conf b/package/mathieu/acpid/acpid.conf new file mode 100644 index 000000000..cd8d66718 --- /dev/null +++ b/package/mathieu/acpid/acpid.conf @@ -0,0 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mathieu/acpid/acpid.conf +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# 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; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +var_append CC_WRAPPER_APPEND ' ' '-O0' +hook_add postmake 3 "install_init $pkg $confdir/$pkg.init" diff --git a/package/mathieu/acpid/acpid.desc b/package/mathieu/acpid/acpid.desc new file mode 100644 index 000000000..cdbc1bd4b --- /dev/null +++ b/package/mathieu/acpid/acpid.desc @@ -0,0 +1,43 @@ + +[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/mathieu/acpid/acpid.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 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] A daemon for delivering ACPI events. + +[T] ACPID is a completely flexible and expandable mechanism for delivering ACPI +[T] events from the kernel to user-space. It can be configured to perform any +[T] action at all when events occur, through regex matches and arbitrary action +[T] rules. + +[U] http://acpid.sourceforge.net/ + +[A] Tim Hockin +[M] Mathieu Doidy + +[C] extra/base + +[L] GPL +[S] Stable +[V] 1.0.3 +[P] X -----5---9 800.000 + +[D] 1254504448 acpid-1.0.3.tar.gz http://dl.sourceforge.net/sourceforge/acpid/ diff --git a/package/mathieu/acpid/acpid.init b/package/mathieu/acpid/acpid.init new file mode 100644 index 000000000..6a07cf077 --- /dev/null +++ b/package/mathieu/acpid/acpid.init @@ -0,0 +1,40 @@ +#!/bin/sh +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mathieu/acpid/acpid.init +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# 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; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# Desc: ACPI event daemon +# +# Runlevel: 25 rcX +# + +main_begin + + block_begin(start, `Starting acpid.') + check(`D_prefix/sbin/acpid') + block_end + + block_begin(stop, `Stopping acpid.') + check(`killall -15 D_prefix/sbin/acpid') + block_end + +main_end