svn commit: r474355 - in head/dns: . utdns utdns/files
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Jul 10 11:49:03 UTC 2018
Author: ehaupt
Date: Tue Jul 10 11:49:01 2018
New Revision: 474355
URL: https://svnweb.freebsd.org/changeset/ports/474355
Log:
UTdns is a nifty tool which proxies all UDP-based DNS requests through TCP DNS.
This is usefull if you have to tunnel DNS through TCP-only tunnels. This
respectively was the requirement for the development of this tool.
WWW: https://www.cypherpunk.at/2013/04/dnsudp-to-tcp-translator/
Added:
head/dns/utdns/
head/dns/utdns/Makefile (contents, props changed)
head/dns/utdns/distinfo (contents, props changed)
head/dns/utdns/files/
head/dns/utdns/files/utdns.in (contents, props changed)
head/dns/utdns/pkg-descr (contents, props changed)
Modified:
head/dns/Makefile
Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile Tue Jul 10 11:48:21 2018 (r474354)
+++ head/dns/Makefile Tue Jul 10 11:49:01 2018 (r474355)
@@ -223,6 +223,7 @@
SUBDIR += udns
SUBDIR += unbound
SUBDIR += updatedd
+ SUBDIR += utdns
SUBDIR += validns
SUBDIR += vhostcname
SUBDIR += vizone
Added: head/dns/utdns/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/utdns/Makefile Tue Jul 10 11:49:01 2018 (r474355)
@@ -0,0 +1,25 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= utdns
+PORTVERSION= 1.0
+DISTVERSIONSUFFIX= .r1437
+CATEGORIES= dns
+MASTER_SITES= https://www.cypherpunk.at/download/utdns/ \
+ LOCAL/ehaupt
+
+MAINTAINER= ehaupt at FreeBSD.org
+COMMENT= Proxy UDP/DNS to TCP/DNS
+
+LICENSE= GPLv3
+
+GNU_CONFIGURE= yes
+USE_RC_SUBR= ${PORTNAME}
+
+SUB_LIST= PORTNAME=${PORTNAME}
+
+CFLAGS+= -DSOCK_NONBLOCK=1
+
+PLIST_FILES= bin/utdns
+
+.include <bsd.port.mk>
Added: head/dns/utdns/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/utdns/distinfo Tue Jul 10 11:49:01 2018 (r474355)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1531211131
+SHA256 (utdns-1.0.r1437.tar.gz) = fd2ab9846e722f937c291d9163c18fbcfc8439dabad895444770e4978a44c5cc
+SIZE (utdns-1.0.r1437.tar.gz) = 78377
Added: head/dns/utdns/files/utdns.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/utdns/files/utdns.in Tue Jul 10 11:49:01 2018 (r474355)
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: %%PORTNAME%%
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# %%PORTNAME%%_enable (bool): Set to NO by default.
+# Set it to YES to enable it.
+# %%PORTNAME%%_flags: Additional flags (see utdns --help)
+
+. /etc/rc.subr
+
+name="%%PORTNAME%%"
+rcvar="${name}_enable"
+
+load_rc_config ${name}
+
+: ${utdns_enable:="NO"}
+: ${utdns_flags:=" -b -4 -p 53 0.0.0.0"}
+
+command="%%PREFIX%%/bin/${name}"
+command_args='> /dev/null 2>&1'
+
+run_rc_command "$1"
Added: head/dns/utdns/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/utdns/pkg-descr Tue Jul 10 11:49:01 2018 (r474355)
@@ -0,0 +1,5 @@
+UTdns is a nifty tool which proxies all UDP-based DNS requests through TCP DNS.
+This is usefull if you have to tunnel DNS through TCP-only tunnels. This
+respectively was the requirement for the development of this tool.
+
+WWW: https://www.cypherpunk.at/2013/04/dnsudp-to-tcp-translator/
More information about the svn-ports-head
mailing list