View | Details | Raw Unified | Return to bug 216958
Collapse All | Expand All

(-)dns_balance/Makefile (-8 / +5 lines)
Lines 2-24 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	dns_balance
4
PORTNAME=	dns_balance
5
PORTVERSION=	2.0
5
PORTVERSION=	2.1
6
PORTREVISION=	2
7
CATEGORIES=	dns
6
CATEGORIES=	dns
8
MASTER_SITES=	http://www.netlab.cs.tsukuba.ac.jp/~yokota/archive/ \
7
MASTER_SITES=	http://BSDforge.com/projects/source/dns/dns_balance/
9
		http://BSDforge.com/projects/source/dns/dns_balance/
10
DISTNAME=	DNS-Balance-${PORTVERSION}
11
8
12
MAINTAINER=	portmaster@BSDforge.com
9
MAINTAINER=	portmaster@BSDforge.com
13
COMMENT=	Dynamic load-balancing DNS server
10
COMMENT=	Dynamic load-balancing DNS server
14
11
12
LICENSE=	BSD2CLAUSE
13
15
USE_RUBY=	yes
14
USE_RUBY=	yes
16
USES=		shebangfix
15
USES=		shebangfix tar:xz
17
USE_RC_SUBR=	dns_balance
16
USE_RC_SUBR=	dns_balance
18
17
19
NO_BUILD=	yes
18
NO_BUILD=	yes
20
BROKEN_RUBY22=	yes
21
BROKEN_RUBY23=	yes
22
19
23
SHEBANG_FILES=	${WRKSRC}/dns_balance.rb \
20
SHEBANG_FILES=	${WRKSRC}/dns_balance.rb \
24
		${WRKSRC}/sample/makedb.rb \
21
		${WRKSRC}/sample/makedb.rb \
(-)dns_balance/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (DNS-Balance-2.0.tar.gz) = 117d42986f7b090e827110ba74a00f6a488244f74605e22c5587a13e604bf4de
1
SHA256 (dns_balance-2.1.tar.xz) = 6a0c366173d7865c51b322400954a004012f7858be95a23d61884b67ebe0a8f9
2
SIZE (DNS-Balance-2.0.tar.gz) = 17256
2
SIZE (dns_balance-2.1.tar.xz) = 15796
(-)dns_balance/files/patch-dns_balance.rb (-9 / +9 lines)
Lines 1-9 Link Here
1
--- dns_balance.rb.orig	2005-06-10 22:23:56 UTC
1
--- dns_balance.rb.orig	2017-02-09 19:28:01.643383000 -0800
2
+++ dns_balance.rb
2
+++ dns_balance.rb	2017-02-09 19:26:31.609711000 -0800
3
@@ -7,14 +7,7 @@
3
@@ -8,14 +8,7 @@
4
 # $Id: dns_balance.rb,v 1.25 2003/06/13 22:07:27 elca Exp $
4
 # $Id: dns_balance.rb,v 1.26 2017-02-09 17:18:59 chrish Exp $
5
 
5
 
6
 # DNS Balance ¤Î¸ºß¤¹¤ë¥Ñ¥¹Ì¾
6
 # DNS Balance
7
-if ENV["ROOT"] == nil
7
-if ENV["ROOT"] == nil
8
-  warn("\"ROOT\" environment is recommended. Use current directory in this time.")
8
-  warn("\"ROOT\" environment is recommended. Use current directory in this time.")
9
-  PREFIX = "."
9
-  PREFIX = "."
Lines 16-22 Link Here
16
 $LOAD_PATH.freeze
16
 $LOAD_PATH.freeze
17
 
17
 
18
 require 'socket'
18
 require 'socket'
19
@@ -204,6 +197,14 @@ OptionParser::new {
19
@@ -204,6 +197,14 @@
20
   opt.on("--as", "Enable AS namespace") {
20
   opt.on("--as", "Enable AS namespace") {
21
     OPT["as"] = true
21
     OPT["as"] = true
22
   }
22
   }
Lines 31-37 Link Here
31
   opt.on_tail("-h", "--help", "Show this help message and exit") {
31
   opt.on_tail("-h", "--help", "Show this help message and exit") {
32
     STDERR.printf("%s", opt.to_s)
32
     STDERR.printf("%s", opt.to_s)
33
     exit(111)
33
     exit(111)
34
@@ -212,10 +213,42 @@ OptionParser::new {
34
@@ -212,10 +213,42 @@
35
 }
35
 }
36
 OPT.freeze
36
 OPT.freeze
37
 
37
 
Lines 77-83 Link Here
77
 ML.log("start")
77
 ML.log("start")
78
 
78
 
79
 
79
 
80
@@ -224,7 +257,7 @@ ML.log("start")
80
@@ -224,7 +257,7 @@
81
 #
81
 #
82
 Thread::start {
82
 Thread::start {
83
   loop {
83
   loop {
Lines 86-92 Link Here
86
       begin
86
       begin
87
 	load("addr")
87
 	load("addr")
88
 
88
 
89
@@ -234,7 +267,7 @@ Thread::start {
89
@@ -234,7 +267,7 @@
90
       end
90
       end
91
     end
91
     end
92
 
92
 

Return to bug 216958