diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index b17016909..ffa442f4d 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -592,7 +591,7 @@ synthesis, and on-the-fly re-configuration.") (sha256 (base32 "1j8zdn7fy7i0bjk3jf0hxnbnshc2yf054vxq64imxdpfd7n5zgfy")))) - (build-system trivial-build-system) + (build-system trivial-build-system) ; no Makefile.PL (native-inputs `(("bash" ,bash) ("gzip" ,gzip) @@ -600,6 +599,7 @@ synthesis, and on-the-fly re-configuration.") ("tar" ,tar))) (inputs `(("net-tools" ,net-tools) + ("inetutils" ,inetutils) ;logger ("perl-io-socket-ssl" ,perl-io-socket-ssl) ("perl-digest-sha1" ,perl-digest-sha1))) (arguments @@ -625,7 +625,13 @@ synthesis, and on-the-fly re-configuration.") (bin (string-append out "/bin"))) (let ((file "ddclient")) (substitute* file - (("/usr/bin/perl") (which "perl"))) + (("/usr/bin/perl") (which "perl")) + ;; Strictly use ‘/etc/ddclient/ddclient.conf’. + (("\\$\\{program\\}\\.conf") "/etc/ddclient/ddclient.conf") + (("\\$etc\\$program.conf") "/etc/ddclient/ddclient.conf") + ;; Strictly use ‘/var/cache/ddclient/ddclient.cache’ + (("\\$cachedir\\$program\\.cache") + "/var/cache/ddclient/ddclient.cache")) (install-file file bin) (wrap-program (string-append bin "/" file) `("PATH" ":" = @@ -655,7 +661,7 @@ addresses with several dynamic DNS service providers, such as This makes it possible to use a fixed hostname (such as myhost.dyndns.org) to access a machine with a dynamic IP address. -This client supports both dynamic and (near) static services, as well as MX +The client supports both dynamic and (near) static services, as well as MX record and alternative name management. It caches the address, and only attempts the update when it has changed.") (license license:gpl2+)))