diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2008-05-07 11:33:37 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2008-05-07 11:33:37 +0000 |
commit | 50f8405cb21455c56a2b9ea361af68a0db5caf08 (patch) | |
tree | 306094630c9f9b43620e31a35bc20de29fce0cc0 /dns | |
parent | d201e4165b51097803e1b182e7d39f6d3a28c409 (diff) | |
download | ports-50f8405cb21455c56a2b9ea361af68a0db5caf08.tar.gz ports-50f8405cb21455c56a2b9ea361af68a0db5caf08.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/unbound/Makefile | 5 | ||||
-rw-r--r-- | dns/unbound/files/patch-configure | 11 | ||||
-rw-r--r-- | dns/unbound/files/pkg-install.in | 5 | ||||
-rw-r--r-- | dns/unbound/files/unbound.in | 2 |
4 files changed, 8 insertions, 15 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index f8ef606b0188..dc3c8bc732e0 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -7,7 +7,7 @@ PORTNAME= unbound PORTVERSION= 0.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://unbound.net/downloads/ @@ -44,4 +44,7 @@ post-patch: pre-install: @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +post-install: + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + .include <bsd.port.post.mk> diff --git a/dns/unbound/files/patch-configure b/dns/unbound/files/patch-configure deleted file mode 100644 index 14b77d38081d..000000000000 --- a/dns/unbound/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2008-04-25 18:25:51.000000000 +0400 -+++ configure 2008-04-25 18:26:00.000000000 +0400 -@@ -3300,7 +3300,7 @@ - - - cat >>confdefs.h <<_ACEOF --#define PIDFILE "$ub_dir/unbound.pid" -+#define PIDFILE "/var/run/unbound.pid" - _ACEOF - - diff --git a/dns/unbound/files/pkg-install.in b/dns/unbound/files/pkg-install.in index 3acf7b173dee..d0a4e30bec4f 100644 --- a/dns/unbound/files/pkg-install.in +++ b/dns/unbound/files/pkg-install.in @@ -37,9 +37,10 @@ PRE-INSTALL) exit 1 fi fi + ;; - [ -d /var/run/unbound ] || mkdir -p /var/run/unbound - chown "${USER}" /var/run/unbound +POST-INSTALL) + chown "${USER}" $PREFIX/etc/unbound ;; *) ;; diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in index 39645656c501..7ce99cee38b8 100644 --- a/dns/unbound/files/unbound.in +++ b/dns/unbound/files/unbound.in @@ -16,7 +16,7 @@ name="unbound" rcvar=`set_rcvar` command="%%PREFIX%%/sbin/unbound" -pidfile="/var/run/unbound/unbound.pid" +pidfile="%%PREFIX%%/etc/unbound/unbound.pid" extra_commands="reload" load_rc_config $name |