sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Eric Sandall (d61c0f44f412815ccbcfef9c6393c42e174e1ca0)
- From: Eric Sandall <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (d61c0f44f412815ccbcfef9c6393c42e174e1ca0)
- Date: Sat, 1 Dec 2007 14:15:28 -0600
GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:
utils/uptimed/BUILD | 2 +-
utils/uptimed/DETAILS | 8 ++++----
utils/uptimed/HISTORY | 6 ++++++
utils/uptimed/init.d/uptimed | 5 +++++
4 files changed, 16 insertions(+), 5 deletions(-)
New commits:
commit d61c0f44f412815ccbcfef9c6393c42e174e1ca0
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
uptimed: Use INSTALL_ROOT in install paths
commit e9a791f0b8144dd545ab497c019aa519b021c79d
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
uptimed: Create missing /var/spool/uptimed (Bug #14042)
diff --git a/utils/uptimed/BUILD b/utils/uptimed/BUILD
index 2f3bdfe..6f96ae6 100755
--- a/utils/uptimed/BUILD
+++ b/utils/uptimed/BUILD
@@ -1,2 +1,2 @@
-OPTS="$OPTS --bindir=/bin --sbindir=/sbin" &&
+OPTS="$OPTS --bindir=$INSTALL_ROOT/bin --sbindir=$INSTALL_ROOT/sbin" &&
default_build
diff --git a/utils/uptimed/DETAILS b/utils/uptimed/DETAILS
index 24a7e1e..0d9d067 100755
--- a/utils/uptimed/DETAILS
+++ b/utils/uptimed/DETAILS
@@ -5,13 +5,13 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=http://www.robertjohnkaper.com/downloads/uptimed/${SOURCE}
SOURCE_URL[1]=${SOURCEFORGE_URL}/$SPELL/$SOURCE
SOURCE_HASH=sha512:24149edd27109b288432c38dd770efdb1514e98aca9ccdf1bd932375720cd873f214132cf933b00b89b2d5a79f0c34e66f92851d65da1bb4ce71270f9eee8039
- WEB_SITE=http://unixcode.org/uptimed/
- ENTERED=20020129
- UPDATED=20030925
DISTCC_HOSTS=
- CCACHE="off"
+ PATCHLEVEL=1
LICENSE[0]=GPL
KEYWORDS="utils"
+ WEB_SITE=http://unixcode.org/uptimed/
+ ENTERED=20020129
+ CCACHE="off"
SHORT='Keeps record of highest uptimes'
cat << EOF
uptimed is an uptime record daemon keeping track of the highest uptimes
diff --git a/utils/uptimed/HISTORY b/utils/uptimed/HISTORY
index 219a67f..9e4a3c4 100644
--- a/utils/uptimed/HISTORY
+++ b/utils/uptimed/HISTORY
@@ -1,3 +1,9 @@
+2007-12-01 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ Removed UPDATED
+ * BUILD: Use INSTALL_ROOT for install paths
+ * init.d/uptimed: Create /var/spool/uptimed if it's missing (Bug
#14042)
+
2006-06-28 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Removed BUILD_API=2, set grimoire-wide
diff --git a/utils/uptimed/init.d/uptimed b/utils/uptimed/init.d/uptimed
index 26e6f10..1d7fa4c 100644
--- a/utils/uptimed/init.d/uptimed
+++ b/utils/uptimed/init.d/uptimed
@@ -5,4 +5,9 @@ ARGS="-i 60 -p /var/run/uptimed"
RUNLEVEL=S
NEEDS="smgl-uptimed-bootid"
+if [ ! -d /var/spool/uptimed ]
+then
+ mkdir -p /var/spool/uptimed
+fi
+
. /etc/init.d/smgl_init
- [SM-Commit] GIT changes to master grimoire by Eric Sandall (d61c0f44f412815ccbcfef9c6393c42e174e1ca0), Eric Sandall, 12/01/2007
Archive powered by MHonArc 2.6.24.