From 390288c14db5332e309e9db2d00a153960feecbc Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 17 Aug 2015 22:52:50 -0500 Subject: 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 --- system/apcupsd/apcupsd.SlackBuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'system/apcupsd/apcupsd.SlackBuild') 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 -- cgit v1.2.3