guix-commits
[Top][All Lists]
Advanced

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

22/25: gnu: libcap: Update to 2.44.


From: guix-commits
Subject: 22/25: gnu: libcap: Update to 2.44.
Date: Tue, 13 Oct 2020 17:50:14 -0400 (EDT)

mbakke pushed a commit to branch staging
in repository guix.

commit 5e5b664bf7434e0ecbacd6f52c5da38654c76fd9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Oct 11 17:08:45 2020 +0200

    gnu: libcap: Update to 2.44.
    
    * gnu/packages/linux.scm (libcap): Update to 2.44.
    [arguments]: New field.
---
 gnu/packages/linux.scm | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 293b873..c9f7af0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2450,7 +2450,7 @@ Linux-based operating systems.")
 (define-public libcap
   (package
     (inherit libcap-2.31)
-    (version "2.34")
+    (version "2.44")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2458,7 +2458,19 @@ Linux-based operating systems.")
                     "libcap2/libcap-" version ".tar.xz"))
               (sha256
                (base32
-                "048n1gy2p48vl9hkrr9wymfxxcpwj2aslz2bv79nhl4m2lhd9kdf"))))))
+                "1qf80lifygbnxwvqjf8jz5j24n6fqqx4ixnkbf76xs2vrmcq664j"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments libcap-2.31)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (replace 'configure
+             (lambda _
+               ;; Add $libdir to the RUNPATH of executables.
+               (substitute* "Make.Rules"
+                 (("LDFLAGS \\?= #-g")
+                  (string-append "LDFLAGS ?= -Wl,-rpath="
+                                 %output "/lib")))
+               #t))))))))
 
 (define-deprecated libcap/next libcap)
 (export libcap/next)



reply via email to

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