me
/
guix
Archived
1
0
Fork 0

gnu: prosody: Update to 0.11.10.

* gnu/packages/messaging.scm (prosody): Update to 0.11.10.
[arguments]: Don't explicitly return #t from phases.
master
Tobias Geerinckx-Rice 2021-11-03 02:44:21 +01:00
parent 7c62015837
commit 914bcc6f98
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 8 deletions

View File

@ -1331,14 +1331,14 @@ default.")
(define-public prosody (define-public prosody
(package (package
(name "prosody") (name "prosody")
(version "0.11.9") (version "0.11.10")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://prosody.im/downloads/source/" (uri (string-append "https://prosody.im/downloads/source/"
"prosody-" version ".tar.gz")) "prosody-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"02gzvsaq0l5lx608sfh7hfz14s6yfsr4sr4kzcsqd1cxljp35h6c")))) "1q84s9cq7cgzd295qxa2iy0r3vd3v3chbck62bdx3pd6skk19my6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;tests require "busted" `(#:tests? #f ;tests require "busted"
@ -1354,16 +1354,14 @@ default.")
;; The configure script aborts when it encounters unexpected ;; The configure script aborts when it encounters unexpected
;; arguments. Make it more tolerant. ;; arguments. Make it more tolerant.
(substitute* "configure" (substitute* "configure"
(("exit 1") "")) (("exit 1") ""))))
#t))
(add-after 'unpack 'fix-makefile (add-after 'unpack 'fix-makefile
(lambda _ (lambda _
(substitute* "GNUmakefile" (substitute* "GNUmakefile"
;; prosodyctl needs to read the configuration file. ;; prosodyctl needs to read the configuration file.
(("^INSTALLEDCONFIG =.*") "INSTALLEDCONFIG = /etc/prosody\n") (("^INSTALLEDCONFIG =.*") "INSTALLEDCONFIG = /etc/prosody\n")
;; prosodyctl needs a place to put auto-generated certificates. ;; prosodyctl needs a place to put auto-generated certificates.
(("^INSTALLEDDATA =.*") "INSTALLEDDATA = /var/lib/prosody\n")) (("^INSTALLEDDATA =.*") "INSTALLEDDATA = /var/lib/prosody\n"))))
#t))
(add-after 'install 'wrap-programs (add-after 'install 'wrap-programs
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; Make sure all executables in "bin" find the required Lua ;; Make sure all executables in "bin" find the required Lua
@ -1399,8 +1397,7 @@ default.")
`("LUA_PATH" ";" = (,lua-path)) `("LUA_PATH" ";" = (,lua-path))
`("LUA_CPATH" ";" = (,lua-cpath)) `("LUA_CPATH" ";" = (,lua-cpath))
`("PATH" ":" prefix ,path))) `("PATH" ":" prefix ,path)))
(find-files bin ".*")) (find-files bin ".*"))))))))
#t))))))
(inputs (inputs
`(("libidn" ,libidn) `(("libidn" ,libidn)
("openssl" ,openssl) ("openssl" ,openssl)