SF.net SVN: gar:[23694] csw/mgar/pkg/apcupsd/trunk

lblume at users.sourceforge.net lblume at users.sourceforge.net
Fri May 23 14:40:32 CEST 2014


Revision: 23694
          http://sourceforge.net/p/gar/code/23694
Author:   lblume
Date:     2014-05-23 12:40:31 +0000 (Fri, 23 May 2014)
Log Message:
-----------
apcupsd/trunk: Bump version to 3.14.12; add minor fixes to apccontrol script

Modified Paths:
--------------
    csw/mgar/pkg/apcupsd/trunk/Makefile
    csw/mgar/pkg/apcupsd/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/apcupsd/trunk/files/0001-apccontrol-fix.patch

Modified: csw/mgar/pkg/apcupsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apcupsd/trunk/Makefile	2014-05-22 14:15:12 UTC (rev 23693)
+++ csw/mgar/pkg/apcupsd/trunk/Makefile	2014-05-23 12:40:31 UTC (rev 23694)
@@ -1,5 +1,5 @@
 NAME = apcupsd
-VERSION = 3.14.10
+VERSION = 3.14.12
 GARTYPE = v2
 
 DESCRIPTION = A daemon for controlling APC UPS
@@ -16,11 +16,10 @@
 
 LICENSE      = COPYING
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
 BUILD_DEP_PKGS += CSWlibwrap-dev
 
+PATCHFILES += 0001-apccontrol-fix.patch
+
 PACKAGES += CSWapcupsd
 SPKG_DESC_CSWapcupsd = A daemon for controlling APC UPS
 # PKGFILES is catchall

Modified: csw/mgar/pkg/apcupsd/trunk/checksums
===================================================================
--- csw/mgar/pkg/apcupsd/trunk/checksums	2014-05-22 14:15:12 UTC (rev 23693)
+++ csw/mgar/pkg/apcupsd/trunk/checksums	2014-05-23 12:40:31 UTC (rev 23694)
@@ -1 +1 @@
-5928822d855c5cf7ac29655e3e0b8c23  apcupsd-3.14.10.tar.gz
+08bf201acea6b4dd69cf2fb0eecfd55e  apcupsd-3.14.12.tar.gz

Added: csw/mgar/pkg/apcupsd/trunk/files/0001-apccontrol-fix.patch
===================================================================
--- csw/mgar/pkg/apcupsd/trunk/files/0001-apccontrol-fix.patch	                        (rev 0)
+++ csw/mgar/pkg/apcupsd/trunk/files/0001-apccontrol-fix.patch	2014-05-23 12:40:31 UTC (rev 23694)
@@ -0,0 +1,21 @@
+index d2297d5..89a3982 100644
+--- a/platforms/sun/apccontrol.in
++++ b/platforms/sun/apccontrol.in
+@@ -55,7 +55,7 @@ case "$1" in
+       printf "Communications with UPS lost." | wall -a
+    ;;
+    commok)
+-      printf "Communciations with UPS restored." | wall -a
++      printf "Communications with UPS restored." | wall -a
+    ;;
+    powerout)
+    ;;
+@@ -85,7 +85,7 @@ case "$1" in
+    ;;
+    doshutdown)
+       printf "Beginning Shutdown Sequence" | wall -a
+-      ${SHUTDOWN} -y -g0 -i0 "apcupsd initiated shutdown"
++      ${SHUTDOWN} -y -g0 -i5 "apcupsd initiated shutdown"
+    ;;
+    annoyme)
+       printf "Power problems please logoff." | wall -a

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list