aboutsummaryrefslogtreecommitdiff
path: root/dns/py-namebench
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2016-11-04 16:41:39 +0000
committerJason Helfman <jgh@FreeBSD.org>2016-11-04 16:41:39 +0000
commitd2de35330df02115fde23aa135b60f98f969f79c (patch)
tree34d039a0b6205cd1eeb2db9b1ee3c73da46add43 /dns/py-namebench
parentd750f8a11905997fd46215a81e94f99d08bcd6eb (diff)
downloadports-d2de35330df02115fde23aa135b60f98f969f79c.tar.gz
ports-d2de35330df02115fde23aa135b60f98f969f79c.zip
- unbreak fetch [1]
- update WWW site - regen patch (pet portlint) Reported by: jswhitejrusa@gmail.com [1]
Notes
Notes: svn path=/head/; revision=425341
Diffstat (limited to 'dns/py-namebench')
-rw-r--r--dns/py-namebench/Makefile6
-rw-r--r--dns/py-namebench/distinfo1
-rw-r--r--dns/py-namebench/files/patch-libnamebench_util.py11
-rw-r--r--dns/py-namebench/pkg-descr2
4 files changed, 15 insertions, 5 deletions
diff --git a/dns/py-namebench/Makefile b/dns/py-namebench/Makefile
index a216e9969a14..c0beb6861ef0 100644
--- a/dns/py-namebench/Makefile
+++ b/dns/py-namebench/Makefile
@@ -5,8 +5,8 @@ PORTNAME= namebench
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= dns python benchmarks
-MASTER_SITES= GOOGLE_CODE \
- LOCAL/jgh/dns/
+MASTER_SITES= SF/bsdsrc/${PORTDIRNAME}/ \
+ https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PORTNAME}/ \
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -15,8 +15,6 @@ COMMENT= Open Source DNS benchmark utility
LICENSE= APACHE20
-BROKEN= Unfetchable (google code has gone away)
-
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.5.5:devel/py-Jinja2 \
${PYTHON_PKGNAMEPREFIX}graphy>=1.0:graphics/py-graphy \
${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:dns/py-dnspython \
diff --git a/dns/py-namebench/distinfo b/dns/py-namebench/distinfo
index 15581543e56d..e73a5e59a508 100644
--- a/dns/py-namebench/distinfo
+++ b/dns/py-namebench/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1478214460
SHA256 (namebench-1.3.1-source.tgz) = 30ccf9e870c1174c6bf02fca488f62bba280203a0b1e8e4d26f3756e1a5b9425
SIZE (namebench-1.3.1-source.tgz) = 1118505
diff --git a/dns/py-namebench/files/patch-libnamebench_util.py b/dns/py-namebench/files/patch-libnamebench_util.py
new file mode 100644
index 000000000000..0b342026ae5d
--- /dev/null
+++ b/dns/py-namebench/files/patch-libnamebench_util.py
@@ -0,0 +1,11 @@
+--- libnamebench/util.py.orig 2016-11-04 16:13:39 UTC
++++ libnamebench/util.py
+@@ -85,7 +85,7 @@ def FindDataFile(filename):
+ os.path.join(os.getcwd(), 'namebench.app', 'Contents', 'Resources'),
+ os.path.join(os.getcwd(), '..'),
+ os.path.join(sys.prefix, 'namebench'),
+- '/usr/local/share/namebench'
++ '/usr/local/share/namebench',
+ '/usr/local/etc/namebench',
+ '/usr/local/namebench',
+ '/etc/namebench',
diff --git a/dns/py-namebench/pkg-descr b/dns/py-namebench/pkg-descr
index cb504ab4bad7..11881bab3c00 100644
--- a/dns/py-namebench/pkg-descr
+++ b/dns/py-namebench/pkg-descr
@@ -2,4 +2,4 @@ An experiment in benchmarking DNS name services. This tool
is designed to help you as a user determine what name services
are the best to use for an individual machine.
-WWW: http://namebench.googlecode.com/
+WWW: https://code.google.com/archive/p/namebench/