mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 12:40:06 +04:00
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>
This commit is contained in:
committed by
Hannu Nyman
parent
543e47f0a0
commit
e6b5141c7e
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=adguardhome
|
PKG_NAME:=adguardhome
|
||||||
PKG_VERSION:=0.107.74
|
PKG_VERSION:=0.107.74
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/AdGuardHome/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/AdGuardHome/tar.gz/v$(PKG_VERSION)?
|
||||||
@@ -42,7 +42,7 @@ define Package/adguardhome
|
|||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=Network-wide ads and trackers blocking DNS server
|
TITLE:=Network-wide ads and trackers blocking DNS server
|
||||||
URL:=https://github.com/AdguardTeam/AdGuardHome
|
URL:=https://github.com/AdguardTeam/AdGuardHome
|
||||||
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
|
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle +procd-ujail
|
||||||
USERID:=adguardhome=853:adguardhome=853
|
USERID:=adguardhome=853:adguardhome=853
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user