guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/21: gnu: xinetd: Don't hard-code tarball version.


From: Tobias Geerinckx-Rice
Subject: 06/21: gnu: xinetd: Don't hard-code tarball version.
Date: Mon, 19 Feb 2018 00:07:25 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 9c22b13136c52c2cd5ef4088a05d9c2a5ef28465
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Feb 19 04:17:22 2018 +0100

    gnu: xinetd: Don't hard-code tarball version.
    
    * gnu/packages/web.scm (xinetd)[source]: Construct URI using VERSION.
---
 gnu/packages/web.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9156655..553b1e3 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4930,15 +4930,18 @@ deployments.")
     (source
      (origin
        (method url-fetch)
-       (uri 
"https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz";)
-       (patches (search-patches "xinetd-CVE-2013-4342.patch" 
"xinetd-fix-fd-leak.patch"))
+       (uri
+        (string-append "https://github.com/xinetd-org/xinetd/archive/xinetd-";
+                       (string-join (string-split version #\.) "-") ".tar.gz"))
+       (patches (search-patches "xinetd-CVE-2013-4342.patch"
+                                "xinetd-fix-fd-leak.patch"))
        (sha256
         (base32
          "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags '("--with-loadavg")
-       #:tests? #f )) ; no tests
+       #:tests? #f))                    ; no tests
     (home-page "https://github.com/xinetd-org/xinetd";)
     (synopsis "Internet services daemon")
     (description "@code{xinetd}, a more secure replacement for @code{inetd},



reply via email to

[Prev in Thread] Current Thread [Next in Thread]