From 35b338cd83366cc4443c990ce6cd168f8166b8e4 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sat, 20 Apr 2024 04:36:26 +0200 Subject: [PATCH] sci-physics/wlcg-voms: add 2.0.1 Signed-off-by: Oliver Freyermuth --- sci-physics/wlcg-voms/Manifest | 1 + sci-physics/wlcg-voms/wlcg-voms-2.0.1.ebuild | 69 ++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 sci-physics/wlcg-voms/wlcg-voms-2.0.1.ebuild diff --git a/sci-physics/wlcg-voms/Manifest b/sci-physics/wlcg-voms/Manifest index 4060921..d7b882f 100644 --- a/sci-physics/wlcg-voms/Manifest +++ b/sci-physics/wlcg-voms/Manifest @@ -14,6 +14,7 @@ DIST wlcg-iam-lsc-lhcb-1.0.0-1.el7.noarch.rpm 2428 BLAKE2B e92b3c2f6f1efb72ac2df DIST wlcg-iam-lsc-lhcb-1.0.0-1.el9.noarch.rpm 6801 BLAKE2B 7b79337b389d725974c7981ac14d8c3017df96555a37548ca84dfd1070049e80ab857417d49560d4159f312913cd9fdafd9be21f6d006f9d9cd943681fe2271f SHA512 3d010b03e5395585c60b060f21893b8e989083862a91219a64a2a6236284b1c31e57248c65e93326b8e4a7f0011dd3e09b72c33e599e3e920972cbdbdeab685d DIST wlcg-iam-lsc-lhcb-2.0.0-1.el9.noarch.rpm 6967 BLAKE2B 9d8de7009aa275873daed9e67e3c73e5f4bd932d2c6331cd216d3f4052d1368e2efda629ec5b0e6ebd0bbdd53906b42a3a29005187b33a14205d75354171437e SHA512 fb0ce290ce926dc0c4f7b3ad2a437f147e70fdc4416201cde68c9ff3cfe2e5a31bef718127cd844c92bae288e2d497d91ab49b16380586ddb0331f8de274b25b DIST wlcg-iam-lsc-ops-1.0.0-1.el9.noarch.rpm 6795 BLAKE2B cd1a8dffcd134d4cb12513b56d44066a78c61653586eb757a33cbf629a729441d662d4d6d795d906bb55313d88e28107c2deb9c483b3f2e6031ff2fcd5b291c5 SHA512 fe0252fc2eabb0bc21b21dbf3d323fb953e904f49a4d80a10f6788b32cc215ddb15c41efe71765250af9574957410f2de49f638be0131f58ade585f495553545 +DIST wlcg-iam-lsc-ops-2.0.0-1.el9.noarch.rpm 6783 BLAKE2B 2acc44d042627e11f9cc7096a0fa88f5aae71e949e6661b87f213a6fb3d4fe70dc3133a261085e3d60168b36001483f637a9893ec0157927bcd07048b984bc89 SHA512 41dec749fc9e22e0d83b89516b0f3cf603f3601661a52799063b7feb2b62920ea1cf8938cfd971bc2bd27ea7b5ef3beef668e7f9d31d4a9c2886fd45cc5145b5 DIST wlcg-voms-alice-1.0.0-1.el7.noarch.rpm 2964 BLAKE2B ac3b9b6874eeebf1183120ae68ea3a187b6ccdb6bd1926a49d88acaa3769427a8dd5987d54e88036f62b5a3d246d47c82119556ba12bd96d28238caa53b358ca SHA512 1d05a4df0aab371b4ca94f5709cb06826de492b999663d99087477e0c57e489f3b2f5de88319d77f0daeebfe9693612e8bbd1fa47cc0d700858b3b2c39c01537 DIST wlcg-voms-alice-1.0.0-1.el9.noarch.rpm 7315 BLAKE2B 50826f21cf458d1e5de1b32a6a892aa71a19b263dd2bae8b9139a08cfe591a9226bcf152f1e8c281517a20260702ebdda382de58759a695a30fe2656ad46b576 SHA512 cf596b063443fee1bdd056cbf79cd5dc0157e9890035c9dd17278470132c826db6fe84e4f66e67b2256f2a2ef13fd13f825c7a0a07c16eee921ad0d9435fd306 DIST wlcg-voms-atlas-1.0.0-1.el7.noarch.rpm 2964 BLAKE2B cba4e95ad5da697221d9612fafa108d2dec5cd668818ea7fefc8d5400d0b5053a566994d43f0ba494bde7ae28dcc630c00cb07886997f1d5edede26001d44fdf SHA512 31c2c9ae34b6fc89bd144e46f39ec61ad570ff3d0aa6fbc353374c5f5af9882728e571afe7fe49214fb0778a835aeea1f65394e4022ab14168d5b497e8bea501 diff --git a/sci-physics/wlcg-voms/wlcg-voms-2.0.1.ebuild b/sci-physics/wlcg-voms/wlcg-voms-2.0.1.ebuild new file mode 100644 index 0000000..07332fa --- /dev/null +++ b/sci-physics/wlcg-voms/wlcg-voms-2.0.1.ebuild @@ -0,0 +1,69 @@ +# 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 + +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-voms-alice-${RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-alice-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + ) + atlas? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-voms-atlas-${RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-atlas-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + ) + cms? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-voms-cms-${RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-cms-${WLCG_IAM_RPM_VER}.el9.noarch.rpm + ) + dteam? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-voms-dteam-${RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-dteam-${WLCG_IAM_DTEAM_RPM_VER}.el9.noarch.rpm + ) + lhcb? ( + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-voms-lhcb-${RPM_VER}.el9.noarch.rpm + https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-lhcb-${WLCG_IAM_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 ) + " + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alice +atlas +belle +cms +dteam +lhcb +ops +wlcg" + +S="${WORKDIR}/" + +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/* + +}