guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/15: gnu: Rename 'libnftnl/fixed' to 'libnftnl/pinned'.


From: guix-commits
Subject: 04/15: gnu: Rename 'libnftnl/fixed' to 'libnftnl/pinned'.
Date: Sun, 5 Feb 2023 01:08:49 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit 81f8cfcf0b52b9928793e5cf8d93d551d771206a
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Wed Feb 1 10:36:01 2023 +0100

    gnu: Rename 'libnftnl/fixed' to 'libnftnl/pinned'.
    
    * gnu/packages/linux.scm: Rename variable 'libnftnl/fixed' to
    'libnftnl/pinned', add deprecation.
    (iptables)[native-inputs]: Replace 'libnftnl/fixed' with 'libnftnl/pinned'.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/linux.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e105bad406..54e3da8be2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2848,7 +2848,7 @@ external rate conversion.")
     (native-inputs
      (list pkg-config flex bison))
     (inputs
-     (list libmnl libnftnl/fixed))
+     (list libmnl libnftnl/pinned))
     (arguments
      (list #:tests? #f             ; no test suite
            #:configure-flags       ; add $libdir to the RUNPATH of executables
@@ -7654,9 +7654,13 @@ libnftnl has been previously known as libnftables.  This 
library is currently
 used by nftables.")
     (license license:gpl2+)))
 
+;;; The symbol libnftl/fixed should be used when libnftnl needs fixes
+;;; (security or else) and this deprecation could be removed.
+(define-deprecated/public-alias libnftnl/fixed libnftnl/pinned)
+
 ;; This is used in iptables, which contributes to rust.  We're pinning this
 ;; variant to avoid accidental rebuilds of rust.
-(define-public libnftnl/fixed
+(define-public libnftnl/pinned
   (package (inherit libnftnl)
     (version "1.2.0")
     (source



reply via email to

[Prev in Thread] Current Thread [Next in Thread]