From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 2/3] gnu: Add perl-io-socket-ssl. Date: Thu, 30 Oct 2014 10:49:45 -0500 Message-ID: <1414684186-31553-3-git-send-email-bavier@member.fsf.org> References: <1414684186-31553-1-git-send-email-bavier@member.fsf.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEK1-0005ta-VR for guix-devel@gnu.org; Fri, 31 Oct 2014 11:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xjrwn-0007qL-Cm for guix-devel@gnu.org; Thu, 30 Oct 2014 11:47:42 -0400 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:40747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjrwn-0007q9-7J for guix-devel@gnu.org; Thu, 30 Oct 2014 11:47:37 -0400 Received: by mail-ie0-f169.google.com with SMTP id tr6so5636377ieb.28 for ; Thu, 30 Oct 2014 08:47:36 -0700 (PDT) In-Reply-To: <1414684186-31553-1-git-send-email-bavier@member.fsf.org> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: Eric Bavier * gnu/packages/web.scm (perl-io-socket-ssl): New variable. --- gnu/packages/web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 1a42625..301e64b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -572,3 +572,26 @@ unavailable.") library.") (license (package-license perl)) (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm"))) + +(define-public perl-io-socket-ssl + (package + (name "perl-io-socket-ssl") + (version "2.002") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/" + "IO-Socket-SSL-" version ".tar.gz")) + (sha256 + (base32 + "1mph52lw6x5v44wf8mw00llzi8pp6k5c4jnrnrvlacrlfv260jb8")))) + (build-system perl-build-system) + (propagated-inputs `(("perl-net-ssleay" ,perl-net-ssleay))) + (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET") + (description + "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the +necessary functionality into the familiar IO::Socket interface and providing +secure defaults whenever possible. This way existing applications can be made +SSL-aware without much effort, at least if you do blocking I/O and don't use +select or poll.") + (license (package-license perl)) + (home-page "https://github.com/noxxi/p5-io-socket-ssl"))) -- 1.7.9.5