gnu: sysdig: Update to 0.40.0-alpha6.

(Also add the missing 2024 copyright year).

* gnu/packages/admin.scm (sysdig): Update to 0.40.0-alpha6.
* gnu/packages/patches/sysdig-shared-falcosecurity-libs.patch: Rebase patch.
* gnu/packages/patches/sysdig-falcosecurity-libs-0.20.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I2fc91baf52aebf283615a8989e841687c6033602
This commit is contained in:
Maxim Cournoyer 2025-01-22 22:15:04 +09:00
parent 17587940c2
commit 51720d1afa
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -35,7 +35,7 @@
;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com> ;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021-2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2023, 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021, 2023, 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at> ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 qblade <qblade@protonmail.com> ;;; Copyright © 2021 qblade <qblade@protonmail.com>
@ -6167,24 +6167,18 @@ that require it.")
(license license:expat))) (license license:expat)))
(define-public sysdig (define-public sysdig
;; Use the latest commit for now, as the latest 0.36.1 release does not yet
;; support the falcosecurity-libs 0.16 API.
(let ((commit "598ad292b659425e475e5814d9e92c3c29188480")
(revision "0"))
(package (package
(name "sysdig") (name "sysdig")
(version (git-version "0.36.1" revision commit)) (version "0.40.0-alpha6") ;for the 0.20 patch to apply
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/draios/sysdig") (url "https://github.com/draios/sysdig")
(commit commit))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0yyins3rb286dfibadfwwp2gwmdj7fsz3pdkpdvx05yvdqfkqds7")) "0pxmx3by0lckw7zv54wrg0cr13j1mhk2z0x4qachrf2mz5qjq2cd"))))
(patches
(search-patches "sysdig-shared-falcosecurity-libs.patch"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list #:tests? #f ;no test suite (list #:tests? #f ;no test suite
@ -6222,7 +6216,7 @@ Bash aliases can be added to your @file{~/.bash_profile} file, for example:
alias sysdig=sudo sysdig --modern-bpf alias sysdig=sudo sysdig --modern-bpf
alias cysdig=sudo csysdig --modern-bpf alias cysdig=sudo csysdig --modern-bpf
") ;XXX no @example Texinfo support ") ;XXX no @example Texinfo support
(license license:asl2.0)))) (license license:asl2.0)))
(define-public fail2ban (define-public fail2ban
(package (package