Subject: Re: [bug#71212] [PATCH v2] gnu: aide: Update to 0.18.8.
From: Zheng Junjie <[email-masked]>
To: "Artyom V. Poptsov" <[email-masked]>
Cc: [email-masked]
Date: Fri, 31 May 2024 19:50:15 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

"Artyom V. Poptsov" <[email-masked]> writes:

> * 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
> ---
>  gnu/packages/admin.scm | 20 +++++++++++++-------
>  1 file changed, 13 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 775083c92c..127ad2867a 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -65,7 +65,6 @@
>  ;;; Copyright © 2023 Nicolas Graves <[email-masked]>
>  ;;; Copyright © 2023 Tomás Ortín Fernández <[email-masked]>
>  ;;; Copyright © 2024 dan <[email-masked]>
> -;;; Copyright © 2024 Artyom V. Poptsov <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -234,23 +233,30 @@ (define-public ktsuss
>  (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")
>
> base-commit: 6f72ad465c1e2df965e8d73b209497b4ef456527

Thanks.

push, see https://git.savannah.gnu.org/cgit/guix.git/commit/?id=e2274ac7c514a1e10ad16e1f9bf1b1e8508f8272