From 944fd98084bc17f45a99b40566c063cc21d76234 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Thu, 6 Jun 2024 04:08:54 +0200 Subject: [PATCH] sci-physics/wlcg-voms: add 2.0.4 This moves the OPS VOMSES from legacy to IAM. Signed-off-by: Oliver Freyermuth --- sci-physics/wlcg-voms/Manifest | 1 + sci-physics/wlcg-voms/wlcg-voms-2.0.4.ebuild | 74 ++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 sci-physics/wlcg-voms/wlcg-voms-2.0.4.ebuild diff --git a/sci-physics/wlcg-voms/Manifest b/sci-physics/wlcg-voms/Manifest index a4078b1..c803b9e 100644 --- a/sci-physics/wlcg-voms/Manifest +++ b/sci-physics/wlcg-voms/Manifest @@ -10,6 +10,7 @@ DIST wlcg-iam-vomses-atlas-1.0.0-1.el9.noarch.rpm 6796 BLAKE2B 245031fc17fb4c0b1 DIST wlcg-iam-vomses-cms-1.0.0-1.el9.noarch.rpm 6782 BLAKE2B 2fe29f2e3578729635ce7153113b58be9424a8efa327a3ce69e20527849134e1b82c7a9698c385e683f6fbb91e38abc66b172e648a4449ecb152dccd3bc6bd9b SHA512 9b5e46a69b70c912e06fe3295215f9b628134d010fa227cb4ca4b0edba724242d6a8572537193f9bf77bbc23c8c512f9fa7e5e3e0c09b415a0319230e28e7db7 DIST wlcg-iam-vomses-dteam-1.0.0-1.el9.noarch.rpm 6783 BLAKE2B a4016b96debd9432b86d8d0d02bf329b2ba424371df1a114c71e50b0ad438ad7acb5ceb9f61cc87c4f0deac728f384c7a3cfd86af78a4ef4ce7c2a35301c32c5 SHA512 8a8dff3258192d767676326a05ac9d5487f6c4967f7f86a23ce5df589ce46facf9f6718ca6fee828c24bb08c56a6321494294b1d8aad35fa1ff1cb07fb5306dd DIST wlcg-iam-vomses-lhcb-1.0.0-1.el9.noarch.rpm 6797 BLAKE2B 3f42275564aa9f6a3bd732b32f7cf08bd0290819deb0dba7066f279866efac7257452c392f23df44bfd75695f8dd7ebc05b80b1a6f1a79a34e891dcb0675d188 SHA512 9eedfd54857f5bfd4367cae060aa97b7a91bcdcbc0f91d879d6dd2a21197df902c231256abd5d7b5aeea5bfde78ef429e4583dc6be6d2f8214a315abfe1dd7a3 +DIST wlcg-iam-vomses-ops-2.0.0-1.el9.noarch.rpm 6766 BLAKE2B 298c0fb2198e51eee729b06733e426bc9723ce1362c00aebace5acc58dbec5d83225982cee837ffc6ccb3769038bf40d43bdca6e46565cb52b548cb9fa6c1a3d SHA512 1e3d10456ea6b87d6640118c8a8e76e0790bd771eef9b8fb3faf0c97aee4404b47f57951156b8713d5787fb2925a754d7ca43c9542150c551336a3fa89942321 DIST wlcg-voms-alice-1.0.0-1.el9.noarch.rpm 7315 BLAKE2B 50826f21cf458d1e5de1b32a6a892aa71a19b263dd2bae8b9139a08cfe591a9226bcf152f1e8c281517a20260702ebdda382de58759a695a30fe2656ad46b576 SHA512 cf596b063443fee1bdd056cbf79cd5dc0157e9890035c9dd17278470132c826db6fe84e4f66e67b2256f2a2ef13fd13f825c7a0a07c16eee921ad0d9435fd306 DIST wlcg-voms-atlas-1.0.0-1.el9.noarch.rpm 7317 BLAKE2B f1ddcad24403024583fd9d0763bdd60cad32564c3bf7854f0d58b90c3f2a2c1dc50924b88df0e516124a474584eaf42317ef930cefc03be6ee04dd26d3425dea SHA512 951979c0d349190df49392dfb7e5bb3a27901457f9aae6eacb7894f563f1281f797f6db2fd9fa5127ac45e079886bd47742eb7b309007474e7d647cfa0d18af8 DIST wlcg-voms-cms-1.0.0-1.el9.noarch.rpm 7309 BLAKE2B 2000afb0b5a7eb60124ed739a76f329c562a09175f77ddeb56a802df4194cacf77b9b09ba43fb69a2c9d783d95e5feceac8de448ee5de5d0a08cde032988c162 SHA512 548f116a9ceb2af2f484784af973fcbccbd6eac484fcdcfec4d36f13712ee911141de21acf6ea0fa06b7725f52b7bd396d6d510028fa18b0ef794efe8f5fb1a4 diff --git a/sci-physics/wlcg-voms/wlcg-voms-2.0.4.ebuild b/sci-physics/wlcg-voms/wlcg-voms-2.0.4.ebuild new file mode 100644 index 0000000..bc37784 --- /dev/null +++ b/sci-physics/wlcg-voms/wlcg-voms-2.0.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit rpm + +WLCG_RPM_VER=1.1.0-1 +WLCG_IAM_RPM_VER=2.0.0-1 +WLCG_IAM_DTEAM_RPM_VER=1.0.0-1 +WLCG_IAM_VOMSES_ALICE_RPM_VER=1.0.0-1 +WLCG_IAM_VOMSES_ATLAS_RPM_VER=1.0.0-1 +WLCG_IAM_VOMSES_CMS_RPM_VER=1.0.0-1 +WLCG_IAM_VOMSES_DTEAM_RPM_VER=1.0.0-1 +WLCG_IAM_VOMSES_LHCB_RPM_VER=1.0.0-1 +WLCG_IAM_VOMSES_OPS_RPM_VER=2.0.0-1 + +DESCRIPTION="VOMS LSC files" +HOMEPAGE="https://twiki.cern.ch/twiki/bin/view/LCG/VOMSLSCfileConfiguration" + +SRC_URI="alice? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-alice-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-alice-${WLCG_IAM_VOMSES_ALICE_RPM_VER}.el9.noarch.rpm + ) + atlas? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-atlas-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-atlas-${WLCG_IAM_VOMSES_ATLAS_RPM_VER}.el9.noarch.rpm + ) + cms? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-cms-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-cms-${WLCG_IAM_VOMSES_CMS_RPM_VER}.el9.noarch.rpm + ) + dteam? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-dteam-${WLCG_IAM_DTEAM_RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-dteam-${WLCG_IAM_VOMSES_DTEAM_RPM_VER}.el9.noarch.rpm + ) + lhcb? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-lhcb-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-lhcb-${WLCG_IAM_VOMSES_LHCB_RPM_VER}.el9.noarch.rpm + ) + ops? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-ops-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-ops-${WLCG_IAM_VOMSES_OPS_RPM_VER}.el9.noarch.rpm + ) + wlcg? ( https://repo.cloud.cnaf.infn.it/repository/infn-vos/centos7/infn-vo-wlcg-${WLCG_RPM_VER}.el7.noarch.rpm ) + " + +S="${WORKDIR}/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alice +atlas +belle +cms +dteam +lhcb +ops +wlcg" + +src_install() { + insinto "/etc/vomses" + if use belle; then + mkdir -p etc/vomses || die + echo '"belle" "voms.cc.kek.jp" "15020" "/C=JP/O=KEK/OU=CRC/CN=host/voms.cc.kek.jp" "belle"' > etc/vomses/belle-voms.cc.kek.jp || die + # Backup VOMS server at DESY would be: + # '"belle" "grid-voms.desy.de" "15020" "/DC=org/DC=terena/DC=tcs/C=DE/ST=Hamburg/O=Deutsches Elektronen-Synchrotron DESY/CN=grid-voms.desy.de" "belle"' + fi + doins etc/vomses/* + + insinto "/etc/grid-security/vomsdir" + if use belle; then + mkdir -p etc/grid-security/vomsdir/belle || die + echo -e '/C=JP/O=KEK/OU=CRC/CN=host/voms.cc.kek.jp\n/C=JP/O=KEK/OU=CRC/CN=KEK GRID Certificate Authority' > etc/grid-security/vomsdir/belle/voms.cc.kek.jp.lsc || die + # Backup VOMS server at DESY. + echo -e '/DC=org/DC=terena/DC=tcs/C=DE/ST=Hamburg/O=Deutsches Elektronen-Synchrotron DESY/CN=grid-voms.desy.de\n/C=NL/O=GEANT Vereniging/CN=GEANT eScience SSL CA 4' > etc/grid-security/vomsdir/belle/grid-voms.desy.de.lsc || die + fi + doins -r etc/grid-security/vomsdir/* + +}