me
/
guix
Archived
1
0
Fork 0

gnu: prosody: Update to 0.11.1.

* gnu/packages/messaging.scm (prosody): Update to 0.11.1.
[arguments]: Replace "Makefile" with "GNUmakefile".  Change "5.1" to "5.2".
Explain why there are no tests.
[inputs]: Replace lua-5.1, lua5.1-bitop, lua5.1-expat, lua5.1-socket,
lua5.1-filesystem, lua5.1-sec with lua-5.2, lua5.2-bitop, lua5.2-expat,
lua5.2-socket, lua5.2-filesystem, lua5.2-sec.
master
Clément Lassieur 2019-01-08 13:49:39 +01:00
parent eb5b6c5777
commit 627e6d8c11
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 14 additions and 16 deletions

View File

@ -783,17 +783,17 @@ a graphical desktop environment like GNOME.")
(define-public prosody (define-public prosody
(package (package
(name "prosody") (name "prosody")
(version "0.10.2") (version "0.11.1")
(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
"13knr7izscw0zx648b9582dx11aap4cq9bzfiqh5ykd7wwsz1dbm")))) "1ak5bkx09kscyifxhzybgp5a73jr8nki6xi05c59wwlq0wzw9gli"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; no "check" target `(#:tests? #f ;tests require "busted"
#:configure-flags (list "--no-example-certs") #:configure-flags (list "--no-example-certs")
#:modules ((ice-9 match) #:modules ((ice-9 match)
(srfi srfi-1) (srfi srfi-1)
@ -810,7 +810,7 @@ a graphical desktop environment like GNOME.")
#t)) #t))
(add-after 'unpack 'fix-makefile (add-after 'unpack 'fix-makefile
(lambda _ (lambda _
(substitute* "Makefile" (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.
@ -830,15 +830,15 @@ a graphical desktop environment like GNOME.")
(lua-path (string-join (lua-path (string-join
(map (lambda (path) (map (lambda (path)
(string-append (string-append
path "/share/lua/5.1/?.lua;" path "/share/lua/5.2/?.lua;"
path "/share/lua/5.1/?/?.lua")) path "/share/lua/5.2/?/?.lua"))
(cons out deps)) (cons out deps))
";")) ";"))
(lua-cpath (string-join (lua-cpath (string-join
(map (lambda (path) (map (lambda (path)
(string-append (string-append
path "/lib/lua/5.1/?.so;" path "/lib/lua/5.2/?.so;"
path "/lib/lua/5.1/?/?.so")) path "/lib/lua/5.2/?/?.so"))
(cons out deps)) (cons out deps))
";")) ";"))
(openssl (assoc-ref inputs "openssl")) (openssl (assoc-ref inputs "openssl"))
@ -856,14 +856,12 @@ a graphical desktop environment like GNOME.")
(inputs (inputs
`(("libidn" ,libidn) `(("libidn" ,libidn)
("openssl" ,openssl) ("openssl" ,openssl)
;; Lua 5.1 is still recommended for production usage. ("lua" ,lua-5.2)
;; See https://prosody.im/doc/packagers. ("lua5.2-bitop" ,lua5.2-bitop)
("lua" ,lua-5.1) ("lua5.2-expat" ,lua5.2-expat)
("lua5.1-bitop" ,lua5.1-bitop) ("lua5.2-socket" ,lua5.2-socket)
("lua5.1-expat" ,lua5.1-expat) ("lua5.2-filesystem" ,lua5.2-filesystem)
("lua5.1-socket" ,lua5.1-socket) ("lua5.2-sec" ,lua5.2-sec)))
("lua5.1-filesystem" ,lua5.1-filesystem)
("lua5.1-sec" ,lua5.1-sec)))
(home-page "https://prosody.im/") (home-page "https://prosody.im/")
(synopsis "Jabber (XMPP) server") (synopsis "Jabber (XMPP) server")
(description "Prosody is a modern XMPP communication server. It aims to (description "Prosody is a modern XMPP communication server. It aims to