From 6c0ae85250c6a8930b53d7a79b6dda24a354fb85 Mon Sep 17 00:00:00 2001 From: Marc Schiffbauer Date: Sat, 19 Sep 2015 02:13:54 +0200 Subject: [PATCH] app-backup/bareos: add new USE: gnutls, jansson, rados-striper Package-Manager: portage-2.2.20.1 --- app-backup/bareos/bareos-15.2.1.ebuild | 24 ++++++++++++++++++------ app-backup/bareos/metadata.xml | 3 +++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/app-backup/bareos/bareos-15.2.1.ebuild b/app-backup/bareos/bareos-15.2.1.ebuild index 3ae97b3b47c5..b129f8cf1144 100644 --- a/app-backup/bareos/bareos-15.2.1.ebuild +++ b/app-backup/bareos/bareos-15.2.1.ebuild @@ -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 \ diff --git a/app-backup/bareos/metadata.xml b/app-backup/bareos/metadata.xml index f7f835f420b1..b88526ae61c2 100644 --- a/app-backup/bareos/metadata.xml +++ b/app-backup/bareos/metadata.xml @@ -11,10 +11,13 @@ Install director Enable support vor lz4, lz4hc and lzfast using dev-libs/bareos-fastlzlib Enable glusterfs storage backend + When ssl is enabled, use GnuTLS instead of OpenSSL + JSON API support using JANSSON for director enable build of LMDB support for faster accurate backup Install support files for logwatch Enable support for NDMP (Network Data Management Protocol) Enable rados storage backend + Enable use of rados-striper Enable low level SCSI crypto support Enable SQL pooling support Install storage daemon (bareos-sd) -- 2.26.2