aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-08-07 19:34:57 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-08-07 19:34:57 +0000
commit19e3e8797d6d1fa14b4cbecd448e0105773644c2 (patch)
tree783fc32fff56a3bbffb86fc2b44f6831b0d6b7fa /dns
parent8152271df5696bfd1bdd61afa817e00bdd15e5c5 (diff)
downloadports-19e3e8797d6d1fa14b4cbecd448e0105773644c2.tar.gz
ports-19e3e8797d6d1fa14b4cbecd448e0105773644c2.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/dnsdist/Makefile29
-rw-r--r--dns/dnsdist/distinfo2
-rw-r--r--dns/dnsdist/pkg-descr6
4 files changed, 38 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index efb624a95da4..3e800337b303 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -35,6 +35,7 @@
SUBDIR += dnscheckengine
SUBDIR += dnscrypt-proxy
SUBDIR += dnsdbck
+ SUBDIR += dnsdist
SUBDIR += dnsflood
SUBDIR += dnshistory
SUBDIR += dnsjava
diff --git a/dns/dnsdist/Makefile b/dns/dnsdist/Makefile
new file mode 100644
index 000000000000..a9ad64ffe2ea
--- /dev/null
+++ b/dns/dnsdist/Makefile
@@ -0,0 +1,29 @@
+# Created by: Carlos J Puga Medina <cpm@fbsd.es>
+# $FreeBSD$
+
+PORTNAME= dnsdist
+DISTVERSION= 0.0.209g4fd8aed
+CATEGORIES= dns net
+MASTER_SITES= http://builder.powerdns.com/files/dnsdist/dist/
+
+MAINTAINER= cpm@fbsd.es
+COMMENT= Highly DNS-, DoS- and abuse-aware loadbalancer
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
+ ragel>0:${PORTSDIR}/devel/ragel
+LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs \
+ libsodium.so:${PORTSDIR}/security/libsodium
+
+CXXFLAGS+= -D_GLIBCXX_USE_C99
+LDFLAGS+= -L${LOCALBASE}/lib -latomic
+GNU_CONFIGURE= yes
+USE_GCC= 4.8+
+USES= bison gmake libtool lua:52 pkgconfig readline tar:bz2
+INSTALL_TARGET= install-strip
+
+PLIST_FILES= bin/dnsdist \
+ man/man1/dnsdist.1.gz
+
+.include <bsd.port.mk>
diff --git a/dns/dnsdist/distinfo b/dns/dnsdist/distinfo
new file mode 100644
index 000000000000..810c4158cd7f
--- /dev/null
+++ b/dns/dnsdist/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dnsdist-0.0.209g4fd8aed.tar.bz2) = e317da546f3f4a7faf1604fb426a817473b23b573c9e92af0b2d663fb8771481
+SIZE (dnsdist-0.0.209g4fd8aed.tar.bz2) = 539607
diff --git a/dns/dnsdist/pkg-descr b/dns/dnsdist/pkg-descr
new file mode 100644
index 000000000000..bb027a0faad7
--- /dev/null
+++ b/dns/dnsdist/pkg-descr
@@ -0,0 +1,6 @@
+dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its
+goal in life is to route DNS traffic to the best DNS server,
+delivering top performance to legitimate users while shunting or
+blocking abusive traffic.
+
+WWW: http://dnsdist.org