summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gnupg/package.py50
-rw-r--r--var/spack/repos/builtin/packages/libassuan/package.py41
-rw-r--r--var/spack/repos/builtin/packages/libgcrypt/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libgpg-error/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libksba/package.py41
-rw-r--r--var/spack/repos/builtin/packages/npth/package.py35
6 files changed, 171 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gnupg/package.py b/var/spack/repos/builtin/packages/gnupg/package.py
new file mode 100644
index 0000000000..0239c15d0e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gnupg/package.py
@@ -0,0 +1,50 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class Gnupg(AutotoolsPackage):
+ """GnuPG is a complete and free implementation of the OpenPGP
+ standard as defined by RFC4880 """
+
+ homepage = "https://gnupg.org/index.html"
+ url = "https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.21.tar.bz2"
+
+ version('2.1.21', '685ebf4c3a7134ba0209c96b18b2f064')
+
+ depends_on('libgcrypt')
+ depends_on('libassuan')
+ depends_on('libksba')
+ depends_on('libgpg-error')
+ depends_on('npth')
+
+ def configure_args(self):
+ args = ['--with-npth-prefix=%s' % self.spec['npth'].prefix,
+ '--with-libgcrypt-prefix=%s' % self.spec['libgcrypt'].prefix,
+ '--with-libksba-prefixx=%s' % self.spec['libksba'].prefix,
+ '--with-libassuan-prefix=%s' % self.spec['libassuan'].prefix,
+ '--with-libpgp-error-prefix=%s' %
+ self.spec['libgpg-error'].prefix]
+ return args
diff --git a/var/spack/repos/builtin/packages/libassuan/package.py b/var/spack/repos/builtin/packages/libassuan/package.py
new file mode 100644
index 0000000000..9c53bd5e4b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libassuan/package.py
@@ -0,0 +1,41 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class Libassuan(AutotoolsPackage):
+ """Libassuan is a small library implementing the so-called Assuan
+ protocol."""
+
+ homepage = "https://gnupg.org/software/libassuan/index.html"
+ url = "https://gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.3.tar.bz2"
+
+ version('2.4.3', '8e01a7c72d3e5d154481230668e6eb5a')
+
+ depends_on('libgpg-error')
+
+ def configure_args(self):
+ args = ['--with-libgpp-error=%s' % self.spec['libgpg-error'].prefix]
+ return args
diff --git a/var/spack/repos/builtin/packages/libgcrypt/package.py b/var/spack/repos/builtin/packages/libgcrypt/package.py
index 1eae9c6530..b196adc18b 100644
--- a/var/spack/repos/builtin/packages/libgcrypt/package.py
+++ b/var/spack/repos/builtin/packages/libgcrypt/package.py
@@ -32,8 +32,9 @@ class Libgcrypt(AutotoolsPackage):
key algorithms, large integer functions, random numbers and a lot
of supporting functions. """
homepage = "http://www.gnu.org/software/libgcrypt/"
- url = "http://gd.tuwien.ac.at/pub/gnupg/libgcrypt/libgcrypt-1.6.2.tar.bz2"
+ url = "https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.7.6.tar.bz2"
+ version('1.7.6', '54e180679a7ae4d090f8689ca32b654c')
version('1.6.2', 'b54395a93cb1e57619943c082da09d5f')
depends_on("libgpg-error")
diff --git a/var/spack/repos/builtin/packages/libgpg-error/package.py b/var/spack/repos/builtin/packages/libgpg-error/package.py
index 67cd1759c0..e0565f2c4c 100644
--- a/var/spack/repos/builtin/packages/libgpg-error/package.py
+++ b/var/spack/repos/builtin/packages/libgpg-error/package.py
@@ -32,7 +32,8 @@ class LibgpgError(AutotoolsPackage):
SmartCard Daemon and possibly more in the future. """
homepage = "https://www.gnupg.org/related_software/libgpg-error"
- url = "http://gd.tuwien.ac.at/pub/gnupg/libgpg-error/libgpg-error-1.18.tar.bz2"
+ url = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.27.tar.bz2"
+ version('1.27', '5217ef3e76a7275a2a3b569a12ddc989')
version('1.21', 'ab0b5aba6d0a185b41d07bda804fd8b2')
version('1.18', '12312802d2065774b787cbfc22cc04e9')
diff --git a/var/spack/repos/builtin/packages/libksba/package.py b/var/spack/repos/builtin/packages/libksba/package.py
new file mode 100644
index 0000000000..ab9bcedc27
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libksba/package.py
@@ -0,0 +1,41 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class Libksba(AutotoolsPackage):
+ """Libksba is a library to make the tasks of working with X.509
+ certificates, CMS data and related objects more easy. """
+
+ homepage = "https://gnupg.org/software/libksba/index.html"
+ url = "https://gnupg.org/ftp/gcrypt/libksba/libksba-1.3.5.tar.bz2"
+
+ version('1.3.5', '8302a3e263a7c630aa7dea7d341f07a2')
+
+ depends_on('libgpg-error')
+
+ def configure_args(self):
+ args = ['--with-libgpp-error=%s' % self.spec['libgpg-error'].prefix]
+ return args
diff --git a/var/spack/repos/builtin/packages/npth/package.py b/var/spack/repos/builtin/packages/npth/package.py
new file mode 100644
index 0000000000..ac4264036c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/npth/package.py
@@ -0,0 +1,35 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class Npth(AutotoolsPackage):
+ """nPth is a library to provide the GNU Pth API and thus a
+ non-preemptive threads implementation."""
+
+ homepage = "https://gnupg.org/software/npth/index.html"
+ url = "https://gnupg.org/ftp/gcrypt/npth/npth-1.4.tar.bz2"
+
+ version('1.4', '76cef5542e0db6a339cf960641ed86f8')