manifest.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "Pi-hole",
  3. "id": "pihole",
  4. "packaging_format": 1,
  5. "description": {
  6. "en": "Network-wide ad blocking via your own DNS server.",
  7. "fr": "Filtrage publicitaire sur l'ensemble du réseau via votre propre serveur DNS."
  8. },
  9. "version": "3.3.1~ynh4",
  10. "url": "https://pi-hole.net/",
  11. "license": "EUPL-1.2",
  12. "maintainer": {
  13. "name": "Maniack Crudelis",
  14. "email": "maniackc_dev@crudelis.fr"
  15. },
  16. "requirements": {
  17. "yunohost": ">= 3.3.3"
  18. },
  19. "multi_instance": false,
  20. "services": [
  21. "nginx",
  22. "php5-fpm"
  23. ],
  24. "arguments": {
  25. "install" : [
  26. {
  27. "name": "domain",
  28. "type": "domain",
  29. "ask": {
  30. "en": "Choose a domain for the admin interface of Pi-hole",
  31. "fr": "Choisissez un domaine pour l'interface admin de Pi-hole"
  32. },
  33. "example": "domain.org"
  34. },
  35. {
  36. "name": "path",
  37. "type": "path",
  38. "ask": {
  39. "en": "Choose a path for the admin interface of Pi-hole",
  40. "fr": "Choisissez un chemin pour l'interface admin de Pi-hole"
  41. },
  42. "example": "/pihole",
  43. "default": "/pihole"
  44. },
  45. {
  46. "name": "admin",
  47. "type": "user",
  48. "ask": {
  49. "en": "Choose the Pi-hole administrator (must be an existing YunoHost user)",
  50. "fr": "Administrateur de Pi-hole (doit être un utilisateur YunoHost existant)"
  51. },
  52. "example": "john"
  53. },
  54. {
  55. "name": "query_logging",
  56. "type": "boolean",
  57. "ask": {
  58. "en": "Do you want to log queries ?",
  59. "fr": "Voulez-vous enregistrer les requêtes dns ?"
  60. },
  61. "help": {
  62. "en": "Keeping this option deactivate will render graphs on the admin page useless. But will respect the privacy of the other users.",
  63. "fr": "Garder cette option désactivée rendra les graphiques sur la page d'administration inutiles. Mais respectera la vie privée des autres utilisateurs."
  64. },
  65. "default": false
  66. },
  67. {
  68. "name": "enable_dhcp",
  69. "type": "boolean",
  70. "ask": {
  71. "en": "Do you want to set Pi-hole as your DHCP server ?",
  72. "fr": "Voulez-vous utiliser Pi-hole an tant que serveur DHCP ?"
  73. },
  74. "help": {
  75. "en": "If you want to do that, <a href=https://github.com/YunoHost-Apps/pihole_ynh/blob/master/dhcp.md target=_blank>you really have to read this before</a> !",
  76. "fr": "Si vous voulez faire ça, <a href=https://github.com/YunoHost-Apps/pihole_ynh/blob/master/dhcp.md target=_blank>vous devez vraiment lire cela avant</a> !"
  77. },
  78. "default": false
  79. }
  80. ]
  81. }
  82. }