1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/2FAuth_ynh.git synced 2024-09-03 20:36:18 +02:00
This commit is contained in:
Éric Gaspar 2023-02-18 17:20:18 +01:00
parent d792d829e3
commit 1f8b299765
5 changed files with 14 additions and 76 deletions

View file

@ -1,24 +0,0 @@
;; Test complet
; Manifest
domain="domain.tld"
path="/"
is_public=1
; Checks
pkg_linter=1
setup_sub_dir=0
setup_root=1
setup_nourl=0
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=f883227999b72a9107acf7d353ccb90d2cd791f3
backup_restore=1
multi_instance=1
change_url=1
;;; Options
Email=
Notification=none
;;; Upgrade options
; commit=f883227999b72a9107acf7d353ccb90d2cd791f3
name=Merge pull request #1 from YunoHost-Apps/testing
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&

View file

@ -1,48 +0,0 @@
{
"name": "2FAuth",
"id": "2fauth",
"packaging_format": 1,
"description": {
"en": "self-hosted alternative to One Time Passcode",
"fr": "Alternative auto-hébergée a One Time Passcode"
},
"version": "3.4.2~ynh1",
"url": "https://github.com/Bubka/2FAuth",
"upstream": {
"license": "AGPL-3.0",
"demo": "https://demo.2fauth.app/login",
"admindoc": "https://docs.2fauth.app/",
"code": "https://github.com/Bubka/2FAuth"
},
"license": "AGPL-3.0",
"maintainer": {
"name": "eric_G",
"email": ""
},
"requirements": {
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [
"nginx",
"php8.1-fpm",
"mysql"
],
"arguments": {
"install": [
{
"name": "domain",
"type": "domain"
},
{
"name": "admin",
"type": "user"
},
{
"name": "is_public",
"type": "boolean",
"default": true
}
]
}
}

View file

@ -20,8 +20,8 @@ website = "https://github.com/Bubka/2FAuth"
yunohost = ">= 11.1.7"
architectures = "all"
multi_instance = true
ldap = "?"
sso = "?"
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
@ -46,5 +46,8 @@ ram.runtime = "50M"
[resources.permissions]
main.url = "/"
[resources.apt]
packages = "php8.1-bcmath php8.1-xml php8.1-mbstring php8.1-gd php8.1-mysql"
[resources.database]
type = "mysql"

View file

@ -9,8 +9,6 @@ YNH_PHP_VERSION="8.1"
# Composer version
YNH_COMPOSER_VERSION="2.4.4"
#REMOVEME? pkg_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -0,0 +1,9 @@
test_format = 1.0
[default]
# -------------------------------
# Commits to test upgrade from
# -------------------------------
test_upgrade_from.f8832279.name = "Upgrade from #1"