aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-01-25 20:10:18 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-01-25 20:10:18 +0000
commitefffedf607fac0b5c280ab9d59d7c1c14fe7060d (patch)
tree2a06ffec725dc57e41ba3d0480ce9f8d07fbf209 /dns
parent3f9fb0d3066b03123ae32d7ae79610999df6dd17 (diff)
downloadports-efffedf607fac0b5c280ab9d59d7c1c14fe7060d.tar.gz
ports-efffedf607fac0b5c280ab9d59d7c1c14fe7060d.zip
Notes
Diffstat (limited to 'dns')
-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