aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dns_balance
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2017-02-11 01:46:17 +0800
committerkrion <krion@FreeBSD.org>2017-02-11 01:46:17 +0800
commitce271389bfa1ad69a8d73a4e4a01551fca80465f (patch)
treeab92a43cdf4dc3538645506bf3dbbce0ccbf0bf3 /dns/dns_balance
parent20fbbe350ac67f652c742d4f2a4f1a2105d04434 (diff)
downloadfreebsd-ports-gnome-ce271389bfa1ad69a8d73a4e4a01551fca80465f.tar.gz
freebsd-ports-gnome-ce271389bfa1ad69a8d73a4e4a01551fca80465f.tar.zst
freebsd-ports-gnome-ce271389bfa1ad69a8d73a4e4a01551fca80465f.zip
Update dns/dns_balance to 2.1
PR: 216958 Submitted by: maintainer Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9526
Diffstat (limited to 'dns/dns_balance')
-rw-r--r--dns/dns_balance/Makefile13
-rw-r--r--dns/dns_balance/distinfo5
-rw-r--r--dns/dns_balance/files/patch-dns_balance.rb18
3 files changed, 17 insertions, 19 deletions
diff --git a/dns/dns_balance/Makefile b/dns/dns_balance/Makefile
index 1a9bfb832182..7b6352368541 100644
--- a/dns/dns_balance/Makefile
+++ b/dns/dns_balance/Makefile
@@ -2,23 +2,20 @@
# $FreeBSD$
PORTNAME= dns_balance
-PORTVERSION= 2.0
-PORTREVISION= 2
+PORTVERSION= 2.1
CATEGORIES= dns
-MASTER_SITES= http://www.netlab.cs.tsukuba.ac.jp/~yokota/archive/ \
- http://BSDforge.com/projects/source/dns/dns_balance/
-DISTNAME= DNS-Balance-${PORTVERSION}
+MASTER_SITES= http://BSDforge.com/projects/source/dns/dns_balance/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Dynamic load-balancing DNS server
+LICENSE= BSD2CLAUSE
+
USE_RUBY= yes
-USES= shebangfix
+USES= shebangfix tar:xz
USE_RC_SUBR= dns_balance
NO_BUILD= yes
-BROKEN_RUBY22= yes
-BROKEN_RUBY23= yes
SHEBANG_FILES= ${WRKSRC}/dns_balance.rb \
${WRKSRC}/sample/makedb.rb \
diff --git a/dns/dns_balance/distinfo b/dns/dns_balance/distinfo
index a492e6f51845..218ab3e1f93c 100644
--- a/dns/dns_balance/distinfo
+++ b/dns/dns_balance/distinfo
@@ -1,2 +1,3 @@
-SHA256 (DNS-Balance-2.0.tar.gz) = 117d42986f7b090e827110ba74a00f6a488244f74605e22c5587a13e604bf4de
-SIZE (DNS-Balance-2.0.tar.gz) = 17256
+TIMESTAMP = 1486748693
+SHA256 (dns_balance-2.1.tar.xz) = 6a0c366173d7865c51b322400954a004012f7858be95a23d61884b67ebe0a8f9
+SIZE (dns_balance-2.1.tar.xz) = 15796
diff --git a/dns/dns_balance/files/patch-dns_balance.rb b/dns/dns_balance/files/patch-dns_balance.rb
index d98fac7abcae..8b51822704d8 100644
--- a/dns/dns_balance/files/patch-dns_balance.rb
+++ b/dns/dns_balance/files/patch-dns_balance.rb
@@ -1,9 +1,9 @@
---- dns_balance.rb.orig 2005-06-10 22:23:56 UTC
-+++ dns_balance.rb
-@@ -7,14 +7,7 @@
- # $Id: dns_balance.rb,v 1.25 2003/06/13 22:07:27 elca Exp $
+--- dns_balance.rb.orig 2017-02-09 19:28:01.643383000 -0800
++++ dns_balance.rb 2017-02-09 19:26:31.609711000 -0800
+@@ -8,14 +8,7 @@
+ # $Id: dns_balance.rb,v 1.26 2017-02-09 17:18:59 chrish Exp $
- # DNS Balance の存在するパス名
+ # DNS Balance
-if ENV["ROOT"] == nil
- warn("\"ROOT\" environment is recommended. Use current directory in this time.")
- PREFIX = "."
@@ -16,7 +16,7 @@
$LOAD_PATH.freeze
require 'socket'
-@@ -204,6 +197,14 @@ OptionParser::new {
+@@ -204,6 +197,14 @@
opt.on("--as", "Enable AS namespace") {
OPT["as"] = true
}
@@ -31,7 +31,7 @@
opt.on_tail("-h", "--help", "Show this help message and exit") {
STDERR.printf("%s", opt.to_s)
exit(111)
-@@ -212,10 +213,42 @@ OptionParser::new {
+@@ -212,10 +213,42 @@
}
OPT.freeze
@@ -77,7 +77,7 @@
ML.log("start")
-@@ -224,7 +257,7 @@ ML.log("start")
+@@ -224,7 +257,7 @@
#
Thread::start {
loop {
@@ -86,7 +86,7 @@
begin
load("addr")
-@@ -234,7 +267,7 @@ Thread::start {
+@@ -234,7 +267,7 @@
end
end