diff options
-rw-r--r-- | testing/homer-api/APKBUILD | 4 | ||||
-rw-r--r-- | testing/homer-api/homer_db_init | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/testing/homer-api/APKBUILD b/testing/homer-api/APKBUILD index d6536896f4..da3634e40e 100644 --- a/testing/homer-api/APKBUILD +++ b/testing/homer-api/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=homer-api pkgver=5.0.6 -pkgrel=5 +pkgrel=6 pkgdesc="HOMER API" url="https://github.com/sipcapture/homer-api" arch="noarch" @@ -58,5 +58,5 @@ db() { } sha512sums="620185c19bd348ba68bad3a1992b7d673d29dcfb8a0aeea437a2d31e90f0a21cf6f46a43f0041a583a14d9403e1d8574c6040da1dba397ec2d955b8aba9010d8 homer-api-5.0.6.tar.gz -25c92652f63c9a7864ab42a690672369ef16bae71b32c7702c4100e6a067c989573959889beca674825e89cf48b2e8cbf16aacad03728ef3d1c43a788a73f84a homer_db_init +e305af57a8445b45cb1e894aa34ceea3aeedb60740a636229d470d872f9ebb835e03985faeb685180a3e2c1eae29b49c841f8cbdb4236dbf0323f905a30b0bbb homer_db_init b7a072cee1d64ec712fb4e9b7ac4191581f9babaf92c3088b8c6bbcc6e72d3f588015894835d7cdab281ba6963dcb15e8f9197fc9ee138cb329104beac5654e7 rotation-ini-path.patch" diff --git a/testing/homer-api/homer_db_init b/testing/homer-api/homer_db_init index 037d177be5..c80328ac6a 100644 --- a/testing/homer-api/homer_db_init +++ b/testing/homer-api/homer_db_init @@ -1,5 +1,8 @@ #!/bin/sh -e +# HOMER database setup script +# Copyright (c) 2017 Kaarle Ritvanen + exec_sql() { mysql $2 < /usr/share/homer-db/$1.sql } @@ -18,5 +21,4 @@ homer_rotate mysql <<EOF CREATE USER 'homer_user' IDENTIFIED BY 'homer_password'; GRANT SELECT ON homer_data.* TO 'homer_user'; -GRANT SELECT ON homer_statistic.* TO 'homer_user'; EOF |