FreeBSD Bugzilla – Attachment 190137 Details for
Bug 225508
[NEW PORT] dns/bind9stats: Munin plugin to collect BINDv9 data from the statistics channel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
dns/bind9stats: New port
patch-dns_bind9stats-0.30.txt (text/plain), 5.05 KB, created by
John W. O'Brien
on 2018-01-28 17:31:10 UTC
(
hide
)
Description:
dns/bind9stats: New port
Filename:
MIME Type:
Creator:
John W. O'Brien
Created:
2018-01-28 17:31:10 UTC
Size:
5.05 KB
patch
obsolete
>Index: dns/Makefile >=================================================================== >--- dns/Makefile (revision 460133) >+++ dns/Makefile (working copy) >@@ -14,6 +14,7 @@ > SUBDIR += bind911 > SUBDIR += bind912 > SUBDIR += bind99 >+ SUBDIR += bind9stats > SUBDIR += bindgraph > SUBDIR += bundy > SUBDIR += c-ares >Index: dns/bind9stats/Makefile >=================================================================== >--- dns/bind9stats/Makefile (nonexistent) >+++ dns/bind9stats/Makefile (working copy) >@@ -0,0 +1,42 @@ >+# $FreeBSD$ >+ >+PORTNAME= bind9stats >+DISTVERSION= 0.30 >+CATEGORIES= dns sysutils >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= john@saltant.com >+COMMENT= Munin plugin to collect BINDv9 data from the statistics channel >+ >+LICENSE= PSFL >+ >+RUN_DEPENDS= munin-node>=0:sysutils/munin-node >+ >+OPTIONS_DEFINE= DOCS >+ >+PORTDOCS= README >+PLIST_DIRS= ${DATADIR} >+PLIST_FILES= ${DATADIR}/${PORTNAME} >+SUB_FILES= pkg-message >+ >+USES= python shebangfix >+USE_PYTHON= flavors >+SHEBANG_FILES= ${PORTNAME}.py >+USE_GITHUB= yes >+GH_ACCOUNT= shuque >+GH_TAGNAME= v${DISTVERSION} >+ >+NO_ARCH= yes >+NO_BUILD= yes >+ >+.include <bsd.port.pre.mk> >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${DATADIR}/${PORTNAME} >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+.for doc in ${PORTDOCS} >+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} >+.endfor >+ >+.include <bsd.port.post.mk> > >Property changes on: dns/bind9stats/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: dns/bind9stats/distinfo >=================================================================== >--- dns/bind9stats/distinfo (nonexistent) >+++ dns/bind9stats/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1517076555 >+SHA256 (shuque-bind9stats-0.30-v0.30_GH0.tar.gz) = e29bce9464417d4cb24caa76e5e3a263c5a574142e2a5b0e9f8addddca5efce7 >+SIZE (shuque-bind9stats-0.30-v0.30_GH0.tar.gz) = 437484 > >Property changes on: dns/bind9stats/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: dns/bind9stats/files/patch-bind9stats.py >=================================================================== >--- dns/bind9stats/files/patch-bind9stats.py (nonexistent) >+++ dns/bind9stats/files/patch-bind9stats.py (working copy) >@@ -0,0 +1,11 @@ >+--- bind9stats.py.orig 2018-01-28 16:47:03 UTC >++++ bind9stats.py >+@@ -333,7 +333,7 @@ def munindata(etree): >+ def usage(): >+ """Print plugin usage""" >+ print("""\ >+-\nUsage: bind9stats.py [config|statsversion]\n""") >++\nUsage: %s [config|statsversion]\n""" % sys.argv[0]) >+ sys.exit(1) >+ >+ > >Property changes on: dns/bind9stats/files/patch-bind9stats.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: dns/bind9stats/files/pkg-message.in >=================================================================== >--- dns/bind9stats/files/pkg-message.in (nonexistent) >+++ dns/bind9stats/files/pkg-message.in (working copy) >@@ -0,0 +1,18 @@ >+=== >+ >+To use this software: >+ >+1. Enable BIND 9 stats channel >+ >+ # echo " >+ statistics-channels { >+ inet 127.0.0.1 port 8053 >+ allow { localhost; }; >+ };" >> %%PREFIX%%/etc/named/named.conf >+ # rndc reload >+ >+2. Activate munin plugin >+ >+ # ln -s %%DATADIR%%/bind9stats %%PREFIX%%/etc/munin/plugins >+ >+=== > >Property changes on: dns/bind9stats/files/pkg-message.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: dns/bind9stats/pkg-descr >=================================================================== >--- dns/bind9stats/pkg-descr (nonexistent) >+++ dns/bind9stats/pkg-descr (working copy) >@@ -0,0 +1,5 @@ >+A munin plugin to obtain data from a BIND9 statistics server, written >+in Python. Tested with BIND 9.10 and 9.11's statistics server exporting >+version 3 of the statistics. >+ >+WWW: https://github.com/shuque/bind9stats > >Property changes on: dns/bind9stats/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 225508
: 190137