diff options
Diffstat (limited to 'community/racktables')
-rw-r--r-- | community/racktables/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/racktables/APKBUILD b/community/racktables/APKBUILD index 71339dee6e..213e382619 100644 --- a/community/racktables/APKBUILD +++ b/community/racktables/APKBUILD @@ -3,15 +3,14 @@ pkgname=racktables _realname=RackTables pkgver=0.21.4 -pkgrel=0 +pkgrel=1 pkgdesc="Server room asset management" url="http://racktables.org" arch="noarch" license="GPL-2.0" _php=php7 depends="$_php $_php-bcmath $_php-gd $_php-mysqli $_php-pdo_mysql - $_php-json" -makedepends="$depends_dev" + $_php-json $_php-mbstring" subpackages="$pkgname-doc" pkggroups="www-data" source="https://github.com/RackTables/racktables/archive/RackTables-$pkgver.tar.gz" @@ -25,7 +24,8 @@ package() { make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install-docs mkdir -p "$pkgdir"/etc/racktables - chown :www-data "$pkgdir"/etc/racktables + touch "$pkgdir"/etc/racktables/secret.php + chown -R :www-data "$pkgdir"/etc/racktables chmod 770 "$pkgdir"/etc/racktables sed -i "s%<?php%<?php\n\n\$racktables_confdir = '/etc/racktables';%" \ "$pkgdir"/usr/share/webapps/RackTables/wwwroot/index.php |