manifest.toml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
  2. packaging_format = 2
  3. id = "pihole"
  4. name = "Pi-hole"
  5. description.en = "Network-wide ad blocking via your own DNS server"
  6. description.fr = "Filtrage publicitaire via votre propre serveur DNS"
  7. version = "6.0.5~ynh1"
  8. maintainers = []
  9. [upstream]
  10. license = "EUPL-1.2"
  11. website = "https://pi-hole.net/"
  12. admindoc = "https://docs.pi-hole.net"
  13. code = "https://github.com/pi-hole/pi-hole"
  14. fund = "https://pi-hole.net/donate/#donate"
  15. [integration]
  16. yunohost = ">= 11.2.4"
  17. architectures = "all"
  18. multi_instance = false
  19. ldap = "not_relevant"
  20. sso = "not_relevant"
  21. disk = "200M"
  22. ram.build = "600M"
  23. ram.runtime = "200M"
  24. [install]
  25. [install.domain]
  26. type = "domain"
  27. #[install.path]
  28. #type = "path"
  29. #default = "/pihole"
  30. [install.query_logging]
  31. ask.en = "Do you want to log DNS queries?"
  32. ask.fr = "Voulez-vous enregistrer les requêtes DNS ?"
  33. help.en = "Keeping this option deactivate will render graphs on the admin page useless. But will respect the privacy of the other users."
  34. help.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."
  35. type = "boolean"
  36. default = false
  37. [install.enable_dhcp]
  38. ask.en = "Do you want to set Pi-Hole as your DHCP server?"
  39. ask.fr = "Voulez-vous utiliser Pi-Hole an tant que serveur DHCP ?"
  40. help.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>!"
  41. help.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> !"
  42. type = "boolean"
  43. default = false
  44. [resources]
  45. [resources.sources]
  46. [resources.sources.main]
  47. url = "https://github.com/pi-hole/pi-hole/archive/refs/tags/v6.0.5.tar.gz"
  48. sha256 = "912f5cf1641dc506eaf30813d2dd35722ea1fe7a1f91d5334b19c553c9fd43c6"
  49. autoupdate.upstream = "https://github.com/pi-hole/pi-hole"
  50. autoupdate.strategy = "latest_github_release"
  51. [resources.sources.pi-hole_web]
  52. url = "https://github.com/pi-hole/web/archive/refs/tags/v6.0.2.tar.gz"
  53. sha256 = "705772ea91e73c441efaa18b4512af58647dba5309b2784cb674116b972af4d6"
  54. autoupdate.upstream = "https://github.com/pi-hole/web"
  55. autoupdate.strategy = "latest_github_release"
  56. [resources.sources.pi-hole_ftl]
  57. amd64.url = "https://github.com/pi-hole/FTL/releases/download/v6.0.4/pihole-FTL-amd64"
  58. amd64.sha256 = "4e765fef842a2609bdb7ec7aaf3bdf726c61af633b9bcbd9d127f00e3fd0eba6"
  59. i386.url = "https://github.com/pi-hole/FTL/releases/download/v6.0.4/pihole-FTL-386"
  60. i386.sha256 = "9d7f3514ae193ae502539eecb85fa640bf35ee2d087bf2d01ee073af39df2eab"
  61. armhf.url = "https://github.com/pi-hole/FTL/releases/download/v6.0.4/pihole-FTL-armv6"
  62. armhf.sha256 = "eb9901ecb554a6f9ecc00e11a3243641351da3ada5e8d431eb519416ab09c68b"
  63. arm64.url = "https://github.com/pi-hole/FTL/releases/download/v6.0.4/pihole-FTL-arm64"
  64. arm64.sha256 = "117c1f9a8594227b60c05c4c1be42d6ed64969c27201e7f27685dc2272b1521b"
  65. autoupdate.upstream = "https://github.com/pi-hole/FTL"
  66. autoupdate.strategy = "latest_github_release"
  67. autoupdate.asset.amd64 = "pihole-FTL-amd64"
  68. autoupdate.asset.i386 = "pihole-FTL-386"
  69. autoupdate.asset.armhf = "pihole-FTL-armv6"
  70. autoupdate.asset.arm64 = "pihole-FTL-arm64"
  71. rename = "pihole-FTL"
  72. extract = "false"
  73. [resources.system_user]
  74. [resources.install_dir]
  75. [resources.permissions]
  76. main.url = "/"
  77. main.allowed = "admins"
  78. [resources.ports]
  79. main.default = 4711
  80. web.default = 8080
  81. [resources.apt]
  82. packages = [
  83. "bash-completion",
  84. "binutils",
  85. "ca-certificates",
  86. "cron",
  87. "curl",
  88. "dialog",
  89. "dns-root-data",
  90. "dnsutils",
  91. "git",
  92. "grep",
  93. "iproute2",
  94. "iputils-ping",
  95. "jq",
  96. "libcap2",
  97. "libcap2-bin",
  98. "lshw",
  99. "netcat-openbsd",
  100. "procps",
  101. "psmisc",
  102. "sudo",
  103. "unzip",
  104. ]