mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Remove useless files
This commit is contained in:
parent
36745cda45
commit
002c59199c
6 changed files with 0 additions and 254 deletions
|
@ -1,22 +0,0 @@
|
||||||
--- INSTALL ---
|
|
||||||
* Récupérer les fichiers de conf dans /tmp/YunoHost/apps/nomDeLApp/conf
|
|
||||||
* Si il y a des sources
|
|
||||||
* * Téléchargement des sources dans /tmp/YunoHost/apps/nomDeLApp/sources
|
|
||||||
* Si il y a des services
|
|
||||||
* * Vérifier si les ports sont bien disponibles
|
|
||||||
* * Ouvrir les ports dans le firewall
|
|
||||||
* Exécuter le script de préinstall
|
|
||||||
* Si il y a des dépendances
|
|
||||||
* * Si il y a une archi spécifique pour les dépendances
|
|
||||||
* * * Regarder l'archi courante
|
|
||||||
* * Si il y a des repos
|
|
||||||
* * * Installer les repos avec l'archi éventuelle et les clés gpg
|
|
||||||
* * Installer les dépendances avec l'archi éventuelle
|
|
||||||
* Si les sources ont bien été récupérées
|
|
||||||
* * Déplacer les sources au bon endroit
|
|
||||||
* * Créer le vhost ou le repertoire
|
|
||||||
* * Configurer apache
|
|
||||||
* Exécuter le script d'install
|
|
||||||
* Inscrire name, description, site_url, icon, user_doc_url, dependencies, service_name, servic
|
|
||||||
es_ports, can_be_public et db_version dans le LDAP
|
|
||||||
* Supprimer /tmp/YunoHost/apps/nomDeLApp
|
|
|
@ -1,102 +0,0 @@
|
||||||
;;;;;;;;;;;;;;;;
|
|
||||||
; YunoHost App ;
|
|
||||||
;;;;;;;;;;;;;;;;
|
|
||||||
; This is the settings file for YunoHost application adjustments.
|
|
||||||
; It is needed in order to automatically install and configure a Web application
|
|
||||||
; and/or a service through the YunoHost administration panel.
|
|
||||||
;
|
|
||||||
; ... (How to contribute this app to community repo)
|
|
||||||
;
|
|
||||||
; See more examples at http://github.com/YunoHost/apps
|
|
||||||
|
|
||||||
|
|
||||||
[info]
|
|
||||||
; Name of the application that will be displayed almost everywhere.
|
|
||||||
; (e.g. name=Roundcube)
|
|
||||||
name=
|
|
||||||
|
|
||||||
; Description shown in the admin interface before the installation.
|
|
||||||
; (e.g. description=Free and open source webmail software for the masses)
|
|
||||||
description=
|
|
||||||
|
|
||||||
; Application website URL.
|
|
||||||
; (e.g. site_url=http://roundcube.net)
|
|
||||||
site_url=
|
|
||||||
|
|
||||||
; Version of the application.
|
|
||||||
; (e.g. version=0.8.1)
|
|
||||||
version=
|
|
||||||
|
|
||||||
; Relative path to the 64x64px PNG icon.
|
|
||||||
; (default: icon_path=icon.png)
|
|
||||||
icon_path=icon.png
|
|
||||||
|
|
||||||
; OPTIONNAL - Link to application documentation.
|
|
||||||
; (e.g. user_doc_url=http://trac.roundcube.net/wiki)
|
|
||||||
user_doc_url=
|
|
||||||
|
|
||||||
|
|
||||||
[scripts]
|
|
||||||
; OPTIONNALS - Relative path to bash scripts that will be executed before and
|
|
||||||
; after installing, removing, or updating the application.
|
|
||||||
; (e.g. install_script_path=scripts/install.sh)
|
|
||||||
preinstall_script_path=scripts/preinstall.sh
|
|
||||||
install_script_path=scripts/install.sh
|
|
||||||
remove_script_path=scripts/remove.sh
|
|
||||||
update_script_path=scripts/update.sh
|
|
||||||
dbupdate_script_path=scripts/dbupdate.sh
|
|
||||||
backup_script_path=scripts/backup.sh
|
|
||||||
restore_script_path=scripts/restore.sh
|
|
||||||
|
|
||||||
[packages]
|
|
||||||
; OPTIONNAL - Debian repositories (comma separated) to add to the apt source
|
|
||||||
; file.
|
|
||||||
; (e.g. ..._repositories=deb http://lemonldap-ng.org/deb wheezy main)
|
|
||||||
debian_repositories=
|
|
||||||
|
|
||||||
; OPTIONNAL - Name of dependency packages (comma separated) installable from
|
|
||||||
; debian repositories, including above specific ones.
|
|
||||||
; (e.g. debian_dependencies=php5-gd,php5-mcrypt,php5-dev)
|
|
||||||
debian_dependencies=
|
|
||||||
|
|
||||||
; OPTIONNAL - Download links to specific packages (comma separated) that
|
|
||||||
; will be installed after dependencies.
|
|
||||||
; (e.g. debian_packages_url=http://mydomain.org/my_lib_0.0.1_all.deb)
|
|
||||||
debian_packages_url=
|
|
||||||
|
|
||||||
; OPTIONNAL - If above three options differs for a specific arch, you have
|
|
||||||
; to put architecture in square brackets in addition.
|
|
||||||
; Examples :
|
|
||||||
;debian_repositories[x86_64]=
|
|
||||||
;debian_dependencies[x86_64]=
|
|
||||||
;debian_packages_url[x86_64]=
|
|
||||||
|
|
||||||
; OPTIONNAL - GPG keys (comma separated) to trust packages installation
|
|
||||||
; (e.g. gpg_keys_url=http://lemonldap-ng.org/_media/rpm-gpg-key-ow2)
|
|
||||||
gpg_keys_url=
|
|
||||||
|
|
||||||
|
|
||||||
[service]
|
|
||||||
; OPTIONNAL - Services name (comma separated)
|
|
||||||
; (e.g. services_name=postfix,ejabberd)
|
|
||||||
services_name=
|
|
||||||
|
|
||||||
; OPTIONNAL - Services used ports (comma separated)
|
|
||||||
; (e.g. services_ports=5222,5269,5280)
|
|
||||||
services_ports=
|
|
||||||
|
|
||||||
; OPTIONNAL - Ports to open in firewall (comma separated)
|
|
||||||
; (e.g. ports_to_open=5222,5269,5280)
|
|
||||||
ports_to_open=
|
|
||||||
|
|
||||||
|
|
||||||
[webapp]
|
|
||||||
sources_url=
|
|
||||||
code_patch_path=
|
|
||||||
can_be_public=
|
|
||||||
can_be_protected=
|
|
||||||
custom_apache_conf_path=
|
|
||||||
relative_document_root=
|
|
||||||
relative_path_to_protect=
|
|
||||||
relative_path_to_unprotect=
|
|
||||||
db_version=
|
|
|
@ -1,34 +0,0 @@
|
||||||
require 'yunohost/appconf'
|
|
||||||
|
|
||||||
class WordPress < Appconf
|
|
||||||
|
|
||||||
homepage 'http://www.gnu.org/wget/'
|
|
||||||
url 'http://ftp.gnu.org/wget-1.12.tar.gz'
|
|
||||||
md5 '308a5476fc096a8a525d07279a6f6aa3'
|
|
||||||
|
|
||||||
|
|
||||||
def preinstall
|
|
||||||
system 'make install'
|
|
||||||
end
|
|
||||||
|
|
||||||
def upgrade
|
|
||||||
system 'make install'
|
|
||||||
end
|
|
||||||
|
|
||||||
def db_upgrade
|
|
||||||
system 'make install'
|
|
||||||
end
|
|
||||||
|
|
||||||
def remove
|
|
||||||
system 'make install'
|
|
||||||
end
|
|
||||||
|
|
||||||
def backup
|
|
||||||
system 'make install'
|
|
||||||
end
|
|
||||||
|
|
||||||
def restore
|
|
||||||
system 'make install'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
|
@ -1,96 +0,0 @@
|
||||||
## LDAP Schema Yunohost APPS
|
|
||||||
## Version 0.1
|
|
||||||
## Adrien Beudin
|
|
||||||
|
|
||||||
# Attributes
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.1
|
|
||||||
NAME 'name'
|
|
||||||
DESC 'Name of App'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.2
|
|
||||||
NAME 'desc'
|
|
||||||
DESC 'Description of App'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.4
|
|
||||||
NAME 'accessMode'
|
|
||||||
DESC 'Access Mode'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.5
|
|
||||||
NAME 'appIcon'
|
|
||||||
DESC 'App JPEG image'
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.6
|
|
||||||
NAME 'vhost'
|
|
||||||
DESC 'Vhost of App'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.7
|
|
||||||
NAME 'path'
|
|
||||||
DESC 'URL of App'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.8
|
|
||||||
NAME 'version'
|
|
||||||
DESC 'Version of App'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.9
|
|
||||||
NAME 'isWebApp'
|
|
||||||
DESC 'App is a web app'
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.10
|
|
||||||
NAME 'isService'
|
|
||||||
DESC 'App is a service'
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.11
|
|
||||||
NAME 'label'
|
|
||||||
DESC 'Label app'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.12
|
|
||||||
NAME 'homepageUrl'
|
|
||||||
DESC 'Url of homepage app'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
attributetype ( 1.3.6.1.4.1.40328.1.20.1.13
|
|
||||||
NAME 'docUrl'
|
|
||||||
DESC 'Url of doc'
|
|
||||||
EQUALITY caseIgnoreMatch
|
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
||||||
|
|
||||||
# Apps Objectclass
|
|
||||||
objectclass ( 1.3.6.1.4.1.40328.1.1.1.1
|
|
||||||
NAME 'YunoApps'
|
|
||||||
DESC 'Yunohost Apps'
|
|
||||||
SUP top
|
|
||||||
AUXILIARY
|
|
||||||
MUST (
|
|
||||||
name $ vhost $ path $ isService $ isWebApp $ version $ accessMode
|
|
||||||
)
|
|
||||||
MAY (
|
|
||||||
desc $ icon $ docUrl $ homepageUrl $ label
|
|
||||||
)
|
|
||||||
)
|
|
Loading…
Add table
Reference in a new issue