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

lblume at users.sourceforge.net lblume at users.sourceforge.net
Mon Dec 1 12:01:15 CET 2014


Revision: 24395
          http://sourceforge.net/p/gar/code/24395
Author:   lblume
Date:     2014-12-01 11:01:15 +0000 (Mon, 01 Dec 2014)
Log Message:
-----------
apcupsd/trunk: The default lockdir is risky

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

Added Paths:
-----------
    csw/mgar/pkg/apcupsd/trunk/files/0003-change-lockdir.patch

Modified: csw/mgar/pkg/apcupsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apcupsd/trunk/Makefile	2014-11-30 11:15:54 UTC (rev 24394)
+++ csw/mgar/pkg/apcupsd/trunk/Makefile	2014-12-01 11:01:15 UTC (rev 24395)
@@ -20,6 +20,7 @@
 
 PATCHFILES += 0001-apccontrol-fix.patch
 PATCHFILES += 0002-apctest.patch
+PATCHFILES += 0003-change-lockdir.patch
 
 PACKAGES += CSWapcupsd
 SPKG_DESC_CSWapcupsd = A daemon for controlling APC UPS

Added: csw/mgar/pkg/apcupsd/trunk/files/0003-change-lockdir.patch
===================================================================
--- csw/mgar/pkg/apcupsd/trunk/files/0003-change-lockdir.patch	                        (rev 0)
+++ csw/mgar/pkg/apcupsd/trunk/files/0003-change-lockdir.patch	2014-12-01 11:01:15 UTC (rev 24395)
@@ -0,0 +1,12 @@
+index 49663a8..c8a0f7c 100755
+--- a/configure
++++ b/configure
+@@ -13235,7 +13235,7 @@ sun)
+    SERIALDEV=/dev/ttya
+    PWRFAILDIR=/etc
+    PIDDIR=/var/run
+-   LOCKDIR=/var/spool/locks
++   LOCKDIR=/var/run
+    LOGDIR=${sysconfdir}
+    APCUPSD_MAIL=/usr/bin/mailx
+    PTHREAD_CFLAGS="-D_POSIX_PTHREAD_SEMANTICS"

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