aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dns_balance
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-01-26 04:10:18 +0800
committerpi <pi@FreeBSD.org>2016-01-26 04:10:18 +0800
commite52e1832a6476cbd8c5ca1abecbb919e184abaf7 (patch)
tree2a06ffec725dc57e41ba3d0480ce9f8d07fbf209 /dns/dns_balance
parent47587c22e731a128c7006e259c5724c930d254d8 (diff)
downloadfreebsd-ports-gnome-e52e1832a6476cbd8c5ca1abecbb919e184abaf7.tar.gz
freebsd-ports-gnome-e52e1832a6476cbd8c5ca1abecbb919e184abaf7.tar.zst
freebsd-ports-gnome-e52e1832a6476cbd8c5ca1abecbb919e184abaf7.zip
dns/dns_balance: unbreak, submitter becomes MAINTAINER
PR: 205769 Submitted by: Chris Hutchinson <portmaster@bsdforge.com>
Diffstat (limited to 'dns/dns_balance')
-rw-r--r--dns/dns_balance/Makefile5
-rw-r--r--dns/dns_balance/files/patch-dns_balance.rb18
2 files changed, 15 insertions, 8 deletions
diff --git a/dns/dns_balance/Makefile b/dns/dns_balance/Makefile
index 5e63f69d09c6..28470643747d 100644
--- a/dns/dns_balance/Makefile
+++ b/dns/dns_balance/Makefile
@@ -4,10 +4,11 @@
PORTNAME= dns_balance
PORTVERSION= 2.0
CATEGORIES= dns
-MASTER_SITES= http://www.netlab.cs.tsukuba.ac.jp/~yokota/archive/
+MASTER_SITES= http://www.netlab.cs.tsukuba.ac.jp/~yokota/archive/ \
+ http://BSDforge.com/projects/source/dns/dns_balance/
DISTNAME= DNS-Balance-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= portmaster@BSDforge.com
COMMENT= Dynamic load-balancing DNS server
USE_RUBY= yes
diff --git a/dns/dns_balance/files/patch-dns_balance.rb b/dns/dns_balance/files/patch-dns_balance.rb
index 2cbb7df948de..7d9fe4fc733e 100644
--- a/dns/dns_balance/files/patch-dns_balance.rb
+++ b/dns/dns_balance/files/patch-dns_balance.rb
@@ -1,5 +1,11 @@
---- dns_balance.rb.orig Sat Jun 11 02:23:56 2005
-+++ dns_balance.rb Tue Aug 8 23:51:31 2006
+--- dns_balance.rb.orig 2005-06-10 22:23:56 UTC
++++ dns_balance.rb
+@@ -1,4 +1,4 @@
+-#!/usr/bin/ruby
++#!/usr/local/bin/ruby22
+ #
+ # DNS Balance --- 動的負荷分散を行なう DNS サーバ
+ #
@@ -7,14 +7,7 @@
# $Id: dns_balance.rb,v 1.25 2003/06/13 22:07:27 elca Exp $
@@ -16,7 +22,7 @@
$LOAD_PATH.freeze
require 'socket'
-@@ -204,6 +197,14 @@
+@@ -204,6 +197,14 @@ OptionParser::new {
opt.on("--as", "Enable AS namespace") {
OPT["as"] = true
}
@@ -31,7 +37,7 @@
opt.on_tail("-h", "--help", "Show this help message and exit") {
STDERR.printf("%s", opt.to_s)
exit(111)
-@@ -212,10 +213,42 @@
+@@ -212,10 +213,42 @@ OptionParser::new {
}
OPT.freeze
@@ -77,7 +83,7 @@
ML.log("start")
-@@ -224,7 +257,7 @@
+@@ -224,7 +257,7 @@ ML.log("start")
#
Thread::start {
loop {
@@ -86,7 +92,7 @@
begin
load("addr")
-@@ -234,7 +267,7 @@
+@@ -234,7 +267,7 @@ Thread::start {
end
end