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

Search

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
2.1.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 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_DTEAM_RPM_VER=1.0.0-1
WLCG_IAM_VOMSES_ALICE_RPM_VER=3.0.0-1
WLCG_IAM_VOMSES_ATLAS_RPM_VER=3.0.0-1
WLCG_IAM_VOMSES_CMS_RPM_VER=3.0.0-1
WLCG_IAM_VOMSES_DTEAM_RPM_VER=1.0.0-1
WLCG_IAM_VOMSES_LHCB_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_VOMSES_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_VOMSES_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_VOMSES_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_VOMSES_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_VOMSES_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_VOMSES_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=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/*

}

USE 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 (+)

Manifest for 2.1.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-3.0.0-1.el9.noarch.rpm 6736 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-alice-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-atlas-3.0.0-1.el9.noarch.rpm 6736 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-atlas-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-cms-3.0.0-1.el9.noarch.rpm 6716 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-cms-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-dteam-1.0.0-1.el9.noarch.rpm 6796 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-dteam-1.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-lhcb-3.0.0-1.el9.noarch.rpm 6728 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-lhcb-3.0.0-1.el9.noarch.rpm
DIST wlcg-iam-lsc-ops-2.0.0-1.el9.noarch.rpm 6783 bytes https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-iam-lsc-ops-2.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