mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: cifs-utils: Update to 6.10.
* gnu/packages/samba.scm (cifs-utils): Update to 6.10. [arguments]: Force a ‘bootstrap’. Add a ‘create-man8dir’ phase.
This commit is contained in:
parent
88c9408070
commit
b0a46bcc02
1 changed files with 15 additions and 3 deletions
|
@ -58,14 +58,14 @@ (define-module (gnu packages samba)
|
||||||
(define-public cifs-utils
|
(define-public cifs-utils
|
||||||
(package
|
(package
|
||||||
(name "cifs-utils")
|
(name "cifs-utils")
|
||||||
(version "6.9")
|
(version "6.10")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://download.samba.org/pub/linux-cifs/"
|
(uri (string-append "https://download.samba.org/pub/linux-cifs/"
|
||||||
"cifs-utils/cifs-utils-" version ".tar.bz2"))
|
"cifs-utils/cifs-utils-" version ".tar.bz2"))
|
||||||
(sha256 (base32
|
(sha256 (base32
|
||||||
"175cp509wn1zv8p8mv37hkf6sxiskrsxdnq22mhlsg61jazz3n0q"))))
|
"19q4b5bzlxhn1hpi843xrp6f50d33w7m0rs26krkg5h3x742kz4j"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("autoconf" ,autoconf)
|
||||||
|
@ -81,12 +81,24 @@ (define-public cifs-utils
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(replace 'bootstrap
|
||||||
|
;; Force a bootstrap to fix a ‘cannot find install-sh, install.sh,
|
||||||
|
;; or shtool’ error since version 6.10.
|
||||||
|
(lambda _
|
||||||
|
(invoke "autoreconf" "-vfi")
|
||||||
|
#t))
|
||||||
(add-before 'configure 'set-root-sbin
|
(add-before 'configure 'set-root-sbin
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Don't try to install into "/sbin".
|
;; Don't try to install into "/sbin".
|
||||||
(setenv "ROOTSBINDIR"
|
(setenv "ROOTSBINDIR"
|
||||||
(string-append (assoc-ref %outputs "out") "/sbin"))
|
(string-append (assoc-ref %outputs "out") "/sbin"))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-before 'install 'create-man8dir
|
||||||
|
;; Create a directory that isn't created since version 6.10.
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(mkdir-p (string-append out "/share/man/man8"))
|
||||||
|
#t))))))
|
||||||
(synopsis "User-space utilities for Linux CIFS (Samba) mounts")
|
(synopsis "User-space utilities for Linux CIFS (Samba) mounts")
|
||||||
(description "@code{cifs-utils} is a set of user-space utilities for
|
(description "@code{cifs-utils} is a set of user-space utilities for
|
||||||
mounting and managing @dfn{Common Internet File System} (CIFS) shares using
|
mounting and managing @dfn{Common Internet File System} (CIFS) shares using
|
||||||
|
|
Loading…
Reference in a new issue