summaryrefslogtreecommitdiff
path: root/bareos
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-26 09:31:57 +0100
committerErich Eckner <git@eckner.net>2019-02-26 09:31:57 +0100
commit597680f0f9c35cd9fa8a4dad4396d7adbbfebfae (patch)
treee44976923685441356fdff4c5b5fbb779a0788db /bareos
parent73d6cd00850b7d7565468c5feefa101d27f9ee71 (diff)
downloadarchlinuxewe.git.save-597680f0f9c35cd9fa8a4dad4396d7adbbfebfae.tar.xz
bareos: do not set hostname, password, etc. on compile time
Diffstat (limited to 'bareos')
-rw-r--r--bareos/PKGBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD
index b384eebb..1dd7feb8 100644
--- a/bareos/PKGBUILD
+++ b/bareos/PKGBUILD
@@ -22,7 +22,7 @@ pkgname=("${pkgbase}-common"
"${pkgbase}-storage-python-plugin")
pkgver=17.2.7
-pkgrel=1
+pkgrel=2
arch=(i686 x86_64 armv7h aarch64)
groups=('bareos')
pkgdesc="Bareos - Backup Archiving REcovery Open Sourced"
@@ -58,6 +58,15 @@ build() {
--disable-rpath \
--with-postgresql \
--with-sqlite3 \
+ --with-hostname='XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX' \
+ --with-dir-password="XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX" \
+ --with-fd-password="XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX" \
+ --with-sd-password="XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX" \
+ --with-mon-dir-password="XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX" \
+ --with-mon-fd-password="XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX" \
+ --with-mon-sd-password="XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX" \
+ --with-basename="XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX" \
+ --with-hostname="XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX" \
--with-logdir=/var/log/$pkgbase \
--with-dir-user=$pkgbase \
--with-dir-group=$pkgbase \