guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: atop: Update to 2.7.1.


From: guix-commits
Subject: 02/04: gnu: atop: Update to 2.7.1.
Date: Tue, 17 May 2022 05:41:13 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit eab070a89d9906359ffe0a90c96b74771d836f19
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue May 17 10:57:52 2022 +0300

    gnu: atop: Update to 2.7.1.
    
    * gnu/packages/admin.scm (atop): Update to 2.7.1.
    [arguments]: Remove unnecessary make-flag.  Remove unneeded
    substitutions.
---
 gnu/packages/admin.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 13c8a2dfd5..34df56d5e7 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4693,21 +4693,19 @@ Netgear devices.")
 (define-public atop
   (package
     (name "atop")
-    (version "2.6.0")
+    (version "2.7.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://www.atoptool.nl/download/atop-";
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0wlg0n0h9vwpjp2dcb623jvvqck422jrjpq9mbpzg4hnawxcmhly"))))
+                "0kjwgf94skbrndv1krlmsrq34smzi3iwk73fbsnyw787gvqx4j6a"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; no test suite
        #:make-flags
        (list (string-append "CC=" ,(cc-for-target))
-             ;; The installer requires a choice between systemd or SysV.
-             "systemdinstall"
              (string-append "DESTDIR=" (assoc-ref %outputs "out"))
              (string-append "BINPATH=/bin")
              (string-append "SBINPATH=/sbin")
@@ -4722,12 +4720,8 @@ Netgear devices.")
        (modify-phases %standard-phases
          (delete 'configure) ; No ./configure script
          (add-before 'build 'patch-build
-           (lambda* (#:key outputs #:allow-other-keys)
+           (lambda _
              (substitute* "Makefile"
-               ;; We don't need to chown things in the build environment.
-               (("chown.*$") "")
-               ;; We can't toggle the setuid bit in the build environment.
-               (("chmod 04711") "chmod 0711")
                ;; Otherwise, it creates a blank configuration file as a 
"default".
                (("touch.*DEFPATH)/atop") "")
                (("chmod.*DEFPATH)/atop") ""))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]