diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2010-09-21 14:59:50 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2010-09-21 14:59:50 +0000 |
commit | 2f24e66efd599d8d7c4f601bc286c18eed64c913 (patch) | |
tree | 32e496ef965cf8d96024f9ad13c2e9007aa634ae /www/speedtest-mini | |
parent | be5cfa9f312154b53d0adb4065e95e45264a4b39 (diff) | |
download | ports-2f24e66efd599d8d7c4f601bc286c18eed64c913.tar.gz ports-2f24e66efd599d8d7c4f601bc286c18eed64c913.zip |
Speedtest.net Mini is a package that allows to free speed test on
your own server that uses the same technology as Speedtest.net.
WWW: http://www.speedtest.net/mini.php
PR: ports/150716
Submitted by: Grytsuk Anton <gx@bsdplanet.ru>
Notes
Notes:
svn path=/head/; revision=261550
Diffstat (limited to 'www/speedtest-mini')
-rw-r--r-- | www/speedtest-mini/Makefile | 36 | ||||
-rw-r--r-- | www/speedtest-mini/distinfo | 3 | ||||
-rw-r--r-- | www/speedtest-mini/pkg-descr | 4 | ||||
-rw-r--r-- | www/speedtest-mini/pkg-message | 21 | ||||
-rw-r--r-- | www/speedtest-mini/pkg-plist | 30 |
5 files changed, 94 insertions, 0 deletions
diff --git a/www/speedtest-mini/Makefile b/www/speedtest-mini/Makefile new file mode 100644 index 000000000000..63db2ae40566 --- /dev/null +++ b/www/speedtest-mini/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: speedtest-mini +# Date created: 2010-09-19 +# Whom: Anton Grytsuk <gx@bsdplanet.ru> +# +# $FreeBSD$ +# + +PORTNAME= speedtest-mini +PORTVERSION= 2.1.5 +CATEGORIES= www +MASTER_SITES= http://files.speedtest.ookla.com/releases/ +DISTFILES= mini${EXTRACT_SUFX} + +MAINTAINER= gx@bsdplanet.ru +COMMENT= Mini bandwidth speed test on your own server + +USE_ZIP= YES +NO_BUILD= YES +WRKSRC= ${WRKDIR} +SPEEDTEST?= www/speedtest-mini + +pre-install: + + if [ ! -f ${WRKSRC}/index-php.html ]; then ${CP} \ + ${WRKSRC}/index-php.html ${WRKSRC}/index.html; fi + +do-install: + @${MKDIR} ${PREFIX}/${SPEEDTEST} + @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${SPEEDTEST} + @${CHMOD} 755 ${PREFIX}/${SPEEDTEST} + ${CP} -R ${WRKSRC}/ ${PREFIX}/${SPEEDTEST} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/speedtest-mini/distinfo b/www/speedtest-mini/distinfo new file mode 100644 index 000000000000..93ef668251d8 --- /dev/null +++ b/www/speedtest-mini/distinfo @@ -0,0 +1,3 @@ +MD5 (mini.zip) = 1d4055b1917723e992d85d676368eeb3 +SHA256 (mini.zip) = df2e7fd634bffcbcbd3be3bd40b4a26a21344b2991ee8edba1fe660293433dc9 +SIZE (mini.zip) = 99038890 diff --git a/www/speedtest-mini/pkg-descr b/www/speedtest-mini/pkg-descr new file mode 100644 index 000000000000..439d3edda940 --- /dev/null +++ b/www/speedtest-mini/pkg-descr @@ -0,0 +1,4 @@ +Speedtest.net Mini is a package that allows to free speed test on +your own server that uses the same technology as Speedtest.net. + +WWW: http://www.speedtest.net/mini.php diff --git a/www/speedtest-mini/pkg-message b/www/speedtest-mini/pkg-message new file mode 100644 index 000000000000..40ea7fdd7036 --- /dev/null +++ b/www/speedtest-mini/pkg-message @@ -0,0 +1,21 @@ + +Speedtest Mini has been installed into: + + ${PREFIX}/www/speedtest-mini + +Please edit php.ini to suit your needs. + +To make speedtest available through your web site, I suggest +that you add something like the following to httpd.conf: + + Alias /speedtest/ "/usr/local/www/speedtest-mini/" + + <Directory "/usr/local/www/speedtest-mini/"> + Options none + DirectoryIndex index.html + AllowOverride All + + Order Deny,Allow + Deny from all + Allow from 127.0.0.1 .example.com + </Directory> diff --git a/www/speedtest-mini/pkg-plist b/www/speedtest-mini/pkg-plist new file mode 100644 index 000000000000..7cf476117b9e --- /dev/null +++ b/www/speedtest-mini/pkg-plist @@ -0,0 +1,30 @@ +www/speedtest-mini/.PLIST.mktmp +www/speedtest-mini/.build_done.speedtest-mini._usr_local +www/speedtest-mini/.configure_done.speedtest-mini._usr_local +www/speedtest-mini/.extract_done.speedtest-mini._usr_local +www/speedtest-mini/.patch_done.speedtest-mini._usr_local +www/speedtest-mini/crossdomain.xml +www/speedtest-mini/index-asp.html +www/speedtest-mini/index-aspx.html +www/speedtest-mini/index-jsp.html +www/speedtest-mini/index-php.html +www/speedtest-mini/speedtest.swf +www/speedtest-mini/speedtest/latency.txt +www/speedtest-mini/speedtest/random1000x1000.jpg +www/speedtest-mini/speedtest/random1500x1500.jpg +www/speedtest-mini/speedtest/random2000x2000.jpg +www/speedtest-mini/speedtest/random2500x2500.jpg +www/speedtest-mini/speedtest/random3000x3000.jpg +www/speedtest-mini/speedtest/random3500x3500.jpg +www/speedtest-mini/speedtest/random350x350.jpg +www/speedtest-mini/speedtest/random4000x4000.jpg +www/speedtest-mini/speedtest/random500x500.jpg +www/speedtest-mini/speedtest/random750x750.jpg +www/speedtest-mini/speedtest/swfobject.js +www/speedtest-mini/speedtest/upload.asp +www/speedtest-mini/speedtest/upload.aspx +www/speedtest-mini/speedtest/upload.jsp +www/speedtest-mini/speedtest/upload.php +www/speedtest-mini/troubleshooting.txt +@dirrm www/speedtest-mini/speedtest +@dirrm www/speedtest-mini |