From 9b257fdfd8819fb2296b8b61784931bb8e91d6f7 Mon Sep 17 00:00:00 2001 From: zi Date: Thu, 28 Jul 2011 21:59:28 +0000 Subject: Update to 1.8.1 [1] Add LICENSE PR: ports/159199 Submitted by: Rob Farmer (maintainer) [1] Approved by: tabthorpe (mentor) --- dns/ddclient/Makefile | 3 +-- dns/ddclient/distinfo | 4 ++-- dns/ddclient/files/patch-ddclient | 31 +++++++++++++++---------------- dns/ddclient/files/patch-ticket2 | 21 --------------------- 4 files changed, 18 insertions(+), 41 deletions(-) delete mode 100644 dns/ddclient/files/patch-ticket2 (limited to 'dns') diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index 9e6ac186af44..ef76fbcbc863 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -6,8 +6,7 @@ # PORTNAME= ddclient -PORTVERSION= 3.8.0 -PORTREVISION= 2 +PORTVERSION= 3.8.1 CATEGORIES= dns MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} diff --git a/dns/ddclient/distinfo b/dns/ddclient/distinfo index df0e7422b854..994d10894bf0 100644 --- a/dns/ddclient/distinfo +++ b/dns/ddclient/distinfo @@ -1,2 +1,2 @@ -SHA256 (ddclient-3.8.0.tar.bz2) = 910dc49bd4b2920fad6c4afce03805de5a4cffd0db5f3d902c5417353420aef4 -SIZE (ddclient-3.8.0.tar.bz2) = 41701 +SHA256 (ddclient-3.8.1.tar.bz2) = 77a82668a53fdbed1e05ad6febe6dbefb093e3922afb20b993d4ad9ee868258f +SIZE (ddclient-3.8.1.tar.bz2) = 43711 diff --git a/dns/ddclient/files/patch-ddclient b/dns/ddclient/files/patch-ddclient index 5a1c51e7aa7b..d3f732d4e474 100644 --- a/dns/ddclient/files/patch-ddclient +++ b/dns/ddclient/files/patch-ddclient @@ -1,21 +1,21 @@ ---- ./ddclient.orig 2009-01-27 20:14:02.000000000 +0100 -+++ ./ddclient 2010-08-17 20:13:00.000000000 +0200 +--- ./ddclient.orig 2011-07-25 19:41:39.000000000 -0700 ++++ ./ddclient 2011-07-25 19:41:48.000000000 -0700 @@ -1,4 +1,3 @@ -#!/usr/bin/perl -w #!/usr/local/bin/perl -w ###################################################################### - # $Id: ddclient 106 2008-12-04 18:05:23Z wimpunk $ + # $Id: ddclient 130 2011-07-11 21:02:07Z wimpunk $ @@ -19,6 +18,7 @@ use Getopt::Long; use Sys::Hostname; use IO::Socket; +use POSIX 'setsid'; - my $version = "3.8.0"; - my $programd = $0; -@@ -625,6 +625,9 @@ - $SIG{'KILL'} = sub { $caught_kill = 1; }; - if (opt('daemon') && !opt('force')) { + my ($VERSION) = q$Revision: 130 $ =~ /(\d+)/; + +@@ -668,6 +668,9 @@ + ; + } elsif (opt('daemon')) { $SIG{'CHLD'} = 'IGNORE'; + chdir '/'; + open(STDIN, "/dev/null"); - open(STDERR, ">/dev/null"); - open(STDIN, "