From patchwork Tue Jul 26 21:41:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 14007 Received: (qmail 46883 invoked by uid 89); 26 Jul 2016 21:48:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=SSL, clients X-Spam-Status: No, score=-3.2 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 (AES256-SHA encrypted) ESMTPS; Tue, 26 Jul 2016 21:48:28 +0000 Received: from localhost ([::1]:42463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSADB-0007h7-Tq for patchwork@sourceware.org; Tue, 26 Jul 2016 17:48:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSA6l-0001NO-FG for guix-devel@gnu.org; Tue, 26 Jul 2016 17:41:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSA6h-0007uF-BE for guix-devel@gnu.org; Tue, 26 Jul 2016 17:41:47 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:33196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSA6h-0007u8-4Q for guix-devel@gnu.org; Tue, 26 Jul 2016 17:41:43 -0400 Received: from localhost (77.116.159.65.wireless.dyn.drei.com [77.116.159.65]) by dd1012.kasserver.com (Postfix) with ESMTPSA id AD0301CA0120 for ; Tue, 26 Jul 2016 23:41:41 +0200 (CEST) Date: Tue, 26 Jul 2016 23:41:37 +0200 From: Danny Milosavljevic To: guix-devel@gnu.org Subject: [PATCH] gnu: Add perl-crypt-openssl-bignum. Message-ID: <20160726234137.5271444c@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-unknown-linux-gnu) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 85.13.128.8 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/tls.scm (perl-crypt-openssl-bignum): New variable. --- gnu/packages/tls.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index bdc1d7c..695ef22 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -527,3 +527,37 @@ 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/"))) + +(define-public perl-crypt-openssl-bignum + (package + (name "perl-crypt-openssl-bignum") + (version "0.06") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-" + version + ".tar.gz")) + (sha256 + (base32 + "05yzrdglrrzp191krf77zrwfkmzrfwrsrx1vyskbj94522lszk67")))) + (build-system perl-build-system) + (inputs `(("openssl" ,openssl))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'patch-Makefile.PL + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile.PL" + (("'LIBS'.*=>.*") (string-append "'LIBS' => ['-L" + (assoc-ref inputs "openssl") + "/lib -lcrypto'],"))) + #t))))) + (home-page + "http://search.cpan.org/dist/Crypt-OpenSSL-Bignum") + (synopsis + "OpenSSL's multiprecision integer arithmetic in Perl") + (description "Crypt::OpenSSL::Bignum provides multiprecision integer +arithmetic in Perl.") + ;; At your option either gpl1+ or the Artistic License + (license (package-license perl))))