2013-01-06 00:47:50 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 17:21:21 +01:00
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
2015-01-13 21:05:52 +01:00
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2014-10-19 04:03:42 +02:00
|
|
|
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2012-11-13 21:44:57 +01:00
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-13 21:44:57 +01:00
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-13 21:44:57 +01:00
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-13 21:44:57 +01:00
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-13 21:44:57 +01:00
|
|
|
|
gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this. Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
mail.scm, messaging.scm, package-management.scm, shishi.scm,
task-management.scm, version-control.scm, video.scm, vpn.scm,
webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-03 21:41:22 +02:00
|
|
|
(define-module (gnu packages tls)
|
2015-07-05 18:54:48 +02:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2012-11-13 21:44:57 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2014-10-19 04:03:42 +02:00
|
|
|
#:use-module (guix utils)
|
2012-11-13 21:44:57 +01:00
|
|
|
#:use-module (guix build-system gnu)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
#:use-module (guix build-system perl)
|
2015-03-04 17:02:07 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2013-06-27 23:57:45 +02:00
|
|
|
#:use-module (gnu packages)
|
2013-01-18 01:06:24 +01:00
|
|
|
#:use-module (gnu packages guile)
|
2015-02-08 16:23:44 +01:00
|
|
|
#:use-module (gnu packages libffi)
|
2015-04-12 22:18:12 +02:00
|
|
|
#:use-module (gnu packages libidn)
|
2015-02-08 16:23:44 +01:00
|
|
|
#:use-module (gnu packages nettle)
|
2013-01-18 01:06:24 +01:00
|
|
|
#:use-module (gnu packages perl)
|
2015-02-08 16:23:44 +01:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-12-11 23:05:12 +01:00
|
|
|
#:use-module (gnu packages texinfo)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 17:21:21 +01:00
|
|
|
#:use-module (gnu packages base))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
|
|
|
(define-public libtasn1
|
|
|
|
(package
|
|
|
|
(name "libtasn1")
|
2015-05-09 02:22:38 +02:00
|
|
|
(version "4.5")
|
2012-11-13 21:44:57 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/libtasn1/libtasn1-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-05-09 02:22:38 +02:00
|
|
|
"1nhvnznhg2aqfrfjxc8v008hjlzkh5831jsfahqk89qrw7fbbcw9"))))
|
2012-11-13 21:44:57 +01:00
|
|
|
(build-system gnu-build-system)
|
2013-12-11 23:05:12 +01:00
|
|
|
(native-inputs `(("perl" ,perl)
|
|
|
|
|
|
|
|
;; XXX: For some reason, libtasn1.info wants to be
|
|
|
|
;; rebuilt, so we must provide 'makeinfo'.
|
|
|
|
("texinfo" ,texinfo)))
|
2012-11-13 21:44:57 +01:00
|
|
|
(home-page "http://www.gnu.org/software/libtasn1/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 18:04:25 +02:00
|
|
|
(synopsis "ASN.1 library")
|
2012-11-13 21:44:57 +01:00
|
|
|
(description
|
2013-12-01 22:33:23 +01:00
|
|
|
"GNU libtasn1 is a library implementing the ASN.1 notation. It is used
|
|
|
|
for transmitting machine-neutral encodings of data objects in computer
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
networking, allowing for formal validation of data according to some
|
|
|
|
specifications.")
|
2015-07-05 18:54:48 +02:00
|
|
|
(license license:lgpl2.0+)))
|
2012-11-13 21:44:57 +01:00
|
|
|
|
2015-02-08 16:23:44 +01:00
|
|
|
(define-public p11-kit
|
|
|
|
(package
|
|
|
|
(name "p11-kit")
|
2015-04-13 04:50:51 +02:00
|
|
|
(version "0.23.1")
|
2015-02-08 16:23:44 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://p11-glue.freedesktop.org/releases/p11-kit-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-04-13 04:50:51 +02:00
|
|
|
"1i3a1wdpagm0p3y1bwaz5x5rjhcpqbcrnhkcp10p259vkxk72wz5"))
|
2015-02-08 16:23:44 +01:00
|
|
|
(modules '((guix build utils))) ; for substitute*
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Drop one test that fails, also when trying to compile manually.
|
|
|
|
;; Reported upstream at
|
|
|
|
;; https://bugs.freedesktop.org/show_bug.cgi?id=89027
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
(("test-module\\$\\(EXEEXT\\) ") ""))))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("libffi" ,libffi)
|
|
|
|
("libtasn1" ,libtasn1)))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("--without-trust-paths")))
|
|
|
|
(home-page "http://p11-glue.freedesktop.org/p11-kit.html")
|
|
|
|
(synopsis "PKCS#11 library")
|
|
|
|
(description
|
|
|
|
"p11-kit provides a way to load and enumerate PKCS#11 modules. It
|
|
|
|
provides a standard configuration setup for installing PKCS#11 modules
|
|
|
|
in such a way that they are discoverable. It also solves problems with
|
|
|
|
coordinating the use of PKCS#11 by different components or libraries
|
|
|
|
living in the same process.")
|
2015-07-05 18:54:48 +02:00
|
|
|
(license license:bsd-3)))
|
2015-02-08 16:23:44 +01:00
|
|
|
|
2012-11-13 21:44:57 +01:00
|
|
|
(define-public gnutls
|
|
|
|
(package
|
|
|
|
(name "gnutls")
|
2015-05-21 20:30:43 +02:00
|
|
|
(version "3.4.1")
|
2013-01-18 16:54:41 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
;; Note: Releases are no longer on ftp.gnu.org since the
|
|
|
|
;; schism (after version 3.1.5).
|
2014-02-18 09:46:09 +01:00
|
|
|
(string-append "mirror://gnupg/gnutls/v"
|
2014-10-19 04:03:42 +02:00
|
|
|
(version-major+minor version)
|
2014-02-18 09:46:09 +01:00
|
|
|
"/gnutls-" version ".tar.xz"))
|
2013-01-18 16:54:41 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-05-21 20:30:43 +02:00
|
|
|
"0bmih0zyiplr4v8798w0v9g3215zmganq18n8935cizkxj5zbdg9"))))
|
2012-11-13 21:44:57 +01:00
|
|
|
(build-system gnu-build-system)
|
2014-10-26 20:11:24 +01:00
|
|
|
(arguments
|
|
|
|
'(#:configure-flags
|
|
|
|
(list (string-append "--with-guile-site-dir="
|
|
|
|
(assoc-ref %outputs "out")
|
2014-02-19 03:30:53 +01:00
|
|
|
"/share/guile/site/2.0")
|
|
|
|
;; GnuTLS doesn't consult any environment variables to specify
|
|
|
|
;; the location of the system-wide trust store. Instead it has a
|
|
|
|
;; configure-time option. Unless specified, its configure script
|
|
|
|
;; attempts to auto-detect the location by looking for common
|
|
|
|
;; places in the filesystem, 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.
|
2015-04-12 22:18:12 +02:00
|
|
|
"--with-default-trust-store-dir=/etc/ssl/certs"
|
|
|
|
|
|
|
|
;; FIXME: Temporarily disable p11-kit support since it is not
|
|
|
|
;; working on mips64el.
|
2015-06-27 22:18:08 +02:00
|
|
|
"--without-p11-kit")
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-after
|
|
|
|
'install 'move-doc
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Copy the 4.1 MiB of section 3 man pages to "doc".
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(doc (assoc-ref outputs "doc"))
|
|
|
|
(mandir (string-append doc "/share/man"))
|
|
|
|
(oldman (string-append out "/share/man/man3")))
|
|
|
|
(mkdir-p mandir)
|
|
|
|
(copy-recursively oldman mandir)
|
|
|
|
(delete-file-recursively oldman)
|
|
|
|
#t))))))
|
|
|
|
(outputs '("out" ;4.4 MiB
|
|
|
|
"debug"
|
|
|
|
"doc")) ;4.1 MiB of man pages
|
2013-06-05 10:38:27 +02:00
|
|
|
(native-inputs
|
2015-02-11 12:20:14 +01:00
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("which" ,which)))
|
2012-11-13 21:44:57 +01:00
|
|
|
(inputs
|
|
|
|
`(("guile" ,guile-2.0)
|
2013-09-13 11:12:35 +02:00
|
|
|
("perl" ,perl)))
|
2012-11-13 21:44:57 +01:00
|
|
|
(propagated-inputs
|
2015-02-11 12:20:14 +01:00
|
|
|
;; These are all in the 'Requires.private' field of gnutls.pc.
|
2012-11-13 21:44:57 +01:00
|
|
|
`(("libtasn1" ,libtasn1)
|
2015-04-12 22:18:12 +02:00
|
|
|
("libidn" ,libidn)
|
|
|
|
("nettle" ,nettle)
|
2015-03-04 17:02:07 +01:00
|
|
|
("zlib" ,zlib)))
|
2012-11-13 21:44:57 +01:00
|
|
|
(home-page "http://www.gnu.org/software/gnutls/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 18:04:25 +02:00
|
|
|
(synopsis "Transport layer security library")
|
2012-11-13 21:44:57 +01:00
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
"GnuTLS is a secure communications library implementing the SSL, TLS
|
2013-12-01 22:33:23 +01:00
|
|
|
and DTLS protocols. It is provided in the form of a C library to support the
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
protocols, as well as to parse and write X.5009, PKCS 12, OpenPGP and other
|
|
|
|
required structures.")
|
2015-07-05 18:54:48 +02:00
|
|
|
(license license:lgpl2.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 18:27:24 +02:00
|
|
|
|
|
|
|
(define-public openssl
|
|
|
|
(package
|
|
|
|
(name "openssl")
|
2015-07-09 18:35:24 +02:00
|
|
|
(version "1.0.2d")
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "ftp://ftp.openssl.org/source/openssl-" version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-07-09 18:35:24 +02:00
|
|
|
"1j58r7rdj9fz2lanir8ajbx4bspb5jnm5ikl6dq8lql5fx43c737"))
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
(patches (list (search-patch "openssl-runpath.patch")))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
|
|
|
(arguments
|
|
|
|
'(#:parallel-build? #f
|
|
|
|
#:parallel-tests? #f
|
|
|
|
#:test-target "test"
|
|
|
|
#:phases
|
|
|
|
(alist-replace
|
|
|
|
'configure
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(zero?
|
|
|
|
(system* "./config"
|
|
|
|
"shared" ; build shared libraries
|
|
|
|
"--libdir=lib"
|
|
|
|
(string-append "--prefix=" out)))))
|
|
|
|
(alist-cons-before
|
|
|
|
'patch-source-shebangs 'patch-tests
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
(let ((bash (assoc-ref (or native-inputs inputs) "bash")))
|
|
|
|
(substitute* (find-files "test" ".*")
|
|
|
|
(("/bin/sh")
|
|
|
|
(string-append bash "/bin/bash"))
|
|
|
|
(("/bin/rm")
|
|
|
|
"rm"))))
|
|
|
|
%standard-phases))))
|
|
|
|
(native-search-paths
|
|
|
|
;; FIXME: These two variables must designate a single file or directory
|
|
|
|
;; and are not actually "search paths." In practice it works OK in user
|
|
|
|
;; profiles because there's always just one item that matches the
|
|
|
|
;; specification.
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "SSL_CERT_DIR")
|
|
|
|
(files '("etc/ssl/certs")))
|
|
|
|
(search-path-specification
|
|
|
|
(variable "SSL_CERT_FILE")
|
|
|
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
|
|
|
(synopsis "SSL/TLS implementation")
|
|
|
|
(description
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
"OpenSSL is an implementation of SSL/TLS.")
|
2015-07-05 18:54:48 +02:00
|
|
|
(license license:openssl)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
(home-page "http://www.openssl.org/")))
|
|
|
|
|
2015-07-05 19:01:44 +02:00
|
|
|
(define-public libressl
|
|
|
|
(package
|
|
|
|
(name "libressl")
|
|
|
|
(version "2.2.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"0h1haqb4y39p1zihwvnr1ib0zfq5bcqfnbj5jm9l4j2xibrxi44n"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-search-paths
|
|
|
|
;; FIXME: These two variables must designate a single file or directory
|
|
|
|
;; and are not actually "search paths." In practice it works OK in
|
|
|
|
;; user profiles because there's always just one item that matches the
|
|
|
|
;; specification.
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "SSL_CERT_DIR")
|
|
|
|
(files '("etc/ssl/certs")))
|
|
|
|
(search-path-specification
|
|
|
|
(variable "SSL_CERT_FILE")
|
|
|
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
|
|
|
(home-page "http://www.libressl.org/")
|
|
|
|
(synopsis "SSL/TLS implementation")
|
|
|
|
(description "LibreSSL is a version of the TLS/crypto stack forked
|
|
|
|
from OpenSSL in 2014, with the goals of modernizing the codebase, improving
|
|
|
|
security, and applying best practice development processes.")
|
|
|
|
;; Files taken from OpenSSL keep their license, others are under various
|
|
|
|
;; non-copyleft licenses.
|
|
|
|
(license (list license:openssl
|
|
|
|
(license:non-copyleft
|
|
|
|
"file://COPYING"
|
|
|
|
"See COPYING in the distribution.")))))
|
|
|
|
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
(define-public perl-net-ssleay
|
|
|
|
(package
|
|
|
|
(name "perl-net-ssleay")
|
|
|
|
(version "1.68")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIKEM/"
|
|
|
|
"Net-SSLeay-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1m2wwzhjwsg0drlhp9w12fl6bsgj69v8gdz72jqrqll3qr7f408p"))
|
|
|
|
(patches
|
|
|
|
;; XXX Try removing this patch for perl-net-ssleay > 1.68
|
|
|
|
(list (search-patch "perl-net-ssleay-disable-ede-test.patch")))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
(arguments
|
|
|
|
`(#:phases (alist-cons-before
|
|
|
|
'configure 'set-ssl-prefix
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(setenv "OPENSSL_PREFIX" (assoc-ref inputs "openssl")))
|
|
|
|
%standard-phases)))
|
|
|
|
(synopsis "Perl extension for using OpenSSL")
|
|
|
|
(description
|
|
|
|
"This module offers some high level convenience functions for accessing
|
|
|
|
web pages on SSL servers (for symmetry, the same API is offered for accessing
|
|
|
|
http servers, too), an sslcat() function for writing your own clients, and
|
|
|
|
finally access to the SSL api of the SSLeay/OpenSSL package so you can write
|
|
|
|
servers or clients for more complicated applications.")
|
|
|
|
(license (package-license perl))
|
|
|
|
(home-page "http://search.cpan.org/~mikem/Net-SSLeay-1.66/")))
|