View | Details | Raw Unified | Return to bug 218442 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	ddclient
4
PORTNAME=	ddclient
5
PORTVERSION=	3.8.3
5
PORTVERSION=	3.8.3
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	dns
7
CATEGORIES=	dns
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
9
(-)files/ddclient_force.in (-3 / +10 lines)
Lines 16-24 Link Here
16
		echo
16
		echo
17
		echo 'Forcing ddclient update:'
17
		echo 'Forcing ddclient update:'
18
18
19
		out=`%%PREFIX%%/sbin/ddclient -force`
19
		# sleep randomly to reduce congestion on dyn dns server.  In
20
		echo "$out"
20
		# FreeBSD 12.0 the anticongestion function should be used
21
		rc=0
21
		# instead of a hard-coded sleep
22
		if [ -n "$anticongestion_sleeptime" ]; then
23
			anticongestion
24
		else
25
			sleep `jot -r 1 0 900`
26
		fi
27
28
		%%PREFIX%%/sbin/ddclient -force || rc=3
22
		;;
29
		;;
23
	*)
30
	*)
24
		rc=0
31
		rc=0

Return to bug 218442