summaryrefslogtreecommitdiffstats
path: root/system/apcupsd/apcupsd.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2015-08-18 05:52:50 +0200
committer Willy Sudiarto Raharjo2015-08-22 18:42:10 +0200
commit390288c14db5332e309e9db2d00a153960feecbc (patch)
tree6ee49280decba170b071e7a9ac9d91a3577e017e /system/apcupsd/apcupsd.SlackBuild
parent0b9aa736362fea744c380daf6ddfc3fc3d58335d (diff)
downloadslackbuilds-390288c14db5332e309e9db2d00a153960feecbc.tar.gz
system/apcupsd: Updated for version 3.14.13.
Thanks to Sebastian Arcus, Ben Stern, and Marcos Tadeu for gentle reminders with fixes for the new version :-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/apcupsd/apcupsd.SlackBuild')
-rw-r--r--system/apcupsd/apcupsd.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild
index 13612a607a..a877d188cc 100644
--- a/system/apcupsd/apcupsd.SlackBuild
+++ b/system/apcupsd/apcupsd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for apcupsd
-# Copyright 2006-2014 Robby Workman Northport, AL, USA
+# Copyright 2006-2015 Robby Workman, Tuscaloosa, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
# * added log rotation
PRGNAM=apcupsd
-VERSION=${VERSION:-3.14.12}
+VERSION=${VERSION:-3.14.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,13 +72,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Create /var/lock/subsys in the init script (rc.apcupsd)
-# These days, /var/lock may be on a tmpfs, so we can't assume the dir is there
+# Make sure /var/lock exists - create it in the rc.apcupsd
patch -p1 < $CWD/patches/create_lockdir_in_init_script.diff
-# Use /var/lock/subsys as the LOCKDIR in apcupsd.conf
-patch -p1 < $CWD/patches/fix_lockdir_in_config_file.diff
-
# Fixup up a couple of nitpicks in the init script
patch -p1 < $CWD/patches/nitpicky-fixes-to-init-script.diff