GNU bug report logs - #71212
[PATCH] gnu: aide: Update to 0.18.8.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sun, 26 May 2024 17:18:01 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71212 in the body.
You can then email your comments to 71212 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71212; Package guix-patches. (Sun, 26 May 2024 17:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 26 May 2024 17:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH] gnu: aide: Update to 0.18.8.
Date: Sun, 26 May 2024 20:17:34 +0300
* gnu/packages/admin.scm (aide): Update to 0.18.8.
  [native-inputs]: Add "pkg-config".
  [inputs]: Use "pcre2".

Change-Id: I15ae1d86ea9fdfed16e901c041bae292ec68a742
---
 gnu/packages/admin.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index bae9ee1308..4d4fbf55ac 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -234,23 +234,22 @@ (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)
     (native-inputs
-     (list bison flex))
+     (list bison flex pkg-config))
     (inputs
      (list libgcrypt
            libgpg-error
            libmhash
-           `(,pcre "static")
-           pcre
+           pcre2
            `(,zlib "static")
            zlib))
     (synopsis "File and directory integrity checker")

base-commit: dc8fb5672464b6386f6b4b94723f9b36edc4e625
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#71212; Package guix-patches. (Wed, 29 May 2024 04:49:01 GMT) Full text and rfc822 format available.

Message #8 received at 71212 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: 71212 <at> debbugs.gnu.org
Subject: Re: [bug#71212] [PATCH] gnu: aide: Update to 0.18.8.
Date: Wed, 29 May 2024 12:47:40 +0800
[Message part 1 (text/plain, inline)]
"Artyom V. Poptsov" <poptsov.artyom <at> gmail.com> writes:

> * gnu/packages/admin.scm (aide): Update to 0.18.8.
>   [native-inputs]: Add "pkg-config".
>   [inputs]: Use "pcre2".
>
> Change-Id: I15ae1d86ea9fdfed16e901c041bae292ec68a742
> ---
>  gnu/packages/admin.scm | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index bae9ee1308..4d4fbf55ac 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -234,23 +234,22 @@ (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)
>      (native-inputs
> -     (list bison flex))
> +     (list bison flex pkg-config))
>      (inputs
>       (list libgcrypt
>             libgpg-error
>             libmhash
> -           `(,pcre "static")
> -           pcre
> +           pcre2
>             `(,zlib "static")
>             zlib))
>      (synopsis "File and directory integrity checker")
>
> base-commit: dc8fb5672464b6386f6b4b94723f9b36edc4e625

hello, when i try 'aide -i', will report 
  ERROR: cannot open config file '/gnu/store/crq4phhak3pw3ihi03ywmy811qnihyx3-aide-0.18.8/etc/aide.conf': No such file or directory

can you fix it? i think it should /etc/aide.conf
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#71212; Package guix-patches. (Wed, 29 May 2024 19:34:01 GMT) Full text and rfc822 format available.

Message #11 received at 71212 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 71212 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH v2] gnu: aide: Update to 0.18.8.
Date: Wed, 29 May 2024 22:31:59 +0300
* 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 <at> ngraves.fr>
 ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin <at> mailbox.org>
 ;;; Copyright © 2024 dan <i <at> dan.games>
-;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> 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
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#71212; Package guix-patches. (Wed, 29 May 2024 19:39:02 GMT) Full text and rfc822 format available.

Message #14 received at 71212 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 71212 <at> debbugs.gnu.org
Subject: Re: [bug#71212] [PATCH] gnu: aide: Update to 0.18.8.
Date: Wed, 29 May 2024 22:37:05 +0300
[Message part 1 (text/plain, inline)]
Hello Zheng Junjie,

thank you for reviewing my patch!

> can you fix it? i think it should /etc/aide.conf

Yes, I specified this as the path for the default configuration file.
But it should be created by the end user.

Also I've enabled some features for "aide" as it was done in Nix.[1]

Please find the second version of my patch attached to the issue.

Thanks,
- avp

References:
1. https://github.com/NixOS/nixpkgs/blob/f7a63cf975cc66559d5f488ffe6367c987a79826/pkgs/tools/security/aide/default.nix#L16

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

Reply sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
You have taken responsibility. (Fri, 31 May 2024 11:51:01 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Fri, 31 May 2024 11:51:02 GMT) Full text and rfc822 format available.

Message #19 received at 71212-done <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: 71212-done <at> debbugs.gnu.org
Subject: Re: [bug#71212] [PATCH v2] gnu: aide: Update to 0.18.8.
Date: Fri, 31 May 2024 19:50:15 +0800
[Message part 1 (text/plain, inline)]
"Artyom V. Poptsov" <poptsov.artyom <at> 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 <at> ngraves.fr>
>  ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin <at> mailbox.org>
>  ;;; Copyright © 2024 dan <i <at> dan.games>
> -;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Jun 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.