aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/ddclient/README12
-rw-r--r--network/ddclient/ddclient.SlackBuild4
-rw-r--r--network/ddclient/ddclient.info10
-rw-r--r--network/ddclient/rc.ddclient6
4 files changed, 20 insertions, 12 deletions
diff --git a/network/ddclient/README b/network/ddclient/README
index d99ecf45b5ad..192fbed37889 100644
--- a/network/ddclient/README
+++ b/network/ddclient/README
@@ -1,9 +1,15 @@
DDclient is a small but full featured Perl client used to update dynamic
-DNS entries for accounts on Dynamic DNS Network Services free DNS service.
-It has the capability to update more than only dyndns and it can fetch your
-WAN-ipaddress in a few different ways.
+DNS entries for accounts on Dynamic DNS Network Services free DNS
+service. It has the capability to update more than only dyndns and it
+can fetch your WAN-ipaddress in a few different ways.
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 update status to syslog and through e-mail.
+
+Optional dependencies:
+ perl-IO-Socket-SSL perl library for ssl-support (recommended)
+ perl-JSON-PP perl library for JSON support
+ perl-IO-Socket-INET6 perl library for ipv6-support
+
diff --git a/network/ddclient/ddclient.SlackBuild b/network/ddclient/ddclient.SlackBuild
index 101e66205d40..5847c0f6ab45 100644
--- a/network/ddclient/ddclient.SlackBuild
+++ b/network/ddclient/ddclient.SlackBuild
@@ -26,7 +26,7 @@
# Revision date 2011/08/14
PRGNAM=ddclient
-VERSION=${VERSION:-3.8.3}
+VERSION=${VERSION:-3.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/network/ddclient/ddclient.info b/network/ddclient/ddclient.info
index 765f8a758860..81bf76dec3c7 100644
--- a/network/ddclient/ddclient.info
+++ b/network/ddclient/ddclient.info
@@ -1,10 +1,10 @@
PRGNAM="ddclient"
-VERSION="3.8.3"
-HOMEPAGE="http://ddclient.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ddclient/ddclient-3.8.3.tar.bz2"
-MD5SUM="3b426ae52d509e463b42eeb08fb89e0b"
+VERSION="3.9.1"
+HOMEPAGE="https://github.com/ddclient/ddclient/"
+DOWNLOAD="https://github.com/ddclient/ddclient/archive/v3.9.1/ddclient-3.9.1.tar.gz"
+MD5SUM="8497033052649ebe6f714338c7be4cda"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-IO-Socket-SSL"
+REQUIRES="perl-IO-Socket-SSL perl-Data-Validate-IP"
MAINTAINER="Richard Narron"
EMAIL="richard@aaazen.com"
diff --git a/network/ddclient/rc.ddclient b/network/ddclient/rc.ddclient
index cb88a8dd261f..1601cc6b5adb 100644
--- a/network/ddclient/rc.ddclient
+++ b/network/ddclient/rc.ddclient
@@ -10,13 +10,14 @@
case "$1" in
start)
echo -n "Starting ddclient: "
+# ddclient -verbose
ddclient
echo
;;
stop)
echo -n "Shutting down ddclient: "
#kill $( ps -aef | grep ddclient | grep sleeping | awk '{print$2}' )
- kill -9 $( cat /var/run/ddclient.pid )
+ pkill ddclient
echo
;;
restart)
@@ -24,12 +25,13 @@ case "$1" in
$0 start
;;
status)
- pids=$( ps -aef | grep ddclient | grep sleeping | awk '{print$2}' )
+ pids=$(pgrep ddclient)
if test "$pids"
then
for p in $pids
do
echo "ddclient (pid $p) is running."
+ ps up $p
done
else
echo "ddclient is stopped."