Skip to content

Commit

Permalink
Update embedded sysreqs
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 19, 2024
1 parent 3b60464 commit 3f64c9c
Show file tree
Hide file tree
Showing 44 changed files with 425 additions and 108 deletions.
2 changes: 1 addition & 1 deletion inst/sysreqs/HEAD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cab2105ca4d2bdd111b37ef51f36f96aba16691f
a98516da7c5725d52d40f4c40f0ae46e7f94c238
4 changes: 2 additions & 2 deletions inst/sysreqs/rules/QuantLib.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand All @@ -41,7 +41,7 @@
],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
125 changes: 84 additions & 41 deletions inst/sysreqs/rules/chrome.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,133 @@
{
"patterns": [
"\\bchrome\\b"
],
"patterns": ["\\bchrome\\b", "\\bchromium\\b"],
"dependencies": [
{
"pre_install": [
{ "command": "[ $(which google-chrome) ] || apt-get install -y gnupg curl" },
{ "command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" },
{ "command": "[ $(which google-chrome) ] || DEBIAN_FRONTEND='noninteractive' apt-get install -y /tmp/google-chrome.deb" }
],
"packages": [],
"post_install": [
{ "command": "rm -f /tmp/google-chrome.deb" }
{ "command": "apt-get install -y software-properties-common" },
{ "command": "add-apt-repository -y ppa:xtradeb/apps" },
{ "command": "apt-get update" }
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
"distribution": "ubuntu",
"versions": ["22.04", "24.04"]
}
]
},
{
"pre_install": [
{ "command": "yum install -y which" },
{ "command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.rpm https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm" },
{ "command": "[ $(which google-chrome) ] || yum install -y /tmp/google-chrome.rpm" }
{
"command": "[ $(which google-chrome) ] || apt-get install -y gnupg curl"
},
{
"command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
},
{
"command": "[ $(which google-chrome) ] || DEBIAN_FRONTEND='noninteractive' apt-get install -y /tmp/google-chrome.deb"
}
],
"packages": [],
"post_install": [
{ "command": "rm -f /tmp/google-chrome.rpm" }
],
"post_install": [{ "command": "rm -f /tmp/google-chrome.deb" }],
"constraints": [
{
"os": "linux",
"distribution": "centos",
"versions": ["8"]
},
"distribution": "ubuntu",
"versions": ["20.04"]
}
]
},
{
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled crb" },
{ "command": "dnf install -y epel-release" }
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
}
]
},
{
"pre_install": [
{
"command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms"
},
{
"command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
}
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "redhat",
"versions": ["8"]
}
]
},
{
"pre_install": [
{
"command": "subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms"
},
{
"command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm"
}
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "fedora",
"versions": [ "36", "37" ]
"distribution": "redhat",
"versions": ["9"]
}
]
},
{
"pre_install": [
{ "command": "yum install -y which" },
{ "command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.rpm https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-125.0.6422.141-1.x86_64.rpm" },
{ "command": "[ $(which google-chrome) ] || yum install -y /tmp/google-chrome.rpm" }
],
"packages": [],
"post_install": [
{ "command": "rm -f /tmp/google-chrome.rpm" }
],
"pre_install": [],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "centos",
"versions": ["7"]
"distribution": "debian"
},
{
"os": "linux",
"distribution": "redhat",
"versions": ["7"]
"distribution": "fedora"
},
{
"os": "linux",
"distribution": "alpine"
}
]
},
{
"packages": ["chromium"],
"pre_install": [
{ "command": "yum install -y which" },
{
"command": "[ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.rpm https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-125.0.6422.141-1.x86_64.rpm"
},
{
"command": "[ $(which google-chrome) ] || yum install -y /tmp/google-chrome.rpm"
}
],
"packages": [],
"post_install": [{ "command": "rm -f /tmp/google-chrome.rpm" }],
"constraints": [
{
"os": "linux",
"distribution": "alpine"
"distribution": "centos",
"versions": ["7", "8"]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion inst/sysreqs/rules/cmake.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"packages": ["cmake", "cmake3"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
2 changes: 1 addition & 1 deletion inst/sysreqs/rules/eigen.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"packages": ["eigen3-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
4 changes: 2 additions & 2 deletions inst/sysreqs/rules/exiftool.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"packages": ["perl-Image-ExifTool"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand All @@ -60,7 +60,7 @@
"packages": ["perl-Image-ExifTool"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
4 changes: 2 additions & 2 deletions inst/sysreqs/rules/gdal.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand All @@ -63,7 +63,7 @@
],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
4 changes: 2 additions & 2 deletions inst/sysreqs/rules/geos.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"packages": ["geos-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand All @@ -48,7 +48,7 @@
"packages": ["geos-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
2 changes: 1 addition & 1 deletion inst/sysreqs/rules/ggobi.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"packages": ["ggobi-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand Down
2 changes: 1 addition & 1 deletion inst/sysreqs/rules/glpk.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"packages": ["glpk-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
4 changes: 2 additions & 2 deletions inst/sysreqs/rules/haveged.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"packages": ["haveged-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand All @@ -76,7 +76,7 @@
"packages": ["haveged-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
4 changes: 2 additions & 2 deletions inst/sysreqs/rules/hdf5.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"packages": ["hdf5-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
}
],
"constraints": [
Expand All @@ -76,7 +76,7 @@
"packages": ["hdf5-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
2 changes: 1 addition & 1 deletion inst/sysreqs/rules/hiredis.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"packages": ["hiredis-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
"command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"
}
],
"constraints": [
Expand Down
Loading

0 comments on commit 3f64c9c

Please sign in to comment.