[Lunar-commits] <moonbase> ddclient: Add dependency on new IO-Socket-SSL, plus cleanup
Duncan Gibson
engelsman at lunar-linux.org
Sun Feb 15 15:48:51 CET 2009
commit 2ad1d8993106c5f42b32d91531655e0685454bfd
Author: Paul Bredbury <brebs at sent.com>
Date: Sun Feb 15 15:48:51 2009 +0100
ddclient: Add dependency on new IO-Socket-SSL, plus cleanup
The old mkdir commands in BUILD showed an error message.
---
utils/ddclient/BUILD | 10 ++++------
utils/ddclient/DEPENDS | 3 ++-
utils/ddclient/DETAILS | 8 ++++----
utils/ddclient/POST_INSTALL | 2 +-
4 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/utils/ddclient/BUILD b/utils/ddclient/BUILD
index 1388cf5..62079ef 100644
--- a/utils/ddclient/BUILD
+++ b/utils/ddclient/BUILD
@@ -1,14 +1,12 @@
(
- prepare_install &&
+ prepare_install &&
install -m 750 ddclient /usr/sbin/ddclient &&
- mkdir /var/cache/ddclient &&
- if [ ! -x /etc/ddclient ]; then
- mkdir /etc/ddclient
- fi
+ mkdir -p /etc/ddclient /var/cache/ddclient &&
+
if [ ! -e /etc/ddclient/ddclient.conf ]; then
install -m640 sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
- fi
+ 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
diff --git a/utils/ddclient/DEPENDS b/utils/ddclient/DEPENDS
index bf1491f..399e4f0 100644
--- a/utils/ddclient/DEPENDS
+++ b/utils/ddclient/DEPENDS
@@ -1,2 +1,3 @@
-depends perl &&
+optional_depends "IO-Socket-SSL" "" "" "for ssl=yes in ddclient.conf"
+depends perl
depends IO-All
diff --git a/utils/ddclient/DETAILS b/utils/ddclient/DETAILS
index 1e67b94..63c2902 100644
--- a/utils/ddclient/DETAILS
+++ b/utils/ddclient/DETAILS
@@ -6,16 +6,16 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_VFY=sha1:ff889adacf916bebb25522d9cc1eda0e9593a7f4
WEB_SITE=http://ddclient.sourceforge.net/
ENTERED=20040709
- UPDATED=20090127
+ UPDATED=20090212
MAINTAINER=hittis at lunar-linux.org
- SHORT="small but full featured client for updating dynamic DNS sevices."
+ SHORT="small but full-featured client for updating dynamic DNS sevices"
cat << EOF
-DDclient is a small but full featured client requiring only Perl and
+DDclient is a small but full-featured client requiring only Perl and
no additional modules. It runs under most UNIX OSes and has been
tested under GNU/Linux and FreeBSD. Supported features include:
operating as a daemon, manual and automatic updates, static and
dynamic updates, optimized updates for multiple addresses, MX,
-wildcards, abuse avoidance, retrying failed updates, and sending
+wildcards, abuse avoidance, retrying failed updates, and sending the
update status to syslog and through e-mail.
EOF
diff --git a/utils/ddclient/POST_INSTALL b/utils/ddclient/POST_INSTALL
index 6fb046a..2a6e3e6 100644
--- a/utils/ddclient/POST_INSTALL
+++ b/utils/ddclient/POST_INSTALL
@@ -2,6 +2,6 @@ cat << EOF
Please look at /etc/ddclient/ddclient.conf and
modify it according to your needs.
-More info can be found in /usr/doc/ddclient/
+More info can be found in /usr/share/doc/ddclient/
EOF
More information about the Lunar-commits
mailing list