Commit Graph

66 Commits

Author SHA1 Message Date
Josef Schlehofer 688945881f Revert "adguardhome: added ujail dependency"
This commit was merged into the master branch by accident
and should be undone. Adding ujail as a hardcoded dependency
is incorrect, as ujail is meant to be an optional dependency.

A better approach is to implement ujail support within
the init script, which was discussed in the pull request
(https://github.com/openwrt/packages/pull/29277),
consistent with how other packages in the repository handle this.

Therefore, reverting for now.

This reverts commit e6b5141c7e.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-05-03 15:05:20 +02:00
Alexander Krause e6b5141c7e adguardhome: added ujail dependency
In order to create a proper jail, we net the procd-ujail package.
Otherwise, AdGuardHome will run as unprivileged process,
and will not be able to listen on ports below 1024.

Signed-off-by: Alexander Krause <alexander.krause@cs.tu-dortmund.de>
2026-05-01 21:06:56 +03:00
George Sapkin feaaf2d99b adguardhome: bump to 0.107.74
Changes: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.74
Signed-off-by: George Sapkin <george@sapk.in>
2026-04-17 10:08:48 +03:00
George Sapkin e192c5983e adguardhome: validate config
Validate UCI config.

Switch instance name to adguardhome.

Link: https://github.com/openwrt/packages/pull/28781
Signed-off-by: George Sapkin <george@sapk.in>
2026-03-14 23:33:58 +02:00
George Sapkin cc7814f191 adguardhome: add config reload trigger
Restart the service when config is changed from the app.

Signed-off-by: George Sapkin <george@sapk.in>
2026-03-12 16:38:09 +02:00
George Sapkin c59d9b2476 adguardhome: bump to 0.107.73
Changes: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.73
Signed-off-by: George Sapkin <george@sapk.in>
2026-03-11 20:41:41 +02:00
Afiq Nazrie 704319e27b adguardhome: add jail_mount_rw config option
Add jail_mount_rw config option to add directories with read-write
access.

Fixes: https://forum.openwrt.org/t/247253
Signed-off-by: Afiq Nazrie <afnazrie@gmail.com>
2026-03-10 20:45:41 +02:00
George Sapkin b9148c1494 adguardhome: add GC and thread control variables
Add Go GC and threading control variables - GOGC, GOMEMLIMIT, and
GOMAXPROCS - to allow more granular control of the memory management on
lower memory devices.

Fixes: https://github.com/openwrt/packages/issues/28676
Link: https://go.dev/doc/gc-guide#GOGC
Link: https://pkg.go.dev/runtime#pkg-overview
Link: https://go.dev/blog/container-aware-gomaxprocs
Signed-off-by: George Sapkin <george@sapk.in>
2026-03-05 17:26:57 +02:00
George Sapkin 3bdbc94744 adguardhome: bump to 0.107.72
Changes: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.72
Signed-off-by: George Sapkin <george@sapk.in>
2026-02-20 11:17:05 +02:00
George Sapkin 5369c5cbbc adguardhome: bump to 0.107.71
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.71
Signed-off-by: George Sapkin <george@sapk.in>
2025-12-11 17:07:16 +02:00
George Sapkin ffa24c10da adguardhome: bump to 0.107.70
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.70
Signed-off-by: George Sapkin <george@sapk.in>
2025-12-07 01:39:28 +02:00
George Sapkin e0d24e48fd adguardhome: add SPDX license identifiers
Add GPL 2.0 only SPDX license identifiers to Makefile and all scripts.

Signed-off-by: George Sapkin <george@sapk.in>
2025-12-07 01:39:28 +02:00
George Sapkin c501030788 adguardhome: refactor config loading and migration
Rename config options and remove unused ones.

Signed-off-by: George Sapkin <george@sapk.in>
2025-11-01 08:29:44 +02:00
George Sapkin 4ab47f22cd adguardhome: bump to 0.107.69
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.68
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.69
Signed-off-by: George Sapkin <george@sapk.in>
2025-10-31 06:53:21 +02:00
George Sapkin acb95630da adguardhome: bump to 0.107.67
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.67
Signed-off-by: George Sapkin <george@sapk.in>
2025-10-02 14:12:06 +03:00
George Sapkin 2de1c720ef adguardhome: bump to 0.107.66
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.66
Signed-off-by: George Sapkin <george@sapk.in>
2025-09-18 19:54:13 +03:00
George Sapkin 730cefb843 adguardhome: bump to 0.107.65
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.65
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-26 20:32:06 +03:00
George Sapkin 754a9908f4 adguardhome: run as an unprivileged user
Run AdGuard Home without superuser privileges, by granting the binary
capabilities through ujail.

AdGuard Home writes new config files, so it must have r/w access to the
directory where these files live. Which means existing configs must be
migrated to a new directory, /etc/adguardhome, by default.

CAP_NET_BIND_SERVICE and CAP_NET_RAW capabilities are based on the
official documentation linked below.

Link: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#running-without-superuser-linux-only
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-06 21:49:54 +08:00
George Sapkin 3e73c95626 adguardhome: bump to 0.107.64
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.64
Signed-off-by: George Sapkin <george@sapk.in>
2025-07-29 19:52:14 +03:00
George Sapkin 0e524bdafd adguardhome: bump to 0.107.63
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.63
Signed-off-by: George Sapkin <george@sapk.in>
2025-06-30 11:49:17 +08:00
George Sapkin e2f306d32d adguardhome: bump to 0.107.62
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.62
Signed-off-by: George Sapkin <george@sapk.in>
2025-06-11 11:32:27 +02:00
George Sapkin da58fa1e0d adguardhome: bump to 0.107.61
Security

- Any simultaneous requests that are considered duplicates will now only
result in a single request to upstreams, reducing the chance of a cache
poisoning attack succeeding. This is controlled by the new configuration
object pending_requests, which has a single enabled property, set to
true by default.

NOTE: It's strongly recommended to leave it enabled, otherwise AdGuard
Home will be vulnerable to untrusted clients.

Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.61
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-24 19:34:19 +08:00
George Sapkin 7e9fa36cff adguardhome: bump to 0.107.60
Fixed:

- Filtering for DHCP clients.
- Incorrect label on login page.
- Validation process for the HTTPS port on the Encryption Settings page.

Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.60
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-24 19:34:19 +08:00
George Sapkin 3d5ea7f92b adguardhome: use committime instead of buildtime
buildtime has been replaced with committime upstream for better
reproducible builds.

Link: https://github.com/AdguardTeam/AdGuardHome/commit/d17c6c6bb3ae5b7c775c53ebb04b9b089dcf0490#diff-82ef468ec5547f1ed424776755a7f87dfec4eba9838d2c2ac02c9881bb67d737L68-R70
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-24 19:34:19 +08:00
Dobroslaw Kijowski 97b7ee1815 adguardhome: Add George Sapkin as maintainer
Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2025-04-23 15:07:50 +02:00
George Sapkin a920f9ec9c adguardhome: increase UDP send/receive buffers
Link: https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-05 02:36:26 +08:00
George Sapkin 0b4e8e1c2b adguardhome: bump to 0.107.59
Use prebuilt frontend and drop node/host depenendency as a result.

Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.59
Signed-off-by: George Sapkin <george@sapk.in>
2025-03-23 18:21:07 +08:00
George Sapkin 55d3a42aa5 adguardhome: bump to 0.107.58
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.58
Signed-off-by: George Sapkin <george@sapk.in>
2025-03-23 18:21:07 +08:00
George Sapkin fd52fb6e3c adguardhome: assign PKG_CPE_ID
Link: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&orderBy=2.3&keyword=cpe%3A2.3%3Aa%3Aadguard%3Aadguardhome
Link: https://github.com/openwrt/packages/issues/8534
Signed-off-by: George Sapkin <george@sapk.in>
2025-03-23 18:21:07 +08:00
George Sapkin 9ddc2c5dcd adguardhome: bump to 0.107.57
Changelog: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.57
Signed-off-by: George Sapkin <george@sapk.in>
2025-03-16 17:18:52 +08:00
George Sapkin e416d3f12e adguardhome: remove unnecessary build options
Remove `node-yarn/host` because the upstream switched to npm
Remove `NODE_OPTIONS=--openssl-legacy-provider` because it's not necessary since Node.js 18.x

Link: https://github.com/AdguardTeam/AdGuardHome/commit/1afe226ce8f8af179e1eacccf4cdd63823f0c358#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R210-L211
Link: https://github.com/AdguardTeam/AdGuardHome/commit/1afe226ce8f8af179e1eacccf4cdd63823f0c358#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L223-L230
Signed-off-by: George Sapkin <george@sapk.in>
2025-03-16 17:18:52 +08:00
Ryan Keane 62c7581238 adguardhome: Bump to 0.107.56
Bump version to 0.107.56, it's a small update.
Changelog is in links below.

Use tarballs from upstream tags instead of a Git repo.

Link: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.56
Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
2025-02-16 21:48:19 +08:00
Milinda Brantini 2047471841 adguardhome: Update to 0.107.53
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-10-10 14:54:28 +08:00
xiaobo tian c51679d498 adguardhome: add option config
Signed-off-by: xiaobo tian <peterwillcn@gmail.com>
2024-08-04 13:09:23 +08:00
Milinda Brantini 33ade50731 adguardhome: Update to 0.107.52
View the release notes for more information:
https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.52

Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-13 17:47:12 +08:00
Milinda Brantini 6f141bec63 adguardhome: Update to 0.107.51
View the release notes for more information:
https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.51

Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-06-11 17:45:04 +08:00
Shi JiaYang 68a30a5b7b adguardhome: update to 0.107.48
View the release notes for more information:
https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.48

Signed-off-by: Shi JiaYang <shi05275@163.com>
2024-04-13 14:08:39 -07:00
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Kn1fe 050f13c2c7 adguardhome: Update to 0.107.42
Signed-off-by: Zuev Aleksandr <A.Zuev@stdev.su>
2023-12-08 23:21:28 +08:00
Hannu Nyman d4fa3d0a1a adguardhome: update to v0.107.36
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.34
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.35
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.36

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

[ Reword commit message ]
Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-08-21 15:14:44 +02:00
Dobroslaw Kijowski 46bf47d855 adguardhome: bump to 0.107.33
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.30
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.31
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.32
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.33

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-07-13 14:51:47 +08:00
Dobroslaw Kijowski 684010e9cb adguardhome: bump to 0.107.29
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.26
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.27
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.28
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.29

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-06-06 16:28:35 +08:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Dobroslaw Kijowski a499a4006a adguardhome: bump to 0.107.25
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.25

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-03-08 23:11:57 +08:00
Dobroslaw Kijowski 2e68b9f515 adguardhome: enable legacy openssl provider for nodejs
Currently compilation fails because of:
```
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
```

What's interesting package gets built but when trying to access UI there's
`404: page not found` error.

It has been reported in multiple places:
* https://github.com/AdguardTeam/AdGuardHome/issues/5559
* https://github.com/AdguardTeam/AdGuardHome/issues/4595

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-03-08 23:11:57 +08:00
Kn1fe 040d00a2af AdGuardHome: update to v0.107.24
Signed-off-by: Zuev Aleksandr <A.Zuev@stdev.su>
2023-02-24 19:47:57 +08:00
YiZhen Choo 60ae1e5637 AdGuardHome: update to v0.107.21
Signed-off-by: YiZhen Choo <yizhen.c02@gmail.com>
2022-12-16 07:17:19 +01:00
Dobroslaw Kijowski e3dc753781 adguardhome: bump to 0.107.18
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.17
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.18

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2022-11-17 17:51:23 +08:00
YiZhen Choo 64dabe2d68 AdGuardHome: update to v0.107.16
Signed-off-by: YiZhen Choo <yizhen.c02@gmail.com>
2022-10-21 15:09:39 -07:00
YiZhen Choo e806d85e46 AdGuardHome: update to v0.107.12
Signed-off-by: YiZhen Choo <yizhen.c02@gmail.com>
2022-09-14 22:19:08 +03:00