diff mbox series

[bug#71212,v2] gnu: aide: Update to 0.18.8.

Message ID 38e0ec041002b3684434772a5add5c8d62f810f3.1717011119.git.poptsov.artyom@gmail.com
State New
Headers show
Series [bug#71212,v2] gnu: aide: Update to 0.18.8. | expand

Commit Message

Artyom V. Poptsov May 29, 2024, 7:31 p.m. UTC
* 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(-)


base-commit: 6f72ad465c1e2df965e8d73b209497b4ef456527

Comments

Zheng Junjie May 31, 2024, 11:50 a.m. UTC | #1
"Artyom V. Poptsov" <poptsov.artyom@gmail.com> 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 <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.
>  ;;;
> @@ -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
diff mbox series

Patch

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 <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.
 ;;;
@@ -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")