[119628] trunk/dports/net/bind9
dluke at macports.org
dluke at macports.org
Fri May 2 12:55:42 PDT 2014
Revision: 119628
https://trac.macports.org/changeset/119628
Author: dluke at macports.org
Date: 2014-05-02 12:55:42 -0700 (Fri, 02 May 2014)
Log Message:
-----------
bind9: move pidfile, add livecheck, fix startupitem.executable to actually use new named user
Modified Paths:
--------------
trunk/dports/net/bind9/Portfile
trunk/dports/net/bind9/files/named.conf
Modified: trunk/dports/net/bind9/Portfile
===================================================================
--- trunk/dports/net/bind9/Portfile 2014-05-02 19:49:58 UTC (rev 119627)
+++ trunk/dports/net/bind9/Portfile 2014-05-02 19:55:42 UTC (rev 119628)
@@ -4,7 +4,7 @@
name bind9
version 9.10.0
-revision 1
+revision 2
categories net
maintainers geeklair.net:dluke
platforms darwin freebsd sunos
@@ -47,7 +47,7 @@
startupitem.create yes
startupitem.netchange yes
-startupitem.executable ${prefix}/sbin/named -f
+startupitem.executable ${prefix}/sbin/named -u named -f
add_users named group=named
@@ -72,7 +72,7 @@
# Ensure needed directories
xinstall -o named -g named -m 755 -d \
${destroot}${prefix}/var/named \
- ${destroot}${prefix}/var/run
+ ${destroot}${prefix}/var/run/named
# Install the conf file as a sample
xinstall -o root -m 644 ${filespath}/named.conf \
@@ -86,7 +86,7 @@
${destroot}${prefix}/var/named/${f}.dist
}
- destroot.keepdirs ${destroot}${prefix}/var/run
+ destroot.keepdirs ${destroot}${prefix}/var/run/named
}
notes "******************************************************
@@ -106,3 +106,7 @@
* Remember to secure your configuration:
* http://www.cymru.com/Documents/secure-bind-template.html
******************************************************"
+
+livecheck.type regex
+livecheck.url ${homepage}/downloads/
+livecheck.regex "target=\"_blank\">BIND (\\d+\.\\d+\.\\d+) - tar.gz</a>"
Modified: trunk/dports/net/bind9/files/named.conf
===================================================================
--- trunk/dports/net/bind9/files/named.conf 2014-05-02 19:49:58 UTC (rev 119627)
+++ trunk/dports/net/bind9/files/named.conf 2014-05-02 19:55:42 UTC (rev 119628)
@@ -40,7 +40,7 @@
//};
dnssec-validation auto;
- pid-file "%%PREFIX%%/var/named/named.pid";
+ pid-file "%%PREFIX%%/var/run/named/named.pid";
};
//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140502/5f87f57b/attachment.html>
More information about the macports-changes
mailing list