gnu: samba: Update to 4.8.1.

* gnu/packages/samba.scm (samba): Update to 4.8.1.
[arguments]: Adjust 'disable-etc-samba-directory-creation' phase.
This commit is contained in:
Marius Bakke 2018-05-02 14:43:49 +02:00
parent 470771c5e4
commit 2ea806f062
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -148,14 +148,14 @@ (define (install dir)
(define-public samba (define-public samba
(package (package
(name "samba") (name "samba")
(version "4.7.7") (version "4.8.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://download.samba.org/pub/samba/stable/" (uri (string-append "https://download.samba.org/pub/samba/stable/"
"samba-" version ".tar.gz")) "samba-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0c81x2ncnvz3mi6fjj81clm1mh049d3ip3fj031l44qclxpx3yi9")))) "17bqgxyv34hjnb4hfamag75gwhqipp6mpvba5xg7lszi0xskdxwf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -190,8 +190,8 @@ (define-public samba
(add-before 'install 'disable-etc-samba-directory-creation (add-before 'install 'disable-etc-samba-directory-creation
(lambda _ (lambda _
(substitute* "dynconfig/wscript" (substitute* "dynconfig/wscript"
(("bld\\.INSTALL_DIRS\\(\"\",[[:blank:]]{1,}\"\\$\\{CONFIGDIR\\}[[:blank:]]{1,}") (("bld\\.INSTALL_DIR\\(\"\\$\\{CONFIGDIR\\}\"\\)")
"bld.INSTALL_DIRS(\"\", \"")) ""))
#t))) #t)))
;; XXX: The test infrastructure attempts to set password with ;; XXX: The test infrastructure attempts to set password with
;; smbpasswd, which fails with "smbpasswd -L can only be used by root." ;; smbpasswd, which fails with "smbpasswd -L can only be used by root."