From 7bfc849bbe26b0712ac0e5fb1732140dcccbfe8b Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 4 Jun 2024 22:06:52 +0200 Subject: [PATCH] sci-physics/wlcg-voms: add 2.0.3 This activates IAM VOMSES for those VOs which have them (some already had them enabled in 2.0.2): alice, atlas, cms, dteam, lhcb and removes non-IAM-VOMSES for all these VOs, since some have already disabled them. Signed-off-by: Oliver Freyermuth --- sci-physics/wlcg-voms/Manifest | 4 ++ sci-physics/wlcg-voms/wlcg-voms-2.0.3.ebuild | 74 ++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 sci-physics/wlcg-voms/wlcg-voms-2.0.3.ebuild diff --git a/sci-physics/wlcg-voms/Manifest b/sci-physics/wlcg-voms/Manifest index dbd07ca..a4078b1 100644 --- a/sci-physics/wlcg-voms/Manifest +++ b/sci-physics/wlcg-voms/Manifest @@ -5,7 +5,11 @@ DIST wlcg-iam-lsc-cms-2.0.0-1.el9.noarch.rpm 6953 BLAKE2B fda16b8c53f76c7569148d DIST wlcg-iam-lsc-dteam-1.0.0-1.el9.noarch.rpm 6796 BLAKE2B 0ed7a7d21d1d169326e1c7b9458e30c6d7a6a89a37cc69573a8a7554573ba20df32cf9d0c38fb8f82d11419b07397e6afc5f3f0cffe380ce553fc1b9ffb8fca9 SHA512 41a37625490f7af3c06c56e9c45977fea86d5782fdaf413c8a367916f5e77928e6ad5f887656ffbe95f3630b060b1c1078624822e84cc42d459a3430eeaf269e DIST wlcg-iam-lsc-lhcb-2.0.0-1.el9.noarch.rpm 6967 BLAKE2B 9d8de7009aa275873daed9e67e3c73e5f4bd932d2c6331cd216d3f4052d1368e2efda629ec5b0e6ebd0bbdd53906b42a3a29005187b33a14205d75354171437e SHA512 fb0ce290ce926dc0c4f7b3ad2a437f147e70fdc4416201cde68c9ff3cfe2e5a31bef718127cd844c92bae288e2d497d91ab49b16380586ddb0331f8de274b25b DIST wlcg-iam-lsc-ops-2.0.0-1.el9.noarch.rpm 6783 BLAKE2B 2acc44d042627e11f9cc7096a0fa88f5aae71e949e6661b87f213a6fb3d4fe70dc3133a261085e3d60168b36001483f637a9893ec0157927bcd07048b984bc89 SHA512 41dec749fc9e22e0d83b89516b0f3cf603f3601661a52799063b7feb2b62920ea1cf8938cfd971bc2bd27ea7b5ef3beef668e7f9d31d4a9c2886fd45cc5145b5 +DIST wlcg-iam-vomses-alice-1.0.0-1.el9.noarch.rpm 6799 BLAKE2B 9f1c4cefc06752652af853a85a34d8ec7a5c713da9963d2abed0a973f4e768cebe639feb724f457f756911af677cc2901b0a6c8d6ac01b7262992333c7acd8b6 SHA512 65484f8e18634f3260f85e71a2bd95ffe82f79057bfe97243cc2ea5a421f02c9271a6100de4c02ada08376c9b55cc4916707b6455231c1c87ae00a4e2574af05 +DIST wlcg-iam-vomses-atlas-1.0.0-1.el9.noarch.rpm 6796 BLAKE2B 245031fc17fb4c0b1852ab6336ee3c7226af0cac40cf44bfa487b184b9ef2a828ba4f99f216670a758c9e7f0aa80c28163d3f4e17c9422e469e17a9082bcc955 SHA512 98ba775a17edab6b85e695bf6918b7e1dd47596a3361b0a770381eec2eaf0e519ee63cb7c30061ccac0781476f32a4168b8c896669fd6da420700d31360ca8ae +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-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.3.ebuild b/sci-physics/wlcg-voms/wlcg-voms-2.0.3.ebuild new file mode 100644 index 0000000..138b472 --- /dev/null +++ b/sci-physics/wlcg-voms/wlcg-voms-2.0.3.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 + +RPM_VER=1.0.0-1 +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 + +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-voms-ops-${RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-ops-${WLCG_IAM_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/* + +}