manifest.toml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
  2. packaging_format = 2
  3. id = "hotspot"
  4. name = "Wifi Hotspot"
  5. description.en = "Create and configure a WiFi hotspot"
  6. description.fr = "Créez et gérez un point d'accès WiFi"
  7. version = "2.3.0~ynh1"
  8. maintainers = []
  9. [upstream]
  10. license = "AGPL-3.0"
  11. website = "https://internetcu.be/"
  12. [integration]
  13. yunohost = ">= 11.2"
  14. architectures = "all"
  15. multi_instance = true
  16. ldap = "not_relevant"
  17. sso = "not_relevant"
  18. disk = "50M"
  19. ram.build = "50M"
  20. ram.runtime = "50M"
  21. [install]
  22. [install.wifi_ssid]
  23. ask.en = "Choose a wifi name (SSID)"
  24. ask.fr = "Choisissez un nom pour le wifi (SSID)"
  25. type = "string"
  26. example = "myNeutralNetwork"
  27. default = "myNeutralNetwork"
  28. [install.wifi_passphrase]
  29. ask.en = "Choose a wifi password (at least 8 characters for WPA2)"
  30. ask.fr = "Choisissez un mot de passe wifi (au minimum 8 caractères pour le WPA2)"
  31. type = "password"
  32. [install.firmware_nonfree]
  33. ask.en = "Install non-free WiFi firmwares? (Only needed if you're using a proprietary WiFi antenna/dongle)"
  34. ask.fr = "Installer des firmwares WiFi non-libres ? (Nécessaire seulement si vous utilisez une antenne/clé WiFi propriétaire)"
  35. type = "boolean"
  36. default = false
  37. [resources]
  38. [resources.system_user]
  39. [resources.apt]
  40. packages = "sipcalc, hostapd, iw, kmod"
  41. # =========================================
  42. # FIXME FIXME FIXME FIXME FIXME FIXME FIXME
  43. # Gotta find a way to conditionally install the non-free packages
  44. # So far the "packages_from_raw_bash" thing doesnt allow conditional packages from extra repo (here, the non-free component..)
  45. # FIXME FIXME FIXME FIXME FIXME FIXME FIXME
  46. # =========================================
  47. #
  48. # # Packaged USB Wireless Device firmwares
  49. # # Based on https://wiki.debian.org/WiFi#USB_Devices
  50. # if [[ $firmware_nonfree -eq 1 ]]; then
  51. # # FIXME : if armbian-firmware is detected, we should remove ra-link....
  52. # #if dpkg --list | grep -q armbian-firmware; then
  53. # # echo "You are running Armbian and firmware-misc-nonfree are known to conflict with armbian-firwmare. " >&2
  54. # # echo "The package firmware-misc-nonfree is a dependency of firmware-ralink, so firmware-ralink will NOT be installed" >&2
  55. # # echo "You can manually install firmware-ralink with 'apt -o Dpkg::Options::=\"--force-overwrite\" firmware-ralink'" >&2
  56. # # nonfree_firmware_packages=$(echo $nonfree_firmware_packages | sed 's/ firmware-ralink//')
  57. # #fi
  58. # echo "firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware firmware-zd1211"
  59. # else
  60. # echo "firmware-ath9k-htc"
  61. # fi