app-backup/bareos: add new USE: gnutls, jansson, rados-striper
authorMarc Schiffbauer <mschiff@gentoo.org>
Sat, 19 Sep 2015 00:13:54 +0000 (02:13 +0200)
committerMarc Schiffbauer <mschiff@gentoo.org>
Sat, 19 Sep 2015 00:15:00 +0000 (02:15 +0200)
Package-Manager: portage-2.2.20.1

app-backup/bareos/bareos-15.2.1.ebuild
app-backup/bareos/metadata.xml

index 3ae97b3b47c55451160b1622a2cc06ed513fd683..b129f8cf114468744b0399026902b1c9fb96a39d 100644 (file)
@@ -17,14 +17,15 @@ RESTRICT="mirror"
 LICENSE="AGPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="acl clientonly +director fastlz ipv6 logwatch mysql ndmp postgres python qt4
-               readline scsi-crypto sql-pooling +sqlite ssl static +storage-daemon tcpd
-               vim-syntax X cephfs glusterfs lmdb rados"
+IUSE="X acl cephfs clientonly +director fastlz glusterfs gnutls ipv6 jansson lmdb logwatch
+       mysql ndmp postgres python qt4 rados rados-striper readline scsi-crypto sql-pooling
+       +sqlite ssl static +storage-daemon tcpd vim-syntax"
 
 DEPEND="
        !app-backup/bacula
        cephfs? ( sys-cluster/ceph )
        rados? ( sys-cluster/ceph )
+       rados-striper? ( >=sys-cluster/ceph-0.94.2 )
        glusterfs? ( sys-cluster/glusterfs )
        lmdb? ( dev-db/lmdb )
        dev-libs/gmp:0
@@ -32,7 +33,10 @@ DEPEND="
                postgres? ( dev-db/postgresql:*[threads] )
                mysql? ( virtual/mysql )
                sqlite? ( dev-db/sqlite:3 )
-               director? ( virtual/mta )
+               director? (
+                       virtual/mta
+                       jansson? ( dev-libs/jansson )
+               )
        )
        qt4? (
                dev-qt/qtsvg:4
@@ -47,12 +51,18 @@ DEPEND="
                sys-libs/zlib[static-libs]
                dev-libs/lzo[static-libs]
                sys-libs/ncurses:=[static-libs]
-               ssl? ( dev-libs/openssl:0[static-libs] )
+               ssl? (
+                       !gnutls? ( dev-libs/openssl:0[static-libs] )
+                       gnutls? ( net-libs/gnutls[static-libs] )
+               )
        )
        !static? (
                acl? ( virtual/acl )
                dev-libs/lzo
-               ssl? ( dev-libs/openssl:0 )
+               ssl? (
+                       !gnutls? ( dev-libs/openssl:0 )
+                       gnutls? ( net-libs/gnutls )
+               )
                sys-libs/ncurses:=
                sys-libs/zlib
        )
@@ -172,7 +182,9 @@ src_configure() {
                $(use_enable lmdb) \
                $(use_with glusterfs) \
                $(use_with rados) \
+               $(use_with rados-striper) \
                $(use_with cephfs) \
+               $(use_with jansson) \
                "
 
        econf \
index f7f835f420b1a0c0da60685af000d2e75b02e8fb..b88526ae61c2ee6b2158236cb30d1775a39f0552 100644 (file)
     <flag name="director">Install director</flag>
     <flag name="fastlz">Enable support vor lz4, lz4hc and lzfast using dev-libs/bareos-fastlzlib</flag>
     <flag name="glusterfs">Enable glusterfs storage backend</flag>
+    <flag name="gnutls">When ssl is enabled, use GnuTLS instead of OpenSSL</flag>
+    <flag name="jansson">JSON API support using JANSSON for director</flag>
     <flag name="lmdb">enable build of LMDB support for faster accurate backup</flag>
     <flag name="logwatch">Install support files for logwatch</flag>
     <flag name="ndmp">Enable support for NDMP (Network Data Management Protocol)</flag>
     <flag name="rados">Enable rados storage backend</flag>
+    <flag name="rados-striper">Enable use of rados-striper</flag>
     <flag name="scsi-crypto">Enable low level SCSI crypto support</flag>
     <flag name="sql-pooling">Enable SQL pooling support</flag>
     <flag name="storage-daemon">Install storage daemon (bareos-sd)</flag>