1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coin_ynh.git synced 2024-09-03 18:16:26 +02:00

[fix] Upgrade sources and fix postgresql version (#6)

* [fix] Upgrade sources and fix postgresql version

* [fix] Update manifest
This commit is contained in:
ljf (zamentur) 2018-08-17 18:31:48 +02:00 committed by GitHub
parent 320d667e1b
commit 22d5d4c774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 29 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://code.ffdn.org/FFDN/coin/archive/b746cf1059cc3308e2e9e197a5e023522bf184ea.tar.gz SOURCE_URL=https://code.ffdn.org/FFDN/coin/archive/571df323feac6cb8fb338a8341bbd8c329f0d238.tar.gz
SOURCE_FILENAME=coin-2017-07-31.tar.gz SOURCE_FILENAME=coin-2018-08-17-2.tar.gz
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_SUM=de3807acef0069043be5376860e8bbabbb4cb4697778d37a031aa15ccfbae2dc SOURCE_SUM=09026019017592ea178e19a54443dbe928d191c13d7bb030c50e9e267988bf98
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum

View file

@ -14,9 +14,9 @@
}, },
"url": "https://code.ffdn.org/FFDN/coin/", "url": "https://code.ffdn.org/FFDN/coin/",
"requirements": { "requirements": {
"yunohost": ">> 2.5.0" "yunohost": ">> 3.0"
}, },
"version": "20170802~ynh1", "version": "20180817~ynh2",
"multi_instance": false, "multi_instance": false,
"services": [ "services": [
"nginx" "nginx"

View file

@ -8,7 +8,7 @@ function install_dependencies()
function init_db() function init_db()
{ {
sed -i '/local\s*all\s*all\s*peer/i \ sed -i '/local\s*all\s*all\s*peer/i \
local all coin password' /etc/postgresql/9.4/main/pg_hba.conf local all coin password' /etc/postgresql/9.*/main/pg_hba.conf
service postgresql reload service postgresql reload
# Generate random password # Generate random password
db_name=$app db_name=$app

View file

@ -1,23 +0,0 @@
From 5dbe24ccb81eaca81cbfc608e2aa70528dd3bc2c Mon Sep 17 00:00:00 2001
From: ljf <ljf+yunohost@grimaud.me>
Date: Tue, 27 Mar 2018 16:21:00 +0200
Subject: [PATCH] [fix] requirements
---
requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt
index 65b8bf8..e57bb95 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
Django>=1.8.17,<1.9
-psycopg2==2.5.2
+psycopg2>=2.5.4
python-ldap==2.4.15
wsgiref==0.1.2
python-dateutil==2.2
--
2.16.2