Skip to content

Commit

Permalink
sci-physics/wlcg-voms: add 2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Freyermuth <[email protected]>
  • Loading branch information
olifre committed Mar 18, 2024
1 parent 5d1f00a commit 13751be
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sci-physics/wlcg-voms/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ DIST infn-vo-wlcg-1.0.0-0.el7.noarch.rpm 3064 BLAKE2B 8982f1df19b10a66d062a406d3
DIST infn-vo-wlcg-1.1.0-1.el7.noarch.rpm 3288 BLAKE2B 87313ff979a127294c70a7d0a32f229fe1c371de8ca2de1c918cd310df49bebd070b4e115a762806bc1d4a65328589fb710cf5f27241efbc001b97bdafdcf665 SHA512 3d339df9019a99c317a4973945c59d9a5782c24b45712856b70c68dba4c798fe62da763237152bea988465ac26e9dbc9d3f640d600650c522be2f7e900641982
DIST wlcg-iam-lsc-alice-1.0.0-1.el7.noarch.rpm 2436 BLAKE2B fa65442790c77e7d1d0cd20b5edf245f44c5ebfb50f2a11cce687b69f3db970f68c9978164ad52a0a05bda2843c44eb9990363cc1227b9da32c1504eaa428074 SHA512 4d56c54140dfc7cc037cf74627509255648ec765774513017e4a153753eaba6b895358e2868034c3a62015a7dd8dc6365f549083d4640adee0de8cc52cf2b135
DIST wlcg-iam-lsc-alice-1.0.0-1.el9.noarch.rpm 6813 BLAKE2B db4392549da6c76616b848cccb16421e231f567034692e4b63b86499701416f5d640aa74b417a48c178a14faef30f138f645bd8714b2a52fb08db57c231a49d0 SHA512 41dacff979406b44dda341ba51083215b8c41d82ff714b930af97fe1c6d08cb35694de66b3308c111c36ba2ac9b1cf8e702ab5f41e4b74f2964d6062b63de69f
DIST wlcg-iam-lsc-alice-2.0.0-1.el9.noarch.rpm 6974 BLAKE2B c576f69355834d9e42db3d240903512976af2de69d2d946bc9dfe7e11b4e7c34fdaed405ac71db883e09aacedd6a6eef93f20791fa91e72d865afbb4e99709bf SHA512 05a60bf3dbc9fe5d27adfdaac08e464b3725324231f1473b7ecfc6a0ab07ae9f1e9d19193d18c503d3823a355414c3473429b217e3b13d097d70ea4f14294078
DIST wlcg-iam-lsc-atlas-1.0.0-1.el7.noarch.rpm 2436 BLAKE2B 9e91bc1723d74e4ff862e0bac793e7ca7ad07a7779de6876dc13dc8228100284fc256ef15644faad824f814aec13b6806ee6695121f3c2181eaed0216bebc136 SHA512 ac3bf9fe4ea25c6cee01b276b2f2273159beaa0d44ccf760e17b2a16a5c94212e339fb050956b2714eaf09b7a0653b2d2579284adb59679a9921303fa97f1d5a
DIST wlcg-iam-lsc-atlas-1.0.0-1.el9.noarch.rpm 6813 BLAKE2B db4d17e56a4445acd18a8df2a43b64e2caf3419e4a08e20621ae4b5ac816cc25fd9f2f97d0c23f4162cea02bf69b886ceb327d4595a8364ce9fc19453c92fb70 SHA512 543b3a75c62cd21ca8dda28654ca719cb3d14446798070823ee9dc26fc4e68d8c9d4a2e7c19027d6d3ef4ecd7b8f0179150a9c40869e3bdc350f4b3e9035c698
DIST wlcg-iam-lsc-atlas-2.0.0-1.el9.noarch.rpm 6976 BLAKE2B c8d21804aec71984d4fe43cee142a9451310bf276d72cf69e2aa2365d5b15d1bc56fb2ee597046bd8682522884e78a19b0c054c0c6adc83ceff6265dbb706535 SHA512 0208b09918251ead5d9791774cecccd9c130f43c6cae23b3b9ab340d241462d884f145581611f37c2499a5d0ab2fa2f7767acf905d01b0cf9abea645dbe043c8
DIST wlcg-iam-lsc-cms-1.0.0-1.el7.noarch.rpm 2420 BLAKE2B 89599c362fab570af8f0bed8122c291f2b0894da1e309bc8e091f1210e0e337a878fd82dd470ad363f41fb3398ea42bb9537a3fe524f5e4545d91c25cad733ac SHA512 533b13b4565353853f246a109b0a2c455e48019f9460e3cfee89e3887bb3c8dcb0454c15aabae57a8d209db0452d42ee75aca8860972222495adf6193bd30518
DIST wlcg-iam-lsc-cms-1.0.0-1.el9.noarch.rpm 6795 BLAKE2B da5e64af47c4d3954db20ec0d2c6493e794091de5a184710572db17f2791adedb39433052fe43ae1fd41be04e68a383f470f840620a7d04dc9bb45ae38f4c72f SHA512 dfe3d9178c12dbc1ce501aa8133cfa0c0fb8627de2456ba07fd1f3029e8ed83490f3dbd67799c0a8c09d26cfe0d4dc3a78d6fc0b8aaab2ccf26767731f3c84c2
DIST wlcg-iam-lsc-cms-2.0.0-1.el9.noarch.rpm 6953 BLAKE2B fda16b8c53f76c7569148dd77e090e0ac4d455ec6a043205d250ccb269ff5d49063406d678b47504d272499cb15952b24ba3095866ac6f3d948389e67a88ded7 SHA512 f1be295834c3fe72c498db7604c0957d03b3668a94a41d1762d9f459f16a371e924ef9a10321edc3573f78133c51d2a7e05645986d034828c604f7f570cc7c95
DIST wlcg-iam-lsc-dteam-1.0.0-1.el9.noarch.rpm 6796 BLAKE2B 0ed7a7d21d1d169326e1c7b9458e30c6d7a6a89a37cc69573a8a7554573ba20df32cf9d0c38fb8f82d11419b07397e6afc5f3f0cffe380ce553fc1b9ffb8fca9 SHA512 41a37625490f7af3c06c56e9c45977fea86d5782fdaf413c8a367916f5e77928e6ad5f887656ffbe95f3630b060b1c1078624822e84cc42d459a3430eeaf269e
DIST wlcg-iam-lsc-lhcb-1.0.0-1.el7.noarch.rpm 2428 BLAKE2B e92b3c2f6f1efb72ac2df9a63e02f730ec60c0489e3edf528bcaddaf16cffc37c1ae322bbafe990341155b064919b0b02c15a79641f003f8228b0011c234a2aa SHA512 631041d39c76998192459852eae3e85a9e3da358a213c3f3cc74142936b97befc47ecd8eae3136fb5fe2a3ac7db97117dec2990b8ebde6fa5f3e097a1b682d99
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-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
Expand All @@ -21,3 +25,4 @@ DIST wlcg-voms-dteam-1.0.0-1.el9.noarch.rpm 7016 BLAKE2B 7d3dac6d5087cc214409cc0
DIST wlcg-voms-lhcb-1.0.0-1.el7.noarch.rpm 2964 BLAKE2B b1bf0c67cddf9237924fa0c16eee93a6be774da7ed9d366eb1289f8e7d76f095f75c0706e48f8f7a4d33b8e66e651aa9a4cc9a44887fe1f8a3d5eafdcc94a09a SHA512 7bf99e3b92be94a54f876abe43d8da0cbff8cfac92cafa6bc402c70e452389d4b745f61961e590782dfc7a0656c63b7c26278355aa5a92666eef31f4e61fd86d
DIST wlcg-voms-lhcb-1.0.0-1.el9.noarch.rpm 7314 BLAKE2B 426c70bc0841f44852e8addc78b9440f02cffa03d42377e1ab0a125a89eda3a1e69848ae1e35c8f5d10c4baf1c3814de60a3f1399332e5dfebbcfe3e4b7b5930 SHA512 68733ad3cee50c0757cc0eb87cea0b390b738f310e9e0917b2c803718e9f0be3a255cccb74ac92a7595e2e33c1c9acc2ca3597fde5c191c1bcd28a09d3358da6
DIST wlcg-voms-ops-1.0.0-1.el7.noarch.rpm 2956 BLAKE2B 000e82490fa60e42bb5d68714c3b35525ca853827895938336772d4b891f9a4deb3b16f568e4afbdfd7b952fcafcaaa6f7cba2e4c975df8696a596be368366be SHA512 50174d9c24f282d4cf9660a40f59bb4159ed71323751cd7c95db8969fdc9bf146925305b0b8d339d425ce027b9abb58b9c3be47c7e8c2205974e266f03e37fe7
DIST wlcg-voms-ops-1.0.0-1.el9.noarch.rpm 7310 BLAKE2B fe01941460348f77b13f2539004358b0518c3c5455d3c403416e9645edeaf56c2a209dfca84eb66b238dfb28b535959d1c832d796cb1e1eb3573afe6bcedb4bc SHA512 4d4d604a633862ede72beba00b4a5f53467c3713da981cb73ba608c446051932eb6325e1b9cf04de3f0fbd2c75109aea2d9d5aa783127875df6959fe77dbff5f
69 changes: 69 additions & 0 deletions sci-physics/wlcg-voms/wlcg-voms-2.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -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_DEV_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_DEV_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_DEV_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/*

}

0 comments on commit 13751be

Please sign in to comment.