gnu: libcap-ng: Update to 0.9.

* gnu/packages/admin.scm (libcap-ng): Update to 0.9.
Add inputs. Add native-inputs. [source]<origin>: Switch to git.

Change-Id: I078613133e858e83ea2f299f4bb05fe9ceefe09e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Ashish SHUKLA 2026-01-11 19:09:36 +01:00 committed by Andreas Enge
parent 17d68bfa87
commit 85c13d6b42
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -3147,20 +3147,25 @@ track changes in important system configuration files.")
(define-public libcap-ng
(package
(name "libcap-ng")
(version "0.8.5")
(version "0.9")
(source (origin
(method url-fetch)
(uri (string-append
"https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-"
version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/stevegrubb/libcap-ng")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1zy6ga6cqi6qvy2p3091i8zbillymyv01g6gmapriymx3i6jk99v"))))
"0izrrh2kmhi6dcy5iqcccmx90nwlaqcglhc60sl8n5ds8il14pi8"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list "--disable-static"
"--without-python")))
(inputs
(list libbpf))
(native-inputs
(list autoconf automake libtool pkg-config))
(home-page "https://people.redhat.com/sgrubb/libcap-ng/")
(synopsis "Library for more easily working with POSIX capabilities")
(description