From patchwork Fri Nov 11 09:43:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Cl=C3=A9ment_Lassieur?= X-Patchwork-Id: 17409 Received: (qmail 64807 invoked by uid 89); 11 Nov 2016 09:43:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=patterson, Patterson, secure, communication X-Spam-Status: No, score=-4.6 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Nov 2016 09:43:44 +0000 Received: from localhost ([::1]:51588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c58N4-0002lN-NC for patchwork@sourceware.org; Fri, 11 Nov 2016 04:43:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c58Mz-0002lI-QZ for guix-devel@gnu.org; Fri, 11 Nov 2016 04:43:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c58Mw-00082V-0M for guix-devel@gnu.org; Fri, 11 Nov 2016 04:43:37 -0500 Received: from mail.lassieur.org ([83.152.10.219]:46718) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c58Mv-000816-Oz for guix-devel@gnu.org; Fri, 11 Nov 2016 04:43:33 -0500 Received: from localhost.localdomain (rke75-1-81-57-64-9.fbx.proxad.net [81.57.64.9]) by mail.lassieur.org (Postfix) with ESMTPSA id A624E64015F for ; Fri, 11 Nov 2016 10:43:27 +0100 (CET) From: =?UTF-8?q?Cl=C3=A9ment=20Lassieur?= To: guix-devel@gnu.org Subject: [PATCH] gnu: prosody: fix SSL/TLS. Date: Fri, 11 Nov 2016 10:43:24 +0100 Message-Id: <20161111094324.5381-1-clement@lassieur.org> X-Mailer: git-send-email 2.10.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 83.152.10.219 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/lua.scm (lua5.1-sec-0.5): New variable. * gnu/packages/messaging.scm (prosody): [inputs]: Change lua5.1-sec to lua5.1-sec-0.5. --- gnu/packages/lua.scm | 13 +++++++++++++ gnu/packages/messaging.scm | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index fe0ec20..f95da35 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2016 doncatnip +;;; Copyright © 2016 Clément Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -280,6 +281,18 @@ communication. It takes an already established TCP connection and creates a secure session between the peers.") (license (package-license lua-5.1)))) +(define-public lua5.1-sec-0.5 + (package + (inherit lua5.1-sec) + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/brunoos/luasec/archive/" + "luasec-" version ".tar.gz")) + (sha256 + (base32 + "01llf5bcrjmqqy6m65avqkajz7h79rvkka6rd131kwr10n75yp3d")))))) + (define-public lua-lgi (package (name "lua-lgi") diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 66cf231..72b8906 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2015 Efraim Flashner ;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Andy Patterson +;;; Copyright © 2016 Clément Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -563,7 +564,8 @@ end-to-end encryption support; XML console.") ("lua5.1-expat" ,lua5.1-expat) ("lua5.1-socket" ,lua5.1-socket) ("lua5.1-filesystem" ,lua5.1-filesystem) - ("lua5.1-sec" ,lua5.1-sec))) + ;; See . + ("lua5.1-sec" ,lua5.1-sec-0.5))) (home-page "https://prosody.im/") (synopsis "Jabber (XMPP) server") (description "Prosody is a modern XMPP communication server. It aims to