[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/33: gnu: libcap: Update to 2.49.
From: |
guix-commits |
Subject: |
28/33: gnu: libcap: Update to 2.49. |
Date: |
Sun, 9 May 2021 17:50:15 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit cd42bad5d51d0069bceaea629f97bdc6154399da
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun May 9 11:41:08 2021 +0200
gnu: libcap: Update to 2.49.
* gnu/packages/linux.scm (libcap-2.31): Rename to ...
(libcap): ... this: Update to 2.49.
[arguments]: Adjust substitution.
(libcap/next): Remove variable.
* gnu/packages/avahi.scm (avahi)[inputs]: Change from LIBCAP/NEXT to LIBCAP.
* gnu/packages/base.scm (coreutils)[inputs]: Likewise.
---
gnu/packages/avahi.scm | 2 +-
gnu/packages/base.scm | 4 ++--
gnu/packages/linux.scm | 44 ++++++--------------------------------------
3 files changed, 9 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index b2aeead..602f9d7 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -74,7 +74,7 @@
("expat" ,expat)
("gdbm" ,gdbm)
("glib" ,glib)
- ("libcap" ,libcap-2.31) ;to enable chroot support in avahi-daemon
+ ("libcap" ,libcap) ;to enable chroot support in avahi-daemon
("libdaemon" ,libdaemon)
("libevent" ,libevent)))
(native-inputs
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index d7aca1f..33c4952 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -339,8 +339,8 @@ used to apply commands with arbitrarily long arguments.")
,@(if (and (not (%current-target-system))
(member (%current-system)
(package-supported-systems libcap)))
- `(("libcap" ,libcap-2.31)) ;capability support in 'ls',
etc.
- '())))
+ `(("libcap" ,libcap)) ;capability support in 'ls', etc.
+ '())))
(native-inputs
;; Perl is needed to run tests in native builds, and to run the bundled
;; copy of help2man. However, don't pass it when cross-compiling since
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0da13f2..ce82199 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2610,10 +2610,10 @@ network hardware types (plipconfig, slattach) and
advanced aspects of IP
configuration (iptunnel, ipmaddr).")
(license license:gpl2+))))
-(define-public libcap-2.31
+(define-public libcap
(package
(name "libcap")
- (version "2.31")
+ (version "2.49")
(source (origin
(method url-fetch)
(uri (string-append
@@ -2621,7 +2621,7 @@ configuration (iptunnel, ipmaddr).")
"libcap2/libcap-" version ".tar.xz"))
(sha256
(base32
- "0ikwm0kngrqa4ci80lqnrkk17kg09q7dxrz28y0gm5qw3vj8s266"))))
+ "10g13s1kihqpvrvmfl2w8s18icqjlz8hy2vkhz3jw2256vcw92z9"))))
(build-system gnu-build-system)
(arguments '(#:phases
(modify-phases %standard-phases
@@ -2629,10 +2629,9 @@ configuration (iptunnel, ipmaddr).")
;; Add $libdir to the RUNPATH of executables.
(lambda _
(substitute* "Make.Rules"
- (("LDFLAGS := #-g")
- (string-append "LDFLAGS := -Wl,-rpath="
- %output "/lib")))
- #t)))
+ (("LDFLAGS \\?= #-g")
+ (string-append "LDFLAGS ?= -Wl,-rpath="
+ %output "/lib"))))))
#:test-target "test"
#:make-flags (list "lib=lib"
(string-append "prefix="
@@ -2649,37 +2648,6 @@ Linux-based operating systems.")
;; License is BSD-3 or GPLv2, at the user's choice.
(license license:gpl2)))
-;; libcap 2.31 has problems with newer kernels, so provide this newer variant.
-;; Keep the old libcap around to avoid rebuilding 'coreutils' and 'avahi'.
-;; To be merged with libcap on the next rebuild cycle.
-(define-public libcap
- (package
- (inherit libcap-2.31)
- (version "2.45")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://kernel.org/linux/libs/security/linux-privs/"
- "libcap2/libcap-" version ".tar.xz"))
- (sha256
- (base32
- "11ijmi7jik9iw6pdszc6bylhggghr8cza03bcrbhbqf0cpvkjrnn"))))
- (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)
-
(define-public bridge-utils
(package
(name "bridge-utils")
- 12/33: gnu: Python: Update to 3.9.5., (continued)
- 12/33: gnu: Python: Update to 3.9.5., guix-commits, 2021/05/09
- 13/33: gnu: elfutils: Update to 0.183., guix-commits, 2021/05/09
- 05/33: gnu: c-ares: Remove replacement package., guix-commits, 2021/05/09
- 06/33: gnu: unzip: Incorporate grafted changes., guix-commits, 2021/05/09
- 08/33: gnu: OpenLDAP: Remove replacement package., guix-commits, 2021/05/09
- 09/33: gnu: PostgreSQL: Remove replacement package., guix-commits, 2021/05/09
- 17/33: gnu: perl: Update to 5.32.1., guix-commits, 2021/05/09
- 24/33: gnu: expat: Update to 2.3.0., guix-commits, 2021/05/09
- 18/33: gnu: linux-libre-headers: Update to 5.10.35., guix-commits, 2021/05/09
- 21/33: gnu: mit-krb5: Update to 1.19.1., guix-commits, 2021/05/09
- 28/33: gnu: libcap: Update to 2.49.,
guix-commits <=
- 29/33: gnu: kmod: Update to 28., guix-commits, 2021/05/09
- 15/33: gnu: bash: Update to 5.1.8., guix-commits, 2021/05/09
- 16/33: gnu: bison: Update to 3.7.6., guix-commits, 2021/05/09
- 19/33: gnu: libfaketime: Update to 0.9.9., guix-commits, 2021/05/09
- 20/33: gnu: icu4c: Update to 69.1., guix-commits, 2021/05/09
- 22/33: gnu: sqlite: Update to 3.35.5., guix-commits, 2021/05/09
- 23/33: gnu: util-linux: Update to 2.36.2., guix-commits, 2021/05/09
- 25/33: gnu: libgpg-error: Update to 1.42., guix-commits, 2021/05/09
- 26/33: gnu: libassuan: Update to 2.5.5., guix-commits, 2021/05/09
- 27/33: gnu: libksba: Update to 1.5.1., guix-commits, 2021/05/09