diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-12-16 12:11:07 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-12-16 12:11:26 +0000 |
commit | da93cc1878c2be2ef9dd5930b3f7098c2d4bb8ad (patch) | |
tree | 0903ef7d5dfaa91d329189d150378e8a12139841 /main | |
parent | bf98ceeed28512cf4bb09452c7cf98d0a93397ad (diff) | |
download | aports-da93cc1878c2be2ef9dd5930b3f7098c2d4bb8ad.tar.bz2 aports-da93cc1878c2be2ef9dd5930b3f7098c2d4bb8ad.tar.xz |
main/bacula: fix default config not to depend on perl
Diffstat (limited to 'main')
-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 |