network/ddclient: Updated for version 3.9.1.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Narron 2020-09-02 18:03:35 +01:00 committed by Willy Sudiarto Raharjo
parent a27648dd26
commit fd4bf062e4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 20 additions and 12 deletions

View file

@ -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

View file

@ -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 . \

View file

@ -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"

View file

@ -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."