summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-03-03 19:00:49 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-03-03 19:00:49 +0000
commit2096b241c4ae2d0cb3ebfffe9cba90c5daa05e2b (patch)
treeb4d222251208eae1fae7b9e8448948065a5baa1d
parent1770dadd56e7adefa30e3a7caf5fe3d7e2a05456 (diff)
downloadaports-fcolista-2096b241c4ae2d0cb3ebfffe9cba90c5daa05e2b.tar.bz2
aports-fcolista-2096b241c4ae2d0cb3ebfffe9cba90c5daa05e2b.tar.xz
testing/bacula: upgrade to 5.0.1
-rw-r--r--testing/bacula/APKBUILD8
-rw-r--r--testing/bacula/bacula.post-install6
2 files changed, 9 insertions, 5 deletions
diff --git a/testing/bacula/APKBUILD b/testing/bacula/APKBUILD
index 320317de25..cb53a380b1 100644
--- a/testing/bacula/APKBUILD
+++ b/testing/bacula/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname="bacula"
-pkgver=5.0.0
-pkgrel=1
+pkgver=5.0.1
+pkgrel=0
pkgdesc="Enterprise ready, network based backup program"
url="http://www.bacula.org"
license="GPL2"
@@ -78,9 +78,11 @@ package() {
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
}
-md5sums="68e008d2578a6d9a50af60439db17dcb bacula-5.0.0.tar.gz
+md5sums="beb9f8da196b3c9ffb0356f087dbdb99 bacula-5.0.1.tar.gz
b1b328013634c98119663730e3e2da7e bacula-dir-init
20f28a16f34e3f20ed18ed81b010e765 bacula-dir-conf
5ae1fba6860a320394d65744e5640bdb bacula-sd-init
diff --git a/testing/bacula/bacula.post-install b/testing/bacula/bacula.post-install
index 79bd886b74..e1ba52d6fa 100644
--- a/testing/bacula/bacula.post-install
+++ b/testing/bacula/bacula.post-install
@@ -1,3 +1,5 @@
#!/bin/sh
-chown bacula.bacula /var/bacula
-chown bacula.bacula /var/log/bacula
+for dir in /var/bacula /var/log/bacula /var/run/bacula /var/lib/bacula
+do
+ chown bacula.bacula $dir
+done