Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2016 18:31:54 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427123 - in head/dns: . void-zones-tools void-zones-tools/files
Message-ID:  <201611251831.uAPIVsK0058721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Nov 25 18:31:53 2016
New Revision: 427123
URL: https://svnweb.freebsd.org/changeset/ports/427123

Log:
  Add void-zones-tools 0.1.a, prepare a list of void zones that can be
  readily fed into Unbound.
  
  PR:		214723
  Submitted by:	vidar@karlsen.tech

Added:
  head/dns/void-zones-tools/
  head/dns/void-zones-tools/Makefile   (contents, props changed)
  head/dns/void-zones-tools/distinfo   (contents, props changed)
  head/dns/void-zones-tools/files/
  head/dns/void-zones-tools/files/patch-Makefile   (contents, props changed)
  head/dns/void-zones-tools/pkg-descr   (contents, props changed)
  head/dns/void-zones-tools/pkg-plist   (contents, props changed)
Modified:
  head/dns/Makefile

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Fri Nov 25 17:37:15 2016	(r427122)
+++ head/dns/Makefile	Fri Nov 25 18:31:53 2016	(r427123)
@@ -207,6 +207,7 @@
     SUBDIR += validns
     SUBDIR += vhostcname
     SUBDIR += vizone
+    SUBDIR += void-zones-tools
     SUBDIR += walker
     SUBDIR += wdns
     SUBDIR += whoseip

Added: head/dns/void-zones-tools/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/void-zones-tools/Makefile	Fri Nov 25 18:31:53 2016	(r427123)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	void-zones-tools
+DISTVERSION=	0.1a
+CATEGORIES=	dns
+DISTNAME=	${GH_ACCOUNT}-${PORTNAME}--${GH_TAGNAME}
+
+MAINTAINER=	vidar@karlsen.tech
+COMMENT=	Prepare a list of void zones that can be readily fed into Unbound
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		compiler:c11
+USE_GITHUB=	yes
+GH_ACCOUNT=	cyclaero
+GH_TAGNAME=	e6c5ef1
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/hosts2zones ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/void-zones
+	${INSTALL_SCRIPT} ${WRKSRC}/void-zones-update.sh ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/dns/void-zones-tools/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/void-zones-tools/distinfo	Fri Nov 25 18:31:53 2016	(r427123)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1480098686
+SHA256 (cyclaero-void-zones-tools--e6c5ef1_GH0.tar.gz) = ca7f492479f5faa927156dd990fe027bd99b61a183dfca9478c63dfbeb6ab9ad
+SIZE (cyclaero-void-zones-tools--e6c5ef1_GH0.tar.gz) = 16020

Added: head/dns/void-zones-tools/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/void-zones-tools/files/patch-Makefile	Fri Nov 25 18:31:53 2016	(r427123)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2016-11-25 18:11:34 UTC
++++ Makefile
+@@ -24,7 +24,7 @@
+ 
+ 
+ CC     ?= clang
+-CFLAGS  = $(CDEFS) -std=c11 -g0 -Ofast -mssse3 -fstrict-aliasing -ffast-math -Wno-parentheses
++CFLAGS  ?= $(CDEFS) -std=c11
+ PREFIX ?= /usr/local
+ 
+ HEADERS = binutils.h store.h

Added: head/dns/void-zones-tools/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/void-zones-tools/pkg-descr	Fri Nov 25 18:31:53 2016	(r427123)
@@ -0,0 +1,6 @@
+Tool to prepare a list of void zones that can be readily fed into Unbound.
+
+Void zones are the most straightforward way of blocking ad, tracking and other
+malware domains.
+
+WWW: https://github.com/cyclaero/void-zones-tools

Added: head/dns/void-zones-tools/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/void-zones-tools/pkg-plist	Fri Nov 25 18:31:53 2016	(r427123)
@@ -0,0 +1,3 @@
+bin/hosts2zones
+bin/void-zones-update.sh
+@dir etc/void-zones



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611251831.uAPIVsK0058721>