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

* gnu/packages/web.scm (xinetd)[source]: Construct URI using VERSION.
This commit is contained in:
Tobias Geerinckx-Rice 2018-02-19 04:17:22 +01:00
parent 96d47129f6
commit 9c22b13136
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 3 deletions

View File

@ -4930,8 +4930,11 @@ 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"))))