From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: [PATCH] distro: Add Libntlm, GNU GSS and GNU SASL. Date: Sat, 29 Dec 2012 23:29:28 +0100 Message-ID: <201212292329.28082.andreas@enge.fr> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_I723Q+Vj4CSFIFn" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp4uW-0000oq-5t for bug-guix@gnu.org; Sat, 29 Dec 2012 17:29:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tp4uM-00050w-Eg for bug-guix@gnu.org; Sat, 29 Dec 2012 17:29:44 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:52711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp4uL-00050p-Vx for bug-guix@gnu.org; Sat, 29 Dec 2012 17:29:34 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --Boundary-00=_I723Q+Vj4CSFIFn Content-Type: multipart/alternative; boundary="Boundary-01=_I723Q2G0qWiJ5DD" Content-Transfer-Encoding: 7bit --Boundary-01=_I723Q2G0qWiJ5DD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Two leaf packages and an inner node, this time in one file. Andreas --Boundary-01=_I723Q2G0qWiJ5DD Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

Two leaf packages and an inner node, this time in one file.

 

Andreas

 

--Boundary-01=_I723Q2G0qWiJ5DD-- --Boundary-00=_I723Q+Vj4CSFIFn Content-Type: text/x-patch; charset="UTF-8"; name="0005-distro-Add-Libntlm-GNU-GSS-and-GNU-SASL.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0005-distro-Add-Libntlm-GNU-GSS-and-GNU-SASL.patch" =46rom facc12b9d8850a4885746f283777f678f37a5f5a Mon Sep 17 00:00:00 2001 =46rom: Andreas Enge Date: Sat, 29 Dec 2012 23:26:58 +0100 Subject: [PATCH 5/5] distro: Add Libntlm, GNU GSS and GNU SASL. * distro/packages/gsasl.scm: New file. * Makefile.am (MODULES): Add it. =2D-- Makefile.am | 1 + distro/packages/gsasl.scm | 113 +++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 114 insertions(+) create mode 100644 distro/packages/gsasl.scm diff --git a/Makefile.am b/Makefile.am index b209bca..fa170a2 100644 =2D-- a/Makefile.am +++ b/Makefile.am @@ -65,6 +65,7 @@ MODULES =3D \ distro/packages/gnupg.scm \ distro/packages/gnutls.scm \ distro/packages/gperf.scm \ + distro/packages/gsasl.scm \ distro/packages/guile.scm \ distro/packages/help2man.scm \ distro/packages/idutils.scm \ diff --git a/distro/packages/gsasl.scm b/distro/packages/gsasl.scm new file mode 100644 index 0000000..4f8e87d =2D-- /dev/null +++ b/distro/packages/gsasl.scm @@ -0,0 +1,113 @@ +;;; Guix --- Nix package management from Guile. -*- coding: utf-8 = =2D*- +;;; Copyright (C) 2012 Andreas Enge +;;; +;;; This file is part of Guix. +;;; +;;; Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with Guix. If not, see . + +(define-module (distro packages gsasl) + #:use-module (distro) + #:use-module ((distro packages compression) + #:renamer (symbol-prefix-proc 'guix:)) + #:use-module (distro packages gnutls) + #:use-module (distro packages libidn) + #:use-module (distro packages nettle) + #:use-module (distro packages shishi) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public libntlm + (package + (name "libntlm") + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append "http://www.nongnu.org/libntlm/releases/li= bntlm-" version + ".tar.gz")) + (sha256 (base32 + "101pr110ardcj2di940g6vaqifsaxc44h6hjn81l63dvmkj5a6ga= ")))) + (build-system gnu-build-system) + (synopsis "Libntlm, a library that implements NTLM authentication") + (description + "Libntlm is a library that implements NTLM authentication") + (license lgpl2.1+) + (home-page "http://www.nongnu.org/libntlm/"))) + +(define-public gss + (package + (name "gss") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gss/gss-" version + ".tar.gz")) + (sha256 (base32 + "1qa8lbkzi6ilfggx7mchfzjnchvhwi68rck3jf9j4425ncz7zsd9= ")))) + (build-system gnu-build-system) + (inputs `(("nettle" ,nettle) + ("shishi" ,shishi) + ("zlib" ,guix:zlib) + )) + (synopsis "GNU GSS (Generic Security Service), a free implementatio of = RFC 2743/2744") + (description + "GNU GSS is an implementation of the Generic Security Service Applicat= ion +Program Interface (GSS-API). GSS-API is used by network servers to provide +security services, e.g., to authenticate SMTP/IMAP clients against +SMTP/IMAP servers. GSS consists of a library and a manual.") + (license gpl3+) + (home-page "http://www.gnu.org/software/gss/"))) + +(define-public gsasl + (package + (name "gsasl") + (version "1.8.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gsasl/gsasl-" version + ".tar.gz")) + (sha256 (base32 + "1rci64cxvcfr8xcjpqc4inpfq7aw4snnsbf5xz7d30nhvv8n40ii= ")))) + (build-system gnu-build-system) + (inputs `(("libidn" ,libidn) + ("libntlm" ,libntlm) + ("gnutls" ,gnutls) + ("gss" ,gss) + ("zlib" ,guix:zlib) + )) + (synopsis "GNU SASL, an implementation of the Simple Authentication and= Security Layer framework") + (description + "GNU SASL is an implementation of the Simple Authentication and Securi= ty +Layer framework and a few common SASL mechanisms. SASL is used by network +servers (e.g., IMAP, SMTP) to request authentication from clients, and in +clients to authenticate against servers. + +GNU SASL consists of a library (libgsasl), a command line utility (gsasl) +to access the library from the shell, and a manual. The library includes +support for the framework (with authentication functions and application +data privacy and integrity functions) and at least partial support for the +CRAM-MD5, EXTERNAL, GSSAPI, ANONYMOUS, PLAIN, SECURID, DIGEST-MD5, +SCRAM-SHA-1, SCRAM-SHA-1-PLUS, LOGIN, and NTLM mechanisms. + +The library is portable because it does not do network communication by +itself, but rather leaves it up to the calling application. The library is +flexible with regards to the authorization infrastructure used, as it +utilises callbacks into the application to decide whether an user is +authorised or not. + +The gsasl package distribution includes the library part as well, +so there is no need to install two packages.") + (license gpl3+) + (home-page "http://www.gnu.org/software/gsasl/"))) =2D-=20 1.7.10.4 --Boundary-00=_I723Q+Vj4CSFIFn--