From 5fae4d456963c16c173286bb4516eedb957e945c Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Fabbro?= Date: Thu, 17 Aug 2017 00:12:08 +0000 Subject: [PATCH] net-fs/cvmfs: added a preload use flag for optional installation of cache reloading on distributed file systems (needs tbb) Package-Manager: Portage-2.3.7, Repoman-2.3.3 --- net-fs/cvmfs/{cvmfs-2.3.5.ebuild => cvmfs-2.3.5-r1.ebuild} | 5 +++-- net-fs/cvmfs/metadata.xml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) rename net-fs/cvmfs/{cvmfs-2.3.5.ebuild => cvmfs-2.3.5-r1.ebuild} (95%) diff --git a/net-fs/cvmfs/cvmfs-2.3.5.ebuild b/net-fs/cvmfs/cvmfs-2.3.5-r1.ebuild similarity index 95% rename from net-fs/cvmfs/cvmfs-2.3.5.ebuild rename to net-fs/cvmfs/cvmfs-2.3.5-r1.ebuild index 8913abdb7b1e..05b2f3138849 100644 --- a/net-fs/cvmfs/cvmfs-2.3.5.ebuild +++ b/net-fs/cvmfs/cvmfs-2.3.5-r1.ebuild @@ -15,7 +15,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="aufs bash-completion debug doc server test test-programs" +IUSE="aufs bash-completion debug doc preload server test test-programs" CDEPEND=" dev-cpp/gtest @@ -29,6 +29,7 @@ CDEPEND=" sys-fs/fuse:0= sys-libs/libcap:0= sys-libs/zlib:0= + preload? ( >=dev-cpp/tbb-4.4:0=[debug?] ) server? ( >=dev-cpp/tbb-4.4:0=[debug?] dev-python/geoip-python @@ -113,12 +114,12 @@ src_configure() { -DTBB_PRIVATE_LIB=OFF -DZLIB_BUILTIN=OFF -DBUILD_CVMFS=ON - -DBUILD_PRELOADER=ON -DBUILD_LIBCVMFS=ON -DINSTALL_MOUNT_SCRIPTS=ON -DINSTALL_PUBLIC_KEYS=ON -DINSTALL_BASH_COMPLETION=OFF -DBUILD_DOCUMENTATION="$(usex doc)" + -DBUILD_PRELOADER="$(usex preload)" -DBUILD_SERVER="$(usex server)" ) if use test || use test-programs; then diff --git a/net-fs/cvmfs/metadata.xml b/net-fs/cvmfs/metadata.xml index ec2d91c8fb85..1c13de9185c6 100644 --- a/net-fs/cvmfs/metadata.xml +++ b/net-fs/cvmfs/metadata.xml @@ -18,6 +18,7 @@ Use AUFS instead of OverlayFS for the server Install the cvmfs client programs and init script + Install the cvmfs cache preloader for distributed file systems Install the cvmfsd program and init script Install unit test programs -- 2.26.2