2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-01-10 23:11:18 +01:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
2018-03-16 08:56:45 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
|
2014-10-19 04:03:42 +02: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 18:27:24 +02:00
|
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2015-12-04 16:13:26 +01:00
|
|
|
|
;;; Copyright © 2015 David Thompson <davet@gnu.org>
|
2018-02-20 03:44:42 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018 Leo Famulari <leo@famulari.name>
|
2017-05-03 20:58:02 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2018-03-24 13:22:49 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Nils Gillmann <ng0@n0.is>
|
2016-09-01 17:16:12 +02:00
|
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2017-05-30 20:30:35 +02:00
|
|
|
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
2018-05-26 17:03:07 +02:00
|
|
|
|
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
2018-03-16 04:46:22 +01:00
|
|
|
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-11-27 19:57:53 +01:00
|
|
|
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
2018-06-15 03:00:25 +02:00
|
|
|
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
2012-11-13 21:44:57 +01:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-13 21:44:57 +01:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-13 21:44:57 +01: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-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-13 21:44:57 +01: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-06 00:47:50 +01:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-13 21:44:57 +01: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 21:41:22 +02:00
|
|
|
|
(define-module (gnu packages tls)
|
2015-07-05 18:54:48 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2012-11-13 21:44:57 +01:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2014-10-19 04:03:42 +02:00
|
|
|
|
#:use-module (guix utils)
|
2012-11-13 21:44:57 +01: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 18:27:24 +02:00
|
|
|
|
#:use-module (guix build-system perl)
|
2015-11-24 05:10:12 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
2017-02-14 20:09:34 +01:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2017-11-13 18:40:55 +01:00
|
|
|
|
#:use-module (guix build-system haskell)
|
2018-06-15 03:00:25 +02:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2015-03-04 17:02:07 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
2013-06-27 23:57:45 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2018-06-15 03:00:25 +02:00
|
|
|
|
#:use-module (gnu packages bash)
|
gnu: Move testing packages from python.scm to check.scm.
* gnu/packages/python.scm (python-behave-web-api, python2-behave-web-api,
python-mock, python2-mock, python-mock-2, python-nose, python2-nose,
python-nose2, python2-nose2, python-unittest2, python2-unittest2,
python-pytest, python2-pytest, python-pytest-3.0, python2-pytest-3.0,
python-pytest-cov, python2-pytest-cov, python-pytest-runner,
python2-pytest-runner, python-pytest-mock, python2-pytest-mock,
python-pytest-xdist, python2-pytest-xdist, python-scripttest,
python2-scripttest, python-testtools, python2-testtools, python-testscenarios,
python2-testscenarios, python-testresources, python2-testresources,
python-subunit, python2-subunit, python-fixtures, python2-fixtures,
python-testrepository, python2-testrepository, python-coverage,
python2-coverage, python-cov-core, python2-cov-core, python-testpath,
python2-testpath, python-testlib, python2-testlib, python-pytest-cache,
python2-pytest-cache, python-pytest-localserver, python-pytest-xprocess,
python-pytest-subtesthack, python2-pytest-subtesthack, python-hypothesis,
python2-hypothesis, python-lit, python2-lit, python-pytest-pep8,
python2-pytest-pep8, python-pytest-flakes, python2-pytest-flakes,
python2-coverage-test-runner, python-pylint, python2-pylint,
python-paramunittest, python2-python-paramunittest, python-pytest-warnings,
python2-pytest-warnings, python-pytest-capturelog, python2-pytest-capturelog,
python-pytest-catchlog, python2-pytest-catchlog, python-nosexcover,
python2-nosexcover, python-discover, python2-discover, behave, python-rednose,
python2-rednose, python-nose-randomly, python2-nose-randomly,
python-nose-timer, python2-nose-timer): Move from here...
* gnu/packages/check.scm: ...to here.
* gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/backup.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm,
gnu/packages/dav.scm,
gnu/packages/django.scm,
gnu/packages/freedesktop.scm,
gnu/packages/haskell.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/ldc.scm,
gnu/packages/libffi.scm,
gnu/packages/mail.scm,
gnu/packages/mpd.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm: Adjust accordingly.
2017-11-17 21:42:23 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-06-15 03:00:25 +02:00
|
|
|
|
#:use-module (gnu packages curl)
|
2017-08-21 11:28:51 +02:00
|
|
|
|
#:use-module (gnu packages dns)
|
2018-06-15 03:00:25 +02:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages guile)
|
2017-11-13 18:40:55 +01:00
|
|
|
|
#:use-module (gnu packages haskell)
|
|
|
|
|
#:use-module (gnu packages haskell-check)
|
|
|
|
|
#:use-module (gnu packages haskell-crypto)
|
2016-07-10 19:35:13 +02:00
|
|
|
|
#:use-module (gnu packages libbsd)
|
2015-02-08 16:23:44 +01:00
|
|
|
|
#:use-module (gnu packages libffi)
|
2015-04-12 22:18:12 +02:00
|
|
|
|
#:use-module (gnu packages libidn)
|
2016-07-20 05:59:22 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
2015-11-24 05:10:12 +01:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2015-02-08 16:23:44 +01:00
|
|
|
|
#:use-module (gnu packages nettle)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-02-08 16:23:44 +01:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-11-24 05:10:12 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: Move web packages from python to python-web.
This is in part to address <https://bugs.gnu.org/27284>.
* gnu/packages/python.scm (python-httplib2, python2-httplib2)
(python-sockjs-tornado, python2-sockjs-tornado)
(python-flask-babel, python2-flask-babel)
(python-html5lib, python2-html5lib)
(python-html5lib-0.9, python2-html5lib-0.9)
(python-html5-parser, python2-html5-parser)
(python-webencodings, python2-webencodings)
(python-openid, python2-openid, python-cssutils, python2-cssutils)
(python-cssselect, python2-cssutils)
(python-openid-cla, python2-openid-cla)
(python-openid-teams, python2-openid-teams)
(python-tornado, python2-tornado)
(python-tornado-http-auth, python-terminado, python2-terminado)
(python-webob, python2-webob, python-zope-event, python2-zope-event)
(python-zope-interface, python2-zope-interface)
(python-zope-exceptions, python2-zope-exceptions)
(python-zope-testing, python2-zope-testing)
(python-zope-testrunner, python2-zope-testrunner)
(python-zope-i18nmessageid, python2-zope-i18nmessageid)
(python-zope-schema, python2-zope-schema)
(python-zope-configuration, python2-zope-configuration)
(python-zope-proxy, python2-zope-proxy)
(python-zope-location, python2-zope-location)
(python-zope-security, python2-zope-security)
(python-zope-component, python2-zope-component)
(python-ndg-httpsclient, python2-ndg-httpsclient)
(python-websocket-client, python2-websocket-client)
(python-requests-toolbelt, python2-requests-toolbelt)
(python-rauth, python2-rauth, python-urllib3, python2-urllib3)
(awscli, python-wsgiproxy2, python2-wsgiproxy2)
(python-pastedeploy, python2-pastedeploy)
(python-webtest, python2-webtest, python-flask, python2-flask)
(python-flast-wtf, python2-flask-wtf)
(python-flask-multistatic, python2-flask-multistatic)
(python-cookies, python2-cookies)
(python-responses, python2-responses)
(python-geventhttpclient, python2-geventhttpclient)
(python-requests-oauthlib, python2-requests-oauthlib)
(python-url, python2-url, python-cachecontrol, python2-cachecontrol)
(python-betamax, python2-betamax)
(python-betamax-matchers, python2-betamax-matchers)
(python-s3transfer, python2-s3transfer)
(python-flask-restful, python-flask-basicauth)
(python-flask-sqlalchemy, python-flask-restplus)
(python-flask-restful-swagger, python-htmlmin, python2-htmlmin)
(python-flask-htmlmin, python2-flask-htmlmin)
(python-flask-login, python2-flask-login)
(python-oauth2client, python-flask-oidc)
(python-webassets, python-cssmin, python2-cssmin)
(python-elasticsearch, python2-elasticsearch)
(python-flask-script, python2-flask-script)
(python-flask-migrate, python2-flask-migrate)
(python-genshi, python2-genshi)
(python-flask-principal, python2-flask-principal)
(python-flask-httpauth, python2-flask-httpauth)
(python-uritemplate, python2-uritemplate): Move to...
* gnu/packages/python-web.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/dav.scm, gnu/packages/django.scm,
gnu/packages/docker.scm, gnu/packages/ebook.scm,
gnu/packages/logging.scm, gnu/packages/mail.scm,
gnu/packages/music.scm, gnu/packages/openstack.scm,
gnu/packages/package-management.scm, gnu/packages/rdf.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/tryton.scm, gnu/packages/version-control.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-11-13 23:24:11 +01:00
|
|
|
|
#:use-module (gnu packages python-web)
|
2013-12-11 23:05:12 +01:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
gnu: Move date/time packages from python.scm to time.scm.
* gnu/packages/python.scm (python-pytz, python2-pytz, python-dateutil,
python2-dateutil, python-parsedatetime, python2-parsedatetime,
python-tzlocal, python-isodate, python2-isodate, python-iso8601,
python2-iso8601, python-monotonic, python2-monotonic, python-pyrfc3339,
python2-pyrfc3339, python-arrow, python2-arrow, python-aniso8601,
python2-aniso8601): Move from here...
* gnu/packages/time.scm: ...to here.
* gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/django.scm,
gnu/packages/ebook.scm,
gnu/packages/gnome.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/mail.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/tls.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm: Adjust accordingly.
2017-11-18 11:58:44 +01:00
|
|
|
|
#:use-module (gnu packages time)
|
2017-01-20 21:35:51 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
|
|
|
|
|
(define-public libtasn1
|
|
|
|
|
(package
|
|
|
|
|
(name "libtasn1")
|
2018-02-20 03:44:42 +01:00
|
|
|
|
(version "4.13")
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/libtasn1/libtasn1-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-20 03:44:42 +01:00
|
|
|
|
"1jlc1iahj8k3haz28j55nzg7sgni5h41vqy461i1bpbx6668wlky"))))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2016-01-05 15:12:13 +01:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://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 18:04:25 +02:00
|
|
|
|
(synopsis "ASN.1 library")
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(description
|
2013-12-01 22:33:23 +01: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 16:14:23 +02:00
|
|
|
|
networking, allowing for formal validation of data according to some
|
|
|
|
|
specifications.")
|
2015-07-05 18:54:48 +02:00
|
|
|
|
(license license:lgpl2.0+)))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
|
2016-09-01 17:16:12 +02:00
|
|
|
|
(define-public asn1c
|
|
|
|
|
(package
|
|
|
|
|
(name "asn1c")
|
2017-05-24 22:32:09 +02:00
|
|
|
|
(version "0.9.28")
|
2016-09-01 17:16:12 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://lionet.info/soft/asn1c-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-24 22:32:09 +02:00
|
|
|
|
"1fc64g45ykmv73kdndr4zdm4wxhimhrir4rxnygxvwkych5l81w0"))))
|
2016-09-01 17:16:12 +02:00
|
|
|
|
(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 16:23:44 +01:00
|
|
|
|
(define-public p11-kit
|
|
|
|
|
(package
|
|
|
|
|
(name "p11-kit")
|
2018-06-05 03:07:55 +02:00
|
|
|
|
(version "0.23.12")
|
2015-02-08 16:23:44 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-06-09 23:26:14 +02:00
|
|
|
|
(uri (string-append "https://github.com/p11-glue/p11-kit/releases/"
|
|
|
|
|
"download/" version "/p11-kit-" version ".tar.gz"))
|
2015-02-08 16:23:44 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-05 03:07:55 +02:00
|
|
|
|
"00ylbx2gxrm9bv6w4y3qf8z30vpdkqaa8z1y22hy27fv34py5fjq"))))
|
2015-02-08 16:23:44 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libffi" ,libffi)
|
|
|
|
|
("libtasn1" ,libtasn1)))
|
|
|
|
|
(arguments
|
2018-05-26 17:03:07 +02:00
|
|
|
|
`(#:configure-flags '("--without-trust-paths")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'prepare-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; "test-runtime" expects XDG_RUNTIME_DIR to be set up
|
|
|
|
|
;; and looks for .cache and other directories (only).
|
|
|
|
|
;; For simplicity just drop it since it is irrelevant
|
|
|
|
|
;; in the build container.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("test-runtime\\$\\(EXEEXT\\)") ""))
|
|
|
|
|
#t)))))
|
2018-01-15 07:28:57 +01:00
|
|
|
|
(home-page "https://p11-glue.freedesktop.org/p11-kit.html")
|
2015-02-08 16:23:44 +01:00
|
|
|
|
(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 18:54:48 +02:00
|
|
|
|
(license license:bsd-3)))
|
2015-02-08 16:23:44 +01:00
|
|
|
|
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(define-public gnutls
|
|
|
|
|
(package
|
|
|
|
|
(name "gnutls")
|
2018-02-20 03:32:33 +01:00
|
|
|
|
(version "3.5.18")
|
2013-01-18 16:54:41 +01: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 09:46:09 +01:00
|
|
|
|
(string-append "mirror://gnupg/gnutls/v"
|
2014-10-19 04:03:42 +02:00
|
|
|
|
(version-major+minor version)
|
2014-02-18 09:46:09 +01:00
|
|
|
|
"/gnutls-" version ".tar.xz"))
|
2017-06-11 02:07:06 +02:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "gnutls-skip-trust-store-test.patch"
|
|
|
|
|
"gnutls-skip-pkgconfig-test.patch"))
|
2013-01-18 16:54:41 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-20 03:32:33 +01:00
|
|
|
|
"0d02x28fwkkx7xzn7807nww6idchizzq3plx8sfcyiw7wzclh8mf"))))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2014-10-26 20:11:24 +01:00
|
|
|
|
(arguments
|
2017-11-10 18:07:23 +01:00
|
|
|
|
`(; Ensure we don't keep a reference to this buggy software.
|
|
|
|
|
#:disallowed-references (,net-tools)
|
|
|
|
|
#:configure-flags
|
2017-05-25 14:37:26 +02:00
|
|
|
|
(list
|
2014-02-19 03:30:53 +01:00
|
|
|
|
;; 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 08:08:48 +02:00
|
|
|
|
;; places in the file system, none of which are present in our
|
2014-02-19 03:30:53 +01: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 22:18:12 +02: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 22:18:08 +02: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 07:39:55 +02:00
|
|
|
|
(mandir (string-append doc "/share/man/man3"))
|
2015-06-27 22:18:08 +02: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 10:38:27 +02:00
|
|
|
|
(native-inputs
|
2017-11-10 08:07:34 +01:00
|
|
|
|
`(("net-tools" ,net-tools)
|
2016-07-20 05:59:22 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2015-02-11 12:20:14 +01:00
|
|
|
|
("which" ,which)))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(inputs
|
2017-05-25 14:37:26 +02:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
(propagated-inputs
|
2015-02-11 12:20:14 +01:00
|
|
|
|
;; These are all in the 'Requires.private' field of gnutls.pc.
|
2012-11-13 21:44:57 +01:00
|
|
|
|
`(("libtasn1" ,libtasn1)
|
2017-02-24 19:37:18 +01:00
|
|
|
|
("libidn2" ,libidn2)
|
2015-04-12 22:18:12 +02:00
|
|
|
|
("nettle" ,nettle)
|
2015-03-04 17:02:07 +01:00
|
|
|
|
("zlib" ,zlib)))
|
2016-05-17 16:06:29 +02: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 18:04:25 +02:00
|
|
|
|
(synopsis "Transport layer security library")
|
2012-11-13 21:44:57 +01: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 16:14:23 +02:00
|
|
|
|
"GnuTLS is a secure communications library implementing the SSL, TLS
|
2013-12-01 22:33:23 +01: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 16:14:23 +02:00
|
|
|
|
protocols, as well as to parse and write X.5009, PKCS 12, OpenPGP and other
|
|
|
|
|
required structures.")
|
2016-04-14 22:18:56 +02: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 18:27:24 +02:00
|
|
|
|
|
2017-01-20 21:35:51 +01:00
|
|
|
|
(define-public gnutls/guile-2.2
|
2017-05-25 14:37:26 +02:00
|
|
|
|
(deprecated-package "guile2.2-gnutls" gnutls))
|
|
|
|
|
|
|
|
|
|
(define-public gnutls/guile-2.0
|
|
|
|
|
;; GnuTLS for Guile 2.0.
|
2017-01-20 21:35:51 +01:00
|
|
|
|
(package
|
2017-01-23 22:33:10 +01:00
|
|
|
|
(inherit gnutls)
|
2017-05-25 14:37:26 +02:00
|
|
|
|
(name "guile2.0-gnutls")
|
|
|
|
|
(inputs `(("guile" ,guile-2.0)
|
2017-01-23 22:33:10 +01:00
|
|
|
|
,@(alist-delete "guile" (package-inputs gnutls))))))
|
2017-01-20 21:35:51 +01:00
|
|
|
|
|
2017-08-21 11:28:51 +02:00
|
|
|
|
(define-public gnutls/dane
|
|
|
|
|
;; GnuTLS with build libgnutls-dane, implementing DNS-based
|
|
|
|
|
;; Authentication of Named Entities. This is required for GNS functionality
|
|
|
|
|
;; by GNUnet and gnURL. This is done in an extra package definition
|
|
|
|
|
;; to have the choice between GnuTLS with Dane and without Dane.
|
|
|
|
|
(package
|
|
|
|
|
(inherit gnutls)
|
|
|
|
|
(name "gnutls-dane")
|
|
|
|
|
(inputs `(("unbound" ,unbound)
|
|
|
|
|
,@(package-inputs 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 18:27:24 +02:00
|
|
|
|
(define-public openssl
|
|
|
|
|
(package
|
|
|
|
|
(name "openssl")
|
2018-06-14 22:26:57 +02:00
|
|
|
|
(replacement openssl/fixed)
|
2018-03-28 10:07:04 +02:00
|
|
|
|
(version "1.0.2o")
|
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 18:27:24 +02:00
|
|
|
|
(source (origin
|
2016-03-09 15:20:34 +01:00
|
|
|
|
(method url-fetch)
|
2017-11-02 22:26:35 +01:00
|
|
|
|
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/"
|
2016-03-09 15:20:34 +01:00
|
|
|
|
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
|
2018-03-28 10:07:04 +02:00
|
|
|
|
"0kcy13l701054nhpbd901mz32v1kn4g311z0nifd83xs2jbmqgzc"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "openssl-runpath.patch"
|
2016-10-03 23:00:06 +02: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 18:27:24 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-05-02 15:43:11 +02:00
|
|
|
|
(outputs '("out"
|
2016-05-02 15:43:50 +02:00
|
|
|
|
"doc" ;1.5MiB of man3 pages
|
2016-05-02 15:43:11 +02: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 18:27:24 +02:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
|
|
|
|
(arguments
|
2016-05-02 15:42:50 +02: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 18:27:24 +02:00
|
|
|
|
#:parallel-tests? #f
|
|
|
|
|
#:test-target "test"
|
2016-03-01 01:24:20 +01: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 18:27:24 +02:00
|
|
|
|
#:phases
|
2015-09-09 15:31:23 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2015-09-09 18:17:38 +02:00
|
|
|
|
(add-before
|
2015-12-03 22:22:39 +01:00
|
|
|
|
'configure 'patch-Makefile.org
|
2015-09-09 18:17:38 +02: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 22:22:39 +01:00
|
|
|
|
(patch-makefile-SHELL "Makefile.org")
|
2015-09-09 18:17:38 +02:00
|
|
|
|
(substitute* "Makefile.org"
|
|
|
|
|
(("^MANDIR[[:blank:]]*=.*$")
|
|
|
|
|
(string-append "MANDIR = " out "/share/man\n")))
|
|
|
|
|
#t)))
|
2015-09-09 15:31:23 +02:00
|
|
|
|
(replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2018-03-17 22:05:28 +01:00
|
|
|
|
(invoke "./config"
|
2018-03-17 19:41:10 +01:00
|
|
|
|
"shared" ;build shared libraries
|
|
|
|
|
"--libdir=lib"
|
2015-09-09 18:17:38 +02:00
|
|
|
|
|
2018-03-17 19:41:10 +01: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 18:17:38 +02:00
|
|
|
|
|
2018-03-17 19:41:10 +01:00
|
|
|
|
(string-append "--prefix=" out)
|
2015-09-09 15:31:23 +02:00
|
|
|
|
|
2018-03-17 19:41:10 +01:00
|
|
|
|
;; 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")
|
2018-03-17 22:05:28 +01:00
|
|
|
|
'())))))
|
2015-09-09 18:30:34 +02: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 15:43:11 +02: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")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file slib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files lib "\\.a$"))
|
|
|
|
|
#t)))
|
2016-05-02 15:43:50 +02: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 19:37:23 +02:00
|
|
|
|
(delete-file-recursively man3)
|
2016-05-02 15:43:50 +02:00
|
|
|
|
#t)))
|
2015-09-09 15:31:23 +02: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")
|
2017-01-23 21:56:57 +01:00
|
|
|
|
(string-append bash "/bin/sh"))
|
2015-09-09 15:31:23 +02:00
|
|
|
|
(("/bin/rm")
|
2015-12-03 22:22:39 +01:00
|
|
|
|
"rm"))
|
|
|
|
|
#t)))
|
2015-09-09 19:01:48 +02: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 18:27:24 +02:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "SSL_CERT_DIR")
|
2017-11-02 22:30:10 +01:00
|
|
|
|
(separator #f) ;single entry
|
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 18:27:24 +02:00
|
|
|
|
(files '("etc/ssl/certs")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "SSL_CERT_FILE")
|
2017-11-02 22:30:10 +01:00
|
|
|
|
(file-type 'regular)
|
|
|
|
|
(separator #f) ;single entry
|
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 18:27:24 +02:00
|
|
|
|
(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 14:16:07 +02:00
|
|
|
|
"OpenSSL is an implementation of SSL/TLS.")
|
2015-07-05 18:54:48 +02:00
|
|
|
|
(license license:openssl)
|
2018-01-15 07:28:57 +01:00
|
|
|
|
(home-page "https://www.openssl.org/")))
|
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 18:27:24 +02:00
|
|
|
|
|
2018-06-14 22:26:57 +02:00
|
|
|
|
(define openssl/fixed
|
|
|
|
|
(package
|
|
|
|
|
(inherit openssl)
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source openssl))
|
|
|
|
|
(patches (append (origin-patches (package-source openssl))
|
|
|
|
|
(search-patches "openssl-1.0.2-CVE-2018-0495.patch"
|
|
|
|
|
"openssl-1.0.2-CVE-2018-0732.patch")))))))
|
|
|
|
|
|
2016-09-02 22:07:29 +02:00
|
|
|
|
(define-public openssl-next
|
|
|
|
|
(package
|
|
|
|
|
(inherit openssl)
|
|
|
|
|
(name "openssl")
|
2018-03-27 21:41:00 +02:00
|
|
|
|
(version "1.1.0h")
|
2016-09-02 22:07:29 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-11-02 22:14:06 +01:00
|
|
|
|
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/"
|
2016-09-02 22:07:29 +02:00
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/old/"
|
|
|
|
|
(string-trim-right version char-set:letter)
|
|
|
|
|
"/" name "-" version ".tar.gz")))
|
2018-06-14 22:30:57 +02:00
|
|
|
|
(patches (search-patches "openssl-1.1.0-c-rehash-in.patch"
|
|
|
|
|
"openssl-1.1.0-CVE-2018-0495.patch"
|
|
|
|
|
"openssl-1.1.0-CVE-2018-0732.patch"))
|
2016-09-02 22:07:29 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-27 21:41:00 +02:00
|
|
|
|
"05x509lccqjscgyi935z809pwfm708islypwhmjnb6cyvrn64daq"))))
|
2016-09-02 22:07:29 +02: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 09:48:38 +01:00
|
|
|
|
;; Override configure phase since -rpath is now a configure option.
|
|
|
|
|
(replace 'configure
|
2016-09-02 22:07:29 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2016-12-09 09:48:38 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
2018-03-17 22:05:28 +01:00
|
|
|
|
(invoke "./config"
|
2018-03-17 19:41:10 +01:00
|
|
|
|
"shared" ;build shared libraries
|
|
|
|
|
"--libdir=lib"
|
2016-12-09 09:48:38 +01:00
|
|
|
|
|
2018-03-17 19:41:10 +01:00
|
|
|
|
;; The default for this catch-all directory is
|
|
|
|
|
;; PREFIX/ssl. Change that to something more
|
|
|
|
|
;; conventional.
|
|
|
|
|
(string-append "--openssldir=" out
|
|
|
|
|
"/share/openssl-" ,version)
|
2016-12-09 09:48:38 +01:00
|
|
|
|
|
2018-03-17 19:41:10 +01:00
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "-Wl,-rpath," lib)
|
2016-12-09 09:48:38 +01:00
|
|
|
|
|
2018-03-17 19:41:10 +01:00
|
|
|
|
;; 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")
|
2018-03-17 22:05:28 +01:00
|
|
|
|
'())))))
|
2016-12-09 09:48:38 +01:00
|
|
|
|
|
|
|
|
|
;; 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 22:07:29 +02:00
|
|
|
|
#t)))))))))
|
|
|
|
|
|
2015-07-05 19:01:44 +02:00
|
|
|
|
(define-public libressl
|
|
|
|
|
(package
|
|
|
|
|
(name "libressl")
|
2018-06-14 22:40:01 +02:00
|
|
|
|
(version "2.7.4")
|
2017-07-19 01:42:08 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://openbsd/LibreSSL/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-14 22:40:01 +02:00
|
|
|
|
"19kxa5i97q7p6rrps9qm0nd8zqhdjvzx02j72400c73cl2nryfhy"))))
|
2015-07-05 19:01:44 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2017-04-18 23:39:03 +02:00
|
|
|
|
(arguments
|
|
|
|
|
;; Do as if 'getentropy' was missing since older Linux kernels lack it
|
|
|
|
|
;; and libc would return ENOSYS, which is not properly handled.
|
|
|
|
|
;; See <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00235.html>.
|
2017-04-28 04:58:58 +02:00
|
|
|
|
'(#:configure-flags '("ac_cv_func_getentropy=no"
|
|
|
|
|
;; Provide a TLS-enabled netcat.
|
|
|
|
|
"--enable-nc")))
|
2015-07-05 19:01:44 +02: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")))))
|
2017-05-03 20:58:02 +02:00
|
|
|
|
(home-page "https://www.libressl.org/")
|
2015-07-05 19:01:44 +02:00
|
|
|
|
(synopsis "SSL/TLS implementation")
|
2017-04-28 04:58:58 +02:00
|
|
|
|
(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. This package also includes a
|
|
|
|
|
netcat implementation that supports TLS.")
|
2015-07-05 19:01:44 +02:00
|
|
|
|
;; 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 07:49:08 +01:00
|
|
|
|
(define-public python-acme
|
2015-11-24 05:10:12 +01:00
|
|
|
|
(package
|
2016-02-09 07:49:08 +01:00
|
|
|
|
(name "python-acme")
|
2017-02-03 15:03:36 +01:00
|
|
|
|
;; Remember to update the hash of certbot when updating python-acme.
|
2018-06-14 23:55:40 +02:00
|
|
|
|
(version "0.25.1")
|
2015-11-24 05:10:12 +01:00
|
|
|
|
(source (origin
|
2016-05-14 05:22:53 +02:00
|
|
|
|
(method url-fetch)
|
2016-10-07 07:39:34 +02:00
|
|
|
|
(uri (pypi-uri "acme" version))
|
2017-09-17 17:39:30 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-14 23:55:40 +02:00
|
|
|
|
"0d177dhy8a7472pz9v4blrlk02d8fp6s52li7z8v3dv97pvz7da7"))))
|
2015-11-24 05:10:12 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2016-02-09 07:49:08 +01:00
|
|
|
|
`(#:phases
|
2016-02-05 04:12:42 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2017-04-10 00:26:45 +02:00
|
|
|
|
(add-after 'build 'build-documentation
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "make" "-C" "docs" "man" "info"))))
|
|
|
|
|
(add-after 'install 'install-documentation
|
2016-02-16 21:11:19 +01:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man/man1"))
|
|
|
|
|
(info (string-append out "/info")))
|
2017-04-10 00:26:45 +02:00
|
|
|
|
(install-file "docs/_build/texinfo/acme-python.info" info)
|
|
|
|
|
(install-file "docs/_build/man/acme-python.1" man)
|
|
|
|
|
#t))))))
|
2016-02-16 21:11:19 +01:00
|
|
|
|
;; TODO: Add optional inputs for testing.
|
2015-11-24 05:10:12 +01:00
|
|
|
|
(native-inputs
|
2017-07-31 03:37:14 +02:00
|
|
|
|
`(("python-mock" ,python-mock)
|
2018-06-14 23:55:40 +02:00
|
|
|
|
("python-pytest" ,python-pytest)
|
2016-02-16 21:11:19 +01: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-24 05:10:12 +01:00
|
|
|
|
(propagated-inputs
|
2018-01-19 18:48:33 +01:00
|
|
|
|
`(("python-josepy" ,python-josepy)
|
|
|
|
|
("python-six" ,python-six)
|
2016-02-09 07:49:08 +01:00
|
|
|
|
("python-requests" ,python-requests)
|
2018-06-14 23:55:40 +02:00
|
|
|
|
("python-requests-toolbelt" ,python-requests-toolbelt)
|
2016-02-09 07:49:08 +01:00
|
|
|
|
("python-pytz" ,python-pytz)
|
|
|
|
|
("python-pyrfc3339" ,python-pyrfc3339)
|
|
|
|
|
("python-pyasn1" ,python-pyasn1)
|
|
|
|
|
("python-cryptography" ,python-cryptography)
|
|
|
|
|
("python-pyopenssl" ,python-pyopenssl)))
|
2018-01-15 07:28:57 +01:00
|
|
|
|
(home-page "https://github.com/certbot/certbot")
|
2015-11-24 05:10:12 +01:00
|
|
|
|
(synopsis "ACME protocol implementation in Python")
|
|
|
|
|
(description "ACME protocol implementation in Python")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-05-14 05:22:53 +02:00
|
|
|
|
(define-public certbot
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(package
|
2016-05-14 05:22:53 +02:00
|
|
|
|
(name "certbot")
|
2017-02-03 15:03:36 +01:00
|
|
|
|
;; Certbot and python-acme are developed in the same repository, and their
|
|
|
|
|
;; versions should remain synchronized.
|
|
|
|
|
(version (package-version python-acme))
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-10-07 07:39:34 +02:00
|
|
|
|
(uri (pypi-uri name version))
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-14 23:55:40 +02:00
|
|
|
|
"0kp56gwn1bnlrag9qidhm1i5ifdp5z6y1ravh3yimfrkc4cfa8sw"))))
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2017-05-06 21:58:16 +02:00
|
|
|
|
`(,@(substitute-keyword-arguments (package-arguments python-acme)
|
2017-04-08 18:45:16 +02:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2017-04-10 00:26:45 +02:00
|
|
|
|
(replace 'install-documentation
|
2017-04-08 18:45:16 +02: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")))
|
2017-04-10 00:26:45 +02: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)
|
|
|
|
|
#t))))))))
|
2016-02-05 09:20:44 +01:00
|
|
|
|
;; TODO: Add optional inputs for testing.
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(native-inputs
|
2017-05-06 21:58:16 +02:00
|
|
|
|
`(("python-nose" ,python-nose)
|
2017-07-31 03:37:14 +02:00
|
|
|
|
("python-mock" ,python-mock)
|
2016-02-05 09:20:44 +01:00
|
|
|
|
;; For documentation
|
2017-05-06 21:58:16 +02:00
|
|
|
|
("python-sphinx" ,python-sphinx)
|
|
|
|
|
("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme)
|
|
|
|
|
("python-sphinx-repoze-autointerface" ,python-sphinx-repoze-autointerface)
|
|
|
|
|
("python-sphinxcontrib-programoutput" ,python-sphinxcontrib-programoutput)
|
2016-02-05 09:20:44 +01:00
|
|
|
|
("texinfo" ,texinfo)))
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(propagated-inputs
|
2017-05-06 21:58:16 +02:00
|
|
|
|
`(("python-acme" ,python-acme)
|
|
|
|
|
("python-zope-interface" ,python-zope-interface)
|
|
|
|
|
("python-pyrfc3339" ,python-pyrfc3339)
|
|
|
|
|
("python-pyopenssl" ,python-pyopenssl)
|
|
|
|
|
("python-configobj" ,python-configobj)
|
|
|
|
|
("python-configargparse" ,python-configargparse)
|
|
|
|
|
("python-zope-component" ,python-zope-component)
|
|
|
|
|
("python-parsedatetime" ,python-parsedatetime)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-psutil" ,python-psutil)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-pytz" ,python-pytz)))
|
2016-09-12 19:00:43 +02:00
|
|
|
|
(synopsis "Let's Encrypt client by the Electronic Frontier Foundation")
|
2017-01-26 14:02:28 +01: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 07:35:04 +02:00
|
|
|
|
(home-page "https://certbot.eff.org/")
|
2015-12-04 16:13:26 +01:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-05-14 05:22:53 +02:00
|
|
|
|
(define-public letsencrypt
|
|
|
|
|
(package (inherit certbot)
|
2016-09-10 03:25:51 +02:00
|
|
|
|
(name "letsencrypt")
|
|
|
|
|
(properties `((superseded . ,certbot)))))
|
2016-05-14 05:22:53 +02: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 18:27:24 +02:00
|
|
|
|
(define-public perl-net-ssleay
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-ssleay")
|
2018-03-16 04:46:22 +01:00
|
|
|
|
(version "1.85")
|
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 18:27:24 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIKEM/"
|
|
|
|
|
"Net-SSLeay-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-16 04:46:22 +01:00
|
|
|
|
"1j5h4ycm8538397l204d2d5fkm9595aj174pj7bkpbhwzfwqi0cx"))))
|
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 18:27:24 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
2015-07-16 05:43:33 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(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 18:27:24 +02: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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)
|
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 18:27:24 +02:00
|
|
|
|
(home-page "http://search.cpan.org/~mikem/Net-SSLeay-1.66/")))
|
2016-07-28 23:38:29 +02:00
|
|
|
|
|
|
|
|
|
(define-public perl-crypt-openssl-rsa
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-rsa")
|
2018-05-03 16:27:51 +02:00
|
|
|
|
(version "0.30")
|
2016-07-28 23:38:29 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-05-03 16:27:51 +02:00
|
|
|
|
"mirror://cpan/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-"
|
2016-07-28 23:38:29 +02:00
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-03 16:27:51 +02:00
|
|
|
|
"1b19kaaw4wda8dy6kjiwqa2prpbs2dqcyjyj9zdh5wbs74qkbq93"))))
|
2016-07-28 23:38:29 +02:00
|
|
|
|
(build-system perl-build-system)
|
2018-05-03 16:27:51 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-crypt-openssl-guess" ,perl-crypt-openssl-guess)))
|
2016-07-28 23:38:29 +02:00
|
|
|
|
(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).")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2016-07-28 23:38:30 +02: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")
|
2017-11-25 22:01:31 +01:00
|
|
|
|
(version "0.09")
|
2016-07-28 23:38:30 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-25 22:01:31 +01:00
|
|
|
|
"1p22znbajq91lbk2k3yg12ig7hy5b4vy8igxwqkmbm4nhgxp4ki3"))))
|
2016-07-28 23:38:30 +02:00
|
|
|
|
(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
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2016-07-28 23:38:33 +02:00
|
|
|
|
|
2018-04-16 20:23:10 +02:00
|
|
|
|
(define-public perl-crypt-openssl-guess
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-guess")
|
|
|
|
|
(version "0.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rvi9l4ljcbhwwvspq019nfq2h2v746dk355h2nwnlmqikiihsxa"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Crypt-OpenSSL-Guess/")
|
|
|
|
|
(synopsis "Guess the OpenSSL include path")
|
|
|
|
|
(description
|
|
|
|
|
"The Crypt::OpenSSL::Guess Perl module provides helpers to guess the
|
|
|
|
|
correct OpenSSL include path. It is intended for use in your
|
|
|
|
|
@file{Makefile.PL}.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2016-07-28 23:38:33 +02:00
|
|
|
|
(define-public perl-crypt-openssl-random
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-random")
|
2018-04-16 20:25:37 +02:00
|
|
|
|
(version "0.13")
|
2016-07-28 23:38:33 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-16 20:25:37 +02:00
|
|
|
|
"0vmvrb3shrzjzri3qn524dzdasbq8zhhbpc1vmq8sx68n4jhizb0"))))
|
2016-07-28 23:38:33 +02:00
|
|
|
|
(build-system perl-build-system)
|
2018-04-16 20:25:37 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-crypt-openssl-guess" ,perl-crypt-openssl-guess)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
2016-07-28 23:38:33 +02:00
|
|
|
|
(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")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2016-07-10 19:35:13 +02:00
|
|
|
|
|
|
|
|
|
(define-public acme-client
|
|
|
|
|
(package
|
|
|
|
|
(name "acme-client")
|
2017-02-01 20:13:34 +01:00
|
|
|
|
(version "0.1.16")
|
2016-07-10 19:35:13 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://kristaps.bsd.lv/" name "/"
|
|
|
|
|
"snapshots/" name "-portable-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-01 20:13:34 +01:00
|
|
|
|
"00q05b3b1dfnfp7sr1nbd212n0mqrycl3cr9lbs51m7ncaihbrz9"))))
|
2016-07-10 19:35:13 +02: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-13 03:04:43 +01: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 19:35:13 +02:00
|
|
|
|
(delete 'configure)))) ; no './configure' script
|
2016-12-04 04:36:10 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-07-10 19:35:13 +02: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))))
|
2017-02-14 20:09:34 +01:00
|
|
|
|
|
|
|
|
|
;; The "-apache" variant is the upstreamed prefered variant. A "-gpl"
|
|
|
|
|
;; variant exists in addition to the "-apache" one.
|
|
|
|
|
(define-public mbedtls-apache
|
|
|
|
|
(package
|
|
|
|
|
(name "mbedtls-apache")
|
2018-06-23 15:04:01 +02:00
|
|
|
|
(version "2.7.4")
|
2017-02-14 20:09:34 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; XXX: The download links on the website are script redirection links
|
|
|
|
|
;; which effectively lead to the format listed in the uri here.
|
|
|
|
|
(uri (string-append "https://tls.mbed.org/download/mbedtls-"
|
|
|
|
|
version "-apache.tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-23 15:04:01 +02:00
|
|
|
|
"1x9qia3rd77brz6qiv46w3ham2q78shn2rsz1jbpgqq0jpa69q9l"))))
|
2017-02-14 20:09:34 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2017-12-04 12:39:37 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DUSE_SHARED_MBEDTLS_LIBRARY=ON")))
|
2017-02-14 20:09:34 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(synopsis "Small TLS library")
|
|
|
|
|
(description
|
|
|
|
|
"@code{mbed TLS}, formerly known as PolarSSL, makes it trivially easy
|
|
|
|
|
for developers to include cryptographic and SSL/TLS capabilities in their
|
|
|
|
|
(embedded) products, facilitating this functionality with a minimal
|
|
|
|
|
coding footprint.")
|
|
|
|
|
(home-page "https://tls.mbed.org")
|
|
|
|
|
(license license:asl2.0)))
|
2017-11-13 18:40:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public ghc-tls
|
|
|
|
|
(package
|
|
|
|
|
(name "ghc-tls")
|
|
|
|
|
(version "1.3.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://hackage.haskell.org/package/"
|
|
|
|
|
"tls/tls-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1rdidf18i781c0vdvy9yn79yh08hmcacf6fp3sgghyiy3h0wyh5l"))))
|
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ghc-mtl" ,ghc-mtl)
|
|
|
|
|
("ghc-cereal" ,ghc-cereal)
|
|
|
|
|
("ghc-data-default-class" ,ghc-data-default-class)
|
|
|
|
|
("ghc-memory" ,ghc-memory)
|
|
|
|
|
("ghc-cryptonite" ,ghc-cryptonite)
|
|
|
|
|
("ghc-asn1-types" ,ghc-asn1-types)
|
|
|
|
|
("ghc-asn1-encoding" ,ghc-asn1-encoding)
|
|
|
|
|
("ghc-x509" ,ghc-x509)
|
|
|
|
|
("ghc-x509-store" ,ghc-x509-store)
|
|
|
|
|
("ghc-x509-validation" ,ghc-x509-validation)
|
|
|
|
|
("ghc-async" ,ghc-async)
|
|
|
|
|
("ghc-network" ,ghc-network)
|
|
|
|
|
("ghc-hourglass" ,ghc-hourglass)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("ghc-tasty" ,ghc-tasty)
|
|
|
|
|
("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
|
|
|
|
|
("ghc-quickcheck" ,ghc-quickcheck)))
|
|
|
|
|
(home-page "https://github.com/vincenthz/hs-tls")
|
|
|
|
|
(synopsis
|
|
|
|
|
"TLS/SSL protocol native implementation (Server and Client)")
|
|
|
|
|
(description
|
|
|
|
|
"Native Haskell TLS and SSL protocol implementation for server and client.
|
|
|
|
|
This provides a high-level implementation of a sensitive security protocol,
|
|
|
|
|
eliminating a common set of security issues through the use of the advanced
|
|
|
|
|
type system, high level constructions and common Haskell features. Currently
|
|
|
|
|
implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
|
|
|
|
|
Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
|
|
|
|
|
extensions.")
|
|
|
|
|
(license license:bsd-3)))
|
2018-06-15 03:00:25 +02:00
|
|
|
|
|
|
|
|
|
(define-public dehydrated
|
|
|
|
|
(package
|
|
|
|
|
(name "dehydrated")
|
|
|
|
|
(version "0.6.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch/tarbomb)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/lukas2511/dehydrated/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"03p80yj6bnzjc6dkp5hb9wpplmlrla8n5src71cnzw4rj53q8cqn"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(bash (in-vicinity (assoc-ref %build-inputs "bash") "bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(copy-file
|
|
|
|
|
(in-vicinity source (string-append "/dehydrated-" ,version
|
|
|
|
|
"/dehydrated"))
|
|
|
|
|
(in-vicinity bin "dehydrated"))
|
|
|
|
|
(patch-shebang "dehydrated" (list bash))
|
|
|
|
|
|
|
|
|
|
;; Do not try to write in the store.
|
|
|
|
|
(substitute* "dehydrated"
|
|
|
|
|
(("SCRIPTDIR=\"\\$.*\"") "SCRIPTDIR=~/.dehydrated"))
|
|
|
|
|
|
|
|
|
|
(setenv "PATH" bash)
|
|
|
|
|
(wrap-program "dehydrated"
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
,(map (lambda (dir)
|
|
|
|
|
(string-append dir "/bin"))
|
|
|
|
|
(map (lambda (input)
|
|
|
|
|
(assoc-ref %build-inputs input))
|
|
|
|
|
'("coreutils"
|
|
|
|
|
"curl"
|
|
|
|
|
"diffutils"
|
|
|
|
|
"gawk"
|
|
|
|
|
"grep"
|
|
|
|
|
"openssl"
|
|
|
|
|
"sed"))))))
|
|
|
|
|
#t))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("coreutils" ,coreutils)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("diffutils" ,diffutils)
|
|
|
|
|
("gawk" ,gawk)
|
|
|
|
|
("grep" ,grep)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("sed" ,sed)))
|
|
|
|
|
(home-page "https://dehydrated.io/")
|
|
|
|
|
(synopsis "Let's Encrypt/ACME client implemented as a shell script")
|
|
|
|
|
(description "Dehydrated is a client for signing certificates with an
|
|
|
|
|
ACME-server (currently only provided by Let's Encrypt) implemented as a
|
|
|
|
|
relatively simple Bash script.")
|
|
|
|
|
(license license:expat)))
|