summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2024-11-16 14:48:01 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2024-11-16 14:50:55 +0100
commitcaee406364ec93f9b5b923903bbdabfd7c95d13c (patch)
tree496cb26ebf70965400b284185aecca1575776914 /app-backup
parentapp-admin/pwcrypt: add eautoreconf (diff)
downloadgentoo-caee406364ec93f9b5b923903bbdabfd7c95d13c.tar.gz
gentoo-caee406364ec93f9b5b923903bbdabfd7c95d13c.tar.bz2
gentoo-caee406364ec93f9b5b923903bbdabfd7c95d13c.zip
app-backup/bareos: minor optimization
add some USE deps to make clientonly more meaningful add some cmake flags to prevent downloading sources Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/bareos/bareos-23.1.0-r2.ebuild (renamed from app-backup/bareos/bareos-23.1.0-r1.ebuild)6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-backup/bareos/bareos-23.1.0-r1.ebuild b/app-backup/bareos/bareos-23.1.0-r2.ebuild
index 1d4a2ef52c45..71d78326e86d 100644
--- a/app-backup/bareos/bareos-23.1.0-r1.ebuild
+++ b/app-backup/bareos/bareos-23.1.0-r2.ebuild
@@ -97,6 +97,7 @@ BDEPEND="
REQUIRED_USE="
static? ( clientonly )
+ clientonly? ( !director !storage-daemon !ceph !glusterfs !lmdb !ndmp !scsi-crypto )
x86? ( !ceph )
"
@@ -165,8 +166,6 @@ src_prepare() {
src_configure() {
local mycmakeargs=()
- cmake_comment_add_subdirectory webui
-
if use clientonly; then
mycmakeargs+=(
-Dclient-only=ON
@@ -185,6 +184,9 @@ src_configure() {
mycmakeargs+=(
-DHAVE_PYTHON=0
+ -DCPM_USE_LOCAL_PACKAGES=1
+ -DCPM_LOCAL_PACKAGES_ONLY=1
+ -DENABLE_WEBUI=0
-Darchivedir=/var/lib/bareos/storage
-Dbackenddir=/usr/$(get_libdir)/${PN}/backend
-Dbasename="`hostname -s`"