diff options
Diffstat (limited to 'main/bacula')
-rw-r--r-- | main/bacula/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD index c6350e68b7..1236bc7006 100644 --- a/main/bacula/APKBUILD +++ b/main/bacula/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname="bacula" pkgver=5.0.3 -pkgrel=5 +pkgrel=6 pkgdesc="Enterprise ready, network based backup program" url="http://www.bacula.org" arch="x86 x86_64" @@ -70,13 +70,19 @@ package() { install -Dm644 "$srcdir"/bacula-${DAEMON}-conf \ "$pkgdir"/etc/conf.d/bacula-${DAEMON} done - install -Dm644 examples/sample-query.sql "$pkgdir"/etc/bacula/scripts/query.sql + install -Dm644 examples/sample-query.sql \ + "$pkgdir"/etc/bacula/scripts/query.sql mkdir -p "$pkgdir"/var/run/bacula # Fix correct log dir - sed -i -e 's%/var/bacula/log%/var/log/bacula%' "$pkgdir"/etc/bacula/bacula-dir.conf + sed -i -e 's%/var/bacula/log%/var/log/bacula%' \ + "$pkgdir"/etc/bacula/bacula-dir.conf # Install logrotate script install -Dm644 scripts/logrotate $pkgdir/etc/logrotate.d/bacula - sed -i -e 's%/var/bacula/log%/var/log/bacula%' "$pkgdir"/etc/logrotate.d/bacula + sed -i -e 's%/var/bacula/log%/var/log/bacula%' \ + "$pkgdir"/etc/logrotate.d/bacula + # Use shell script for catalog backup instead of perl + sed -i -e 's/make_catalog_backup.pl/make_catalog_backup/' \ + "$pkgdir"/etc/bacula/bacula-dir.conf } md5sums="9de254ae39cab0587fdb2f5d8d90b03b bacula-5.0.3.tar.gz |