Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (732b786897d340de517a1497f7254423361b46d7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (732b786897d340de517a1497f7254423361b46d7)
  • Date: Wed, 29 Oct 2008 22:14:27 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

utils/acpid/BUILD | 3 +--
utils/acpid/DETAILS | 18 +++++++++---------
utils/acpid/FINAL | 14 ++++++--------
utils/acpid/HISTORY | 6 +++++-
utils/acpid/INSTALL | 35 ++++++++++++++---------------------
5 files changed, 35 insertions(+), 41 deletions(-)

New commits:
commit 1aff9f2be8b324c13fddaf14d8f8414f7571a4a0
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

acpid: => 1.0.8

diff --git a/utils/acpid/BUILD b/utils/acpid/BUILD
index d33d008..8f58e6d 100755
--- a/utils/acpid/BUILD
+++ b/utils/acpid/BUILD
@@ -1,2 +1 @@
- make
-
+make
diff --git a/utils/acpid/DETAILS b/utils/acpid/DETAILS
index 639840b..1b04a2f 100755
--- a/utils/acpid/DETAILS
+++ b/utils/acpid/DETAILS
@@ -1,18 +1,18 @@
SPELL=acpid
- VERSION=1.0.6
+ VERSION=1.0.8
SOURCE=$SPELL-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=$SOURCEFORGE_URL/acpid/$SOURCE
WEB_SITE=http://acpid.sourceforge.net/
-
SOURCE_HASH=sha512:d207777c5da37a7a375f151148f5a0686a90182228e88af788cb4550d92eea51552d12ac33e309f2d0335ce34109497da8e643521a8c12429ed0b05012aa8179
+
SOURCE_HASH=sha512:827e7ac7ec5c93ea372a44537a29bfe3ff8ae9c574eb339db950568c2939c7643578049a39c9d221bf8f0f4672163d1ad92baf93fa0f84cdaada948ffc8f3495
ENTERED=20020730
LICENSE=GPL
KEYWORDS="acpi utils"
- SHORT="an extensible daemon for delivering ACPI events."
+ SHORT="extensible daemon for delivering ACPI events"
cat << EOF
-ACPID is a completely flexible, totally extensible daemon for delivering
-ACPI events. It listens on a file (/proc/acpi/event) and when an event
-occurs, executes programs to handle the event. The programs it executes
-are configured through a set of configuration files, which can be dropped
-into place by packages or by the admin.
+ACPID is a completely flexible, totally extensible daemon for delivering ACPI
+events. It listens on a file (/proc/acpi/event) and when an event occurs,
+executes programs to handle the event. The programs it executes are
configured
+through a set of configuration files, which can be dropped into place by
+packages or by the admin.
EOF
diff --git a/utils/acpid/FINAL b/utils/acpid/FINAL
index ad04318..8cb9b0d 100755
--- a/utils/acpid/FINAL
+++ b/utils/acpid/FINAL
@@ -1,9 +1,7 @@
-if [ ! -d /proc/acpi ]; then
- cat << EOF
-
-Your current kernel does not have ACPI support enabled. In order
-to be able to use the Advanced Configuration and Power Interface
-support you need to recompile your kernel with ACPI support enabled.
-
-EOF
+if [[ ! -d /proc/acpi ]]; then
+ message "${PROBLEM_COLOR}"
+ message "WARNING: Your current kernel does not have ACPI support enabled.
In"
+ message "order to be able to use the Advanced Configuration and Power"
+ message "Interface support you need to recompile your kernel with ACPI."
+ message "${DEFAULT_COLOR}"
fi
diff --git a/utils/acpid/HISTORY b/utils/acpid/HISTORY
index df30754..93fba21 100644
--- a/utils/acpid/HISTORY
+++ b/utils/acpid/HISTORY
@@ -1,3 +1,8 @@
+2008-10-30 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.0.8; fixed descs; quoting paths
+ * FINAL: use message()
+ * BUILD, INSTALL: cleaned up
+
2007-11-03 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: Updated spell to 1.0.6, removed 'UPDATED'
* PRE_BUILD: removed, removed that patch (fixed in 1.0.6)
@@ -64,4 +69,3 @@

2002-07-30 Jose Bernardo Silva <jbernardo AT sourcemage.org>
* First go at this one... :-)
-
diff --git a/utils/acpid/INSTALL b/utils/acpid/INSTALL
index 66c90b8..2031aa4 100755
--- a/utils/acpid/INSTALL
+++ b/utils/acpid/INSTALL
@@ -1,26 +1,19 @@
- make install &&
+default_install &&

- if [ ! -d /etc/acpi ] ; then
- mkdir /etc/acpi &&
- mkdir /etc/acpi/events &&
- mkdir /etc/acpi/actions &&
- cp $SOURCE_DIRECTORY/samples/sample.conf /etc/acpi/events &&
- cp $SOURCE_DIRECTORY/samples/acpi_handler.sh /etc/acpi/actions
- else
- if [ ! -d /etc/acpi/events ] ; then
- mkdir /etc/acpi/events
- fi
+if [[ ! -d "$INSTALL_ROOT/etc/acpi" ]]; then
+ install -vm 755 -d "$INSTALL_ROOT"/etc/acpi/{events,actions} &&

- if [ ! -d /etc/acpi/actions ] ; then
- mkdir /etc/acpi/actions
- fi
+ install -vm 644 "$SOURCE_DIRECTORY/samples/sample.conf" \
+ "$INSTALL_ROOT/etc/acpi/events" &&

- if [ ! -a /etc/acpi/events/sample.conf ] ; then
- cp $SOURCE_DIRECTORY/samples/sample.conf /etc/acpi/events
- fi
-
- if [ ! -a /etc/acpi/actions/acpi_handler.sh ] ; then
- cp $SOURCE_DIRECTORY/samples/acpi_handler.sh /etc/acpi/actions
- fi
+ install -vm 700 "$SOURCE_DIRECTORY/samples/acpi_handler.sh" \
+ "$INSTALL_ROOT/etc/acpi/actions"
+else
+ if [[ ! -d "$INSTALL_ROOT/etc/acpi/events" ]]; then
+ install -vm 755 -d "$INSTALL_ROOT/etc/acpi/events"
+ fi &&

+ if [[ ! -d "$INSTALL_ROOT/etc/acpi/actions" ]]; then
+ install -vm 755 -d "$INSTALL_ROOT/etc/acpi/actions"
fi
+fi



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (732b786897d340de517a1497f7254423361b46d7), Vlad Glagolev, 10/29/2008

Archive powered by MHonArc 2.6.24.

Top of Page