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.
This commit is contained in:
parent
e81f26d2c1
commit
eab070a89d
@ -4693,21 +4693,19 @@ Netgear devices.")
|
|||||||
(define-public atop
|
(define-public atop
|
||||||
(package
|
(package
|
||||||
(name "atop")
|
(name "atop")
|
||||||
(version "2.6.0")
|
(version "2.7.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.atoptool.nl/download/atop-"
|
(uri (string-append "https://www.atoptool.nl/download/atop-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0wlg0n0h9vwpjp2dcb623jvvqck422jrjpq9mbpzg4hnawxcmhly"))))
|
"0kjwgf94skbrndv1krlmsrq34smzi3iwk73fbsnyw787gvqx4j6a"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no test suite
|
`(#:tests? #f ; no test suite
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "CC=" ,(cc-for-target))
|
(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 "DESTDIR=" (assoc-ref %outputs "out"))
|
||||||
(string-append "BINPATH=/bin")
|
(string-append "BINPATH=/bin")
|
||||||
(string-append "SBINPATH=/sbin")
|
(string-append "SBINPATH=/sbin")
|
||||||
@ -4722,12 +4720,8 @@ Netgear devices.")
|
|||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; No ./configure script
|
(delete 'configure) ; No ./configure script
|
||||||
(add-before 'build 'patch-build
|
(add-before 'build 'patch-build
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(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".
|
;; Otherwise, it creates a blank configuration file as a "default".
|
||||||
(("touch.*DEFPATH)/atop") "")
|
(("touch.*DEFPATH)/atop") "")
|
||||||
(("chmod.*DEFPATH)/atop") ""))
|
(("chmod.*DEFPATH)/atop") ""))
|
||||||
|
Loading…
Reference in New Issue
Block a user