manifest.toml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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.3~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.3.tar.gz"
  48. sha256 = "E026751DE959FF747848B54EF2298C1FB77B5D35317ED3627B48AC7D5454937D"
  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.4.tar.gz"
  53. sha256 = "4501CCBD3A2C429644E10DAE68BF3738AB715031ED29607E2D17E80E8A569D03"
  54. autoupdate.upstream = "https://github.com/pi-hole/web"
  55. autoupdate.strategy = "latest_github_release"
  56. [resources.sources.pi-hole_ftl]
  57. url = "https://github.com/pi-hole/FTL/archive/refs/tags/v6.4.1.tar.gz"
  58. sha256 = "054DA435FC57644D835F6A686A92B77FDFF102A6048AFDB773C7CC5E8FE48131"
  59. autoupdate.upstream = "https://github.com/pi-hole/FTL"
  60. autoupdate.strategy = "latest_github_release"
  61. [resources.system_user]
  62. [resources.install_dir]
  63. [resources.permissions]
  64. main.url = "/"
  65. main.allowed = "admins"
  66. [resources.ports]
  67. main.default = 4711
  68. [resources.apt]
  69. packages = [
  70. "php8.2-common",
  71. "php8.2-cgi",
  72. "php8.2-sqlite3",
  73. "php8.2-xml",
  74. "php8.2-intl",
  75. "cmake",
  76. "build-essential",
  77. "libgmp-dev",
  78. "libidn11-dev",
  79. "nettle-dev",
  80. "libreadline-dev",
  81. "sqlite3",
  82. "cron",
  83. "curl",
  84. "iputils-ping",
  85. "psmisc",
  86. "unzip",
  87. "idn2",
  88. "libcap2-bin",
  89. "dns-root-data",
  90. "libcap2",
  91. "netcat-openbsd",
  92. "procps",
  93. "jq",
  94. "xxd",
  95. ]