apteryx pushed a commit to branch master
in repository guix.

commit 51720d1afa68a54df92dd331c100b4995cb4070e
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Wed Jan 22 22:15:04 2025 +0900

    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
---
 gnu/packages/admin.scm | 74 +++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 40 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6541735cb9..0fcf14c6ee 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -35,7 +35,7 @@
 ;;; Copyright © 2020, 2021, 2022 Michael Rohleder <[email protected]>
 ;;; Copyright © 2020 Vincent Legoll <[email protected]>
 ;;; Copyright © 2020 Morgan Smith <[email protected]>
-;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2021-2025 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2021, 2023, 2024 Zheng Junjie <[email protected]>
 ;;; Copyright © 2021 Stefan Reichör <[email protected]>
 ;;; Copyright © 2021 qblade <[email protected]>
@@ -6167,44 +6167,38 @@ that require it.")
     (license license:expat)))
 
 (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
-      (name "sysdig")
-      (version (git-version "0.36.1" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/draios/sysdig";)
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "0yyins3rb286dfibadfwwp2gwmdj7fsz3pdkpdvx05yvdqfkqds7"))
-                (patches
-                 (search-patches "sysdig-shared-falcosecurity-libs.patch"))))
-      (build-system cmake-build-system)
-      (arguments
-       (list #:tests? #f                ;no test suite
-             #:configure-flags
-             #~(list "-DUSE_BUNDLED_DEPS=OFF"
-                     ;; Already built and part of falcosecurity-libs, but
-                     ;; needed for the 'HAS_MODERN_BPF' define.
-                     "-DBUILD_SYSDIG_MODERN_BPF=ON"
-                     #$(string-append "-DSYSDIG_VERSION=" version))))
-      (native-inputs (list pkg-config))
-      (inputs
-       (list falcosecurity-libs
-             luajit
-             ncurses
-             nlohmann-json
-             yaml-cpp
-             zlib))
-      (home-page "https://github.com/draios/sysdig";)
-      (synopsis "System exploration and troubleshooting tool")
-      (description "Sysdig is a simple tool for deep system visibility, with
+  (package
+    (name "sysdig")
+    (version "0.40.0-alpha6")           ;for the 0.20 patch to apply
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/draios/sysdig";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0pxmx3by0lckw7zv54wrg0cr13j1mhk2z0x4qachrf2mz5qjq2cd"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f                  ;no test suite
+           #:configure-flags
+           #~(list "-DUSE_BUNDLED_DEPS=OFF"
+                   ;; Already built and part of falcosecurity-libs, but
+                   ;; needed for the 'HAS_MODERN_BPF' define.
+                   "-DBUILD_SYSDIG_MODERN_BPF=ON"
+                   #$(string-append "-DSYSDIG_VERSION=" version))))
+    (native-inputs (list pkg-config))
+    (inputs
+     (list falcosecurity-libs
+           luajit
+           ncurses
+           nlohmann-json
+           yaml-cpp
+           zlib))
+    (home-page "https://github.com/draios/sysdig";)
+    (synopsis "System exploration and troubleshooting tool")
+    (description "Sysdig is a simple tool for deep system visibility, with
 native support for containers.  It combines features of multiple system
 administration tools such as the @command{strace}, @command{tcpdump},
 @command{htop}, @command{iftop} and @command{lsof} into a single interface.
@@ -6222,7 +6216,7 @@ Bash aliases can be added to your @file{~/.bash_profile} 
file, for example:
 alias sysdig=sudo sysdig --modern-bpf
 alias cysdig=sudo csysdig --modern-bpf
 ")                                      ;XXX no @example Texinfo support
-      (license license:asl2.0))))
+    (license license:asl2.0)))
 
 (define-public fail2ban
   (package

Reply via email to