forked from mirrors/nixpkgs
Merge pull request #13146 from rycee/bump/ddclient
ddclient: 3.8.2 -> 3.8.3
This commit is contained in:
commit
7d22996df0
|
@ -1,12 +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
|
||||
@@ -574,7 +574,7 @@
|
||||
"usage: ${program} [options]",
|
||||
"options are:",
|
||||
[ "daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval." ],
|
||||
-+ [ "foreground", "!", "-foreground : do not fork" ],
|
||||
+ [ "foreground", "!", "-foreground : do not fork" ],
|
||||
[ "proxy", "=s", "-proxy host : use 'host' as the HTTP proxy" ],
|
||||
[ "server", "=s", "-server host : update DNS information on 'host'" ],
|
||||
[ "protocol", "=s", "-protocol type : update protocol used" ],
|
|
@ -1,16 +1,17 @@
|
|||
{buildPerlPackage, fetchurl, perlPackages, iproute}:
|
||||
{ stdenv, buildPerlPackage, fetchurl, perlPackages, iproute }:
|
||||
|
||||
buildPerlPackage {
|
||||
name = "ddclient-3.8.2";
|
||||
buildPerlPackage rec {
|
||||
name = "ddclient-${version}";
|
||||
version = "3.8.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/ddclient/ddclient-3.8.2.tar.gz ;
|
||||
sha256 = "17mcdqxcwa6c05m8xhxi4r37j4qvbp3wgbpvzqgmrmgwava5wcrw";
|
||||
url = "mirror://sourceforge/ddclient/${name}.tar.gz";
|
||||
sha256 = "1j8zdn7fy7i0bjk3jf0hxnbnshc2yf054vxq64imxdpfd7n5zgfy";
|
||||
};
|
||||
|
||||
buildInputs = [ perlPackages.IOSocketSSL perlPackages.DigestSHA1 ];
|
||||
|
||||
patches = [ ./ddclient-foreground.patch ./ddclient-line-buffer-stdout.patch ];
|
||||
patches = [ ./ddclient-line-buffer-stdout.patch ];
|
||||
|
||||
# Use iproute2 instead of ifconfig
|
||||
preConfigure = ''
|
||||
|
@ -26,4 +27,10 @@ buildPerlPackage {
|
|||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://sourceforge.net/p/ddclient/wiki/Home/;
|
||||
description = "Client for updating dynamic DNS service entries";
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue