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>
This commit is contained in:
Artyom V. Poptsov 2024-05-29 22:31:59 +03:00 committed by Zheng Junjie
parent da7dc8c8a7
commit e2274ac7c5
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -65,7 +65,6 @@
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@mailbox.org> ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@mailbox.org>
;;; Copyright © 2024 dan <i@dan.games> ;;; Copyright © 2024 dan <i@dan.games>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -235,23 +234,30 @@ (define-public ktsuss
(define-public aide (define-public aide
(package (package
(name "aide") (name "aide")
(version "0.16.2") (version "0.18.8")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/aide/aide/releases/download/v" (uri (string-append "https://github.com/aide/aide/releases/download/v"
version "/aide-" version ".tar.gz")) version "/aide-" version ".tar.gz"))
(sha256 (sha256
(base32 "15xp47sz7kk1ciffw3f5xw2jg2mb2lqrbr3q6p4bkbz5dap9iy8p")))) (base32 "0q1sp0vwrwbmw6ymw1kwd4i8walijwppa0dq61b2qzni6b32srhn"))))
(build-system gnu-build-system) (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 (native-inputs
(list bison flex)) (list bison flex pkg-config))
(inputs (inputs
(list libgcrypt (list acl
attr
libgcrypt
libgpg-error libgpg-error
libmhash libmhash
`(,pcre "static") libselinux
pcre pcre2
`(,zlib "static") `(,zlib "static")
zlib)) zlib))
(synopsis "File and directory integrity checker") (synopsis "File and directory integrity checker")