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

View file

@ -4930,15 +4930,18 @@ (define-public xinetd
(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},