public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/cvmfs/
Date: Sun, 02 Feb 2025 10:25:41 +0000 (UTC)	[thread overview]
Message-ID: <1738491767.21acedb9bd594c7ea6ad9f41fce19ec4505975e3.amadio@gentoo> (raw)

commit:     21acedb9bd594c7ea6ad9f41fce19ec4505975e3
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 10:22:47 2025 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 10:22:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21acedb9

net-fs/cvmfs: add 2.12.6

Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 net-fs/cvmfs/Manifest            |   1 +
 net-fs/cvmfs/cvmfs-2.12.6.ebuild | 104 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/net-fs/cvmfs/Manifest b/net-fs/cvmfs/Manifest
index dc1b81b5b2ec..040a9a2e61e7 100644
--- a/net-fs/cvmfs/Manifest
+++ b/net-fs/cvmfs/Manifest
@@ -1,2 +1,3 @@
 DIST cvmfs-2.11.5.tar.gz 76761232 BLAKE2B ca665e0cdeab589d8cfcb4879b6e03a09330f9fa559aaa179cf7df10e9e92aa0a8ee215c3dc80eec6e2cc0912d7de80c759c2717303b94da8b2295fb3496d6b5 SHA512 fac61c59c9758d50f3ff1d90fbd60ea078c62f32aaba56ea02d1da11bfc2d304c340cc7ec539965bef3f0b7d6076502fdc5de8d8ed0f955289b77dcaa9d4de08
 DIST cvmfs-2.12.3.tar.gz 76788036 BLAKE2B ec96da382ffe5c920050d759c3ca86e1e6cec27537e5a5e2540dc5d13f33c733f319aeae117a94940e990ca6d3a9f4d7cb041cd5efdc187136d2781c0009560f SHA512 060580fec39086fa79d8fc93f02e6eadccc1e25eb93ec51c59e0f4872b272ff2e819e9c53c736e044cc4e2a584225b30737e32d4154d1848954850bc88b8cf09
+DIST cvmfs-2.12.6.tar.gz 76791902 BLAKE2B 436b3c56786cbf835092141cb62254e2123e3f63fba929e7988f7fd632c7e146e5bd1b89c9ddfef172c2b2b117d4ba06fb003a3aeb660a3d178794e1d5f45435 SHA512 863885085004534978f0bee9f9c8b0857b8d05fe3190b6a5613bc963ddc759aae0f708f11198bad4223fbfe9e6cfe83afb93086ab701f13933aa6d5cdd76b487

diff --git a/net-fs/cvmfs/cvmfs-2.12.6.ebuild b/net-fs/cvmfs/cvmfs-2.12.6.ebuild
new file mode 100644
index 000000000000..3edac5e65504
--- /dev/null
+++ b/net-fs/cvmfs/cvmfs-2.12.6.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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" \
+		-e "/^INSTALL_BASE/s:=.*\$:=${EPREFIX}/usr:" \
+		-e "s:/bin/pidof:/usr/bin/pidof: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"
+}


             reply	other threads:[~2025-02-02 10:25 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-02 10:25 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-28 17:01 [gentoo-commits] repo/gentoo:master commit in: net-fs/cvmfs/ Guilherme Amadio
2024-12-18  9:17 Guilherme Amadio
2024-12-06  9:27 Guilherme Amadio
2024-12-06  9:27 Guilherme Amadio
2024-11-23  8:55 Arthur Zamarin
2024-11-23  8:06 Arthur Zamarin
2024-09-30 14:19 Guilherme Amadio
2024-08-06 12:31 Guilherme Amadio
2024-08-06 12:31 Guilherme Amadio
2024-08-06 12:31 Guilherme Amadio
2024-07-03 11:53 Guilherme Amadio
2024-03-10 17:15 Guilherme Amadio
2024-03-10 16:55 Guilherme Amadio
2024-03-10 16:55 Guilherme Amadio
2024-03-10 16:55 Guilherme Amadio
2023-11-02 10:45 Guilherme Amadio
2023-10-27  6:56 Guilherme Amadio
2023-05-14  8:48 Sam James
2023-05-14  8:48 Sam James
2023-03-02  9:40 Guilherme Amadio
2023-01-26 21:06 Andreas Sturmlechner
2023-01-03 18:28 Sam James
2023-01-03 18:28 Sam James
2022-09-19 12:11 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-03-28 14:52 Guilherme Amadio
2022-03-16 15:13 Guilherme Amadio
2022-02-11  7:56 Guilherme Amadio
2022-02-11  7:56 Guilherme Amadio
2021-12-14 10:03 Guilherme Amadio
2021-09-21 15:43 Guilherme Amadio
2021-09-21 15:43 Guilherme Amadio
2021-09-21 15:43 Guilherme Amadio
2021-08-25 13:06 Guilherme Amadio
2021-06-28 19:20 Guilherme Amadio
2021-06-16  8:35 Guilherme Amadio
2021-06-16  8:35 Guilherme Amadio
2021-06-16  8:35 Guilherme Amadio
2020-08-30 14:55 Mikle Kolyada
2020-06-26 13:16 Guilherme Amadio
2020-06-20  6:09 Guilherme Amadio
2020-06-20  5:53 Guilherme Amadio
2020-06-19  8:23 Guilherme Amadio
2020-06-19  7:52 Guilherme Amadio
2020-06-19  7:20 Guilherme Amadio
2020-06-19  7:20 Guilherme Amadio
2019-12-03  8:20 Guilherme Amadio
2019-11-10 14:14 Mikle Kolyada
2019-06-14  6:43 Guilherme Amadio
2019-06-11 10:12 Guilherme Amadio
2018-08-26 17:08 Michał Górny
2017-08-17 16:20 Sebastien Fabbro
2017-07-18 16:12 Sebastien Fabbro
2017-07-18 16:12 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1738491767.21acedb9bd594c7ea6ad9f41fce19ec4505975e3.amadio@gentoo \
    --to=amadio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox