[Lunar-commits] r16924 - in moonbase/trunk/utils/ddclient: . init.d

Patrik Gräser hittis at lunar-linux.org
Thu Oct 13 14:46:12 UTC 2005


Author: hittis
Date: 2005-10-13 14:46:09 +0000 (Thu, 13 Oct 2005)
New Revision: 16924

Modified:
   moonbase/trunk/utils/ddclient/BUILD
   moonbase/trunk/utils/ddclient/DETAILS
   moonbase/trunk/utils/ddclient/POST_INSTALL
   moonbase/trunk/utils/ddclient/init.d/ddclient
Log:
Updating. Moved /etc/ddclient.conf to /etc/ddclient/ddclient.conf. Fixed BUILD, init.d/ddclient and POST_INSTALL accordingly. Changed maintainer email.

My first module.... Long overdue for an update. init.d/ddclient still sux but atleast it works.

Unfortunately I can't find tarball with VERSION so... Now it'll break when _they_ update the tarball.


Modified: moonbase/trunk/utils/ddclient/BUILD
===================================================================
--- moonbase/trunk/utils/ddclient/BUILD	2005-10-13 13:55:30 UTC (rev 16923)
+++ moonbase/trunk/utils/ddclient/BUILD	2005-10-13 14:46:09 UTC (rev 16924)
@@ -1,8 +1,15 @@
 (
 
   cp  ddclient  /usr/sbin &&
-  if [ ! -e /etc/ddclient.conf ]; then
-   cp  sample-etc_ddclient.conf /etc/ddclient.conf
+  if [ ! -x /etc/ddclient ]; then
+   mkdir /etc/ddclient
   fi
+  if [ ! -e /etc/ddclient/ddclient.conf ]; then
+   cp  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."
+  fi
 
 ) > $C_FIFO 2>&1 
+

Modified: moonbase/trunk/utils/ddclient/DETAILS
===================================================================
--- moonbase/trunk/utils/ddclient/DETAILS	2005-10-13 13:55:30 UTC (rev 16923)
+++ moonbase/trunk/utils/ddclient/DETAILS	2005-10-13 14:46:09 UTC (rev 16924)
@@ -1,16 +1,14 @@
           MODULE=ddclient
-         VERSION=3.6.3
-          SOURCE=${MODULE}-${VERSION}.tar.gz
+         VERSION=3.6.6
+          SOURCE=${MODULE}.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/${MODULE}-${VERSION}
-   SOURCE_URL[0]=http://www.dnspark.com/support/dynamic/
-   SOURCE_URL[1]=http://members.rogers.com/ddclient/pub/
-   SOURCE_URL[2]=http://linux.cudeso.be/download/
-      SOURCE_VFY=md5:dfa5ff6967cb854de804d4e7b9633fdc
+      SOURCE_URL=http://www.dyndns.com/download/clients/unix/
+      SOURCE_VFY=sha1:1f079518cc85917df53088744d6ed5fa63bd806b
         WEB_SITE=unknown
          ENTERED=20040709
-         UPDATED=20040709
-        MAINTAINER=patrikg at gate.verona.se
-        SHORT="DDclient is a small but full featured client for updating dynamic DNS sevices."
+         UPDATED=20051013
+        MAINTAINER=hittis at lunar-linux.org
+             SHORT="DDclient is a small but full featured client for updating dynamic DNS sevices."
 
 cat << EOF
 DDclient is a small but full featured client requiring only Perl and

Modified: moonbase/trunk/utils/ddclient/POST_INSTALL
===================================================================
--- moonbase/trunk/utils/ddclient/POST_INSTALL	2005-10-13 13:55:30 UTC (rev 16923)
+++ moonbase/trunk/utils/ddclient/POST_INSTALL	2005-10-13 14:46:09 UTC (rev 16924)
@@ -1,6 +1,7 @@
 cat << EOF
 
-Please look at /etc/ddclient.conf and modify it according to your needs.
+Please look at /etc/ddclient/ddclient.conf and
+   modify it according to your needs.
 More info can be found in /usr/doc/ddclient/
 
-EOF
\ No newline at end of file
+EOF

Modified: moonbase/trunk/utils/ddclient/init.d/ddclient
===================================================================
--- moonbase/trunk/utils/ddclient/init.d/ddclient	2005-10-13 13:55:30 UTC (rev 16923)
+++ moonbase/trunk/utils/ddclient/init.d/ddclient	2005-10-13 14:46:09 UTC (rev 16924)
@@ -6,7 +6,7 @@
 # chkconfig: 2345 65 35
 # description: ddclient provides support for updating dynamic DNS services.
 
-[ -f /etc/ddclient.conf ] || exit 0
+[ -f /etc/ddclient/ddclient.conf ] || exit 0
 
 PATH=/usr/sbin:${PATH}
 COLUMNS=9999



More information about the Lunar-commits mailing list