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
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
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
)
$(use_enable lmdb) \
$(use_with glusterfs) \
$(use_with rados) \
+ $(use_with rados-striper) \
$(use_with cephfs) \
+ $(use_with jansson) \
"
econf \
<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>