I've adopted and updated the package to the latest upstream release (v0.107.64), fixed the previously mentioned packaging issues, and I rewrote the package source under 0BSD license.
Search Criteria
Package Details: adguardhome-bin 0.107.64-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/adguardhome-bin.git (read-only, click to copy) |
---|---|
Package Base: | adguardhome-bin |
Description: | Network-wide ads and trackers blocking DNS server |
Upstream URL: | https://github.com/AdguardTeam/AdGuardHome |
Keywords: | adblock adblocker adguard adguardhome ads antispam antitracker black blocker blocking dns hole internet-of-things iot network privacy re-router server tracker tracking |
Licenses: | GPL-3.0-only |
Conflicts: | adguardhome |
Provides: | adguardhome |
Submitter: | mvidaldp |
Maintainer: | AlphaLynx |
Last Packager: | AlphaLynx |
Votes: | 8 |
Popularity: | 0.96 |
First Submitted: | 2021-03-12 18:26 (UTC) |
Last Updated: | 2025-07-29 16:51 (UTC) |
Dependencies (0)
Required by (0)
Sources (5)
- adguardhome.service
- https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.64/AdGuardHome_linux_386.tar.gz
- https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.64/AdGuardHome_linux_amd64.tar.gz
- https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.64/AdGuardHome_linux_arm64.tar.gz
- https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.64/AdGuardHome_linux_armv7.tar.gz
AlphaLynx commented on 2025-07-29 16:54 (UTC)
dnaeon commented on 2024-10-14 05:46 (UTC)
0.107.53 version is available.
handsomexdd1024 commented on 2024-09-26 01:13 (UTC)
It's not recommended to install ../adguardhome.service
directly. Instead, use source=("adguardhome.service")
, with install -Dm644 "adguardhome.service" "${pkgdir}/usr/lib/systemd/system/adguardhome.service"
.
Kimiblock commented on 2024-04-06 14:58 (UTC) (edited on 2024-04-06 15:21 (UTC) by Kimiblock)
Also, post_remove() is generally not recommended when packaging and this package should provide and conflict adguardhome
Kimiblock commented on 2024-04-06 14:55 (UTC) (edited on 2024-04-06 14:56 (UTC) by Kimiblock)
I have a service file with DynamicUser
which is also hardened:
➜ serverOS git:(master) cat /usr/lib/systemd/system/serverOS-AdGuardHome.service
[Unit]
Description=serverOS DNS
PartOf=network-online.target
RequiresMountsFor=/var/lib/private/adguardhome
After=serverOS-clash-meta.service
Before=NetworkManager-wait-online.service
[Service]
Nice=-1
DynamicUser=yes
StartLimitInterval=5
StateDirectory=serverOS-AdGuardHome
WorkingDirectory=/var/lib/private/serverOS-AdGuardHome
ExecStartPre=cp /var/lib/adguardhome/AdGuardHome /var/lib/private/serverOS-AdGuardHome/aghexec
ExecStart=/var/lib/private/serverOS-AdGuardHome/aghexec "-s" "run"
Restart=always
RestartSec=5
OOMPolicy=stop
OOMScoreAdjust=-500
SyslogIdentifier=AdGuardHome
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_PACKET AF_NETLINK AF_INET AF_INET6
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RemoveIPC=yes
SystemCallArchitectures=native
ProtectProc=invisible
ProcSubset=pid
SystemCallFilter=~@clock
SystemCallFilter=~@cpu-emulation
SystemCallFilter=~@debug
SystemCallFilter=~@module
SystemCallFilter=~@mount
SystemCallFilter=~@obsolete
SystemCallFilter=~@raw-io
SystemCallFilter=~@reboot
SystemCallFilter=~@swap
UMask=077
[Install]
WantedBy=multi-user.target
mvidaldp commented on 2023-09-16 10:46 (UTC)
@procobain yes it does :)
procobain commented on 2023-09-15 17:16 (UTC)
Does it run as root?
mvidaldp commented on 2023-01-04 13:14 (UTC)
@drrlvn thanks for the suggestion, it's fixed now.
drrlvn commented on 2023-01-03 19:47 (UTC) (edited on 2023-01-03 19:47 (UTC) by drrlvn)
The systemd service file should be installed in /usr/lib/systemd/system/ and not in /etc/systemd/system/ as it is now.
Also, the adguardhome package recently renamed the service from AdGuardHome.service to adguardhome.service, so you should perhaps consider doing the same.
Pinned Comments