From owner-svn-ports-all@freebsd.org Sat Oct 14 13:15:16 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6B2CE4798F; Sat, 14 Oct 2017 13:15:16 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B59C57041C; Sat, 14 Oct 2017 13:15:16 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9EDFFOb013153; Sat, 14 Oct 2017 13:15:15 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9EDFFJe013147; Sat, 14 Oct 2017 13:15:15 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201710141315.v9EDFFJe013147@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 14 Oct 2017 13:15:15 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/dns: . dns2blackhole dns2blackhole/files X-SVN-Commit-Revision: 452064 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2017 13:15:17 -0000 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 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