Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2017 13:15:15 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452064 - in head/dns: . dns2blackhole dns2blackhole/files
Message-ID:  <201710141315.v9EDFFJe013147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sat Oct 14 13:15:15 2017
New Revision: 452064
URL: https://svnweb.freebsd.org/changeset/ports/452064

Log:
  New port dns/dns2blackhole: Malware Prevention through Domain Blocking
  
  dns2blackhole is a set of Bourne Shell csh scripts that fetch host files
  from public host file providers that contain the FQDN [ Fully Qualified
  Domain Names ] of sites that fall into the following categories, adware,
  malware, exploit, hijackers, harvesters, tracking, phishing, fake news,
  fraud, spam, sex, porn, gambling, advertisements, misleading marketing,
  illegal pharmacy, warez/piracy and others. The output of the dns2blackhole
  scripts is fed directly into the ports/package versions of unbound, named,
  and dnsmask DNS servers to block those FQDN thus protecting user
  devices from being compromised or bothered seeing things of no interest.
  The base built-in version of unbound titled "local_unbound" can also be
  configured to work using the dns2blackhole method. This black hole method
  is another layer of protection that you can customize to your needs.
  
  WWW: http://dns2blackhole.sourceforge.net/
  
  PR:		222805
  Submitted by:	joeb1@a1poweruser.com

Added:
  head/dns/dns2blackhole/
  head/dns/dns2blackhole/Makefile   (contents, props changed)
  head/dns/dns2blackhole/distinfo   (contents, props changed)
  head/dns/dns2blackhole/files/
  head/dns/dns2blackhole/files/pkg-message.in   (contents, props changed)
  head/dns/dns2blackhole/pkg-descr   (contents, props changed)
  head/dns/dns2blackhole/pkg-plist   (contents, props changed)
Modified:
  head/dns/Makefile

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Sat Oct 14 12:58:24 2017	(r452063)
+++ head/dns/Makefile	Sat Oct 14 13:15:15 2017	(r452064)
@@ -29,6 +29,7 @@
     SUBDIR += djbdns-tools
     SUBDIR += dlint
     SUBDIR += dnrd
+    SUBDIR += dns2blackhole
     SUBDIR += dns2tcp
     SUBDIR += dns_balance
     SUBDIR += dnscap

Added: head/dns/dns2blackhole/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2blackhole/Makefile	Sat Oct 14 13:15:15 2017	(r452064)
@@ -0,0 +1,34 @@
+# Created by: Joe Barbish
+# $FreeBSD$
+
+PORTNAME=	dns2blackhole
+PORTVERSION=	0.0
+CATEGORIES=	dns
+MASTER_SITES=	SF/${PORTNAME}
+
+MAINTAINER=	dns2blackhole1@a1poweruser.com
+COMMENT=	Malware Prevention through Domain Blocking
+
+LICENSE=	BSD2CLAUSE
+
+USES=		tar:bzip2
+NO_BUILD=	yes
+NO_ARCH=	yes
+SUB_FILES=	pkg-message
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+.for f in dns2blackhole-update1 dns2blackhole-update2 dns2blackhole-sanitize \
+	dns2blackhole-sanitize dns2blackhole-sort-fqdn dns2blackhole-whitelist
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
+.endfor
+	@${MKDIR} ${STAGEDIR}${ETCDIR}
+	${INSTALL_DATA} ${WRKSRC}/dns2blackhole-unbound.conf \
+		${STAGEDIR}${ETCDIR}/dns2blackhole-unbound.conf.sample
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/dns2blackhole-intro ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/dns/dns2blackhole/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2blackhole/distinfo	Sat Oct 14 13:15:15 2017	(r452064)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507239011
+SHA256 (dns2blackhole-0.0.tar.bz2) = ef5d9e36bcc4cfdac7edaab8d115102a4145cd6deba24f013898bf915c989990
+SIZE (dns2blackhole-0.0.tar.bz2) = 8993

Added: head/dns/dns2blackhole/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2blackhole/files/pkg-message.in	Sat Oct 14 13:15:15 2017	(r452064)
@@ -0,0 +1,10 @@
+########################################################################
+
+                      dns2blackhole
+
+   Malware Prevention through Domain Blocking (Black Hole)
+
+   For configuration and usage information read
+   %%DOCSDIR%%/dns2blackhole-intro
+
+########################################################################

Added: head/dns/dns2blackhole/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2blackhole/pkg-descr	Sat Oct 14 13:15:15 2017	(r452064)
@@ -0,0 +1,16 @@
+Malware Prevention through Domain Blocking (Black Hole)
+
+dns2blackhole is a set of Bourne Shell csh scripts that fetch host files
+from public host file providers that contain the FQDN [ Fully Qualified
+Domain Names ] of sites that fall into the following categories, adware,
+malware, exploit, hijackers, harvesters, tracking, phishing, fake news,
+fraud, spam, sex, porn, gambling, advertisements, misleading marketing,
+illegal pharmacy, warez/piracy and others. The output of the dns2blackhole
+scripts is fed directly into the ports/package versions of unbound, named,
+and dnsmask DNS servers to block those FQDN thus protecting user
+devices from being compromised or bothered seeing things of no interest.
+The base built-in version of unbound titled "local_unbound" can also be
+configured to work using the dns2blackhole method. This black hole method
+is another layer of protection that you can customize to your needs.
+
+WWW: http://dns2blackhole.sourceforge.net/

Added: head/dns/dns2blackhole/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2blackhole/pkg-plist	Sat Oct 14 13:15:15 2017	(r452064)
@@ -0,0 +1,7 @@
+bin/dns2blackhole-update1
+bin/dns2blackhole-update2
+bin/dns2blackhole-sanitize
+bin/dns2blackhole-sort-fqdn
+bin/dns2blackhole-whitelist
+@sample %%ETCDIR%%/dns2blackhole-unbound.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/dns2blackhole-intro



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