summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-08-17 00:12:08 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-08-17 16:16:16 +0000
commit5fae4d456963c16c173286bb4516eedb957e945c (patch)
tree47c4174386e157a1b6a59d120b5845fa52ae2703 /net-fs
parentnet-libs/libssh: Drop old (diff)
downloadgentoo-5fae4d456963c16c173286bb4516eedb957e945c.tar.gz
gentoo-5fae4d456963c16c173286bb4516eedb957e945c.tar.bz2
gentoo-5fae4d456963c16c173286bb4516eedb957e945c.zip
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
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/cvmfs/cvmfs-2.3.5-r1.ebuild (renamed from net-fs/cvmfs/cvmfs-2.3.5.ebuild)5
-rw-r--r--net-fs/cvmfs/metadata.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/net-fs/cvmfs/cvmfs-2.3.5.ebuild b/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>
<flag name='aufs'>Use AUFS instead of OverlayFS for the server</flag>
<flag name="client">Install the cvmfs client programs and init script</flag>
+ <flag name="preload">Install the cvmfs cache preloader for distributed file systems</flag>
<flag name="server">Install the cvmfsd program and init script</flag>
<flag name='test-programs'>Install unit test programs</flag>
</use>