aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2020-06-12 12:18:41 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2020-06-12 12:19:19 +0000
commit8fcf08cd46c433cd0379b6977fc2c031525bcf62 (patch)
tree1c5ca39961cb94961f995d25dc9701439f8f277f
parente34091c6108a6e02065f6aea71f0d548478315f7 (diff)
downloadaports-8fcf08cd46c433cd0379b6977fc2c031525bcf62.tar.gz
aports-8fcf08cd46c433cd0379b6977fc2c031525bcf62.tar.bz2
aports-8fcf08cd46c433cd0379b6977fc2c031525bcf62.tar.xz
main/bacula: upgrade to 9.6.5
-rw-r--r--main/bacula/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index b2de02cd88..023fd2b790 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=bacula
-pkgver=9.4.4
-pkgrel=3
+pkgver=9.6.5
+pkgrel=0
pkgdesc="Enterprise ready, network based backup program"
url="https://www.bacula.org"
arch="all"
@@ -11,7 +11,8 @@ makedepends="autoconf mariadb-connector-c-dev ncurses-dev openssl-dev postgresql
sqlite-dev zlib-dev lzo-dev acl-dev postgresql"
install="$pkgname.pre-install $pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-sqlite
- $pkgname-client $pkgname-libs"
+ $pkgname-client-openrc:client_openrc $pkgname-client $pkgname-libs
+ $pkgname-openrc"
pkgusers="bacula"
pkggroups="bacula"
somask="libbaccats-$pkgver.so"
@@ -156,20 +157,24 @@ libs() {
mv "$pkgdir"/usr/lib/* "$subpkgdir"/usr/lib
}
+client_openrc() {
+ pkgdesc="Bacula client init script"
+ install -D -m755 "$pkgdir"/etc/init.d/$pkgname-fd \
+ "$subpkgdir"/etc/init.d/$pkgname-fd
+}
+
client() {
pkgdesc="Bacula client"
mkdir -p "$subpkgdir"/usr/sbin \
- "$subpkgdir"/etc/init.d \
"$subpkgdir"/etc/$pkgname
for bin in $pkgname $pkgname-fd bconsole btraceback; do
mv "$pkgdir"/usr/sbin/$bin "$subpkgdir"/usr/sbin
done
- mv "$pkgdir"/etc/init.d/$pkgname-fd "$subpkgdir"/etc/init.d
mv "$pkgdir"/etc/$pkgname/$pkgname-fd.conf "$subpkgdir"/etc/$pkgname/
install -d -o $pkgname -g $pkgname "$subpkgdir"/$_bworkdir
}
-sha512sums="f973c9ab8ee9867962645b1a1388b494fd402c990be8128b892e043e16361bff2fc08ec43e2c8c9bebeae9c94afd3fdbc04a610b35f99e7dd054ed1ad2c04b31 bacula-9.4.4.tar.gz
+sha512sums="4018e242b2131c2416cd16ae3530c9c848dc8e88dd6532136c699a50fcbf39a574ffec8ef13bc5d7a9673d057b51cf1d1be80667e89abe0e18ec79d04b0edd70 bacula-9.6.5.tar.gz
bb954bb94bffa68ba80872046782a73012487291f019fb8d7ff77fc7f4325e25bee88612b3279b4db7d3c2002ac7448ffabcda62da7bab54642a7413904abc91 bacula-dir.initd
0505b9a74520af6982d5df4390525976f8e009e641d0acfe8f24b2ec9f155166a65eecbabee9ff70ffe188d523effa64f958acd8f657410b1c002a6d736e8aee bacula-sd.initd
91a53cb566cfd91b42a319bd6ff9947047cae187c6ec198767853d1a0253667d6c2c58f0e72ed43a7b9f40b76e705cafde7a1d6ac86577fa0f64f44b031dec11 bacula-fd.initd