aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cluster.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-10-25 09:39:01 +0200
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-10-26 10:10:12 +0800
commit9d6708ed0cf8373b8e9b1a028e2524eb1af0820a (patch)
tree33d250e37ad088e83fe64be0ac82c67d9f6bd462 /gnu/packages/cluster.scm
parent5c5c9fa39d713a63c30bcee9602bd69ec94d699f (diff)
downloadguix-9d6708ed0cf8373b8e9b1a028e2524eb1af0820a.tar
guix-9d6708ed0cf8373b8e9b1a028e2524eb1af0820a.tar.gz
gnu: keepalived: Update to 2.3.1. [security fixes]
This fixes CVE-2021-44225. * gnu/packages/cluster.scm (keepalived): Update to 2.3.1. [source]: Switch to git source. [arguments]: Improve style. Remove tailing #t. [native-inputs]: Add autoconf, automake. Change-Id: I51d3cb609b0368b61f021115177356593deffa8d
Diffstat (limited to 'gnu/packages/cluster.scm')
-rw-r--r--gnu/packages/cluster.scm57
1 files changed, 29 insertions, 28 deletions
diff --git a/gnu/packages/cluster.scm b/gnu/packages/cluster.scm
index 659b8282ab..6d5ea0c3b2 100644
--- a/gnu/packages/cluster.scm
+++ b/gnu/packages/cluster.scm
@@ -157,42 +157,43 @@ connection. This package contains the userland utilities.")
(define-public keepalived
(package
(name "keepalived")
- (version "2.0.19")
+ (version "2.3.1")
(source (origin
- (method url-fetch)
- (uri (string-append
- "http://www.keepalived.org/software/keepalived-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/acassen/keepalived")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "19scrrjsxw5g914d5ka352445blaq77dk2vm4vxabijvfra88bqf"))))
+ "0mxpx5azx0m2zp757yqcavvvzg3p9nj93bczfhv6wich3wpvbwzx"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'build 'build-info
- (lambda _
- (invoke "make" "-C" "doc" "texinfo")
- ;; Put images in a subdirectory as recommended by 'texinfo'.
- (install-file "doc/source/images/software_design.png"
- "doc/build/texinfo/keepalived-figures")
- (substitute* "doc/build/texinfo/keepalived.texi"
- (("@image\\{software_design,")
- "@image{keepalived-figures/software_design,"))
- (invoke "make" "-C" "doc/build/texinfo")))
- (add-after 'install 'install-info
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (infodir (string-append out "/share/info")))
- (install-file "doc/build/texinfo/keepalived.info" infodir)
- (install-file "doc/source/images/software_design.png"
- (string-append infodir "/keepalived-figures"))
- #t))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'build-info
+ (lambda _
+ (invoke "make" "-C" "doc" "texinfo")
+ ;; Put images in a subdirectory as recommended by 'texinfo'.
+ (install-file "doc/source/images/software_design.png"
+ "doc/build/texinfo/keepalived-figures")
+ (substitute* "doc/build/texinfo/keepalived.texi"
+ (("@image\\{software_design,")
+ "@image{keepalived-figures/software_design,"))
+ (invoke "make" "-C" "doc/build/texinfo")))
+ (add-after 'install 'install-info
+ (lambda _
+ (let ((infodir (string-append #$output "/share/info")))
+ (install-file "doc/build/texinfo/keepalived.info" infodir)
+ (install-file "doc/source/images/software_design.png"
+ (string-append
+ infodir "/keepalived-figures"))))))))
(native-inputs
- (list pkg-config python-sphinx texinfo))
+ (list autoconf automake pkg-config python-sphinx texinfo))
(inputs
(list openssl libnfnetlink libnl))
- (home-page "https://www.keepalived.org/")
+ (home-page "https://www.keepalived.org")
(synopsis "Load balancing and high-availability frameworks")
(description
"Keepalived provides frameworks for both load balancing and high