Skip to content

Commit c501ea2

Browse files
miwu04MingcongBai
authored andcommitted
adguardhome: new, 0.107.67
1 parent 7208a81 commit c501ea2

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
PKGNAME=adguardhome
2+
PKGSEC=web
3+
PKGDES="Network-level advertisement and tracker blocking DNS server"
4+
PKGDEP="glibc"
5+
BUILDDEP="go nodejs"
6+
ABTYPE=gomod
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[Unit]
2+
Description=Network-level advertisement and tracker blocking DNS server
3+
After=syslog.target network-online.target
4+
5+
[Service]
6+
DynamicUser=true
7+
StateDirectory=adguardhome
8+
WorkingDirectory=/var/lib/adguardhome
9+
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
10+
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
11+
ExecStart=/usr/bin/AdGuardHome -w /var/lib/adguardhome -l syslog
12+
13+
PrivateTmp=true
14+
ProtectSystem=strict
15+
ProtectHome=true
16+
PrivateDevices=true
17+
ProtectKernelTunables=true
18+
ProtectControlGroups=true
19+
NoNewPrivileges=true
20+
MemoryDenyWriteExecute=true
21+
LockPersonality=true
22+
ProtectHostname=true
23+
24+
[Install]
25+
WantedBy=multi-user.target
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
abinfo "Installing NPM dependencies ..."
2+
npm --prefix client ci
3+
abinfo "Building static assets ..."
4+
npm --prefix client run build-prod

app-web/adguardhome/spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
VER=0.107.67
2+
SRCS="git::commit=tags/v${VER}::https://github.com/AdguardTeam/AdGuardHome"
3+
CHKSUMS="SKIP"
4+
CHKUPDATE="anitya::id=301521"

0 commit comments

Comments
 (0)