aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/Makefile1
-rw-r--r--dns/dnsforwarder/Makefile28
-rw-r--r--dns/dnsforwarder/distinfo3
-rw-r--r--dns/dnsforwarder/pkg-descr13
4 files changed, 45 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 164e2f3e4cd1..da0d2e509c7a 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -40,6 +40,7 @@
SUBDIR += dnsdist
SUBDIR += dnsenum
SUBDIR += dnsflood
+ SUBDIR += dnsforwarder
SUBDIR += dnshistory
SUBDIR += dnsjava
SUBDIR += dnsmasq
diff --git a/dns/dnsforwarder/Makefile b/dns/dnsforwarder/Makefile
new file mode 100644
index 000000000000..badab2970f49
--- /dev/null
+++ b/dns/dnsforwarder/Makefile
@@ -0,0 +1,28 @@
+# Created by: Jov <amutu@amutu.com`>
+# $FreeBSD$
+
+PORTNAME= dnsforwarder
+PORTVERSION= 20170319
+CATEGORIES= dns
+
+MAINTAINER= amutu@amutu.com
+COMMENT= Dnsforwarder is A simple DNS forwarder
+
+LICENSE= GPLv3
+
+LIB_DEPENDS= libcurl.so:ftp/curl
+
+USE_GITHUB= yes
+GH_ACCOUNT= holmium
+GH_TAGNAME= 441ef2081651020ac1bd42f91017dbdad044c7d8
+
+USES= localbase
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-ccflags=no
+
+PLIST_FILES= bin/dnsforwarder
+
+MAKEFILE= makefile
+
+.include <bsd.port.mk>
diff --git a/dns/dnsforwarder/distinfo b/dns/dnsforwarder/distinfo
new file mode 100644
index 000000000000..f1fe0de70443
--- /dev/null
+++ b/dns/dnsforwarder/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495089374
+SHA256 (holmium-dnsforwarder-20170319-441ef2081651020ac1bd42f91017dbdad044c7d8_GH0.tar.gz) = 96d117ac3bd8e55a7a803df991419bfb2b5798897acd4eb76858acea64d2f4ff
+SIZE (holmium-dnsforwarder-20170319-441ef2081651020ac1bd42f91017dbdad044c7d8_GH0.tar.gz) = 335076
diff --git a/dns/dnsforwarder/pkg-descr b/dns/dnsforwarder/pkg-descr
new file mode 100644
index 000000000000..df3cae02548a
--- /dev/null
+++ b/dns/dnsforwarder/pkg-descr
@@ -0,0 +1,13 @@
+Dnsforwarder is A simple DNS forwarder.Main fetures:
+
+ 1.Forwarding queries to customized domains (and their subdomains) to
+ specified servers over a specified protocol (UDP or TCP).non-standard
+ ports are supported;
+ 2.DNS cache and its controls(including modifying TTL for different domains);
+ 3.Ignoring DNS responses from upstream servers containing particular IPs;
+ 4.Loading hosts from file (including the support for wildcards, CName
+ redirections and remote hosts files);
+ 5.Refusing queries to specified domains (for ads blocking);
+ 6.Cross-platform (Windows, Linux);
+
+WWW: https://github.com/holmium/dnsforwarder