net-fs/cvmfs: added a preload use flag for optional installation of cache reloading...
authorSébastien Fabbro <bicatali@gentoo.org>
Thu, 17 Aug 2017 00:12:08 +0000 (00:12 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Thu, 17 Aug 2017 16:16:16 +0000 (16:16 +0000)
Package-Manager: Portage-2.3.7, Repoman-2.3.3

net-fs/cvmfs/cvmfs-2.3.5-r1.ebuild [moved from net-fs/cvmfs/cvmfs-2.3.5.ebuild with 95% similarity]
net-fs/cvmfs/metadata.xml

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 8913abdb7b1ebe5b26e5c57fee56cb9e28012bd3..05b2f31388492509c7fa60a8a5606f2cefff57d9 100644 (file)
@@ -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
index ec2d91c8fb8548057f7b093a43146a3cab401038..1c13de9185c684f5ee6d69e58afc3c7f8ac5406b 100644 (file)
@@ -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>