sci-physics/wlcg-voms - 3.0.0 (olifre)

Search

Install

Install this version:

emerge -a =sci-physics/wlcg-voms-3.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-physics/wlcg-voms-3.0.0

Or alternatively:

emerge --autounmask-write -a =sci-physics/wlcg-voms-3.0.0

Package Information

Description:
VOMS LSC files
Homepage:
https://twiki.cern.ch/twiki/bin/view/LCG/VOMSLSCfileConfiguration
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.0.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

RPM_COMPRESS_TYPE=xz,zstd
inherit rpm

# https://repo.cloud.cnaf.infn.it/#browse/browse:infn-vos
WLCG_RPM_VER=1.1.0-1
# https://linuxsoft.cern.ch/wlcg/el9/x86_64/
WLCG_IAM_LSC_ALICE_RPM_VER=4.0.0-1
WLCG_IAM_VOMSES_ALICE_RPM_VER=3.0.0-1
WLCG_IAM_LSC_ATLAS_RPM_VER=4.0.0-1
WLCG_IAM_VOMSES_ATLAS_RPM_VER=3.0.0-1
WLCG_IAM_LSC_CMS_RPM_VER=4.0.0-1
WLCG_IAM_VOMSES_CMS_RPM_VER=3.0.0-1
WLCG_IAM_LSC_DTEAM_RPM_VER=3.0.0-1
WLCG_IAM_VOMSES_DTEAM_RPM_VER=1.0.0-1
WLCG_IAM_LSC_LHCB_RPM_VER=4.0.0-1
WLCG_IAM_VOMSES_LHCB_RPM_VER=3.0.0-1
WLCG_IAM_LSC_OPS_RPM_VER=3.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_LSC_ALICE_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_LSC_ATLAS_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_LSC_CMS_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_LSC_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_LSC_LHCB_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_LSC_OPS_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=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=voms.cc.kek.jp\n/C=JP/O=KEK/OU=CRC/CN=KEK GRID Certificate Authority2024' > 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/*

}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-physics/wlcg-voms | euse -E <flag> -p sci-physics/wlcg-voms | euse -D <flag> -p sci-physics/wlcg-voms

Global/Standard Flags

alice
Default: Enabled (+)
atlas
Default: Enabled (+)
belle
Default: Enabled (+)
cms
Default: Enabled (+)
dteam
Default: Enabled (+)
lhcb
Default: Enabled (+)
ops
Default: Enabled (+)
wlcg
Default: Enabled (+)

Inherited Eclasses

rpm

Manifest for 3.0.0

Type File Size Source URLs
DIST infn-vo-wlcg-1.1.0-1.el7.noarch.rpm 3288 bytes https://repo.cloud.cnaf.infn.it/repository/infn-vos/centos7/infn-vo-wlcg-1.1.0-1.el7.noarch.rpm
DIST wlcg-iam-lsc-alice-4.0.0-1.el9.noarch.rpm 6968 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-alice-4.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-atlas-4.0.0-1.el9.noarch.rpm 6969 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-atlas-4.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-cms-4.0.0-1.el9.noarch.rpm 6952 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-cms-4.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-dteam-3.0.0-1.el9.noarch.rpm 6968 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-dteam-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-lhcb-4.0.0-1.el9.noarch.rpm 6957 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-lhcb-4.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-ops-3.0.0-1.el9.noarch.rpm 6953 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-ops-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-vomses-alice-3.0.0-1.el9.noarch.rpm 6716 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-alice-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-vomses-atlas-3.0.0-1.el9.noarch.rpm 6720 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-atlas-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-vomses-cms-3.0.0-1.el9.noarch.rpm 6700 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-cms-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-vomses-dteam-1.0.0-1.el9.noarch.rpm 6783 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-dteam-1.0.0-1.el9.noarch.rpm
DIST wlcg-iam-vomses-lhcb-3.0.0-1.el9.noarch.rpm 6708 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-lhcb-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-vomses-ops-2.0.0-1.el9.noarch.rpm 6766 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-vomses-ops-2.0.0-1.el9.noarch.rpm