summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-05-29 22:31:59 +0300
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-05-31 18:39:22 +0800
commite2274ac7c514a1e10ad16e1f9bf1b1e8508f8272 (patch)
tree2c913beac155ca274634fdb2eaa58ada510783a7 /gnu
parentda7dc8c8a7414eb23a44105f28cfd025a3b27eff (diff)
downloadguix-e2274ac7c514a1e10ad16e1f9bf1b1e8508f8272.tar.gz
gnu: aide: Update to 0.18.8.
* gnu/packages/admin.scm (aide): Update to 0.18.8.

  [arguments]: Add configure flags to enable features "--with-posix-acl",
  "--with-selinux" and "--with-xattr".  Add
  "--with-config-file=/etc/aide.conf" to instruct the program to use this
  patch to search for the configuration file.
  [native-inputs]: Add "pkg-config".
  [inputs]: Use "acl", "attr", "libselinux" and "pcre2".

Change-Id: I15ae1d86ea9fdfed16e901c041bae292ec68a742
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm20
1 files changed, 13 insertions, 7 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d1efd6213f..c730d43819 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -65,7 +65,6 @@
 ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@mailbox.org>
 ;;; Copyright © 2024 dan <i@dan.games>
-;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -235,23 +234,30 @@ simplicity in mind.")
 (define-public aide
   (package
     (name "aide")
-    (version "0.16.2")
+    (version "0.18.8")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/aide/aide/releases/download/v"
                            version "/aide-" version ".tar.gz"))
        (sha256
-        (base32 "15xp47sz7kk1ciffw3f5xw2jg2mb2lqrbr3q6p4bkbz5dap9iy8p"))))
+        (base32 "0q1sp0vwrwbmw6ymw1kwd4i8walijwppa0dq61b2qzni6b32srhn"))))
     (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags #~(list "--with-posix-acl"
+                                     "--with-selinux"
+                                     "--with-xattr"
+                                     "--with-config-file=/etc/aide.conf")))
     (native-inputs
-     (list bison flex))
+     (list bison flex pkg-config))
     (inputs
-     (list libgcrypt
+     (list acl
+           attr
+           libgcrypt
            libgpg-error
            libmhash
-           `(,pcre "static")
-           pcre
+           libselinux
+           pcre2
            `(,zlib "static")
            zlib))
     (synopsis "File and directory integrity checker")