summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2021-12-24 10:20:13 -0600
committerGitHub <noreply@github.com>2021-12-24 09:20:13 -0700
commitf181b6fef6da3b576b267799d9c47fa5c8ade67a (patch)
treeef14b12eec650ebd2fb37d8031ad238b8b78fe79
parente2bda659477564955fba23eff20f0c5bb7e18212 (diff)
downloadspack-f181b6fef6da3b576b267799d9c47fa5c8ade67a.tar.gz
spack-f181b6fef6da3b576b267799d9c47fa5c8ade67a.tar.bz2
spack-f181b6fef6da3b576b267799d9c47fa5c8ade67a.tar.xz
spack-f181b6fef6da3b576b267799d9c47fa5c8ade67a.zip
root: depends_on fcgi and re-enabled +http support (#28115)
-rw-r--r--var/spack/repos/builtin/packages/fcgi/package.py11
-rw-r--r--var/spack/repos/builtin/packages/root/README.md8
-rw-r--r--var/spack/repos/builtin/packages/root/package.py5
3 files changed, 11 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/fcgi/package.py b/var/spack/repos/builtin/packages/fcgi/package.py
index 656b148af6..770c8c8efd 100644
--- a/var/spack/repos/builtin/packages/fcgi/package.py
+++ b/var/spack/repos/builtin/packages/fcgi/package.py
@@ -13,8 +13,15 @@ class Fcgi(AutotoolsPackage):
applications that have been written for the Web."""
homepage = "https://fastcgi-archives.github.io/"
- url = "https://github.com/FastCGI-Archives/FastCGI.com/raw/master/original_snapshot/fcgi-2.4.1-SNAP-0910052249.tar.gz"
+ url = "https://github.com/FastCGI-Archives/fcgi2/archive/refs/tags/2.4.2.tar.gz"
- version('2.4.1-SNAP-0910052249', sha256='829dc89a0a372c7b0b172303ec9b42e9d20615d6d0e9fc81570fdac6c41a0f30')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+
+ version('2.4.2', sha256='1fe83501edfc3a7ec96bb1e69db3fd5ea1730135bd73ab152186fd0b437013bc')
+ version('2.4.1-SNAP-0910052249',
+ sha256='829dc89a0a372c7b0b172303ec9b42e9d20615d6d0e9fc81570fdac6c41a0f30',
+ url='https://github.com/FastCGI-Archives/FastCGI.com/raw/master/original_snapshot/fcgi-2.4.1-SNAP-0910052249.tar.gz')
parallel = False
diff --git a/var/spack/repos/builtin/packages/root/README.md b/var/spack/repos/builtin/packages/root/README.md
index d0e7674484..6936d85b1c 100644
--- a/var/spack/repos/builtin/packages/root/README.md
+++ b/var/spack/repos/builtin/packages/root/README.md
@@ -14,10 +14,6 @@ Requires `libgapiUI` from ALICE.
#### `gfal`
-#### `http`
-
-ROOT looks for and uses the FastCGI package on the system if found, creating a possible non-portable dependency. There is currently no `fastcgi` recipe, nor any way to unconditionally disable the search for the package.
-
#### `monalisa`
Monitoring with Monalisa depends on `libapmoncpp`.
@@ -66,7 +62,7 @@ Support for several options was discontinued in ROOT without prior support in th
### Other fixed or unsupported options
-### `arrow=OFF`
+#### `arrow=OFF`
#### `asimage=ON`, `astiff=ON`, `builtin_afterimage=ON`
@@ -144,8 +140,6 @@ Representing the obsolete `qt` and `qtgsi` ROOT build options.
### Temporarily conflicting variants
-The `http` variant is currently an unconditional conflict due to the non-portable dependency mentioned above.
-
## Permanently removed variants
The following variants have been removed from the recipe as they have always been ineffective:
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index b02ad3131d..8af37a5a3f 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -245,6 +245,7 @@ class Root(CMakePackage):
depends_on('davix @0.7.1:', when='+davix')
depends_on('dcap', when='+dcache')
depends_on('cfitsio', when='+fits')
+ depends_on('fcgi', when='+http')
depends_on('fftw', when='+fftw')
depends_on('graphviz', when='+graphviz')
depends_on('gsl', when='+gsl')
@@ -293,10 +294,6 @@ class Root(CMakePackage):
# ROOT <6.14 was incompatible with Python 3.7+
conflicts('^python@3.7:', when='@:6.13 +python')
- # See README.md
- conflicts('+http',
- msg='HTTP server currently unsupported due to dependency issues')
-
# Incompatible variants
conflicts('+opengl', when='~x', msg='OpenGL requires X')
conflicts('+tmva', when='~gsl', msg='TVMA requires GSL')