Merge pull request #51487 from uvNikita/ddclient/upgrade
ddclient: 3.8.3 -> 3.9.0
This commit is contained in:
commit
e767e9b678
2 changed files with 3 additions and 25 deletions
|
@ -1,20 +0,0 @@
|
||||||
diff -u ddclient-3.8.1/ddclient ddclient-3.8.1.patched/ddclient
|
|
||||||
--- ddclient-3.8.1/ddclient 2011-07-11 23:04:21.000000000 +0200
|
|
||||||
+++ ddclient-3.8.1.patched/ddclient 2012-11-08 11:52:31.930647236 +0100
|
|
||||||
@@ -19,6 +19,7 @@ use strict;
|
|
||||||
use Getopt::Long;
|
|
||||||
use Sys::Hostname;
|
|
||||||
use IO::Socket;
|
|
||||||
+use IO::Handle qw( );
|
|
||||||
|
|
||||||
my ($VERSION) = q$Revision: 157 $ =~ /(\d+)/;
|
|
||||||
|
|
||||||
@@ -675,7 +676,7 @@ $SIG{'TERM'} = sub { $caught_term = 1; };
|
|
||||||
$SIG{'KILL'} = sub { $caught_kill = 1; };
|
|
||||||
# don't fork() if foreground or force is on
|
|
||||||
if (opt('foreground') || opt('force')) {
|
|
||||||
- ;
|
|
||||||
+ STDOUT->autoflush(1);
|
|
||||||
} elsif (opt('daemon')) {
|
|
||||||
$SIG{'CHLD'} = 'IGNORE';
|
|
||||||
my $pid = fork;
|
|
|
@ -2,19 +2,17 @@
|
||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
name = "ddclient-${version}";
|
name = "ddclient-${version}";
|
||||||
version = "3.8.3";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/ddclient/${name}.tar.gz";
|
url = "mirror://sourceforge/ddclient/${name}.tar.gz";
|
||||||
sha256 = "1j8zdn7fy7i0bjk3jf0hxnbnshc2yf054vxq64imxdpfd7n5zgfy";
|
sha256 = "0fwyhab8yga2yi1kdfkbqxa83wxhwpagmj1w1mwkg2iffh1fjjlw";
|
||||||
};
|
};
|
||||||
|
|
||||||
# perl packages by default get devdoc which isn't present
|
# perl packages by default get devdoc which isn't present
|
||||||
outputs = [ "out" ];
|
outputs = [ "out" ];
|
||||||
|
|
||||||
buildInputs = with perlPackages; [ IOSocketSSL DigestSHA1 ];
|
buildInputs = with perlPackages; [ IOSocketSSL DigestSHA1 DataValidateIP JSONPP ];
|
||||||
|
|
||||||
patches = [ ./ddclient-line-buffer-stdout.patch ];
|
|
||||||
|
|
||||||
# Use iproute2 instead of ifconfig
|
# Use iproute2 instead of ifconfig
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
Loading…
Reference in a new issue