FreeBSD Bugzilla – Attachment 185795 Details for
Bug 221841
dns/void-zones-tools: Add pkg-message and install README.md
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff
dns_void-zones-tools-1.0.2_1.diff (text/plain), 3.27 KB, created by
Vidar Karlsen
on 2017-08-26 23:11:31 UTC
(
hide
)
Description:
svn diff
Filename:
MIME Type:
Creator:
Vidar Karlsen
Created:
2017-08-26 23:11:31 UTC
Size:
3.27 KB
patch
obsolete
>Index: dns/void-zones-tools/Makefile >=================================================================== >--- dns/void-zones-tools/Makefile (revision 448785) >+++ dns/void-zones-tools/Makefile (working copy) >@@ -3,6 +3,7 @@ > PORTNAME= void-zones-tools > DISTVERSIONPREFIX= v > DISTVERSION= 1.0.2 >+PORTREVISION= 1 > CATEGORIES= dns > > MAINTAINER= vidar@karlsen.tech >@@ -20,4 +21,8 @@ > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/void-zones > ${INSTALL_SCRIPT} ${WRKSRC}/void-zones-update.sh ${STAGEDIR}${PREFIX}/bin > >+post-install: >+ ${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} >+ > .include <bsd.port.mk> >Index: dns/void-zones-tools/files/patch-void-zones-update.sh >=================================================================== >--- dns/void-zones-tools/files/patch-void-zones-update.sh (nonexistent) >+++ dns/void-zones-tools/files/patch-void-zones-update.sh (working copy) >@@ -0,0 +1,11 @@ >+--- void-zones-update.sh.orig 2017-08-26 23:00:56 UTC >++++ void-zones-update.sh >+@@ -47,6 +47,8 @@ fi >+ ZONES_DIR="/usr/local/etc/void-zones" >+ if [ ! -d "$ZONES_DIR" ]; then >+ mkdir -p "$ZONES_DIR" >++fi >++if [ ! -f "$ZONES_DIR/my_void_hosts.txt" ]; then >+ echo "# white list" > "$ZONES_DIR/my_void_hosts.txt" >+ echo "1.1.1.1 my.white.dom" >> "$ZONES_DIR/my_void_hosts.txt" >+ echo "" >> "$ZONES_DIR/my_void_hosts.txt" > >Property changes on: dns/void-zones-tools/files/patch-void-zones-update.sh >___________________________________________________________________ >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/void-zones-tools/pkg-message >=================================================================== >--- dns/void-zones-tools/pkg-message (nonexistent) >+++ dns/void-zones-tools/pkg-message (working copy) >@@ -0,0 +1,16 @@ >+To download the host lists and convert them to void zones, >+run the following script: >+${PREFIX}/bin/void-zones-update.sh >+ >+To add your own white list/black list entries, to add over override >+the bundled listings, edit ${PREFIX}/etc/void-zones/my_void_hosts.txt. >+Use the IP address 1.1.1.1 for whitelisting, and 0.0.0.0 for blacklisting. >+ >+Add the following line to your unbound.conf, prior to any forwarder directives: >+include: /var/unbound/local-void.zones >+Then restart Unbound. >+ >+For future updates, run void-zones-update.sh and restart Unbound. >+ >+For more information, see ${PREFIX}/share/doc/void-zones-tools//README.md >+or https://github.com/cyclaero/void-zones-tools > >Property changes on: dns/void-zones-tools/pkg-message >___________________________________________________________________ >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/void-zones-tools/pkg-plist >=================================================================== >--- dns/void-zones-tools/pkg-plist (revision 448785) >+++ dns/void-zones-tools/pkg-plist (working copy) >@@ -1,3 +1,4 @@ > bin/hosts2zones > bin/void-zones-update.sh > @dir etc/void-zones >+%%PORTDOCS%%%%DOCSDIR%%/README.md
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221841
:
185795
|
185816