summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-09 02:00:02 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-09 02:00:10 +0200
commita1ae54b10bfd19722a37f10c2aa729a4df36367f (patch)
tree729806827f5303206f20d51544a043c2fe0485bc
parent1c347cd56a8feb260e40ab187d7de37076010b50 (diff)
downloadguix-a1ae54b10bfd19722a37f10c2aa729a4df36367f.tar.gz
gnu: yadifa: Update to 2.6.4.
* gnu/packages/dns.scm (yadifa): Update to 2.6.4.
[arguments]: Add a new 'unhard-code phase.
-rw-r--r--gnu/packages/dns.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 5dda69d4ab..9879998776 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -795,16 +795,16 @@ served by AS112.  Stub and forward zones are supported.")
 (define-public yadifa
   (package
     (name "yadifa")
-    (version "2.5.3")
+    (version "2.6.4")
     (source
-     (let ((build "10333"))
+     (let ((build "10892"))
        (origin
          (method url-fetch)
          (uri
           (string-append "https://www.yadifa.eu/sites/default/files/releases/"
                          "yadifa-" version "-" build ".tar.gz"))
          (sha256
-          (base32 "1mwy6sfnlaslx26f3kpj9alh8i8y8bf1nbnsdd5j04hjsbavd07p")))))
+          (base32 "0wdm0gc01bhd04p3jqxy3y8lgx5v8wlm8saiy35llna5ssi77fyq")))))
     (build-system gnu-build-system)
     (native-inputs
      (list which))
@@ -813,6 +813,12 @@ served by AS112.  Stub and forward zones are supported.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'unhard-code
+           (lambda _
+             (substitute* (list "lib/dnslg/Makefile.in"
+                                "lib/dnsdb/Makefile.in"
+                                "lib/dnscore/Makefile.in")
+               (("/usr/bin/(install)" _ command) command))))
          (add-before 'configure 'omit-example-configurations
            (lambda _
              (substitute* "Makefile.in"