2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-01-10 17:11:18 -05:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
2016-02-02 21:15:19 -05:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2014-10-18 22:03:42 -04:00
|
|
|
|
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2015-12-04 10:13:26 -05:00
|
|
|
|
;;; Copyright © 2015 David Thompson <davet@gnu.org>
|
2016-08-14 15:31:54 -04:00
|
|
|
|
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
|
2017-01-14 14:22:12 -05:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
|
2016-01-05 09:12:13 -05:00
|
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2016-07-01 11:22:50 -04:00
|
|
|
|
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
|
2016-09-01 11:16:12 -04:00
|
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2012-11-13 15:44:57 -05:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-13 15:44:57 -05:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-13 15:44:57 -05:00
|
|
|
|
;;; 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.
|
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-13 15:44:57 -05:00
|
|
|
|
;;; 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
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-13 15:44:57 -05:00
|
|
|
|
|
gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this. Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
mail.scm, messaging.scm, package-management.scm, shishi.scm,
task-management.scm, version-control.scm, video.scm, vpn.scm,
webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-03 15:41:22 -04:00
|
|
|
|
(define-module (gnu packages tls)
|
2015-07-05 12:54:48 -04:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2012-11-13 15:44:57 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2014-10-18 22:03:42 -04:00
|
|
|
|
#:use-module (guix utils)
|
2012-11-13 15:44:57 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
#:use-module (guix build-system perl)
|
2015-11-23 23:10:12 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-03-04 11:02:07 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2013-06-27 17:57:45 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages guile)
|
2016-07-10 13:35:13 -04:00
|
|
|
|
#:use-module (gnu packages libbsd)
|
2015-02-08 10:23:44 -05:00
|
|
|
|
#:use-module (gnu packages libffi)
|
2015-04-12 16:18:12 -04:00
|
|
|
|
#:use-module (gnu packages libidn)
|
2016-07-19 23:59:22 -04:00
|
|
|
|
#:use-module (gnu packages linux)
|
2015-11-23 23:10:12 -05:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2015-02-08 10:23:44 -05:00
|
|
|
|
#:use-module (gnu packages nettle)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-02-08 10:23:44 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-11-23 23:10:12 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2013-12-11 17:05:12 -05:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2017-01-20 15:35:51 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
|
|
|
|
|
(define-public libtasn1
|
|
|
|
|
(package
|
|
|
|
|
(name "libtasn1")
|
2016-08-14 15:31:54 -04:00
|
|
|
|
(version "4.9")
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/libtasn1/libtasn1-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-08-14 15:31:54 -04:00
|
|
|
|
"0869cp6jx7cajgv6cnddsh3vc7bimmdkdjn80y1jpb4iss7plvsg"))))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2016-01-05 09:12:13 -05:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(home-page "http://www.gnu.org/software/libtasn1/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "ASN.1 library")
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(description
|
2013-12-01 16:33:23 -05:00
|
|
|
|
"GNU libtasn1 is a library implementing the ASN.1 notation. It is used
|
|
|
|
|
for transmitting machine-neutral encodings of data objects in computer
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
|
networking, allowing for formal validation of data according to some
|
|
|
|
|
specifications.")
|
2015-07-05 12:54:48 -04:00
|
|
|
|
(license license:lgpl2.0+)))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
|
2016-09-01 11:16:12 -04:00
|
|
|
|
(define-public asn1c
|
|
|
|
|
(package
|
|
|
|
|
(name "asn1c")
|
|
|
|
|
(version "0.9.27")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://lionet.info/soft/asn1c-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17nvn2kzvlryasr9dzqg6gs27b9lvqpval0k31pb64bjqbhn8pq2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page "https://lionet.info/asn1c")
|
|
|
|
|
(synopsis "ASN.1 to C compiler")
|
|
|
|
|
(description "The ASN.1 to C compiler takes ASN.1 module
|
|
|
|
|
files and generates C++ compatible C source code. That code can be
|
|
|
|
|
used to serialize the native C structures into compact and unambiguous
|
|
|
|
|
BER/XER/PER-based data files, and deserialize the files back.
|
|
|
|
|
|
|
|
|
|
Various ASN.1 based formats are widely used in the industry, such as to encode
|
|
|
|
|
the X.509 certificates employed in the HTTPS handshake, to exchange control
|
|
|
|
|
data between mobile phones and cellular networks, to car-to-car communication
|
|
|
|
|
in intelligent transportation networks.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(define-public p11-kit
|
|
|
|
|
(package
|
|
|
|
|
(name "p11-kit")
|
2016-08-14 15:35:52 -04:00
|
|
|
|
(version "0.23.2")
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-02-19 08:23:38 -05:00
|
|
|
|
(uri (string-append "https://p11-glue.freedesktop.org/releases/p11-kit-"
|
2015-02-08 10:23:44 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-08-14 15:35:52 -04:00
|
|
|
|
"1w7szm190phlkg7qx05ychlj2dbvkgkhx9gw6dx4d5rw62l6wwms"))
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(modules '((guix build utils))) ; for substitute*
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Drop one test that fails, also when trying to compile manually.
|
|
|
|
|
;; Reported upstream at
|
|
|
|
|
;; https://bugs.freedesktop.org/show_bug.cgi?id=89027
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("test-module\\$\\(EXEEXT\\) ") ""))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libffi" ,libffi)
|
|
|
|
|
("libtasn1" ,libtasn1)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--without-trust-paths")))
|
|
|
|
|
(home-page "http://p11-glue.freedesktop.org/p11-kit.html")
|
|
|
|
|
(synopsis "PKCS#11 library")
|
|
|
|
|
(description
|
|
|
|
|
"p11-kit provides a way to load and enumerate PKCS#11 modules. It
|
|
|
|
|
provides a standard configuration setup for installing PKCS#11 modules
|
|
|
|
|
in such a way that they are discoverable. It also solves problems with
|
|
|
|
|
coordinating the use of PKCS#11 by different components or libraries
|
|
|
|
|
living in the same process.")
|
2015-07-05 12:54:48 -04:00
|
|
|
|
(license license:bsd-3)))
|
2015-02-08 10:23:44 -05:00
|
|
|
|
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(define-public gnutls
|
|
|
|
|
(package
|
|
|
|
|
(name "gnutls")
|
2016-09-10 15:53:49 -04:00
|
|
|
|
(version "3.5.4")
|
2017-01-10 17:11:18 -05:00
|
|
|
|
(replacement gnutls-3.5.8)
|
2013-01-18 10:54:41 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
;; Note: Releases are no longer on ftp.gnu.org since the
|
|
|
|
|
;; schism (after version 3.1.5).
|
2014-02-18 03:46:09 -05:00
|
|
|
|
(string-append "mirror://gnupg/gnutls/v"
|
2014-10-18 22:03:42 -04:00
|
|
|
|
(version-major+minor version)
|
2014-02-18 03:46:09 -05:00
|
|
|
|
"/gnutls-" version ".tar.xz"))
|
2013-01-18 10:54:41 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-09-10 15:53:49 -04:00
|
|
|
|
"1sx8p7v452s9m854r2c5pvcd1k15a3caiv5h35fhrxz0691h2f2f"))))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2014-10-26 15:11:24 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "--with-guile-site-dir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2014-02-18 21:30:53 -05:00
|
|
|
|
"/share/guile/site/2.0")
|
|
|
|
|
;; GnuTLS doesn't consult any environment variables to specify
|
|
|
|
|
;; the location of the system-wide trust store. Instead it has a
|
|
|
|
|
;; configure-time option. Unless specified, its configure script
|
|
|
|
|
;; attempts to auto-detect the location by looking for common
|
2016-09-16 02:08:48 -04:00
|
|
|
|
;; places in the file system, none of which are present in our
|
2014-02-18 21:30:53 -05:00
|
|
|
|
;; chroot build environment. If not found, then no default trust
|
|
|
|
|
;; store is used, so each program has to provide its own
|
|
|
|
|
;; fallback, and users have to configure each program
|
|
|
|
|
;; independently. This seems suboptimal.
|
2015-04-12 16:18:12 -04:00
|
|
|
|
"--with-default-trust-store-dir=/etc/ssl/certs"
|
|
|
|
|
|
|
|
|
|
;; FIXME: Temporarily disable p11-kit support since it is not
|
|
|
|
|
;; working on mips64el.
|
2015-06-27 16:18:08 -04:00
|
|
|
|
"--without-p11-kit")
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Copy the 4.1 MiB of section 3 man pages to "doc".
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc"))
|
2015-08-19 01:39:55 -04:00
|
|
|
|
(mandir (string-append doc "/share/man/man3"))
|
2015-06-27 16:18:08 -04:00
|
|
|
|
(oldman (string-append out "/share/man/man3")))
|
|
|
|
|
(mkdir-p mandir)
|
|
|
|
|
(copy-recursively oldman mandir)
|
|
|
|
|
(delete-file-recursively oldman)
|
|
|
|
|
#t))))))
|
|
|
|
|
(outputs '("out" ;4.4 MiB
|
|
|
|
|
"debug"
|
|
|
|
|
"doc")) ;4.1 MiB of man pages
|
2013-06-05 04:38:27 -04:00
|
|
|
|
(native-inputs
|
2016-07-19 23:59:22 -04:00
|
|
|
|
`(("net-tools" ,net-tools)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2015-02-11 06:20:14 -05:00
|
|
|
|
("which" ,which)))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)
|
2013-09-13 05:12:35 -04:00
|
|
|
|
("perl" ,perl)))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(propagated-inputs
|
2015-02-11 06:20:14 -05:00
|
|
|
|
;; These are all in the 'Requires.private' field of gnutls.pc.
|
2012-11-13 15:44:57 -05:00
|
|
|
|
`(("libtasn1" ,libtasn1)
|
2015-04-12 16:18:12 -04:00
|
|
|
|
("libidn" ,libidn)
|
|
|
|
|
("nettle" ,nettle)
|
2015-03-04 11:02:07 -05:00
|
|
|
|
("zlib" ,zlib)))
|
2016-05-17 10:06:29 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/gnutls/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "Transport layer security library")
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
|
"GnuTLS is a secure communications library implementing the SSL, TLS
|
2013-12-01 16:33:23 -05:00
|
|
|
|
and DTLS protocols. It is provided in the form of a C library to support the
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
|
protocols, as well as to parse and write X.5009, PKCS 12, OpenPGP and other
|
|
|
|
|
required structures.")
|
2016-04-14 16:18:56 -04:00
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
|
(properties '((ftp-server . "ftp.gnutls.org")
|
|
|
|
|
(ftp-directory . "/gcrypt/gnutls")))))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
|
2017-01-10 17:11:18 -05:00
|
|
|
|
(define gnutls-3.5.8 ;fixes GNUTLS-SA-2017-{1,2}
|
|
|
|
|
(package
|
|
|
|
|
(inherit gnutls)
|
|
|
|
|
(version "3.5.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnupg/gnutls/v"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/gnutls-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zyl2z63s68hx1dpxqx0lykmlf3rwrzlrf44sq3h7dvjmr1z55qf"))))
|
|
|
|
|
(replacement #f)))
|
|
|
|
|
|
2017-01-20 15:35:51 -05:00
|
|
|
|
(define-public gnutls/guile-2.2
|
|
|
|
|
;; GnuTLS for Guile 2.2. This is supported by GnuTLS >= 3.5.5.
|
|
|
|
|
(package
|
|
|
|
|
(inherit gnutls-3.5.8)
|
|
|
|
|
(name "guile2.2-gnutls")
|
|
|
|
|
(arguments
|
|
|
|
|
;; Remove '--with-guile-site-dir=…/2.0'.
|
|
|
|
|
(substitute-keyword-arguments (package-arguments gnutls-3.5.8)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
`(cdr ,flags))))
|
|
|
|
|
(inputs `(("guile" ,guile-next)
|
|
|
|
|
,@(alist-delete "guile" (package-inputs gnutls-3.5.8))))))
|
|
|
|
|
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(define-public openssl
|
|
|
|
|
(package
|
|
|
|
|
(name "openssl")
|
2017-01-26 14:19:35 -05:00
|
|
|
|
(replacement openssl-1.0.2k)
|
2016-10-03 17:00:06 -04:00
|
|
|
|
(version "1.0.2j")
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(source (origin
|
2016-03-09 09:20:34 -05:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "ftp://ftp.openssl.org/source/"
|
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/old/"
|
|
|
|
|
(string-trim-right version char-set:letter)
|
|
|
|
|
"/" name "-" version ".tar.gz")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-03 17:00:06 -04:00
|
|
|
|
"0cf4ar97ijfc7mg35zdgpad6x8ivkdx9qii6mz35khi1ps9g5bz7"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "openssl-runpath.patch"
|
2016-10-03 17:00:06 -04:00
|
|
|
|
"openssl-c-rehash-in.patch"))))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2016-05-02 09:43:11 -04:00
|
|
|
|
(outputs '("out"
|
2016-05-02 09:43:50 -04:00
|
|
|
|
"doc" ;1.5MiB of man3 pages
|
2016-05-02 09:43:11 -04:00
|
|
|
|
"static")) ;6MiB of .a files
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
|
|
|
|
(arguments
|
2016-05-02 09:42:50 -04:00
|
|
|
|
`(#:disallowed-references (,perl)
|
|
|
|
|
#:parallel-build? #f
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
#:parallel-tests? #f
|
|
|
|
|
#:test-target "test"
|
2016-02-29 19:24:20 -05:00
|
|
|
|
|
|
|
|
|
;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the closure,
|
|
|
|
|
;; so we explicitly disallow it here.
|
|
|
|
|
#:disallowed-references ,(list (canonical-package perl))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
#:phases
|
2015-09-09 09:31:23 -04:00
|
|
|
|
(modify-phases %standard-phases
|
2015-09-09 12:17:38 -04:00
|
|
|
|
(add-before
|
2015-12-03 16:22:39 -05:00
|
|
|
|
'configure 'patch-Makefile.org
|
2015-09-09 12:17:38 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The default MANDIR is some unusual place. Fix that.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2015-12-03 16:22:39 -05:00
|
|
|
|
(patch-makefile-SHELL "Makefile.org")
|
2015-09-09 12:17:38 -04:00
|
|
|
|
(substitute* "Makefile.org"
|
|
|
|
|
(("^MANDIR[[:blank:]]*=.*$")
|
|
|
|
|
(string-append "MANDIR = " out "/share/man\n")))
|
|
|
|
|
#t)))
|
2015-09-09 09:31:23 -04:00
|
|
|
|
(replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./config"
|
|
|
|
|
"shared" ;build shared libraries
|
|
|
|
|
"--libdir=lib"
|
2015-09-09 12:17:38 -04:00
|
|
|
|
|
|
|
|
|
;; The default for this catch-all directory is
|
|
|
|
|
;; PREFIX/ssl. Change that to something more
|
|
|
|
|
;; conventional.
|
|
|
|
|
(string-append "--openssldir=" out
|
|
|
|
|
"/share/openssl-" ,version)
|
|
|
|
|
|
2015-09-09 09:31:23 -04:00
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
|
|
|
|
|
;; XXX FIXME: Work around a code generation bug in GCC
|
|
|
|
|
;; 4.9.3 on ARM when compiled with -mfpu=neon. See:
|
|
|
|
|
;; <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66917>
|
|
|
|
|
,@(if (and (not (%current-target-system))
|
|
|
|
|
(string-prefix? "armhf" (%current-system)))
|
|
|
|
|
'("-mfpu=vfpv3")
|
|
|
|
|
'()))))))
|
2015-09-09 12:30:34 -04:00
|
|
|
|
(add-after
|
|
|
|
|
'install 'make-libraries-writable
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Make libraries writable so that 'strip' does its job.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(chmod file #o644))
|
|
|
|
|
(find-files (string-append out "/lib")
|
|
|
|
|
"\\.so"))
|
|
|
|
|
#t)))
|
2016-05-02 09:43:11 -04:00
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move static libraries to the "static" output.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
|
(slib (string-append static "/lib")))
|
|
|
|
|
(mkdir-p slib)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file slib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files lib "\\.a$"))
|
|
|
|
|
#t)))
|
2016-05-02 09:43:50 -04:00
|
|
|
|
(add-after 'install 'move-man3-pages
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move section 3 man pages to "doc".
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man3 (string-append out "/share/man/man3"))
|
|
|
|
|
(doc (assoc-ref outputs "doc"))
|
|
|
|
|
(target (string-append doc "/share/man/man3")))
|
|
|
|
|
(mkdir-p target)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(rename-file file
|
|
|
|
|
(string-append target "/"
|
|
|
|
|
(basename file))))
|
|
|
|
|
(find-files man3))
|
2016-09-06 13:37:23 -04:00
|
|
|
|
(delete-file-recursively man3)
|
2016-05-02 09:43:50 -04:00
|
|
|
|
#t)))
|
2015-09-09 09:31:23 -04:00
|
|
|
|
(add-before
|
|
|
|
|
'patch-source-shebangs 'patch-tests
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(let ((bash (assoc-ref (or native-inputs inputs) "bash")))
|
|
|
|
|
(substitute* (find-files "test" ".*")
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(string-append bash "/bin/bash"))
|
|
|
|
|
(("/bin/rm")
|
2015-12-03 16:22:39 -05:00
|
|
|
|
"rm"))
|
|
|
|
|
#t)))
|
2015-09-09 13:01:48 -04:00
|
|
|
|
(add-after
|
|
|
|
|
'install 'remove-miscellany
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The 'misc' directory contains random undocumented shell and Perl
|
|
|
|
|
;; scripts. Remove them to avoid retaining a reference on Perl.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(delete-file-recursively (string-append out "/share/openssl-"
|
|
|
|
|
,version "/misc"))
|
|
|
|
|
#t))))))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(native-search-paths
|
|
|
|
|
;; FIXME: These two variables must designate a single file or directory
|
|
|
|
|
;; and are not actually "search paths." In practice it works OK in user
|
|
|
|
|
;; profiles because there's always just one item that matches the
|
|
|
|
|
;; specification.
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "SSL_CERT_DIR")
|
|
|
|
|
(files '("etc/ssl/certs")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "SSL_CERT_FILE")
|
|
|
|
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
|
|
|
|
(synopsis "SSL/TLS implementation")
|
|
|
|
|
(description
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
|
"OpenSSL is an implementation of SSL/TLS.")
|
2015-07-05 12:54:48 -04:00
|
|
|
|
(license license:openssl)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(home-page "http://www.openssl.org/")))
|
|
|
|
|
|
2017-01-26 14:19:35 -05:00
|
|
|
|
(define openssl-1.0.2k
|
|
|
|
|
(package
|
|
|
|
|
(inherit openssl)
|
|
|
|
|
(name "openssl")
|
|
|
|
|
(version "1.0.2k")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "ftp://ftp.openssl.org/source/"
|
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/old/"
|
|
|
|
|
(string-trim-right version char-set:letter)
|
|
|
|
|
"/" name "-" version ".tar.gz")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h6qi35w6hv6rd73p4cdgdzg732pdrfgpp37cgwz1v9a3z37ffbb"))
|
|
|
|
|
(patches (search-patches "openssl-runpath.patch"
|
|
|
|
|
"openssl-c-rehash-in.patch"))))))
|
|
|
|
|
|
2016-09-02 16:07:29 -04:00
|
|
|
|
(define-public openssl-next
|
|
|
|
|
(package
|
|
|
|
|
(inherit openssl)
|
2017-01-26 14:19:35 -05:00
|
|
|
|
(replacement #f)
|
2016-09-02 16:07:29 -04:00
|
|
|
|
(name "openssl")
|
2016-12-09 03:48:38 -05:00
|
|
|
|
(version "1.1.0c")
|
2016-09-02 16:07:29 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "ftp://ftp.openssl.org/source/"
|
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/old/"
|
|
|
|
|
(string-trim-right version char-set:letter)
|
|
|
|
|
"/" name "-" version ".tar.gz")))
|
|
|
|
|
(patches (search-patches "openssl-1.1.0-c-rehash-in.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-09 03:48:38 -05:00
|
|
|
|
"1xfn5ydl14myd9wgxm4nxy5a42cpp1g12ijf3g9m4mz0l90n8hzw"))))
|
2016-09-02 16:07:29 -04:00
|
|
|
|
(outputs '("out"
|
|
|
|
|
"doc" ;1.3MiB of man3 pages
|
|
|
|
|
"static")) ; 5.5MiB of .a files
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments openssl)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(delete 'patch-tests) ; These two phases are not needed by
|
|
|
|
|
(delete 'patch-Makefile.org) ; OpenSSL 1.1.0.
|
|
|
|
|
|
2016-12-09 03:48:38 -05:00
|
|
|
|
;; Override configure phase since -rpath is now a configure option.
|
|
|
|
|
(replace 'configure
|
2016-09-02 16:07:29 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2016-12-09 03:48:38 -05:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./config"
|
|
|
|
|
"shared" ;build shared libraries
|
|
|
|
|
"--libdir=lib"
|
|
|
|
|
|
|
|
|
|
;; The default for this catch-all directory is
|
|
|
|
|
;; PREFIX/ssl. Change that to something more
|
|
|
|
|
;; conventional.
|
|
|
|
|
(string-append "--openssldir=" out
|
|
|
|
|
"/share/openssl-" ,version)
|
|
|
|
|
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "-Wl,-rpath," lib)
|
|
|
|
|
|
|
|
|
|
;; XXX FIXME: Work around a code generation bug in GCC
|
|
|
|
|
;; 4.9.3 on ARM when compiled with -mfpu=neon. See:
|
|
|
|
|
;; <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66917>
|
|
|
|
|
,@(if (and (not (%current-target-system))
|
|
|
|
|
(string-prefix? "armhf" (%current-system)))
|
|
|
|
|
'("-mfpu=vfpv3")
|
|
|
|
|
'()))))))
|
|
|
|
|
|
|
|
|
|
;; XXX: Duplicate this phase to make sure 'version' evaluates
|
|
|
|
|
;; in the current scope and not the inherited one.
|
|
|
|
|
(replace 'remove-miscellany
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The 'misc' directory contains random undocumented shell and Perl
|
|
|
|
|
;; scripts. Remove them to avoid retaining a reference on Perl.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(delete-file-recursively (string-append out "/share/openssl-"
|
|
|
|
|
,version "/misc"))
|
2016-09-02 16:07:29 -04:00
|
|
|
|
#t)))))))))
|
|
|
|
|
|
2015-07-05 13:01:44 -04:00
|
|
|
|
(define-public libressl
|
|
|
|
|
(package
|
|
|
|
|
(name "libressl")
|
2016-09-27 20:40:13 -04:00
|
|
|
|
(version "2.5.0")
|
2015-07-05 13:01:44 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-"
|
|
|
|
|
version ".tar.gz"))
|
2016-05-05 02:16:17 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-09-27 20:40:13 -04:00
|
|
|
|
"1bkfvapi4z826slycmicvs7hwgk4l82gd8w6nqvznldbammvyll6"))))
|
2015-07-05 13:01:44 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-search-paths
|
|
|
|
|
;; FIXME: These two variables must designate a single file or directory
|
|
|
|
|
;; and are not actually "search paths." In practice it works OK in
|
|
|
|
|
;; user profiles because there's always just one item that matches the
|
|
|
|
|
;; specification.
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "SSL_CERT_DIR")
|
|
|
|
|
(files '("etc/ssl/certs")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "SSL_CERT_FILE")
|
|
|
|
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
|
|
|
|
(home-page "http://www.libressl.org/")
|
|
|
|
|
(synopsis "SSL/TLS implementation")
|
|
|
|
|
(description "LibreSSL is a version of the TLS/crypto stack forked
|
|
|
|
|
from OpenSSL in 2014, with the goals of modernizing the codebase, improving
|
|
|
|
|
security, and applying best practice development processes.")
|
|
|
|
|
;; Files taken from OpenSSL keep their license, others are under various
|
|
|
|
|
;; non-copyleft licenses.
|
|
|
|
|
(license (list license:openssl
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"file://COPYING"
|
|
|
|
|
"See COPYING in the distribution.")))))
|
|
|
|
|
|
2016-02-09 01:49:08 -05:00
|
|
|
|
(define-public python-acme
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(package
|
2016-02-09 01:49:08 -05:00
|
|
|
|
(name "python-acme")
|
2017-01-26 08:03:00 -05:00
|
|
|
|
(version "0.10.2")
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(source (origin
|
2016-05-13 23:22:53 -04:00
|
|
|
|
(method url-fetch)
|
2016-10-07 01:39:34 -04:00
|
|
|
|
(uri (pypi-uri "acme" version))
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(sha256
|
2017-01-14 14:22:12 -05:00
|
|
|
|
(base32
|
2017-01-26 08:03:00 -05:00
|
|
|
|
"0y6y8d66yvwdcby96g0dlqqwy72b81yh6hws4va8r7w4aribcrb4"))))
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2016-02-09 01:49:08 -05:00
|
|
|
|
`(#:phases
|
2016-02-04 22:12:42 -05:00
|
|
|
|
(modify-phases %standard-phases
|
2016-02-16 15:11:19 -05:00
|
|
|
|
(add-after 'install 'docs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man/man1"))
|
|
|
|
|
(info (string-append out "/info")))
|
|
|
|
|
(and (zero? (system* "make" "-C" "docs" "man" "info"))
|
|
|
|
|
(install-file "docs/_build/texinfo/acme-python.info" info)
|
|
|
|
|
(install-file "docs/_build/man/acme-python.1" man)
|
|
|
|
|
#t)))))))
|
|
|
|
|
;; TODO: Add optional inputs for testing.
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(native-inputs
|
2016-02-09 01:49:08 -05:00
|
|
|
|
`(("python-mock" ,python-mock)
|
2016-02-16 15:11:19 -05:00
|
|
|
|
;; For documentation
|
|
|
|
|
("python-sphinx" ,python-sphinx)
|
|
|
|
|
("python-sphinxcontrib-programoutput" ,python-sphinxcontrib-programoutput)
|
|
|
|
|
("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(propagated-inputs
|
2016-02-09 01:49:08 -05:00
|
|
|
|
`(("python-ndg-httpsclient" ,python-ndg-httpsclient)
|
|
|
|
|
("python-werkzeug" ,python-werkzeug)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-pytz" ,python-pytz)
|
|
|
|
|
("python-pyrfc3339" ,python-pyrfc3339)
|
|
|
|
|
("python-pyasn1" ,python-pyasn1)
|
|
|
|
|
("python-cryptography" ,python-cryptography)
|
|
|
|
|
("python-pyopenssl" ,python-pyopenssl)))
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(home-page "https://github.com/letsencrypt/letsencrypt")
|
|
|
|
|
(synopsis "ACME protocol implementation in Python")
|
|
|
|
|
(description "ACME protocol implementation in Python")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-02-09 01:49:08 -05:00
|
|
|
|
(define-public python2-acme
|
|
|
|
|
(package-with-python2 python-acme))
|
|
|
|
|
|
2016-05-13 23:22:53 -04:00
|
|
|
|
(define-public certbot
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(package
|
2016-05-13 23:22:53 -04:00
|
|
|
|
(name "certbot")
|
2017-01-26 08:02:28 -05:00
|
|
|
|
(version "0.10.2")
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-10-07 01:39:34 -04:00
|
|
|
|
(uri (pypi-uri name version))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-26 08:02:28 -05:00
|
|
|
|
"0c8nidbbq8p4rjhcrw31saw04n5rz4zgr08chbch17gw03hrqwik"))))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2016-02-05 03:20:44 -05:00
|
|
|
|
`(#:python ,python-2
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2016-05-31 18:58:18 -04:00
|
|
|
|
(add-after 'build 'docs
|
2016-02-05 03:20:44 -05:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man1 (string-append out "/share/man/man1"))
|
|
|
|
|
(man7 (string-append out "/share/man/man7"))
|
|
|
|
|
(info (string-append out "/info")))
|
|
|
|
|
(and
|
|
|
|
|
(zero? (system* "make" "-C" "docs" "man" "info"))
|
2016-05-13 23:22:53 -04:00
|
|
|
|
(install-file "docs/_build/texinfo/Certbot.info" info)
|
|
|
|
|
(install-file "docs/_build/man/certbot.1" man1)
|
|
|
|
|
(install-file "docs/_build/man/certbot.7" man7)
|
2016-02-05 03:20:44 -05:00
|
|
|
|
#t)))))))
|
|
|
|
|
;; TODO: Add optional inputs for testing.
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python2-nose" ,python2-nose)
|
2016-02-05 03:20:44 -05:00
|
|
|
|
("python2-mock" ,python2-mock)
|
|
|
|
|
;; For documentation
|
|
|
|
|
("python2-sphinx" ,python2-sphinx)
|
|
|
|
|
("python2-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
|
|
|
|
|
("python2-sphinx-repoze-autointerface" ,python2-sphinx-repoze-autointerface)
|
|
|
|
|
("python2-sphinxcontrib-programoutput" ,python2-sphinxcontrib-programoutput)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(propagated-inputs
|
2016-02-09 01:49:08 -05:00
|
|
|
|
`(("python2-acme" ,python2-acme)
|
2015-12-04 10:13:26 -05:00
|
|
|
|
("python2-zope-interface" ,python2-zope-interface)
|
|
|
|
|
("python2-pythondialog" ,python2-pythondialog)
|
|
|
|
|
("python2-pyrfc3339" ,python2-pyrfc3339)
|
|
|
|
|
("python2-pyopenssl" ,python2-pyopenssl)
|
|
|
|
|
("python2-configobj" ,python2-configobj)
|
|
|
|
|
("python2-configargparse" ,python2-configargparse)
|
|
|
|
|
("python2-zope-component" ,python2-zope-component)
|
|
|
|
|
("python2-parsedatetime" ,python2-parsedatetime)
|
|
|
|
|
("python2-six" ,python2-six)
|
|
|
|
|
("python2-psutil" ,python2-psutil)
|
|
|
|
|
("python2-requests" ,python2-requests)
|
|
|
|
|
("python2-pytz" ,python2-pytz)))
|
2016-09-12 13:00:43 -04:00
|
|
|
|
(synopsis "Let's Encrypt client by the Electronic Frontier Foundation")
|
2017-01-26 08:02:28 -05:00
|
|
|
|
(description "Certbot automatically receives and installs X.509 certificates
|
|
|
|
|
to enable Transport Layer Security (TLS) on servers. It interoperates with the
|
|
|
|
|
Let’s Encrypt certificate authority (CA), which issues browser-trusted
|
|
|
|
|
certificates for free.")
|
2016-05-14 01:35:04 -04:00
|
|
|
|
(home-page "https://certbot.eff.org/")
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-05-13 23:22:53 -04:00
|
|
|
|
(define-public letsencrypt
|
|
|
|
|
(package (inherit certbot)
|
2016-09-09 21:25:51 -04:00
|
|
|
|
(name "letsencrypt")
|
|
|
|
|
(properties `((superseded . ,certbot)))))
|
2016-05-13 23:22:53 -04:00
|
|
|
|
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(define-public perl-net-ssleay
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-ssleay")
|
|
|
|
|
(version "1.68")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIKEM/"
|
|
|
|
|
"Net-SSLeay-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-07-15 23:43:33 -04:00
|
|
|
|
"1m2wwzhjwsg0drlhp9w12fl6bsgj69v8gdz72jqrqll3qr7f408p"))))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(build-system perl-build-system)
|
2015-07-15 23:43:33 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("patch" ,patch)
|
|
|
|
|
("patch/disable-ede-test"
|
|
|
|
|
,(search-patch "perl-net-ssleay-disable-ede-test.patch"))))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
2015-07-15 23:43:33 -04:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'unpack 'apply-patch
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; XXX We apply this patch here instead of in the 'origin' because
|
|
|
|
|
;; this package's build system fails badly when the source file
|
|
|
|
|
;; times are zeroed.
|
|
|
|
|
;; XXX Try removing this patch for perl-net-ssleay > 1.68
|
|
|
|
|
(zero? (system* "patch" "--force" "-p1" "-i"
|
|
|
|
|
(assoc-ref inputs "patch/disable-ede-test")))))
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'set-ssl-prefix
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "OPENSSL_PREFIX" (assoc-ref inputs "openssl"))
|
|
|
|
|
#t)))))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
|
(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/")))
|
2016-07-28 17:38:29 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-crypt-openssl-rsa
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-rsa")
|
|
|
|
|
(version "0.28")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1gnpvv09b2gpifwdzc5jnhama3d1a4c39lzj9hcaicsb8rvzjmsk"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-crypt-openssl-bignum" ,perl-crypt-openssl-bignum)
|
|
|
|
|
("perl-crypt-openssl-random" ,perl-crypt-openssl-random)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(arguments perl-crypt-arguments)
|
|
|
|
|
(home-page
|
|
|
|
|
"http://search.cpan.org/dist/Crypt-OpenSSL-RSA")
|
|
|
|
|
(synopsis
|
|
|
|
|
"RSA encoding and decoding, using the openSSL libraries")
|
|
|
|
|
(description "Crypt::OpenSSL::RSA does RSA encoding and decoding (using the
|
|
|
|
|
OpenSSL libraries).")
|
|
|
|
|
(license (package-license perl))))
|
2016-07-28 17:38:30 -04:00
|
|
|
|
|
|
|
|
|
(define perl-crypt-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)))))
|
|
|
|
|
|
|
|
|
|
(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 perl-crypt-arguments)
|
|
|
|
|
(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))))
|
2016-07-28 17:38:33 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-crypt-openssl-random
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-random")
|
|
|
|
|
(version "0.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0yjcabkibrkafywvdkmd1xpi6br48skyk3l15ni176wvlg38335v"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
|
(arguments perl-crypt-arguments)
|
|
|
|
|
(home-page
|
|
|
|
|
"http://search.cpan.org/dist/Crypt-OpenSSL-Random")
|
|
|
|
|
(synopsis
|
|
|
|
|
"OpenSSL/LibreSSL pseudo-random number generator access")
|
|
|
|
|
(description "Crypt::OpenSSL::Random is a OpenSSL/LibreSSL pseudo-random
|
|
|
|
|
number generator")
|
|
|
|
|
(license (package-license perl))))
|
2016-07-10 13:35:13 -04:00
|
|
|
|
|
|
|
|
|
(define-public acme-client
|
|
|
|
|
(package
|
|
|
|
|
(name "acme-client")
|
2016-12-03 22:36:10 -05:00
|
|
|
|
(version "0.1.15")
|
2016-07-10 13:35:13 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://kristaps.bsd.lv/" name "/"
|
|
|
|
|
"snapshots/" name "-portable-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-03 22:36:10 -05:00
|
|
|
|
"07p723391whrswl4rir0l1k03l457sjscnj0cfaxr8mfnkx4y3wi"))))
|
2016-07-10 13:35:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no test suite
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2016-12-12 21:04:43 -05:00
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((pem (string-append (assoc-ref inputs "libressl")
|
|
|
|
|
"/etc/ssl/cert.pem")))
|
|
|
|
|
(substitute* "http.c"
|
|
|
|
|
(("/etc/ssl/cert.pem") pem))
|
|
|
|
|
#t)))
|
2016-07-10 13:35:13 -04:00
|
|
|
|
(delete 'configure)))) ; no './configure' script
|
2016-12-03 22:36:10 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-07-10 13:35:13 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libbsd" ,libbsd)
|
|
|
|
|
("libressl" ,libressl)))
|
|
|
|
|
(synopsis "Let's Encrypt client by the OpenBSD project")
|
|
|
|
|
(description "acme-client is a Let's Encrypt client implemented in C. It
|
|
|
|
|
uses a modular design, and attempts to secure itself by dropping privileges and
|
|
|
|
|
operating in a chroot where possible. acme-client is developed on OpenBSD and
|
|
|
|
|
then ported to the GNU / Linux environment.")
|
|
|
|
|
(home-page "https://kristaps.bsd.lv/acme-client/")
|
|
|
|
|
;; acme-client is distributed under the ISC license, but the files 'jsmn.h'
|
|
|
|
|
;; and 'jsmn.c' are distributed under the Expat license.
|
|
|
|
|
(license (list license:isc license:expat))))
|