mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
5c5c9fa39d
commit
9d6708ed0c
1 changed files with 29 additions and 28 deletions
|
@ -157,42 +157,43 @@ connection. This package contains the userland utilities.")
|
||||||
(define-public keepalived
|
(define-public keepalived
|
||||||
(package
|
(package
|
||||||
(name "keepalived")
|
(name "keepalived")
|
||||||
(version "2.0.19")
|
(version "2.3.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"http://www.keepalived.org/software/keepalived-"
|
(url "https://github.com/acassen/keepalived")
|
||||||
version ".tar.gz"))
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19scrrjsxw5g914d5ka352445blaq77dk2vm4vxabijvfra88bqf"))))
|
"0mxpx5azx0m2zp757yqcavvvzg3p9nj93bczfhv6wich3wpvbwzx"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'build 'build-info
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'build 'build-info
|
||||||
(invoke "make" "-C" "doc" "texinfo")
|
(lambda _
|
||||||
;; Put images in a subdirectory as recommended by 'texinfo'.
|
(invoke "make" "-C" "doc" "texinfo")
|
||||||
(install-file "doc/source/images/software_design.png"
|
;; Put images in a subdirectory as recommended by 'texinfo'.
|
||||||
"doc/build/texinfo/keepalived-figures")
|
(install-file "doc/source/images/software_design.png"
|
||||||
(substitute* "doc/build/texinfo/keepalived.texi"
|
"doc/build/texinfo/keepalived-figures")
|
||||||
(("@image\\{software_design,")
|
(substitute* "doc/build/texinfo/keepalived.texi"
|
||||||
"@image{keepalived-figures/software_design,"))
|
(("@image\\{software_design,")
|
||||||
(invoke "make" "-C" "doc/build/texinfo")))
|
"@image{keepalived-figures/software_design,"))
|
||||||
(add-after 'install 'install-info
|
(invoke "make" "-C" "doc/build/texinfo")))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(add-after 'install 'install-info
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(lambda _
|
||||||
(infodir (string-append out "/share/info")))
|
(let ((infodir (string-append #$output "/share/info")))
|
||||||
(install-file "doc/build/texinfo/keepalived.info" infodir)
|
(install-file "doc/build/texinfo/keepalived.info" infodir)
|
||||||
(install-file "doc/source/images/software_design.png"
|
(install-file "doc/source/images/software_design.png"
|
||||||
(string-append infodir "/keepalived-figures"))
|
(string-append
|
||||||
#t))))))
|
infodir "/keepalived-figures"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config python-sphinx texinfo))
|
(list autoconf automake pkg-config python-sphinx texinfo))
|
||||||
(inputs
|
(inputs
|
||||||
(list openssl libnfnetlink libnl))
|
(list openssl libnfnetlink libnl))
|
||||||
(home-page "https://www.keepalived.org/")
|
(home-page "https://www.keepalived.org")
|
||||||
(synopsis "Load balancing and high-availability frameworks")
|
(synopsis "Load balancing and high-availability frameworks")
|
||||||
(description
|
(description
|
||||||
"Keepalived provides frameworks for both load balancing and high
|
"Keepalived provides frameworks for both load balancing and high
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue