View | Details | Raw Unified | Return to bug 158948 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +18 lines)
Lines 6-38 Link Here
6
#
6
#
7
7
8
PORTNAME=	namebench
8
PORTNAME=	namebench
9
PORTVERSION=	1.0
9
PORTVERSION=	1.3.1
10
PORTREVISION=	1
11
CATEGORIES=	dns python
10
CATEGORIES=	dns python
12
MASTER_SITES=	GOOGLE_CODE
11
MASTER_SITES=	GOOGLE_CODE
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-source
14
EXTRACT_SUFX=	.tgz
14
EXTRACT_SUFX=	.tgz
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	An open-source DNS benchmark utility
17
COMMENT=	An open-source DNS benchmark utility
18
18
19
LICENSE=	ASL
20
21
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.5.5:${PORTSDIR}/devel/py-Jinja2 \
22
	${PYTHON_PKGNAMEPREFIX}graphy>=1.0:${PORTSDIR}/graphics/py-graphy \
23
	${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython \
24
	${PYTHON_PKGNAMEPREFIX}httplib2>=0.6.0:${PORTSDIR}/www/py-httplib2 \
25
	${PYTHON_PKGNAMEPREFIX}simplejson>=2.1.6:${PORTSDIR}/devel/py-simplejson
26
27
.if !defined(WITHOUT_X11)
28
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tkinter>=2.7.1:${PORTSDIR}/x11-toolkits/py-tkinter
29
.endif
30
19
MAKE_ENV+=	NO_THIRD_PARTY=yes
31
MAKE_ENV+=	NO_THIRD_PARTY=yes
32
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
20
33
21
PORTDOCS=	README.txt
34
PORTDOCS=	README.txt
22
35
23
USE_PYTHON=	2.5+
36
USE_PYTHON=	yes
24
USE_PYDISTUTILS=	yes
37
USE_PYDISTUTILS=	yes
25
PYDISTUTILS_INSTALLARGS+=	--install-data=${PREFIX}/share
38
PYDISTUTILS_INSTALLARGS+=	--install-data=${PREFIX}/share
26
39
27
NO_INSTALL_MANPAGES=	yes
40
NO_INSTALL_MANPAGES=	yes
28
41
29
post-patch:
30
	@${REINPLACE_CMD} '/windows/d' ${WRKSRC}/setup.py
31
32
post-install:
42
post-install:
33
.if !defined(NOPORTDOCS)
43
.if !defined(NOPORTDOCS)
34
	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
44
	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
35
	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
45
	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
36
.endif
46
.endif
37
47
48
	${LN} -s ${DATADIR} /etc/${PORTNAME}
49
38
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (namebench-1.0.tgz) = 59af0fea2ce4cb52a3999115ecf77331150cd1ccae36e05e173680bb6d68611c
1
SHA256 (namebench-1.3.1-source.tgz) = 30ccf9e870c1174c6bf02fca488f62bba280203a0b1e8e4d26f3756e1a5b9425
2
SIZE (namebench-1.0.tgz) = 2557100
2
SIZE (namebench-1.3.1-source.tgz) = 1118505
(-)pkg-plist (-22 / +47 lines)
Lines 1-52 Link Here
1
bin/namebench.py
1
bin/namebench.py
2
%%PYTHON_SITELIBDIR%%/libnamebench/__init__.py
2
%%PYTHON_SITELIBDIR%%/libnamebench/__init__.py
3
%%PYTHON_SITELIBDIR%%/libnamebench/base_ui.py
4
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark.py
5
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark_test.py
6
%%PYTHON_SITELIBDIR%%/libnamebench/better_webbrowser.py
7
%%PYTHON_SITELIBDIR%%/libnamebench/charts.py
8
%%PYTHON_SITELIBDIR%%/libnamebench/charts_test.py
9
%%PYTHON_SITELIBDIR%%/libnamebench/cli.py
10
%%PYTHON_SITELIBDIR%%/libnamebench/config.py
11
%%PYTHON_SITELIBDIR%%/libnamebench/conn_quality.py
12
%%PYTHON_SITELIBDIR%%/libnamebench/history_parser.py
13
%%PYTHON_SITELIBDIR%%/libnamebench/mocks.py
14
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver.py
15
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_list.py
16
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_test.py
17
%%PYTHON_SITELIBDIR%%/libnamebench/selectors.py
18
%%PYTHON_SITELIBDIR%%/libnamebench/selectors_test.py
19
%%PYTHON_SITELIBDIR%%/libnamebench/tk.py
20
%%PYTHON_SITELIBDIR%%/libnamebench/util.py
21
%%PYTHON_SITELIBDIR%%/libnamebench/util_test.py
22
%%PYTHON_SITELIBDIR%%/libnamebench/__init__.pyc
3
%%PYTHON_SITELIBDIR%%/libnamebench/__init__.pyc
4
%%PYTHON_SITELIBDIR%%/libnamebench/addr_util.py
5
%%PYTHON_SITELIBDIR%%/libnamebench/addr_util.pyc
6
%%PYTHON_SITELIBDIR%%/libnamebench/base_ui.py
23
%%PYTHON_SITELIBDIR%%/libnamebench/base_ui.pyc
7
%%PYTHON_SITELIBDIR%%/libnamebench/base_ui.pyc
8
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark.py
24
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark.pyc
9
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark.pyc
10
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark_test.py
25
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark_test.pyc
11
%%PYTHON_SITELIBDIR%%/libnamebench/benchmark_test.pyc
12
%%PYTHON_SITELIBDIR%%/libnamebench/better_webbrowser.py
26
%%PYTHON_SITELIBDIR%%/libnamebench/better_webbrowser.pyc
13
%%PYTHON_SITELIBDIR%%/libnamebench/better_webbrowser.pyc
14
%%PYTHON_SITELIBDIR%%/libnamebench/charts.py
27
%%PYTHON_SITELIBDIR%%/libnamebench/charts.pyc
15
%%PYTHON_SITELIBDIR%%/libnamebench/charts.pyc
16
%%PYTHON_SITELIBDIR%%/libnamebench/charts_test.py
28
%%PYTHON_SITELIBDIR%%/libnamebench/charts_test.pyc
17
%%PYTHON_SITELIBDIR%%/libnamebench/charts_test.pyc
18
%%PYTHON_SITELIBDIR%%/libnamebench/cli.py
29
%%PYTHON_SITELIBDIR%%/libnamebench/cli.pyc
19
%%PYTHON_SITELIBDIR%%/libnamebench/cli.pyc
20
%%PYTHON_SITELIBDIR%%/libnamebench/config.py
30
%%PYTHON_SITELIBDIR%%/libnamebench/config.pyc
21
%%PYTHON_SITELIBDIR%%/libnamebench/config.pyc
22
%%PYTHON_SITELIBDIR%%/libnamebench/conn_quality.py
31
%%PYTHON_SITELIBDIR%%/libnamebench/conn_quality.pyc
23
%%PYTHON_SITELIBDIR%%/libnamebench/conn_quality.pyc
32
%%PYTHON_SITELIBDIR%%/libnamebench/history_parser.pyc
24
%%PYTHON_SITELIBDIR%%/libnamebench/data_sources.py
25
%%PYTHON_SITELIBDIR%%/libnamebench/data_sources.pyc
26
%%PYTHON_SITELIBDIR%%/libnamebench/geoip.py
27
%%PYTHON_SITELIBDIR%%/libnamebench/geoip.pyc
28
%%PYTHON_SITELIBDIR%%/libnamebench/health_checks.py
29
%%PYTHON_SITELIBDIR%%/libnamebench/health_checks.pyc
30
%%PYTHON_SITELIBDIR%%/libnamebench/mocks.py
33
%%PYTHON_SITELIBDIR%%/libnamebench/mocks.pyc
31
%%PYTHON_SITELIBDIR%%/libnamebench/mocks.pyc
32
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver.py
34
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver.pyc
33
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver.pyc
34
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_list.py
35
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_list.pyc
35
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_list.pyc
36
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_test.py
36
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_test.pyc
37
%%PYTHON_SITELIBDIR%%/libnamebench/nameserver_test.pyc
38
%%PYTHON_SITELIBDIR%%/libnamebench/reporter.py
39
%%PYTHON_SITELIBDIR%%/libnamebench/reporter.pyc
40
%%PYTHON_SITELIBDIR%%/libnamebench/selectors.py
37
%%PYTHON_SITELIBDIR%%/libnamebench/selectors.pyc
41
%%PYTHON_SITELIBDIR%%/libnamebench/selectors.pyc
42
%%PYTHON_SITELIBDIR%%/libnamebench/selectors_test.py
38
%%PYTHON_SITELIBDIR%%/libnamebench/selectors_test.pyc
43
%%PYTHON_SITELIBDIR%%/libnamebench/selectors_test.pyc
44
%%PYTHON_SITELIBDIR%%/libnamebench/site_connector.py
45
%%PYTHON_SITELIBDIR%%/libnamebench/site_connector.pyc
46
%%PYTHON_SITELIBDIR%%/libnamebench/tk.py
39
%%PYTHON_SITELIBDIR%%/libnamebench/tk.pyc
47
%%PYTHON_SITELIBDIR%%/libnamebench/tk.pyc
48
%%PYTHON_SITELIBDIR%%/libnamebench/url_map.py
49
%%PYTHON_SITELIBDIR%%/libnamebench/url_map.pyc
50
%%PYTHON_SITELIBDIR%%/libnamebench/util.py
40
%%PYTHON_SITELIBDIR%%/libnamebench/util.pyc
51
%%PYTHON_SITELIBDIR%%/libnamebench/util.pyc
52
%%PYTHON_SITELIBDIR%%/libnamebench/util_test.py
41
%%PYTHON_SITELIBDIR%%/libnamebench/util_test.pyc
53
%%PYTHON_SITELIBDIR%%/libnamebench/util_test.pyc
54
%%PYTHON_SITELIBDIR%%/libnamebench/version.py
55
%%PYTHON_SITELIBDIR%%/libnamebench/version.pyc
42
%%PYTHON_SITELIBDIR%%/namebench.py
56
%%PYTHON_SITELIBDIR%%/namebench.py
43
%%PYTHON_SITELIBDIR%%/namebench.pyc
57
%%PYTHON_SITELIBDIR%%/namebench.pyc
44
%%DATADIR%%/namebench.cfg
58
%%DOCSDIR%%/README.txt
59
%%DATADIR%%/config/data_sources.cfg
60
%%DATADIR%%/config/hostname_reference.cfg
61
%%DATADIR%%/config/namebench.cfg
62
%%DATADIR%%/data/alexa-top-2000-domains.txt
63
%%DATADIR%%/data/cache-hit.txt
64
%%DATADIR%%/data/cache-miss.txt
65
%%DATADIR%%/data/cache-mix.txt
45
%%DATADIR%%/templates/ascii.tmpl
66
%%DATADIR%%/templates/ascii.tmpl
46
%%DATADIR%%/templates/html.tmpl
67
%%DATADIR%%/templates/html.tmpl
68
%%DATADIR%%/templates/resolv.conf.tmpl
47
%%DATADIR%%/templates/style.css
69
%%DATADIR%%/templates/style.css
48
%%DATADIR%%/data/alexa-top-10000-global.txt
49
@dirrm %%DATADIR%%/templates
70
@dirrm %%DATADIR%%/templates
50
@dirrm %%DATADIR%%/data
71
@dirrm %%DATADIR%%/data
72
@dirrm %%DATADIR%%/config
51
@dirrm %%DATADIR%%
73
@dirrm %%DATADIR%%
74
@dirrm %%DOCSDIR%%
52
@dirrm %%PYTHON_SITELIBDIR%%/libnamebench
75
@dirrm %%PYTHON_SITELIBDIR%%/libnamebench
76
@cwd /etc
77
namebench

Return to bug 158948