mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-09-11 10:45:42 +03:00
Merge in DNS/adguard-home from AG-23334-split-snap to master
Squashed commit of the following:
commit 5a3d0f105d6930a0868f342821618a2a4acae282
Merge: bba693db6 06d465b0d
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Wed Jun 21 17:10:15 2023 +0300
Merge branch 'master' into AG-23334-split-snap
commit bba693db60fc7e154df3bc6bf186292ee9bc4ed5
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Wed Jun 21 16:50:45 2023 +0300
scripts/snap: fix docs; imp data
commit cb4a1d5bed147a41dda69b80b7ae6c3902c26538
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Wed Jun 21 14:03:48 2023 +0300
all: fix scripts; imp docs
commit f88320b16ed7679e151a5358f4ac8e0212b4a827
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Tue Jun 20 18:52:21 2023 +0300
all: split snap ci
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
# The %VARIABLES% are be replaced by actual values by the build script.
|
|
|
|
'name': 'adguard-home'
|
|
'base': 'core22'
|
|
'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':
|
|
# Add the "network-bind" plug to bind to interfaces.
|
|
- 'network-bind'
|
|
# Add the "network-observe" plug to be able to bind to ports below 1024
|
|
# (cap_net_bind_service) and also to bind to a particular interface using
|
|
# SO_BINDTODEVICE (cap_net_raw).
|
|
- 'network-observe'
|
|
# 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'
|
|
'daemon': 'simple'
|
|
'restart-condition': 'always'
|
|
'adguard-home-web':
|
|
'command': 'adguard-home-web.sh'
|
|
'plugs':
|
|
- 'desktop'
|