From: Eric Bavier <ericbavier@gmail.com>
To: guix-devel@gnu.org
Cc: Eric Bavier <bavier@member.fsf.org>
Subject: [PATCH 1/3] gnu: Add perl-net-ssleay.
Date: Thu, 30 Oct 2014 10:49:44 -0500 [thread overview]
Message-ID: <1414684186-31553-2-git-send-email-bavier@member.fsf.org> (raw)
In-Reply-To: <1414684186-31553-1-git-send-email-bavier@member.fsf.org>
* gnu/packages/openssl.scm (perl-net-ssleay): New variable.
---
gnu/packages/openssl.scm | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/openssl.scm b/gnu/packages/openssl.scm
index 563290d..141e105 100644
--- a/gnu/packages/openssl.scm
+++ b/gnu/packages/openssl.scm
@@ -23,7 +23,8 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system perl))
(define-public openssl
(package
@@ -67,3 +68,34 @@
"OpenSSL is an implementation of SSL/TLS")
(license license:openssl)
(home-page "http://www.openssl.org/")))
+
+(define-public perl-net-ssleay
+ (package
+ (name "perl-net-ssleay")
+ (version "1.66")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MI/MIKEM/"
+ "Net-SSLeay-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mxfdhz2fyc40a4myi1yfalf875v5wq1fm4qib9sj3chdm9zvy2v"))))
+ (build-system perl-build-system)
+ (inputs `(("openssl" ,openssl)))
+ (arguments
+ `(#:phases (alist-cons-before
+ 'configure 'set-ssl-prefix
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "OPENSSL_PREFIX" (assoc-ref inputs "openssl")))
+ %standard-phases)))
+ (synopsis "Perl extension for using OpenSSL")
+ (description
+ "This module offers some high level convenience functions for accessing
+web pages on SSL servers (for symmetry, the same API is offered for accessing
+http servers, too), an sslcat() function for writing your own clients, and
+finally access to the SSL api of the SSLeay/OpenSSL package so you can write
+servers or clients for more complicated applications.")
+ (license (package-license perl))
+ (home-page "http://search.cpan.org/~mikem/Net-SSLeay-1.66/")))
+
+
--
1.7.9.5
next prev parent reply other threads:[~2014-10-31 15:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 15:49 [PATCH 0/3]: gnu: wget: Upgrade to 1.16 Eric Bavier
2014-10-30 15:49 ` Eric Bavier [this message]
2014-10-30 15:49 ` [PATCH 2/3] gnu: Add perl-io-socket-ssl Eric Bavier
2014-10-30 15:49 ` [PATCH 3/3] gnu: wget: Upgrade to 1.16 Eric Bavier
2014-10-31 21:08 ` [PATCH 0/3]: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1414684186-31553-2-git-send-email-bavier@member.fsf.org \
--to=ericbavier@gmail.com \
--cc=bavier@member.fsf.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.