2020-12-30 08:26:25 -07:00
|
|
|
# The %VARIABLES% are be replaced by actual values by the build script.
|
|
|
|
|
|
|
|
'name': 'adguard-home'
|
2022-08-17 05:13:28 -07:00
|
|
|
'base': 'core22'
|
2020-12-30 08:26:25 -07:00
|
|
|
'version': '%VERSION%'
|
|
|
|
'summary': Network-wide ads & trackers blocking DNS server
|
|
|
|
'description': |
|
|
|
|
AdGuard Home is a network-wide software for blocking ads & tracking. After
|
|
|
|
you set it up, it'll cover ALL your home devices, and you don't need any
|
|
|
|
client-side software for that.
|
|
|
|
|
|
|
|
It operates as a DNS server that re-routes tracking domains to a "black hole,"
|
|
|
|
thus preventing your devices from connecting to those servers. It's based
|
|
|
|
on software we use for our public AdGuard DNS servers -- both share a lot
|
|
|
|
of common code.
|
|
|
|
'grade': 'stable'
|
|
|
|
'confinement': 'strict'
|
|
|
|
|
|
|
|
'architectures':
|
|
|
|
- '%ARCH%'
|
|
|
|
|
|
|
|
'apps':
|
|
|
|
'adguard-home':
|
|
|
|
'command': 'AdGuardHome --no-check-update -w $SNAP_DATA'
|
|
|
|
'plugs':
|
2021-08-31 07:32:59 -07:00
|
|
|
# Add the "network-bind" plug to bind to interfaces.
|
2020-12-30 08:26:25 -07:00
|
|
|
- 'network-bind'
|
2021-08-31 07:32:59 -07:00
|
|
|
# Add the "network-observe" plug to be able to bind to ports below 1024
|
2020-12-30 08:26:25 -07:00
|
|
|
# (cap_net_bind_service) and also to bind to a particular interface using
|
|
|
|
# SO_BINDTODEVICE (cap_net_raw).
|
|
|
|
- 'network-observe'
|
2021-12-22 06:26:01 -07:00
|
|
|
# Add the "network-control" plug to be able to use raw sockets in the DHCP
|
|
|
|
# server.
|
|
|
|
#
|
|
|
|
# TODO(a.garipov): If this works, request auto-connect of this plug.
|
|
|
|
- 'network-control'
|
2020-12-30 08:26:25 -07:00
|
|
|
'daemon': 'simple'
|
|
|
|
'restart-condition': 'always'
|
|
|
|
'adguard-home-web':
|
|
|
|
'command': 'adguard-home-web.sh'
|
|
|
|
'plugs':
|
|
|
|
- 'desktop'
|