[Lunar-commits] <moonbase> ddclient: fix cache usage

Paul Bredbury brebs at lunar-linux.org
Sat Mar 5 06:07:30 CET 2011


commit fe14f8cc905300fcd840e1e5ecdee76fcbb46e96
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Mar 5 12:07:30 2011 +0700

    ddclient: fix cache usage
---
 utils/ddclient/BUILD   |    9 +++++----
 utils/ddclient/DETAILS |    5 ++++-
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/utils/ddclient/BUILD b/utils/ddclient/BUILD
index 62079ef..a82cb3b 100644
--- a/utils/ddclient/BUILD
+++ b/utils/ddclient/BUILD
@@ -1,15 +1,16 @@
 (
 
+  patch_it $SOURCE2 1 &&
+
   prepare_install &&
   install -m 750 ddclient /usr/sbin/ddclient &&
   mkdir -p /etc/ddclient /var/cache/ddclient &&
 
   if [ ! -e /etc/ddclient/ddclient.conf ]; then
-   install -m640  sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
+    install -m 640 sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
   fi &&
   if [ -e /etc/ddclient.conf ]; then
-   echo "/etc/ddclient.conf has moved to /etc/ddclient/ddclient.conf. Please move your existing ddclient.conf."
+    message "${PROBLEM_COLOR}Please move /etc/ddclient.conf to /etc/ddclient/${DEFAULT_COLOR}"
   fi
 
-) > $C_FIFO 2>&1 
-
+) > $C_FIFO 2>&1
diff --git a/utils/ddclient/DETAILS b/utils/ddclient/DETAILS
index 63c2902..128a383 100644
--- a/utils/ddclient/DETAILS
+++ b/utils/ddclient/DETAILS
@@ -1,12 +1,15 @@
           MODULE=ddclient
          VERSION=3.8.0
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=ddclient-3.8.0-fixes.patch.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
       SOURCE_URL=$SFORGE_URL/ddclient
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:ff889adacf916bebb25522d9cc1eda0e9593a7f4
+     SOURCE2_VFY=sha1:8a9cfdb5b2b821e4c8b52c7196c22ea26b25fe7c
         WEB_SITE=http://ddclient.sourceforge.net/
          ENTERED=20040709
-         UPDATED=20090212
+         UPDATED=20110302
       MAINTAINER=hittis at lunar-linux.org
            SHORT="small but full-featured client for updating dynamic DNS sevices"
 


More information about the Lunar-commits mailing list