diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-04-27 19:42:38 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-04-27 19:43:12 +0200 |
commit | 70ed1458641c59a6094ba6a66ae4dabd4df90997 (patch) | |
tree | ae3b4d16c38bd1b07641d08f946ebb8f8ad8f087 | |
parent | 200ee166404840631473efcce5fa5648dd91fd6d (diff) | |
download | alpine_aports-70ed1458641c59a6094ba6a66ae4dabd4df90997.tar.bz2 alpine_aports-70ed1458641c59a6094ba6a66ae4dabd4df90997.tar.xz alpine_aports-70ed1458641c59a6094ba6a66ae4dabd4df90997.zip |
testing/baculum: update to 9.6.3
and fix dependencies and permissions of /var/cache/baculum
-rw-r--r-- | testing/baculum/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/testing/baculum/APKBUILD b/testing/baculum/APKBUILD index f4db74ffa7..b52a276b8f 100644 --- a/testing/baculum/APKBUILD +++ b/testing/baculum/APKBUILD | |||
@@ -1,6 +1,6 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=baculum | 2 | pkgname=baculum |
3 | pkgver=9.4.4 | 3 | pkgver=9.6.3 |
4 | pkgrel=0 | 4 | pkgrel=0 |
5 | pkgdesc="API layer to Baculum WebGUI tool for Bacula Community program" | 5 | pkgdesc="API layer to Baculum WebGUI tool for Bacula Community program" |
6 | url="https://bacula.org/" | 6 | url="https://bacula.org/" |
@@ -16,6 +16,7 @@ _api_depends="$_php-bcmath | |||
16 | $_php-xml" | 16 | $_php-xml" |
17 | _web_depends=" | 17 | _web_depends=" |
18 | $_php-common | 18 | $_php-common |
19 | $_php-ctype | ||
19 | $_php-mbstring | 20 | $_php-mbstring |
20 | $_php-xml | 21 | $_php-xml |
21 | " | 22 | " |
@@ -49,7 +50,8 @@ package() { | |||
49 | make -j1 DESTDIR="$pkgdir" HTTPDNAME=apache2 | 50 | make -j1 DESTDIR="$pkgdir" HTTPDNAME=apache2 |
50 | # will be symlinks | 51 | # will be symlinks |
51 | rmdir "$pkgdir"/usr/share/baculum/htdocs/assets \ | 52 | rmdir "$pkgdir"/usr/share/baculum/htdocs/assets \ |
52 | "$pkgdir"/usr/share/baculum/htdocs/protected/runtime | 53 | "$pkgdir"/usr/share/baculum/htdocs/protected/runtime \ |
54 | "$pkgdir"/var/cache/baculum | ||
53 | 55 | ||
54 | } | 56 | } |
55 | 57 | ||
@@ -64,34 +66,34 @@ _common() { | |||
64 | usr/share/baculum/htdocs/README \ | 66 | usr/share/baculum/htdocs/README \ |
65 | usr/share/baculum/htdocs/INSTALL \ | 67 | usr/share/baculum/htdocs/INSTALL \ |
66 | usr/share/baculum/htdocs/index.php | 68 | usr/share/baculum/htdocs/index.php |
67 | install -d -m775 -g www-data "$subpkgdir"/var/cache/baculum | 69 | install -d -m775 -g www-data "$subpkgdir"/var/cache/baculum \ |
70 | "$subpkgdir"/var/log/baculum | ||
68 | ln -s /var/cache/baculum \ | 71 | ln -s /var/cache/baculum \ |
69 | "$subpkgdir"/usr/share/baculum/htdocs/assets | 72 | "$subpkgdir"/usr/share/baculum/htdocs/assets |
70 | ln -s /var/cache/baculum \ | 73 | ln -s /var/cache/baculum \ |
71 | "$subpkgdir"/usr/share/baculum/htdocs/protected/runtime | 74 | "$subpkgdir"/usr/share/baculum/htdocs/protected/runtime |
75 | ls -la "$subpkgdir"/var/cache/baculum | ||
72 | } | 76 | } |
73 | 77 | ||
74 | _api() { | 78 | _api() { |
75 | pkgdesc="Baculum API files" | 79 | pkgdesc="Baculum API files" |
76 | depends="$_api_depends" | 80 | depends="$pkgname-common=$pkgver-r$pkgrel $_api_depends" |
77 | amove \ | 81 | amove \ |
78 | usr/share/baculum/htdocs/protected/API | 82 | usr/share/baculum/htdocs/protected/API |
79 | # will be symlinks | 83 | # will be symlinks |
80 | rm -r "$subpkgdir"/usr/share/baculum/htdocs/protected/API/Config \ | 84 | rm -r "$subpkgdir"/usr/share/baculum/htdocs/protected/API/Config \ |
81 | "$subpkgdir"/usr/share/baculum/htdocs/protected/API/Logs | 85 | "$subpkgdir"/usr/share/baculum/htdocs/protected/API/Logs |
82 | install -d -m775 -g www-data "$subpkgdir"/var/log/baculum | ||
83 | ln -s /var/cache/baculum "$subpkgdir"/usr/share/baculum/htdocs/protected/API/Logs | 86 | ln -s /var/cache/baculum "$subpkgdir"/usr/share/baculum/htdocs/protected/API/Logs |
84 | } | 87 | } |
85 | 88 | ||
86 | _web() { | 89 | _web() { |
87 | pkgdesc="Baculum Web files" | 90 | pkgdesc="Baculum Web files" |
88 | depends="$_web_depends" | 91 | depends="$pkgname-common=$pkgver-r$pkgrel $_web_depends" |
89 | amove \ | 92 | amove \ |
90 | usr/share/baculum/htdocs/protected/Web | 93 | usr/share/baculum/htdocs/protected/Web |
91 | # will be symlinks | 94 | # will be symlinks |
92 | rm -r "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Config \ | 95 | rm -r "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Config \ |
93 | "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Logs | 96 | "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Logs |
94 | install -d -m775 -g www-data "$subpkgdir"/var/log/baculum | ||
95 | ln -s /var/cache/baculum "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Logs | 97 | ln -s /var/cache/baculum "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Logs |
96 | } | 98 | } |
97 | 99 | ||
@@ -131,4 +133,4 @@ _web_lighttpd() { | |||
131 | "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Config | 133 | "$subpkgdir"/usr/share/baculum/htdocs/protected/Web/Config |
132 | } | 134 | } |
133 | 135 | ||
134 | sha512sums="28859c53b3ce4763f7041ae5636d99ddcdfefd24e8ab31c5cc6ca5f7499a73bea56bc7b955a7fbd3bf3666ea557d957c3fd84168f07e3bd2b01470a6ed50dc69 bacula-gui-9.4.4.tar.gz" | 136 | sha512sums="1c23523cea4554eb4fbddfd5372567456c1a0df5752b063a5336e33ab1739ea288fb83355a698f54ee576bbe022aa12252e0a9d9942adbdd9c5bda627a16e339 bacula-gui-9.6.3.tar.gz" |