From fd4bf062e42be3fc485eb0dceb59e1c4c70b7717 Mon Sep 17 00:00:00 2001 From: Richard Narron Date: Wed, 2 Sep 2020 18:03:35 +0100 Subject: network/ddclient: Updated for version 3.9.1. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- network/ddclient/README | 12 +++++++++--- network/ddclient/ddclient.SlackBuild | 4 ++-- network/ddclient/ddclient.info | 10 +++++----- network/ddclient/rc.ddclient | 6 ++++-- 4 files changed, 20 insertions(+), 12 deletions(-) (limited to 'network/ddclient') diff --git a/network/ddclient/README b/network/ddclient/README index d99ecf45b5..192fbed378 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 101e66205d..5847c0f6ab 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 765f8a7588..81bf76dec3 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 cb88a8dd26..1601cc6b5a 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." -- cgit v1.2.3