From 85d61de6e507edd5c96021f2931c8dd7032a76eb Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Tue, 24 Jan 2012 17:23:00 +0000 Subject: - Run unbound-anchor with unbound user. It solves a permissions problem. --- dns/unbound/Makefile | 2 +- dns/unbound/files/unbound.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dns/unbound') diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index fc9ee787eecc..a611e3092658 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -7,7 +7,7 @@ PORTNAME= unbound PORTVERSION= 1.4.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://unbound.net/downloads/ diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in index 874f233a2a49..a68ea65dbaa5 100644 --- a/dns/unbound/files/unbound.in +++ b/dns/unbound/files/unbound.in @@ -27,7 +27,7 @@ unbound_enable=${unbound_enable:-"NO"} start_unbound_anchor() { echo -n "Obtaining a trust anchor:" - %%PREFIX%%/sbin/unbound-anchor + su -m unbound -c %%PREFIX%%/sbin/unbound-anchor echo . } -- cgit v1.2.3