diff options
Diffstat (limited to 'system/apcupsd/apcupsd.SlackBuild')
-rw-r--r-- | system/apcupsd/apcupsd.SlackBuild | 10 |
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 |