aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-12-26 03:24:24 +0800
committermiwi <miwi@FreeBSD.org>2009-12-26 03:24:24 +0800
commit1f42e6dcf9f209acc4f1355800ab9a4ffba42d73 (patch)
tree4f7ec06f82566150fc93a483c825a1485c80ed69 /dns
parent96aa6341c5f2a308f4a5c4c9f3d1fa0ebc2fff82 (diff)
downloadfreebsd-ports-gnome-1f42e6dcf9f209acc4f1355800ab9a4ffba42d73.tar.gz
freebsd-ports-gnome-1f42e6dcf9f209acc4f1355800ab9a4ffba42d73.tar.zst
freebsd-ports-gnome-1f42e6dcf9f209acc4f1355800ab9a4ffba42d73.zip
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/ PR: ports/141202 Submitted by: Sahil Tandon <sahil at tandon.net>
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/py-namebench/Makefile37
-rw-r--r--dns/py-namebench/distinfo3
-rw-r--r--dns/py-namebench/pkg-descr5
-rw-r--r--dns/py-namebench/pkg-plist52
5 files changed, 98 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index d84893bc4b4f..75853558c6f2 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -120,6 +120,7 @@
SUBDIR += py-adns
SUBDIR += py-dns
SUBDIR += py-dnspython
+ SUBDIR += py-namebench
SUBDIR += py-twistedNames
SUBDIR += rbldnsd
SUBDIR += rbllookup
diff --git a/dns/py-namebench/Makefile b/dns/py-namebench/Makefile
new file mode 100644
index 000000000000..6d14e1214e75
--- /dev/null
+++ b/dns/py-namebench/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: py-namebench
+# Date created: 04 December 2009
+# Whom: Sahil Tandon <sahil@tandon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= namebench
+PORTVERSION= 1.0
+CATEGORIES= dns python
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sahil@tandon.net
+COMMENT= An open-source DNS benchmark utility
+
+MAKE_ENV+= NO_THIRD_PARTY=yes
+
+PORTDOCS= README.txt
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+PYDISTUTILS_INSTALLARGS+= --install-data=${PREFIX}/share
+
+NO_INSTALL_MANPAGES= yes
+
+post-patch:
+ @${REINPLACE_CMD} '/windows/d' ${WRKSRC}/setup.py
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/dns/py-namebench/distinfo b/dns/py-namebench/distinfo
new file mode 100644
index 000000000000..20626a46a65d
--- /dev/null
+++ b/dns/py-namebench/distinfo
@@ -0,0 +1,3 @@
+MD5 (namebench-1.0.tgz) = cbed0bfdff7388248fa476345d740179
+SHA256 (namebench-1.0.tgz) = 59af0fea2ce4cb52a3999115ecf77331150cd1ccae36e05e173680bb6d68611c
+SIZE (namebench-1.0.tgz) = 2557100
diff --git a/dns/py-namebench/pkg-descr b/dns/py-namebench/pkg-descr
new file mode 100644
index 000000000000..cb504ab4bad7
--- /dev/null
+++ b/dns/py-namebench/pkg-descr
@@ -0,0 +1,5 @@
+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/
diff --git a/dns/py-namebench/pkg-plist b/dns/py-namebench/pkg-plist
new file mode 100644
index 000000000000..009ecac370d5
--- /dev/null
+++ b/dns/py-namebench/pkg-plist
@@ -0,0 +1,52 @@
+bin/namebench.py
+%%PYTHON_SITELIBDIR%%/libnamebench/__init__.py
+%%PYTHON_SITELIBDIR%%/libnamebench/base_ui.py
+%%PYTHON_SITELIBDIR%%/libnamebench/benchmark.py
+%%PYTHON_SITELIBDIR%%/libnamebench/benchmark_test.py
+%%PYTHON_SITELIBDIR%%/libnamebench/better_webbrowser.py
+%%PYTHON_SITELIBDIR%%/libnamebench/charts.py
+%%PYTHON_SITELIBDIR%%/libnamebench/charts_test.py
+%%PYTHON_SITELIBDIR%%/libnamebench/cli.py
+%%PYTHON_SITELIBDIR%%/libnamebench/config.py
+%%PYTHON_SITELIBDIR%%/libnamebench/conn_quality.py
+%%PYTHON_SITELIBDIR%%/libnamebench/history_parser.py
+%%PYTHON_SITELIBDIR%%/libnamebench/mocks.py
+%%PYTHON_SITELIBDIR%%/libnamebench/nameserver.py
+%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_list.py
+%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_test.py
+%%PYTHON_SITELIBDIR%%/libnamebench/selectors.py
+%%PYTHON_SITELIBDIR%%/libnamebench/selectors_test.py
+%%PYTHON_SITELIBDIR%%/libnamebench/tk.py
+%%PYTHON_SITELIBDIR%%/libnamebench/util.py
+%%PYTHON_SITELIBDIR%%/libnamebench/util_test.py
+%%PYTHON_SITELIBDIR%%/libnamebench/__init__.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/base_ui.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/benchmark.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/benchmark_test.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/better_webbrowser.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/charts.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/charts_test.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/cli.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/config.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/conn_quality.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/history_parser.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/mocks.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/nameserver.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_list.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_test.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/selectors.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/selectors_test.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/tk.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/util.pyc
+%%PYTHON_SITELIBDIR%%/libnamebench/util_test.pyc
+%%PYTHON_SITELIBDIR%%/namebench.py
+%%PYTHON_SITELIBDIR%%/namebench.pyc
+%%DATADIR%%/namebench.cfg
+%%DATADIR%%/templates/ascii.tmpl
+%%DATADIR%%/templates/html.tmpl
+%%DATADIR%%/templates/style.css
+%%DATADIR%%/data/alexa-top-10000-global.txt
+@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/libnamebench