mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
unbound: Switch to non-privileged user
Until now unbound was always running as root by default. A DNS resolver can easily run under a non-privileged user. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=unbound
|
||||
PKG_VERSION:=1.5.9
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -39,6 +39,7 @@ define Package/unbound
|
||||
SUBMENU:=IP Addresses and Names
|
||||
TITLE+= (daemon)
|
||||
DEPENDS+= +libunbound
|
||||
USERID:=unbound:unbound
|
||||
endef
|
||||
|
||||
define Package/unbound/description
|
||||
@@ -114,6 +115,7 @@ CONFIGURE_ARGS += \
|
||||
--with-libexpat="$(STAGING_DIR)/usr" \
|
||||
--with-ssl="$(STAGING_DIR)/usr" \
|
||||
--with-pidfile=/var/run/unbound.pid \
|
||||
--with-user=unbound \
|
||||
--without-pthreads
|
||||
|
||||
define Package/unbound/conffiles
|
||||
|
||||
Reference in New Issue
Block a user