summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2024-08-19 02:47:16 -0500
committerGitHub <noreply@github.com>2024-08-19 09:47:16 +0200
commite1ede9c04bb579b24d8d0b397560a0f2795a4f59 (patch)
treeabe3eb0d374a2dcc6cc86a1977a8b19709a4fc0e /var
parent856dd3417b609cefa785203b12f896e4d0923597 (diff)
downloadspack-e1ede9c04bb579b24d8d0b397560a0f2795a4f59.tar.gz
spack-e1ede9c04bb579b24d8d0b397560a0f2795a4f59.tar.bz2
spack-e1ede9c04bb579b24d8d0b397560a0f2795a4f59.tar.xz
spack-e1ede9c04bb579b24d8d0b397560a0f2795a4f59.zip
bind9: add v9.18.28, v9.20.0 (#45728)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bind9/package.py26
-rw-r--r--var/spack/repos/builtin/packages/liburcu/package.py26
2 files changed, 40 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/bind9/package.py b/var/spack/repos/builtin/packages/bind9/package.py
index c80109971b..ca6b6a995d 100644
--- a/var/spack/repos/builtin/packages/bind9/package.py
+++ b/var/spack/repos/builtin/packages/bind9/package.py
@@ -11,22 +11,24 @@ class Bind9(AutotoolsPackage):
BIND 9 has evolved to be a very flexible, full-featured DNS system.
"""
- homepage = "https://github.com/isc-projects/bind9"
- url = "https://github.com/isc-projects/bind9/archive/v9_14_6.tar.gz"
+ homepage = "https://www.isc.org"
+ url = "https://downloads.isc.org/isc/bind9/9.18.28/bind-9.18.28.tar.xz"
+ list_url = "https://downloads.isc.org/isc/bind9/"
+ git = "https://gitlab.isc.org/isc-projects/bind9"
- license("Apache-2.0")
+ license("MPL-2.0", checked_by="wdconinc")
- version("9_14_6", sha256="98be7a7b6d614b519f6c8d6ec7a8a39759ae9604d87228d9dc7c034471e5433e")
+ # Only even minor releases are stable
+ version("9.20.0", sha256="cc580998017b51f273964058e8cb3aa5482bc785243dea71e5556ec565a13347")
+ version("9.18.28", sha256="e7cce9a165f7b619eefc4832f0a8dc16b005d29e3890aed6008c506ea286a5e7")
- depends_on("libuv", type="link")
depends_on("pkgconfig", type="build")
- depends_on("openssl", type="link")
- depends_on("iconv", type="link")
+
+ depends_on("libuv@1.34,1.37:", type="link")
+ depends_on("openssl@1.1.1:", type="link")
+ depends_on("libcap", type="link")
+ depends_on("liburcu@0.14:", type="link", when="@9.20:")
def configure_args(self):
- args = [
- "--without-python",
- "--disable-linux-caps",
- "--with-openssl={0}".format(self.spec["openssl"].prefix),
- ]
+ args = ["--without-python", "--disable-doh"]
return args
diff --git a/var/spack/repos/builtin/packages/liburcu/package.py b/var/spack/repos/builtin/packages/liburcu/package.py
new file mode 100644
index 0000000000..31206595f3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/liburcu/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class Liburcu(AutotoolsPackage):
+ """liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library.
+ This data synchronization library provides read-side access which
+ scales linearly with the number of cores."""
+
+ homepage = "https://liburcu.org"
+ url = "https://lttng.org/files/urcu/userspace-rcu-0.14.0.tar.bz2"
+ git = "https://git.lttng.org/userspace-rcu.git"
+
+ license("LGPL-2.1", checked_by="wdconinc")
+
+ version("0.14.0", sha256="ca43bf261d4d392cff20dfae440836603bf009fce24fdc9b2697d837a2239d4f")
+
+ depends_on("autoconf@2.69:", type="build")
+ depends_on("automake@1.12:", type="build")
+
+ def patch(self):
+ filter_file("-Wl,-rpath ", "-Wl,-rpath,", "doc/examples/Makefile.in")