aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bacula/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bacula/APKBUILD')
-rw-r--r--testing/bacula/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/bacula/APKBUILD b/testing/bacula/APKBUILD
index cb53a380b1..f68ce030c2 100644
--- a/testing/bacula/APKBUILD
+++ b/testing/bacula/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname="bacula"
pkgver=5.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="Enterprise ready, network based backup program"
url="http://www.bacula.org"
license="GPL2"
@@ -43,7 +43,7 @@ build() {
--infodir=/usr/share/info \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
- --with-logdir=/var/log/bacula \
+ --with-logdir=/var/log \
--enable-largefile \
--enable-smartalloc \
--disable-nls \
@@ -77,9 +77,9 @@ package() {
"$pkgdir"/etc/conf.d/bacula-${DAEMON}
done
install -Dm644 examples/sample-query.sql "$pkgdir"/etc/bacula/scripts/query.sql
- mkdir -p "$pkgdir"/var/log/bacula
mkdir -p "$pkgdir"/var/run/bacula
- mkdir -p "$pkgdir"/var/lib/bacula
+ # Fix correct log dir
+ sed -i -e 's%/var/bacula/log%/var/log/bacula%' $pkgdir/etc/bacula/bacula-dir.conf
}
md5sums="beb9f8da196b3c9ffb0356f087dbdb99 bacula-5.0.1.tar.gz