summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Richard Narron <richard@aaazen.com>2020-09-02 18:03:35 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:26:41 +0700
commitfd4bf062e42be3fc485eb0dceb59e1c4c70b7717 (patch)
tree1b0ce248c85e15fdde2f252a21c2e9bfd4a087d4 /network
parenta27648dd261d243aac6ba11e2f6b8526b9b1d58d (diff)
downloadslackbuilds-fd4bf062e42be3fc485eb0dceb59e1c4c70b7717.tar.gz
slackbuilds-fd4bf062e42be3fc485eb0dceb59e1c4c70b7717.tar.xz
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>
Diffstat (limited to 'network')
-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 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."