snapcraft.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. name: ddclient-snap
  2. base: core20
  3. version: 'v3.9.1'
  4. summary: "Update dynamic DNS entries for accounts on dynamic DNS services."
  5. description: |
  6. Dynamic DNS services currently supported include:
  7. # DynDNS.com - See http://www.dyndns.com for details on obtaining a free account.
  8. # Zoneedit - See http://www.zoneedit.com for details.
  9. # EasyDNS - See http://www.easydns.com for details.
  10. # NameCheap - See http://www.namecheap.com for details
  11. # DslReports - See http://www.dslreports.com for details
  12. # Sitelutions - See http://www.sitelutions.com for details
  13. # Loopia - See http://www.loopia.se for details
  14. # Noip - See http://www.noip.com/ for details
  15. # Freedns - See http://freedns.afraid.org/ for details
  16. # ChangeIP - See http://www.changeip.com/ for details
  17. # nsupdate - See nsupdate(1) and ddns-confgen(8) for details
  18. # CloudFlare - See https://www.cloudflare.com/ for details
  19. # Google - See http://www.google.com/domains for details
  20. # Duckdns - See https://duckdns.org/ for details
  21. # Freemyip - See https://freemyip.com for details
  22. # woima.fi - See https://woima.fi/ for details
  23. # Yandex - See https://domain.yandex.com/ for details
  24. # DNS Made Easy - See https://dnsmadeeasy.com/ for details
  25. # DonDominio - See https://www.dondominio.com for details
  26. # NearlyFreeSpeech.net - See https://www.nearlyfreespeech.net/services/dns for details
  27. # OVH - See https://www.ovh.com for details
  28. # ClouDNS - See https://www.cloudns.net
  29. # dinahosting - See https://dinahosting.com
  30. # Gandi - See https://gandi.net
  31. DDclient now supports many of cable/dsl broadband routers.
  32. Comments, suggestions and requests: use the issues on https://github.com/ddclient/ddclient/issues/new
  33. The code was originally written by Paul Burry and is now hosted and maintained through github.com. Please check out http://ddclient.net
  34. grade: stable
  35. confinement: strict
  36. apps:
  37. daemon:
  38. environment:
  39. LC_ALL: "C.UTF-8"
  40. PERL5LIB: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl-base/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl5/5.30/:$SNAP/usr/share/perl5/:$SNAP/usr/share/perl/5.30.0/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl/5.30/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl/5.30.0/"
  41. LD_LIBRARY_PATH: "$SNAP/usr/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio/:$LD_LIBRARY_PATH"
  42. command: bin/ddclient --daemon 300 -foreground
  43. daemon: simple
  44. plugs:
  45. - network
  46. exec:
  47. environment:
  48. LC_ALL: "C.UTF-8"
  49. PERL5LIB: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl-base/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl5/5.30/:$SNAP/usr/share/perl5/:$SNAP/usr/share/perl/5.30.0/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl/5.30/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/perl/5.30.0/"
  50. LD_LIBRARY_PATH: "$SNAP/usr/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio/:$LD_LIBRARY_PATH"
  51. command: bin/ddclient
  52. plugs:
  53. - network
  54. layout:
  55. /etc/ddclient/ddclient.conf:
  56. bind-file: $SNAP_DATA/etc/ddclient/ddclient.conf
  57. /var/cache/ddclient/ddclient.cache:
  58. bind-file: $SNAP_DATA/var/cache/ddclient/ddclient.cache
  59. parts:
  60. ddclient:
  61. plugin: dump
  62. source: https://github.com/ddclient/ddclient.git
  63. source-tag: ${SNAPCRAFT_PROJECT_VERSION}
  64. stage-packages:
  65. - libdata-validate-ip-perl
  66. - libio-socket-inet6-perl
  67. - libio-socket-ssl-perl
  68. - libjson-pp-perl
  69. - libsys-hostname-long-perl
  70. - perl
  71. - perl-base
  72. - perl-modules
  73. organize:
  74. ddclient: bin/ddclient
  75. stage:
  76. - bin/ddclient
  77. - usr/bin
  78. - usr/lib
  79. - usr/share
  80. - etc/perl