GNU bug report logs - #74007
[PATCH] gnu: keepalived: Update to 2.3.1. [security fixes]

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 25 Oct 2024 07:42:05 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74007 in the body.
You can then email your comments to 74007 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#74007; Package guix-patches. (Fri, 25 Oct 2024 07:42:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 25 Oct 2024 07:42:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH] gnu: keepalived: Update to 2.3.1. [security fixes]
Date: Fri, 25 Oct 2024 09:39:01 +0200
This fixes CVE-2021-44225.

* gnu/packages/cluster.scm (keepalived): Update to 2.3.1.
[arguments]: Improve style.
[properties]: Add release-monitoring-url property.
---
 gnu/packages/cluster.scm | 49 ++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/cluster.scm b/gnu/packages/cluster.scm
index 659b8282ab..e7fb5d2fc2 100644
--- a/gnu/packages/cluster.scm
+++ b/gnu/packages/cluster.scm
@@ -157,42 +157,42 @@ (define-public drbd-utils
 (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-"
+                    "https://www.keepalived.org/software/keepalived-"
                     version ".tar.gz"))
               (sha256
                (base32
-                "19scrrjsxw5g914d5ka352445blaq77dk2vm4vxabijvfra88bqf"))))
+                "18raqq15xxf5hlrqhk39prq9xdfiv9px2nlrs43273lrzndvdx4j"))))
     (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))
     (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
@@ -200,6 +200,7 @@ (define-public keepalived
 Server (@dfn{IPVS}) kernel module.  High availability is achieved by the Virtual
 Redundancy Routing Protocol (@dfn{VRRP}).  Each Keepalived framework can be used
 independently or together to provide resilient infrastructures.")
+    (properties `((release-monitoring-url . ,home-page)))
     (license license:gpl2+)))
 
 (define-public libraft
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74007; Package guix-patches. (Sat, 26 Oct 2024 02:18:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, 74007-done <at> debbugs.gnu.org
Subject: Re: [bug#74007] [PATCH] gnu: keepalived: Update to 2.3.1. [security
 fixes]
Date: Sat, 26 Oct 2024 10:16:33 +0800
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:

> This fixes CVE-2021-44225.
>
> * gnu/packages/cluster.scm (keepalived): Update to 2.3.1.
> [arguments]: Improve style.
> [properties]: Add release-monitoring-url property.
> ---
>  gnu/packages/cluster.scm | 49 ++++++++++++++++++++--------------------
>  1 file changed, 25 insertions(+), 24 deletions(-)
>
> diff --git a/gnu/packages/cluster.scm b/gnu/packages/cluster.scm
> index 659b8282ab..e7fb5d2fc2 100644
> --- a/gnu/packages/cluster.scm
> +++ b/gnu/packages/cluster.scm
> @@ -157,42 +157,42 @@ (define-public drbd-utils
>  (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-"
> +                    "https://www.keepalived.org/software/keepalived-"
>                      version ".tar.gz"))
>                (sha256
>                 (base32
> -                "19scrrjsxw5g914d5ka352445blaq77dk2vm4vxabijvfra88bqf"))))
> +                "18raqq15xxf5hlrqhk39prq9xdfiv9px2nlrs43273lrzndvdx4j"))))
>      (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))
>      (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
> @@ -200,6 +200,7 @@ (define-public keepalived
>  Server (@dfn{IPVS}) kernel module.  High availability is achieved by the Virtual
>  Redundancy Routing Protocol (@dfn{VRRP}).  Each Keepalived framework can be used
>  independently or together to provide resilient infrastructures.")
> +    (properties `((release-monitoring-url . ,home-page)))
>      (license license:gpl2+)))
>  
>  (define-public libraft

i add automake, autoconf and switch it to git-fetch. so no need add
release-monitoring-url.

[signature.asc (application/pgp-signature, inline)]

Reply sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
You have taken responsibility. (Sat, 26 Oct 2024 02:18:03 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Sat, 26 Oct 2024 02:18:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 Nov 2024 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.