diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2023-10-26 08:53:53 +0200 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2023-10-27 08:42:14 +0200 |
commit | eb058d07a48c46ecb19134f78a625c4ba9f7d5bd (patch) | |
tree | e7140273f2f9f59921fc6451bea4e8b39aa1ac95 /net-fs/cvmfs | |
parent | dev-ruby/aws-sigv4: add 1.6.1 (diff) | |
download | gentoo-eb058d07a48c46ecb19134f78a625c4ba9f7d5bd.tar.gz gentoo-eb058d07a48c46ecb19134f78a625c4ba9f7d5bd.tar.bz2 gentoo-eb058d07a48c46ecb19134f78a625c4ba9f7d5bd.zip |
net-fs/cvmfs: version bump to 2.11.1
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'net-fs/cvmfs')
-rw-r--r-- | net-fs/cvmfs/Manifest | 1 | ||||
-rw-r--r-- | net-fs/cvmfs/cvmfs-2.11.1.ebuild | 102 |
2 files changed, 103 insertions, 0 deletions
diff --git a/net-fs/cvmfs/Manifest b/net-fs/cvmfs/Manifest index b071ceed0309..a258a9ebbf4c 100644 --- a/net-fs/cvmfs/Manifest +++ b/net-fs/cvmfs/Manifest @@ -1 +1,2 @@ DIST cvmfs-2.10.1.tar.gz 76493991 BLAKE2B 8d3632137b0fa15bcf07254bf7e376bbcadd8cb87c55ddb96ed98cb2c6cdee4dfdcadf0054a29ac0df93337aeaeec07b0f1edd2caae9adbaf9b1ed2a21bb9949 SHA512 a0c23c40fdd3ff53bfdfb53b347506b87ac4954efb4419c12702f9e9038de36a4d83de2e497749890f723b3263ad424ebb3a49c3ff09a9a698a43a2ada7f132f +DIST cvmfs-2.11.1.tar.gz 76019992 BLAKE2B 5a1d386fc3d68285eeed034dfb47deb7ac3b45a0e44a8987a4c14fd4fd7cefb812f030de737cd921caa859e514ad6cc0e07255a160f66f33959ac38ce3f7a71f SHA512 639b6171468a62ffec9aeeb85f4bcb49100def478a13d7fd7f5d4886670cdc990fa8e63bdfdbd8805ff52dfc0cee8d3a99c66b6fe1e412755c036d7d5722620c diff --git a/net-fs/cvmfs/cvmfs-2.11.1.ebuild b/net-fs/cvmfs/cvmfs-2.11.1.ebuild new file mode 100644 index 000000000000..37a64e0069e1 --- /dev/null +++ b/net-fs/cvmfs/cvmfs-2.11.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake linux-info bash-completion-r1 + +DESCRIPTION="HTTP read-only file system for distributing software" +HOMEPAGE="https://cernvm.cern.ch/fs/" +SRC_URI="https://ecsft.cern.ch/dist/cvmfs/${P}/source.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="server" + +CDEPEND=" + acct-group/cvmfs + acct-user/cvmfs + app-arch/libarchive + dev-cpp/gtest + dev-cpp/sparsehash + dev-db/sqlite:3= + dev-libs/leveldb:0= + dev-libs/openssl:0= + dev-libs/protobuf:0= + net-dns/c-ares:0= + net-libs/pacparser:0= + net-misc/curl:0[adns] + sys-apps/attr + sys-fs/fuse:0= + sys-fs/fuse:3= + sys-libs/libcap:0= + sys-libs/zlib:0= +" + +RDEPEND="${CDEPEND} + app-admin/sudo + net-fs/autofs +" + +DEPEND="${CDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.10.1-gentoo.patch +) + +pkg_setup() { + if use server; then + CONFIG_CHECK="~OVERLAY_FS" + ERROR_AUFS_FS="CONFIG_OVERLAY_FS: is required to be set" + linux-info_pkg_setup + fi +} + +src_prepare() { + cmake_src_prepare + # gentoo stuff + rm bootstrap.sh || die + sed -i -e "s:/usr/bin/systemctl:/bin/systemctl:g" cvmfs/cvmfs_config || die + sed -i -e 's/COPYING//' -e "s:cvmfs-\${CernVM-FS_VERSION_STRING}:${PF}:" \ + CMakeLists.txt || die + eapply_user +} + +src_configure() { + local mycmakeargs=( + -DBUILTIN_EXTERNALS=OFF + -DBUILD_CVMFS=ON + -DBUILD_LIBCVMFS=OFF # static library used only for development + -DBUILD_DOCUMENTATION=OFF + -DBUILD_GEOAPI=OFF # only used for stratum 1 servers + -DBUILD_LIBCVMFS_CACHE=OFF # for exotic cache configs + -DBUILD_PRELOADER=OFF # special purpose utility for HPCs + -DBUILD_RECEIVER=OFF # for distributed publishers only + -DBUILD_SERVER=$(usex server) + -DINSTALL_BASH_COMPLETION=OFF + -DINSTALL_MOUNT_SCRIPTS=ON + -DINSTALL_PUBLIC_KEYS=ON + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + newbashcomp cvmfs/bash_completion/cvmfs.bash_completion cvmfs_config + bashcomp_alias cvmfs_config cvmfs_server + dodoc doc/*.md + keepdir /var/lib/cvmfs + use server && keepdir /var/lib/cvmfs-server +} + +pkg_config() { + einfo "Setting up CernVM-FS client" + cvmfs_config setup + einfo "Now edit ${EROOT}/etc/cvmfs/default.local" + einfo "and restart the autofs service" +} |