2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2024-06-11 17:06:57 -04:00
|
|
|
|
;;; Copyright © 2012-2017, 2019-2024 Ludovic Courtès <ludo@gnu.org>
|
2021-03-13 03:41:14 -05:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 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>
|
2021-07-13 18:50:33 -04:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
|
2024-01-02 02:27:34 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2019, 2021-2024 Efraim Flashner <efraim@flashner.co.il>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 07:05:45 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
|
2016-09-01 11:16:12 -04:00
|
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2017-05-30 14:30:35 -04:00
|
|
|
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
2022-01-30 10:27:48 -05:00
|
|
|
|
;;; Copyright © 2017-2022 Marius Bakke <marius@gnu.org>
|
2020-03-14 20:25:56 -04:00
|
|
|
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-11-27 13:57:53 -05:00
|
|
|
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
2018-06-14 21:00:25 -04:00
|
|
|
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
2019-07-02 05:42:12 -04:00
|
|
|
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2023-06-17 07:51:05 -04:00
|
|
|
|
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
2024-01-05 13:12:31 -05:00
|
|
|
|
;;; Copyright © 2020, 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-05-28 13:05:23 -04:00
|
|
|
|
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
|
2021-06-11 17:14:47 -04:00
|
|
|
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
2021-07-14 07:12:59 -04:00
|
|
|
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
2021-06-21 07:36:16 -04:00
|
|
|
|
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
|
2021-10-08 14:15:13 -04:00
|
|
|
|
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
|
2022-04-22 13:28:04 -04:00
|
|
|
|
;;; Copyright © 2022 Greg Hogan <code@greghogan.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:)
|
2023-02-25 13:44:12 -05:00
|
|
|
|
#:use-module (guix deprecation)
|
2012-11-13 15:44:57 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2019-07-16 11:35:31 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2014-10-18 22:03:42 -04:00
|
|
|
|
#:use-module (guix utils)
|
2021-07-14 07:12:58 -04:00
|
|
|
|
#:use-module (guix gexp)
|
2012-11-13 15:44:57 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2019-07-16 11:35:31 -04:00
|
|
|
|
#:use-module (guix build-system go)
|
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)
|
2017-02-14 14:09:34 -05:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2018-06-14 21:00:25 -04:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2023-01-06 17:48:21 -05:00
|
|
|
|
#:use-module (guix build-system meson)
|
2022-05-07 04:37:32 -04:00
|
|
|
|
#:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE))
|
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)
|
2021-07-13 18:50:33 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2018-06-14 21:00:25 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2022-12-27 21:20:54 -05:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
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 15:42:23 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-06-14 21:00:25 -04:00
|
|
|
|
#:use-module (gnu packages curl)
|
2017-08-21 05:28:51 -04:00
|
|
|
|
#:use-module (gnu packages dns)
|
2018-06-14 21:00:25 -04:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2021-10-04 10:55:49 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
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)
|
2022-10-18 04:45:41 -04:00
|
|
|
|
#:use-module (gnu packages libunistring)
|
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)
|
2020-09-25 08:48:45 -04:00
|
|
|
|
#:use-module (gnu packages networking)
|
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)
|
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 08:10:30 -05: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 17:24:11 -05:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 16:56:54 -04:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2013-12-11 17:05:12 -05: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 05:58:44 -05:00
|
|
|
|
#:use-module (gnu packages time)
|
2022-12-27 21:20:54 -05:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2017-01-20 15:35:51 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
2024-05-16 11:06:04 -04:00
|
|
|
|
#:use-module (srfi srfi-1)
|
|
|
|
|
#:use-module (srfi srfi-34)
|
|
|
|
|
#:use-module (srfi srfi-35))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
|
|
|
|
|
(define-public libtasn1
|
|
|
|
|
(package
|
|
|
|
|
(name "libtasn1")
|
2022-08-29 07:02:48 -04:00
|
|
|
|
(version "4.19.0")
|
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
|
2022-08-29 07:02:48 -04:00
|
|
|
|
"0yizlr2y6gfjh86v68qw5wjcfg16arnw1f731kndd17l3jng04qn"))))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2018-07-30 10:33:50 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-static")))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list perl))
|
2017-03-29 18:48:16 -04: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 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")
|
2017-05-24 16:32:09 -04:00
|
|
|
|
(version "0.9.28")
|
2016-09-01 11:16:12 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://lionet.info/soft/asn1c-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-24 16:32:09 -04:00
|
|
|
|
"1fc64g45ykmv73kdndr4zdm4wxhimhrir4rxnygxvwkych5l81w0"))))
|
2016-09-01 11:16:12 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl))
|
2016-09-01 11:16:12 -04:00
|
|
|
|
(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")
|
2022-06-26 13:44:29 -04:00
|
|
|
|
(version "0.24.1")
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2022-06-22 16:07:19 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/p11-glue/p11-kit/releases/"
|
|
|
|
|
"download/" version "/p11-kit-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2022-06-26 13:44:29 -04:00
|
|
|
|
(base32 "1y5fm9gwhkh902r26p90qf1g2h1ziqrk4hgf9i9sxm2wzlz7ignq"))))
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2022-06-22 16:07:19 -04:00
|
|
|
|
(append (list pkg-config)
|
2023-06-17 07:51:05 -04:00
|
|
|
|
(if (target-hurd?)
|
2022-06-22 16:07:19 -04:00
|
|
|
|
(list autoconf automake gettext-minimal libtool)
|
|
|
|
|
'())))
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(inputs
|
2022-06-22 16:07:19 -04:00
|
|
|
|
(append (list libffi libtasn1)
|
2023-06-17 07:51:05 -04:00
|
|
|
|
(if (target-hurd?)
|
2022-06-22 16:07:19 -04:00
|
|
|
|
(list libbsd)
|
|
|
|
|
'())))
|
2015-02-08 10:23:44 -05:00
|
|
|
|
(arguments
|
2022-06-26 13:44:29 -04:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
;; Use the default certificates so that users such as flatpak
|
|
|
|
|
;; find them. See <https://issues.guix.gnu.org/49957>.
|
|
|
|
|
#~'("--with-trust-paths=/etc/ssl/certs/ca-certificates.crt")
|
2022-06-22 16:07:19 -04:00
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
2023-06-17 07:51:05 -04:00
|
|
|
|
#$@(if (target-hurd?)
|
2022-06-22 16:07:19 -04:00
|
|
|
|
#~((add-after 'unpack 'apply-hurd-patch
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(define patch
|
|
|
|
|
#$(local-file
|
|
|
|
|
(search-patch "p11-kit-hurd.patch")))
|
|
|
|
|
(invoke "patch" "-p1" "--batch" "-i"
|
|
|
|
|
patch)))
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "autoreconf" "-fiv"))))
|
|
|
|
|
#~())
|
|
|
|
|
(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\\)") "")))))))
|
2021-10-25 15:03:15 -04:00
|
|
|
|
(home-page "https://p11-glue.github.io/p11-glue/p11-kit.html")
|
2015-02-08 10:23:44 -05: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 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")
|
2023-12-20 10:52:32 -05:00
|
|
|
|
(version "3.8.3")
|
2013-01-18 10:54:41 -05:00
|
|
|
|
(source (origin
|
2020-12-08 05:12:14 -05:00
|
|
|
|
(method url-fetch)
|
2013-01-18 10:54:41 -05:00
|
|
|
|
;; Note: Releases are no longer on ftp.gnu.org since the
|
|
|
|
|
;; schism (after version 3.1.5).
|
2020-12-08 05:12:14 -05:00
|
|
|
|
(uri (string-append "mirror://gnupg/gnutls/v"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/gnutls-" version ".tar.xz"))
|
2023-12-20 10:52:32 -05:00
|
|
|
|
(patches (search-patches "gnutls-skip-trust-store-test.patch"))
|
2020-12-08 05:12:14 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-12-20 10:52:32 -05:00
|
|
|
|
"0ghpyhhfa3nsraph6dws50jb3dc8g2cfl7dizdnyrm179fawakzp"))))
|
2012-11-13 15:44:57 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2014-10-26 15:11:24 -04:00
|
|
|
|
(arguments
|
2022-06-22 16:24:24 -04:00
|
|
|
|
(list #:tests? (not (or (%current-target-system)
|
2023-06-17 07:51:05 -04:00
|
|
|
|
(target-hurd?)))
|
2022-06-22 16:24:24 -04:00
|
|
|
|
;; Ensure we don't keep a reference to the tools used for testing.
|
2023-06-17 07:51:05 -04:00
|
|
|
|
#:disallowed-references (if (target-hurd?)
|
2022-06-22 16:24:24 -04:00
|
|
|
|
'()
|
|
|
|
|
(list net-tools iproute socat))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(cons*
|
|
|
|
|
;; 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
|
|
|
|
|
;; places in the file system, none of which are present in our
|
|
|
|
|
;; 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.
|
|
|
|
|
"--with-default-trust-store-dir=/etc/ssl/certs"
|
2015-04-12 16:18:12 -04:00
|
|
|
|
|
2022-06-22 16:24:24 -04:00
|
|
|
|
(let ((system #$(or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(if (string-prefix? "mips64el" system)
|
|
|
|
|
(list
|
|
|
|
|
;; FIXME: Temporarily disable p11-kit support since it is
|
|
|
|
|
;; not working on mips64el.
|
|
|
|
|
"--without-p11-kit")
|
|
|
|
|
'())))
|
2015-06-27 16:18:08 -04:00
|
|
|
|
|
2022-06-22 16:24:24 -04:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; fastopen.sh fails to connect to the server in the builder
|
|
|
|
|
;; environment (see:
|
|
|
|
|
;; https://gitlab.com/gnutls/gnutls/-/issues/1095).
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/fastopen.sh"
|
|
|
|
|
(("^unset RETCODE")
|
2023-04-25 16:32:17 -04:00
|
|
|
|
"exit 77\n")))) ;skip
|
|
|
|
|
#$@(if (target-ppc32?)
|
|
|
|
|
;; https://gitlab.com/gnutls/gnutls/-/issues/1354
|
|
|
|
|
;; Extend the test timeout from the default of 20 * 1000
|
|
|
|
|
#~((add-after 'unpack 'increase-test-timeout
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "GNUTLS_TEST_TIMEOUT" "60000"))))
|
|
|
|
|
#~())
|
2022-06-22 16:24:24 -04:00
|
|
|
|
(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"))
|
|
|
|
|
(mandir (string-append doc "/share/man/man3"))
|
|
|
|
|
(oldman (string-append out "/share/man/man3")))
|
|
|
|
|
(mkdir-p mandir)
|
|
|
|
|
(copy-recursively oldman mandir)
|
|
|
|
|
(delete-file-recursively oldman)))))))
|
2023-04-18 12:59:59 -04:00
|
|
|
|
(outputs '("out" ;4.4 MiB
|
2015-06-27 16:18:08 -04:00
|
|
|
|
"debug"
|
2023-04-18 12:59:59 -04:00
|
|
|
|
"doc")) ;4.1 MiB of man pages
|
2013-06-05 04:38:27 -04:00
|
|
|
|
(native-inputs
|
2022-06-22 16:24:24 -04:00
|
|
|
|
(append (list pkg-config texinfo which
|
2023-04-18 12:59:59 -04:00
|
|
|
|
util-linux) ;one test needs 'setsid'
|
2023-06-17 07:51:05 -04:00
|
|
|
|
(if (target-hurd?)
|
2022-06-22 16:24:24 -04:00
|
|
|
|
'()
|
|
|
|
|
(list net-tools
|
2023-04-18 12:59:59 -04:00
|
|
|
|
iproute ;for 'ss'
|
|
|
|
|
socat ;several tests rely on it
|
|
|
|
|
datefudge)))) ;tests rely on 'datefudge'
|
2023-02-25 13:39:39 -05:00
|
|
|
|
(inputs (list libunistring))
|
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.
|
2022-06-22 16:24:24 -04:00
|
|
|
|
(append (list libtasn1 libidn2 nettle zlib)
|
|
|
|
|
(let ((system (or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(if (string-prefix? "mips64el" system)
|
|
|
|
|
'()
|
|
|
|
|
(list p11-kit)))))
|
2023-12-20 10:52:32 -05:00
|
|
|
|
(home-page "https://gnutls.org")
|
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
|
2021-03-28 08:28:41 -04:00
|
|
|
|
protocols, as well as to parse and write X.509, PKCS #12, OpenPGP and other
|
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
|
|
|
|
required structures.")
|
2016-04-14 16:18:56 -04:00
|
|
|
|
(license license:lgpl2.1+)
|
2023-12-20 10:52:32 -05:00
|
|
|
|
(properties
|
|
|
|
|
'((release-monitoring-url . "https://gnutls.org/download.html")))))
|
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
|
|
|
|
|
2023-02-25 13:44:12 -05:00
|
|
|
|
(define-deprecated/public-alias gnutls-latest gnutls)
|
2022-08-01 05:17:40 -04:00
|
|
|
|
|
2017-08-21 05:28:51 -04: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.
|
2020-04-06 13:39:19 -04:00
|
|
|
|
(package/inherit gnutls
|
2017-08-21 05:28:51 -04:00
|
|
|
|
(name "gnutls-dane")
|
2022-06-22 16:24:24 -04:00
|
|
|
|
(inputs (modify-inputs (package-inputs gnutls)
|
|
|
|
|
(prepend unbound)))))
|
2017-08-21 05:28:51 -04:00
|
|
|
|
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(define-public guile-gnutls
|
|
|
|
|
(package
|
|
|
|
|
;; This package supersedes the Guile bindings that came with GnuTLS until
|
|
|
|
|
;; version 3.7.8 included.
|
|
|
|
|
(name "guile-gnutls")
|
2024-04-29 05:29:20 -04:00
|
|
|
|
(version "4.0.0")
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(home-page "https://gitlab.com/gnutls/guile/")
|
|
|
|
|
(source (origin
|
2023-05-09 07:10:24 -04:00
|
|
|
|
;; url-fetch is used here to avoid a circular dependency with
|
|
|
|
|
;; git-download, see https://issues.guix.gnu.org/63331
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://gitlab.com/gnutls/guile/uploads/"
|
2024-04-29 05:29:20 -04:00
|
|
|
|
"9060bc55069cedb40ab46cea49b439c0"
|
2023-05-09 07:10:24 -04:00
|
|
|
|
"/guile-gnutls-" version ".tar.gz"))
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-04-29 05:29:20 -04:00
|
|
|
|
"0fdjmy9vfjwk2v616nan1zz6iy9i086vrh5mdcsfqxi00ckbjk2v"))))
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-12-27 21:20:54 -05:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
;; Tell the build system that we want Guile bindings installed to the
|
|
|
|
|
;; output instead of Guiles own module directory.
|
|
|
|
|
#~(list "--disable-static"
|
|
|
|
|
(string-append "--with-guile-site-dir="
|
|
|
|
|
"$(datarootdir)/guile/site/$(GUILE_EFFECTIVE_VERSION)")
|
|
|
|
|
(string-append "--with-guile-site-ccache-dir="
|
|
|
|
|
"$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache")
|
|
|
|
|
(string-append "--with-guile-extension-dir="
|
2023-12-20 13:00:15 -05:00
|
|
|
|
"$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/extensions"))
|
|
|
|
|
|
|
|
|
|
;; The 'gnutls' package currently lacks support for SRP, making this
|
|
|
|
|
;; test fail.
|
|
|
|
|
#:make-flags #~'("XFAIL_TESTS=tests/srp-base64.scm")))
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(native-inputs
|
2023-05-09 07:10:24 -04:00
|
|
|
|
(list libtool
|
2022-10-17 15:50:38 -04:00
|
|
|
|
pkg-config
|
|
|
|
|
texinfo
|
2023-02-25 13:44:12 -05:00
|
|
|
|
gnutls
|
2023-05-09 07:10:24 -04:00
|
|
|
|
guile-3.0)) ;XXX: 'guile-snarf' invokes the native 'cpp'
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(inputs
|
2023-02-25 13:44:12 -05:00
|
|
|
|
(list gnutls
|
2022-10-18 08:17:42 -04:00
|
|
|
|
guile-3.0))
|
2022-12-13 05:32:52 -05:00
|
|
|
|
(properties '((release-tag-prefix . "v")
|
|
|
|
|
(release-tag-version-delimiter . ".")))
|
2022-10-17 15:50:38 -04:00
|
|
|
|
(synopsis "Guile bindings to GnuTLS")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to GnuTLS, a library implementation
|
|
|
|
|
the @acronym{TLS, Transport-Layer Security} protocol. It supersedes the Guile
|
|
|
|
|
bindings that were formerly provided as part of GnuTLS.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2023-02-25 13:39:39 -05:00
|
|
|
|
(define-public guile2.2-gnutls
|
|
|
|
|
(package/inherit guile-gnutls
|
|
|
|
|
(name "guile2.2-gnutls")
|
|
|
|
|
(native-inputs
|
|
|
|
|
(modify-inputs (package-native-inputs guile-gnutls)
|
|
|
|
|
(replace "guile" guile-2.2)))
|
|
|
|
|
(inputs
|
|
|
|
|
(modify-inputs (package-inputs guile-gnutls)
|
|
|
|
|
(replace "guile" guile-2.2)))))
|
|
|
|
|
|
2024-05-16 11:06:04 -04:00
|
|
|
|
(define (target->openssl-target pkg target)
|
2021-07-14 07:13:02 -04:00
|
|
|
|
"Return the value to set CONFIGURE_TARGET_ARCH to when cross-compiling
|
|
|
|
|
OpenSSL for TARGET."
|
|
|
|
|
;; Keep this code outside the build code,
|
|
|
|
|
;; such that new targets can be added
|
|
|
|
|
;; without causing rebuilds for other targets.
|
2023-12-12 06:56:57 -05:00
|
|
|
|
(if (target-mingw? target)
|
|
|
|
|
(string-append
|
2022-07-19 14:09:14 -04:00
|
|
|
|
"mingw"
|
|
|
|
|
(if (target-x86-64? target)
|
|
|
|
|
"64"
|
2023-12-12 06:56:57 -05:00
|
|
|
|
""))
|
2022-07-19 14:09:14 -04:00
|
|
|
|
(let ((kernel
|
|
|
|
|
(cond ((target-hurd? target)
|
|
|
|
|
"hurd")
|
2023-04-18 04:53:16 -04:00
|
|
|
|
((and (target-linux? target)
|
|
|
|
|
(target-riscv64? target))
|
|
|
|
|
"linux64")
|
2022-07-19 14:09:14 -04:00
|
|
|
|
((target-linux? target)
|
|
|
|
|
"linux")
|
|
|
|
|
(else
|
2024-05-16 11:06:04 -04:00
|
|
|
|
(raise (condition
|
|
|
|
|
(&package-unsupported-target-error
|
|
|
|
|
(package pkg)
|
|
|
|
|
(target target)))))))
|
2022-07-19 14:09:14 -04:00
|
|
|
|
(arch
|
|
|
|
|
(cond
|
|
|
|
|
((target-x86-32? target)
|
|
|
|
|
"x86")
|
2024-01-02 02:27:34 -05:00
|
|
|
|
((target-x32? target)
|
|
|
|
|
"x32")
|
2022-07-19 14:09:14 -04:00
|
|
|
|
((target-x86-64? target)
|
|
|
|
|
"x86_64")
|
|
|
|
|
((target-mips64el? target)
|
|
|
|
|
"mips64")
|
|
|
|
|
((target-arm32? target)
|
|
|
|
|
"armv4")
|
|
|
|
|
((target-aarch64? target)
|
|
|
|
|
"aarch64")
|
|
|
|
|
((target-ppc64le? target)
|
|
|
|
|
"ppc64le")
|
|
|
|
|
((target-ppc32? target)
|
|
|
|
|
"ppc")
|
|
|
|
|
((and (target-powerpc? target)
|
|
|
|
|
(target-64bit? target))
|
|
|
|
|
"ppc64")
|
2023-04-18 04:53:16 -04:00
|
|
|
|
((target-riscv64? target)
|
|
|
|
|
"riscv64")
|
2022-07-19 14:09:14 -04:00
|
|
|
|
((target-64bit? target)
|
|
|
|
|
"generic64")
|
|
|
|
|
(else
|
2024-05-16 11:06:04 -04:00
|
|
|
|
(raise (condition
|
|
|
|
|
(&package-unsupported-target-error
|
|
|
|
|
(package pkg)
|
|
|
|
|
(target target))))))))
|
2023-12-12 06:56:57 -05:00
|
|
|
|
(string-append kernel "-" arch))))
|
2021-07-14 07:13:02 -04:00
|
|
|
|
|
2022-08-30 12:40:03 -04:00
|
|
|
|
(define-public openssl-1.1
|
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
|
|
|
|
(package
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(name "openssl")
|
2023-12-20 13:02:57 -05:00
|
|
|
|
(version "1.1.1u")
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/"
|
|
|
|
|
"openssl-" version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/old/"
|
|
|
|
|
(string-trim-right version char-set:letter)
|
|
|
|
|
"/openssl-" version ".tar.gz")))
|
|
|
|
|
(patches (search-patches "openssl-1.1-c-rehash-in.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-12-20 13:02:57 -05:00
|
|
|
|
"1ipbcdlqyxbj5lagasrq2p6gn0036wq6hqp7gdnd1v1ya95xiy72"))))
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out"
|
2021-10-15 00:38:40 -04:00
|
|
|
|
"doc" ;6.8 MiB of man3 pages and full HTML documentation
|
|
|
|
|
"static")) ;6.4 MiB of .a files
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list perl))
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(arguments
|
2023-02-25 23:51:51 -05:00
|
|
|
|
(list
|
|
|
|
|
#:parallel-tests? #f
|
2023-02-26 23:36:53 -05:00
|
|
|
|
#:make-flags
|
|
|
|
|
;; 'test_ssl_new.t' in 1.1.1n and 3.0.3 fails due to an expired
|
|
|
|
|
;; certificate: <https://github.com/openssl/openssl/issues/18441>. Skip
|
|
|
|
|
;; it.
|
|
|
|
|
#~(list #$@(if (or (target-arm?) (target-riscv64?))
|
|
|
|
|
;; 'test_afalg' seems to be dependent on kernel features:
|
|
|
|
|
;; <https://github.com/openssl/openssl/issues/12242>.
|
|
|
|
|
#~("TESTS=-test_afalg -tls_ssl_new")
|
|
|
|
|
#~("TESTS=-test_ssl_new")))
|
2023-02-25 23:51:51 -05:00
|
|
|
|
#:test-target "test"
|
|
|
|
|
;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the closure,
|
|
|
|
|
;; so we explicitly disallow it here.
|
|
|
|
|
#:disallowed-references (list (canonical-package perl))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
#$@(if (%current-target-system)
|
|
|
|
|
#~((add-before 'configure 'set-cross-compile
|
|
|
|
|
(lambda* (#:key target #:allow-other-keys)
|
|
|
|
|
(setenv "CROSS_COMPILE" (string-append target "-"))
|
|
|
|
|
(setenv "CONFIGURE_TARGET_ARCH"
|
|
|
|
|
#$(target->openssl-target
|
2024-05-16 11:06:04 -04:00
|
|
|
|
this-package
|
2023-02-25 23:51:51 -05:00
|
|
|
|
(%current-target-system))))))
|
|
|
|
|
#~())
|
2023-06-11 14:47:14 -04:00
|
|
|
|
#$@(if (target-hurd?)
|
|
|
|
|
#~((add-after 'unpack 'patch-configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "config"
|
|
|
|
|
(("case \"\\$GUESSOS\" in.*" all)
|
|
|
|
|
(string-append all "hurd-x86*) OUT=hurd-x86;;\n"))))))
|
|
|
|
|
#~())
|
2023-02-25 23:51:51 -05:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key configure-flags #:allow-other-keys)
|
|
|
|
|
;; It's not a shebang so patch-source-shebangs misses it.
|
|
|
|
|
(substitute* "config"
|
|
|
|
|
(("/usr/bin/env")
|
|
|
|
|
(which "env")))
|
|
|
|
|
(apply
|
|
|
|
|
invoke #$@(if (%current-target-system)
|
|
|
|
|
#~("./Configure")
|
|
|
|
|
#~("./config"))
|
|
|
|
|
"shared" ;build shared libraries
|
|
|
|
|
"--libdir=lib"
|
2015-09-09 12:17:38 -04:00
|
|
|
|
|
2023-02-25 23:51:51 -05:00
|
|
|
|
;; The default for this catch-all directory is
|
|
|
|
|
;; PREFIX/ssl. Change that to something more
|
|
|
|
|
;; conventional.
|
|
|
|
|
(string-append "--openssldir=" #$output
|
|
|
|
|
"/share/openssl-"
|
|
|
|
|
#$(package-version this-package))
|
2015-09-09 12:17:38 -04:00
|
|
|
|
|
2023-02-25 23:51:51 -05:00
|
|
|
|
(string-append "--prefix=" #$output)
|
|
|
|
|
(string-append "-Wl,-rpath," (string-append #$output "/lib"))
|
|
|
|
|
#$@(if (%current-target-system)
|
|
|
|
|
#~((getenv "CONFIGURE_TARGET_ARCH"))
|
|
|
|
|
#~())
|
|
|
|
|
configure-flags)
|
|
|
|
|
;; Output the configure variables.
|
|
|
|
|
(invoke "perl" "configdata.pm" "--dump")))
|
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Move static libraries to the "static" output.
|
|
|
|
|
(let* ((lib (string-append #$output "/lib"))
|
|
|
|
|
(slib (string-append #$output:static "/lib")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file slib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files
|
|
|
|
|
lib
|
|
|
|
|
#$(if (target-mingw?)
|
|
|
|
|
'(lambda (filename _)
|
|
|
|
|
(and (string-suffix? ".a" filename)
|
|
|
|
|
(not (string-suffix? ".dll.a"
|
|
|
|
|
filename))))
|
|
|
|
|
"\\.a$"))))))
|
|
|
|
|
(add-after 'install 'move-extra-documentation
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Move man pages and full HTML documentation to "doc".
|
|
|
|
|
(let* ((man (string-append #$output "/share/man"))
|
|
|
|
|
(html (string-append #$output "/share/doc/openssl"))
|
|
|
|
|
(man-target (string-append #$output:doc "/share/man"))
|
|
|
|
|
(html-target (string-append
|
|
|
|
|
#$output:doc "/share/doc/openssl")))
|
|
|
|
|
(mkdir-p (dirname man-target))
|
|
|
|
|
(mkdir-p (dirname html-target))
|
|
|
|
|
(rename-file man man-target)
|
|
|
|
|
(rename-file html html-target))))
|
|
|
|
|
(add-after 'install 'remove-miscellany
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The 'misc' directory contains random undocumented shell and
|
|
|
|
|
;; Perl scripts. Remove them to avoid retaining a reference on
|
|
|
|
|
;; Perl.
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append #$output "/share/openssl-"
|
|
|
|
|
#$(package-version this-package) "/misc")))))))
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(native-search-paths
|
2022-05-07 04:37:32 -04:00
|
|
|
|
(list $SSL_CERT_DIR $SSL_CERT_FILE))
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(synopsis "SSL/TLS implementation")
|
2023-02-25 23:51:51 -05:00
|
|
|
|
(description "OpenSSL is an implementation of SSL/TLS.")
|
2021-07-14 09:30:54 -04:00
|
|
|
|
(license license:openssl)
|
|
|
|
|
(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 12:27:24 -04:00
|
|
|
|
|
2022-01-30 10:27:48 -05:00
|
|
|
|
(define-public openssl-3.0
|
|
|
|
|
(package
|
2022-08-30 12:40:03 -04:00
|
|
|
|
(inherit openssl-1.1)
|
2023-02-07 15:53:55 -05:00
|
|
|
|
(version "3.0.8")
|
2022-01-30 10:27:48 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/"
|
|
|
|
|
"openssl-" version ".tar.gz")
|
|
|
|
|
(string-append "ftp://ftp.openssl.org/source/old/"
|
|
|
|
|
(string-trim-right version char-set:letter)
|
|
|
|
|
"/openssl-" version ".tar.gz")))
|
|
|
|
|
(patches (search-patches "openssl-3.0-c-rehash-in.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-02-07 15:53:55 -05:00
|
|
|
|
"0gjb7qjl2jnzs1liz3rrccrddxbk6q3lg8z27jn1xwzx72zx44vc"))))
|
2022-01-30 10:27:48 -05:00
|
|
|
|
(arguments
|
2022-08-30 12:40:03 -04:00
|
|
|
|
(substitute-keyword-arguments (package-arguments openssl-1.1)
|
2022-01-30 10:27:48 -05:00
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
#~(modify-phases #$phases
|
|
|
|
|
(add-before 'configure 'configure-perl
|
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
(setenv "HASHBANGPERL"
|
|
|
|
|
(search-input-file (or native-inputs inputs)
|
2023-06-11 14:47:14 -04:00
|
|
|
|
"/bin/perl"))))
|
|
|
|
|
#$@(if (target-hurd?)
|
|
|
|
|
#~((delete 'patch-configure))
|
|
|
|
|
#~())))
|
2023-06-05 10:21:19 -04:00
|
|
|
|
((#:configure-flags flags #~'())
|
|
|
|
|
(if (system-hurd?)
|
|
|
|
|
#~(append #$flags '("hurd-x86")) ;must not be used when
|
|
|
|
|
;cross-compiling!
|
|
|
|
|
flags))))
|
2022-01-30 10:27:48 -05:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-08-30 14:32:00 -04:00
|
|
|
|
(define-public openssl openssl-3.0)
|
2022-08-30 12:40:03 -04:00
|
|
|
|
|
2022-01-18 04:55:29 -05:00
|
|
|
|
(define-public bearssl
|
|
|
|
|
(package
|
|
|
|
|
(name "bearssl")
|
|
|
|
|
(version "0.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.bearssl.org/"
|
|
|
|
|
"bearssl-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"057zhgy9w4y8z2996r0pq5k2k39lpvmmvz4df8db8qa9f6hvn1b7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list #$(string-append "CC=" (cc-for-target))
|
|
|
|
|
#$(string-append "LD=" (cc-for-target))
|
|
|
|
|
#$(string-append "LDDLL=" (cc-for-target)))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(with-directory-excursion "build"
|
|
|
|
|
(invoke "./testcrypto" "all")
|
|
|
|
|
(invoke "./testx509")))))
|
|
|
|
|
(replace 'install ;no install rule
|
|
|
|
|
(lambda _
|
|
|
|
|
(let* ((out #$output)
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc/" #$name "-" #$version))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(install-file "build/brssl" bin)
|
|
|
|
|
(for-each (lambda (f) (install-file f include))
|
|
|
|
|
(find-files "inc" "\\.h$"))
|
|
|
|
|
(install-file "LICENSE.txt" doc)
|
|
|
|
|
(install-file "build/libbearssl.so" lib)))))))
|
|
|
|
|
(home-page "https://bearssl.org/")
|
|
|
|
|
(synopsis "Small SSL/TLS library")
|
|
|
|
|
(description "BearSSL is an implementation of the SSL/TLS
|
|
|
|
|
protocol (RFC 5246) written in C. It aims at being correct and
|
|
|
|
|
secure. In particular, insecure protocol versions and choices of
|
|
|
|
|
algorithms are not supported, by design; cryptographic algorithm
|
|
|
|
|
implementations are constant-time by default. It should also be
|
|
|
|
|
small, both in RAM and code footprint. For instance, a minimal server
|
|
|
|
|
implementation may fit in about 20 kilobytes of compiled code and 25
|
|
|
|
|
kilobytes of RAM.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2015-07-05 13:01:44 -04:00
|
|
|
|
(define-public libressl
|
|
|
|
|
(package
|
|
|
|
|
(name "libressl")
|
2023-08-12 20:00:00 -04:00
|
|
|
|
(version "3.7.3")
|
2017-07-18 19:42:08 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://openbsd/LibreSSL/"
|
2019-10-26 15:54:02 -04:00
|
|
|
|
"libressl-" version ".tar.gz"))
|
2017-07-18 19:42:08 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-08-12 20:00:00 -04:00
|
|
|
|
"1csx6gfgiqr43dw23qj2mr5jbkcd99kqavwb4vbmp0hcm5bchj3r"))))
|
2015-07-05 13:01:44 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2017-04-18 17:39:03 -04:00
|
|
|
|
(arguments
|
2021-06-11 17:14:47 -04:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
;; Do as if 'getentropy' were missing: Linux kernels before 3.17 lack its
|
|
|
|
|
;; underlying 'getrandom' system call and ENOSYS isn't properly handled.
|
|
|
|
|
;; See <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00235.html>.
|
|
|
|
|
"ac_cv_func_getentropy=no"
|
|
|
|
|
;; FIXME It's using it's own bundled certificate, instead it should
|
|
|
|
|
;; behave like OpenSSL by using environment variables.
|
2022-09-06 05:20:46 -04:00
|
|
|
|
(string-append "--with-openssldir=" (assoc-ref %outputs "out")
|
2021-06-11 17:14:47 -04:00
|
|
|
|
"/share/libressl-"
|
|
|
|
|
,(package-version this-package))
|
|
|
|
|
;; Provide a TLS-enabled netcat.
|
2024-06-11 17:06:57 -04:00
|
|
|
|
"--enable-nc")
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
;; 'tests/tlstest.sh' started failing in 2024 due to
|
|
|
|
|
;; an expired test certificate.
|
|
|
|
|
(invoke "datefudge" "2020-01-01"
|
|
|
|
|
"make" "check"
|
|
|
|
|
"-j" (number->string
|
|
|
|
|
(parallel-job-count)))))))))
|
|
|
|
|
(native-inputs (list datefudge))
|
2022-04-01 04:32:23 -04:00
|
|
|
|
(properties
|
|
|
|
|
`((release-monitoring-url . "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/")))
|
2017-05-03 14:58:02 -04:00
|
|
|
|
(home-page "https://www.libressl.org/")
|
2015-07-05 13:01:44 -04:00
|
|
|
|
(synopsis "SSL/TLS implementation")
|
2017-04-27 22:58:58 -04: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 13:01:44 -04: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 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-02-03 09:03:36 -05:00
|
|
|
|
;; Remember to update the hash of certbot when updating python-acme.
|
2023-02-27 21:06:27 -05:00
|
|
|
|
(version "2.3.0")
|
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))
|
2017-09-17 11:39:30 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-02-27 21:06:27 -05:00
|
|
|
|
"1z6293g4pyxvx5w7v07j8wnaxyr7srsqfqvgly888b8k52fq9ipa"))))
|
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
|
2017-04-09 18:26:45 -04:00
|
|
|
|
(add-after 'build 'build-documentation
|
|
|
|
|
(lambda _
|
2018-09-09 16:38:22 -04:00
|
|
|
|
(invoke "make" "-C" "docs" "man" "info")))
|
2017-04-09 18:26:45 -04:00
|
|
|
|
(add-after 'install 'install-documentation
|
2016-02-16 15:11:19 -05: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-09 18:26:45 -04:00
|
|
|
|
(install-file "docs/_build/texinfo/acme-python.info" info)
|
2022-06-14 12:10:03 -04:00
|
|
|
|
(install-file "docs/_build/man/acme-python.1" man))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pytest
|
|
|
|
|
;; For documentation
|
|
|
|
|
python-sphinx
|
|
|
|
|
python-sphinxcontrib-programoutput
|
|
|
|
|
python-sphinx-rtd-theme
|
|
|
|
|
texinfo))
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(propagated-inputs
|
2022-06-14 05:23:18 -04:00
|
|
|
|
(list python-chardet
|
|
|
|
|
python-josepy
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-requests
|
|
|
|
|
python-requests-toolbelt
|
|
|
|
|
python-pytz
|
|
|
|
|
python-pyrfc3339
|
|
|
|
|
python-pyasn1
|
|
|
|
|
python-cryptography
|
|
|
|
|
python-pyopenssl))
|
2018-01-15 01:28:57 -05:00
|
|
|
|
(home-page "https://github.com/certbot/certbot")
|
2015-11-23 23:10:12 -05:00
|
|
|
|
(synopsis "ACME protocol implementation in Python")
|
|
|
|
|
(description "ACME protocol implementation in Python")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
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-02-03 09:03:36 -05: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 10:13:26 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-08-23 19:44:50 -04:00
|
|
|
|
(uri (pypi-uri "certbot" version))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-02-27 21:06:27 -05:00
|
|
|
|
"12nd9nmdj3bf1xlvhj1ln473xbyv4qzxf6qhz0djbca7jl59zlwk"))))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2017-05-06 15:58:16 -04:00
|
|
|
|
`(,@(substitute-keyword-arguments (package-arguments python-acme)
|
2017-04-08 12:45:16 -04:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2017-04-09 18:26:45 -04:00
|
|
|
|
(replace 'install-documentation
|
2017-04-08 12:45:16 -04: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-09 18:26:45 -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)
|
|
|
|
|
#t))))))))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-mock
|
|
|
|
|
python-pytest
|
|
|
|
|
;; For documentation
|
|
|
|
|
python-sphinx
|
|
|
|
|
python-sphinx-rtd-theme
|
|
|
|
|
python-sphinx-repoze-autointerface
|
|
|
|
|
python-sphinxcontrib-programoutput
|
|
|
|
|
texinfo))
|
2015-12-04 10:13:26 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-acme
|
|
|
|
|
python-cryptography
|
|
|
|
|
python-pyrfc3339
|
|
|
|
|
python-pyopenssl
|
|
|
|
|
python-configobj
|
|
|
|
|
python-configargparse
|
|
|
|
|
python-distro
|
|
|
|
|
python-parsedatetime
|
|
|
|
|
python-psutil
|
|
|
|
|
python-requests
|
|
|
|
|
python-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")
|
2022-05-15 15:10:38 -04:00
|
|
|
|
(version "1.92")
|
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
|
|
|
|
|
(method url-fetch)
|
2019-06-30 06:45:52 -04:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/C/CH/CHRISN/"
|
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
|
|
|
|
"Net-SSLeay-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-15 15:10:38 -04:00
|
|
|
|
"1acnjd5180dca26dmjq0b9ib0dbavlrzd6fnf4nidrzj02rz5hj7"))))
|
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)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list 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
|
|
|
|
(arguments
|
2015-07-15 23:43:33 -04: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 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.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-SSLeay")))
|
2016-07-28 17:38:29 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-crypt-openssl-rsa
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-rsa")
|
2023-04-25 09:24:49 -04:00
|
|
|
|
(version "0.33")
|
2016-07-28 17:38:29 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-05-03 10:27:51 -04:00
|
|
|
|
"mirror://cpan/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-"
|
2016-07-28 17:38:29 -04:00
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-25 09:24:49 -04:00
|
|
|
|
"0r6qxx2nyvdsv859zl8vz17ndj1a4xvrknbafhjh6m3gdl7n7gmx"))))
|
2016-07-28 17:38:29 -04:00
|
|
|
|
(build-system perl-build-system)
|
2018-05-03 10:27:51 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl-crypt-openssl-guess))
|
2016-07-28 17:38:29 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl-crypt-openssl-bignum perl-crypt-openssl-random openssl))
|
2016-07-28 17:38:29 -04:00
|
|
|
|
(arguments perl-crypt-arguments)
|
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/Crypt-OpenSSL-RSA")
|
2016-07-28 17:38:29 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
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")
|
2017-11-25 16:01:31 -05:00
|
|
|
|
(version "0.09")
|
2016-07-28 17:38:30 -04: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 16:01:31 -05:00
|
|
|
|
"1p22znbajq91lbk2k3yg12ig7hy5b4vy8igxwqkmbm4nhgxp4ki3"))))
|
2016-07-28 17:38:30 -04:00
|
|
|
|
(build-system perl-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list openssl))
|
2016-07-28 17:38:30 -04:00
|
|
|
|
(arguments perl-crypt-arguments)
|
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/Crypt-OpenSSL-Bignum")
|
2016-07-28 17:38:30 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2016-07-28 17:38:33 -04:00
|
|
|
|
|
2018-04-16 14:23:10 -04: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)
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Crypt-OpenSSL-Guess")
|
2018-04-16 14:23:10 -04:00
|
|
|
|
(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 17:38:33 -04:00
|
|
|
|
(define-public perl-crypt-openssl-random
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-crypt-openssl-random")
|
2019-03-23 09:57:41 -04:00
|
|
|
|
(version "0.15")
|
2016-07-28 17:38:33 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 09:57:41 -04:00
|
|
|
|
(base32 "1x6ffps8q7mnawmcfq740llzy7i10g3319vap0wiw4d33fm6z1zh"))))
|
2016-07-28 17:38:33 -04:00
|
|
|
|
(build-system perl-build-system)
|
2018-04-16 14:25:37 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl-crypt-openssl-guess))
|
2018-04-16 14:25:37 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list openssl))
|
2016-07-28 17:38:33 -04:00
|
|
|
|
(arguments perl-crypt-arguments)
|
|
|
|
|
(home-page
|
2018-08-11 09:53:20 -04:00
|
|
|
|
"https://metacpan.org/release/Crypt-OpenSSL-Random")
|
2016-07-28 17:38:33 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"OpenSSL/LibreSSL pseudo-random number generator access")
|
|
|
|
|
(description "Crypt::OpenSSL::Random is a OpenSSL/LibreSSL pseudo-random
|
|
|
|
|
number generator")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2016-07-10 13:35:13 -04:00
|
|
|
|
|
2023-05-27 07:27:33 -04:00
|
|
|
|
(define-public mbedtls-lts
|
2017-02-14 14:09:34 -05:00
|
|
|
|
(package
|
2023-05-27 07:27:33 -04:00
|
|
|
|
(name "mbedtls")
|
2023-05-27 07:31:17 -04:00
|
|
|
|
(version "2.28.7")
|
2017-02-14 14:09:34 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-07-13 21:06:05 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ARMmbed/mbedtls")
|
|
|
|
|
(commit (string-append "mbedtls-" version))))
|
2021-07-03 20:16:57 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
2022-12-08 05:06:47 -05:00
|
|
|
|
(sha256
|
2023-05-27 07:31:17 -04:00
|
|
|
|
(base32 "070i5pxciw04swfqk1rmdprhsafn4cias3dlmkm467pqpjnhb394"))))
|
2017-02-14 14:09:34 -05:00
|
|
|
|
(build-system cmake-build-system)
|
2017-12-04 06:39:37 -05:00
|
|
|
|
(arguments
|
2023-10-23 20:09:09 -04:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~(list "-DUSE_SHARED_MBEDTLS_LIBRARY=ON"
|
|
|
|
|
"-DUSE_STATIC_MBEDTLS_LIBRARY=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-source-writable
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable (find-files ".")))))))
|
2017-02-14 14:09:34 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl python))
|
2017-02-14 14:09:34 -05:00
|
|
|
|
(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.")
|
2021-07-03 16:05:28 -04:00
|
|
|
|
(home-page "https://www.trustedfirmware.org/projects/mbed-tls/")
|
2023-05-27 07:31:17 -04:00
|
|
|
|
(license (list license:asl2.0 license:gpl2+)))) ;dual licensed
|
2017-11-13 12:40:55 -05:00
|
|
|
|
|
2023-05-27 07:33:20 -04:00
|
|
|
|
(define-public mbedtls
|
|
|
|
|
(package
|
|
|
|
|
(inherit mbedtls-lts)
|
|
|
|
|
(name "mbedtls")
|
|
|
|
|
(version "3.5.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ARMmbed/mbedtls")
|
|
|
|
|
(commit (string-append "mbedtls-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wsjrx98h74q0q4zqwsghiqvjz4aqgvigpxb9f8xjw0w4sfsclcm"))))))
|
|
|
|
|
|
2023-05-27 07:27:33 -04:00
|
|
|
|
(define-public mbedtls-apache
|
|
|
|
|
(deprecated-package "mbedtls-apache" mbedtls-lts))
|
|
|
|
|
|
2018-10-04 11:26:57 -04:00
|
|
|
|
;; The Hiawatha Web server requires some specific features to be enabled.
|
|
|
|
|
(define-public mbedtls-for-hiawatha
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
2023-05-27 07:27:33 -04:00
|
|
|
|
(inherit mbedtls-lts)
|
2018-10-04 11:26:57 -04:00
|
|
|
|
(arguments
|
2023-05-27 07:27:33 -04:00
|
|
|
|
(substitute-keyword-arguments (package-arguments mbedtls-lts)
|
2020-07-13 21:50:47 -04:00
|
|
|
|
((#:phases phases)
|
2023-10-23 19:11:05 -04:00
|
|
|
|
#~(modify-phases #$phases
|
|
|
|
|
(add-before 'configure 'configure-extra-features
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each (lambda (feature)
|
|
|
|
|
(invoke "scripts/config.pl" "set" feature))
|
|
|
|
|
(list "MBEDTLS_THREADING_C"
|
|
|
|
|
"MBEDTLS_THREADING_PTHREAD")))))))))))
|
2018-10-04 11:26:57 -04:00
|
|
|
|
|
2018-06-14 21:00:25 -04:00
|
|
|
|
(define-public dehydrated
|
|
|
|
|
(package
|
|
|
|
|
(name "dehydrated")
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(version "0.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dehydrated-io/dehydrated")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1mhf3v9ynwrxrkqawqpxnwfn5dmrlkqcvkxdrk59nkxjpdx1wkrb"))))
|
2018-06-14 21:00:25 -04:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(list
|
|
|
|
|
#:modules '((guix build utils)
|
2020-03-01 09:17:40 -05:00
|
|
|
|
(srfi srfi-26))
|
2022-10-29 21:00:01 -04:00
|
|
|
|
#:builder
|
|
|
|
|
#~(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
(let* ((source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(gzip (search-input-file %build-inputs "bin/gzip"))
|
|
|
|
|
(bin (string-append #$output "/bin"))
|
|
|
|
|
(doc (string-append #$output "/share/doc/"
|
|
|
|
|
#$name "-" #$version))
|
|
|
|
|
(man (string-append #$output "/share/man"))
|
|
|
|
|
(bash (in-vicinity (assoc-ref %build-inputs "bash") "bin")))
|
2019-03-04 14:52:38 -05:00
|
|
|
|
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(chdir source)
|
2019-03-04 14:52:38 -05:00
|
|
|
|
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(copy-recursively "docs" doc)
|
|
|
|
|
(install-file "LICENSE" doc)
|
2020-03-01 09:17:40 -05:00
|
|
|
|
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(mkdir-p man)
|
|
|
|
|
(rename-file (string-append doc "/man")
|
|
|
|
|
(string-append man "/man1"))
|
|
|
|
|
(for-each (cut invoke gzip "-9n" <>)
|
|
|
|
|
(find-files man ".*"))
|
2020-03-01 09:17:40 -05:00
|
|
|
|
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(install-file "dehydrated" bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(patch-shebang "dehydrated" (list bash))
|
2018-06-14 21:00:25 -04:00
|
|
|
|
|
2022-10-29 21:00:01 -04:00
|
|
|
|
;; Do not try to write to the store.
|
|
|
|
|
(substitute* "dehydrated"
|
|
|
|
|
(("SCRIPTDIR=\"\\$.*\"") "SCRIPTDIR=~/.dehydrated"))
|
2018-06-14 21:00:25 -04:00
|
|
|
|
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(setenv "PATH" bash)
|
|
|
|
|
(wrap-program "dehydrated"
|
|
|
|
|
`("PATH" ":" prefix
|
2022-10-29 21:00:00 -04:00
|
|
|
|
,(map (lambda (file)
|
|
|
|
|
(dirname (search-input-file %build-inputs file)))
|
|
|
|
|
(list
|
|
|
|
|
;; From check_dependencies() — keep them in sync.
|
|
|
|
|
"bin/grep"
|
|
|
|
|
"bin/diff"
|
|
|
|
|
"bin/sed"
|
|
|
|
|
"bin/awk"
|
|
|
|
|
"bin/curl"
|
|
|
|
|
"bin/cut" ; also mktemp, head, tail
|
|
|
|
|
"bin/hexdump"
|
|
|
|
|
;; Additional requirements.
|
|
|
|
|
"bin/openssl")))))))))
|
2018-06-14 21:00:25 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list bash
|
|
|
|
|
coreutils
|
|
|
|
|
curl
|
|
|
|
|
diffutils
|
|
|
|
|
gawk
|
|
|
|
|
grep
|
|
|
|
|
openssl
|
2022-10-29 21:00:01 -04:00
|
|
|
|
sed
|
|
|
|
|
util-linux+udev))
|
2019-03-04 14:52:38 -05:00
|
|
|
|
(native-inputs
|
2022-10-29 21:00:01 -04:00
|
|
|
|
(list gzip))
|
2021-08-03 16:12:59 -04:00
|
|
|
|
;; The following definition is copied from the cURL package to prevent a
|
|
|
|
|
;; cycle between the curl and tls modules.
|
2020-03-14 20:25:56 -04:00
|
|
|
|
(native-search-paths
|
2021-08-03 16:12:59 -04:00
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "CURL_CA_BUNDLE")
|
|
|
|
|
(file-type 'regular)
|
|
|
|
|
(separator #f)
|
|
|
|
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
2018-06-14 21:00:25 -04:00
|
|
|
|
(home-page "https://dehydrated.io/")
|
2021-09-28 20:54:21 -04:00
|
|
|
|
(synopsis "ACME client implemented as a shell script")
|
|
|
|
|
(description "Dehydrated is a client for obtaining certificates from an
|
|
|
|
|
ACME server (such as Let's Encrypt) implemented as a relatively simple Bash
|
|
|
|
|
script.")
|
2018-06-14 21:00:25 -04:00
|
|
|
|
(license license:expat)))
|
2019-07-16 11:35:31 -04:00
|
|
|
|
|
|
|
|
|
(define-public go-github-com-certifi-gocertifi
|
2020-05-27 13:53:11 -04:00
|
|
|
|
(let ((commit "a5e0173ced670013bfb649c7e806bc9529c986ec")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github-com-certifi-gocertifi")
|
|
|
|
|
(version (git-version "2018.01.18" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/certifi/gocertifi")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1n9drccl3q1rr8wg3nf60slkf1lgsmz5ahifrglbdrc6har3rryj"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "github.com/certifi/gocertifi"))
|
|
|
|
|
(synopsis "X.509 TLS root certificate bundle for Go")
|
|
|
|
|
(description "This package is a Go language X.509 TLS root certificate bundle,
|
2019-07-16 11:35:31 -04:00
|
|
|
|
derived from Mozilla's collection.")
|
2020-05-27 13:53:11 -04:00
|
|
|
|
(home-page "https://certifi.io")
|
|
|
|
|
(license license:mpl2.0))))
|
2021-01-19 07:52:01 -05:00
|
|
|
|
|
|
|
|
|
(define-public s2n
|
2021-10-18 09:12:07 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "s2n")
|
2022-04-22 13:28:17 -04:00
|
|
|
|
;; Update only when updating aws-crt-cpp.
|
2022-04-14 12:38:55 -04:00
|
|
|
|
(version "1.3.10")
|
2021-10-18 09:12:07 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/aws/s2n-tls")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-04-14 12:38:55 -04:00
|
|
|
|
"15fr6zwglw74x5qd090752kqn7n3cyi4gmz94ip45g3hflschxd3"))))
|
2021-10-18 09:12:07 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
2022-04-22 13:28:17 -04:00
|
|
|
|
'("-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
;; Remove in next update; see https://github.com/aws/s2n-tls/pull/3108
|
|
|
|
|
;; Building with 'Werror' results in compilation error (even building
|
|
|
|
|
;; with gcc) when replacing the aws-lc input with openssl.
|
|
|
|
|
"-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF")))
|
|
|
|
|
(propagated-inputs (list aws-lc))
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
2021-10-18 09:12:07 -04:00
|
|
|
|
(synopsis "SSL/TLS implementation in C99")
|
|
|
|
|
(description
|
|
|
|
|
"This library provides a C99 implementation of SSL/TLS. It is designed to
|
|
|
|
|
be familiar to users of the widely-used POSIX I/O APIs. It supports blocking,
|
|
|
|
|
non-blocking, and full-duplex I/O. There are no locks or mutexes.
|
2021-06-23 15:05:10 -04:00
|
|
|
|
|
|
|
|
|
As it can be difficult to keep track of which encryption algorithms and
|
|
|
|
|
protocols are best to use, s2n-tls features a simple API to use the latest
|
|
|
|
|
default set of preferences. Remaining on a specific version for backwards
|
|
|
|
|
compatibility is also supported.")
|
2021-03-18 13:28:07 -04:00
|
|
|
|
(home-page "https://github.com/aws/s2n-tls")
|
2021-10-18 09:12:07 -04:00
|
|
|
|
(license license:asl2.0)))
|
2021-07-13 18:50:33 -04:00
|
|
|
|
|
|
|
|
|
(define-public wolfssl
|
|
|
|
|
(package
|
|
|
|
|
(name "wolfssl")
|
2022-10-09 02:24:50 -04:00
|
|
|
|
(version "5.5.1")
|
2021-07-13 18:50:33 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wolfSSL/wolfssl")
|
|
|
|
|
(commit (string-append "v" version "-stable"))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-10-09 02:24:50 -04:00
|
|
|
|
"0pz25acm842cl6l51vqr8pgxci6rda8sznms757p7rnm9fw3jdl0"))))
|
2021-07-13 18:50:33 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
2022-10-09 02:24:50 -04:00
|
|
|
|
'("--enable-distro"
|
|
|
|
|
"--enable-pkcs11"
|
|
|
|
|
"--disable-examples"
|
|
|
|
|
"--enable-jobserver=no")))
|
2021-07-13 18:50:33 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool))
|
2021-07-13 18:50:33 -04:00
|
|
|
|
(synopsis "SSL/TLS implementation")
|
|
|
|
|
(description "The wolfSSL embedded SSL library (formerly CyaSSL) is an
|
|
|
|
|
SSL/TLS library written in ANSI C and targeted for embedded, RTOS, and
|
|
|
|
|
resource-constrained environments - primarily because of its small size, speed,
|
|
|
|
|
and feature set. wolfSSL supports industry standards up to the current TLS 1.3
|
|
|
|
|
and DTLS 1.2, is up to 20 times smaller than OpenSSL, and offers progressive
|
|
|
|
|
ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b.")
|
|
|
|
|
(home-page "https://www.wolfssl.com/")
|
|
|
|
|
(license license:gpl2+))) ; Audit
|
2021-07-01 10:37:50 -04:00
|
|
|
|
|
|
|
|
|
(define-public aws-lc
|
2022-04-14 12:39:37 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "aws-lc")
|
2022-04-22 13:28:04 -04:00
|
|
|
|
;; Update only when updating aws-crt-cpp.
|
2022-04-14 12:39:37 -04:00
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://github.com/awslabs/" name))
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-04-22 13:28:04 -04:00
|
|
|
|
"16y4iy2rqrmb7b1c394wyq7a5vbjb41599524my6b6q1vk1pi307"))))
|
2022-04-14 12:39:37 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2022-04-22 13:28:04 -04:00
|
|
|
|
'(#:test-target "run_minimal_tests"
|
2022-04-14 12:39:37 -04:00
|
|
|
|
#:configure-flags
|
2023-06-21 09:37:27 -04:00
|
|
|
|
'("-DBUILD_SHARED_LIBS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? test-target parallel-tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
;; SSLTest.HostMatching fails due to an expired certificate.
|
|
|
|
|
;; Fake the time to be that of the release.
|
|
|
|
|
(invoke "faketime" "2022-05-23"
|
|
|
|
|
"make" test-target
|
|
|
|
|
"-j" (if parallel-tests?
|
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
"1"))))))))
|
|
|
|
|
(native-inputs (list libfaketime))
|
2022-04-14 12:39:37 -04:00
|
|
|
|
(synopsis "General purpose cryptographic library")
|
|
|
|
|
(description "AWS libcrypto (aws-lc) contains portable C implementations
|
2021-07-01 10:37:50 -04:00
|
|
|
|
of algorithms needed for TLS and common applications, and includes optimized
|
|
|
|
|
assembly versions for x86 and ARM.")
|
2022-04-14 12:39:37 -04:00
|
|
|
|
(home-page "https://github.com/awslabs/aws-lc")
|
|
|
|
|
(license license:asl2.0)))
|