- Update to 2.1.8
PR: ports/155393 Submitted by: Artem Naluzhnyy <tut@nhamon.com.ua> Approved by: maintainer timeout (>14 days)
This commit is contained in:
parent
3e7a515243
commit
b798e1c94f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275098
3 changed files with 16 additions and 24 deletions
|
@ -6,10 +6,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= speedtest-mini
|
PORTNAME= speedtest-mini
|
||||||
PORTVERSION= 2.1.5
|
PORTVERSION= 2.1.8
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://files.speedtest.ookla.com/releases/
|
MASTER_SITES= http://c.speedtest.net/mini/
|
||||||
DISTNAME= mini
|
DISTNAME= mini
|
||||||
|
|
||||||
MAINTAINER= gx@bsdplanet.ru
|
MAINTAINER= gx@bsdplanet.ru
|
||||||
|
@ -18,19 +17,22 @@ COMMENT= Mini bandwidth speed test on your own server
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
WRKSRC= ${WRKDIR}
|
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
@cd ${WRKSRC}/ && \
|
@${CP} ${WRKDIR}/index-php.html ${WRKDIR}/index.html
|
||||||
${MV} pkg-message .pkg-message && \
|
|
||||||
[ -f index-php.html ] && ${CP} index-php.html index.html \
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} -m 755 ${WWWDIR}/
|
@${MKDIR} -m 755 ${WWWDIR}/speedtest
|
||||||
${CP} -pR ${WRKSRC}/* ${WWWDIR}/
|
|
||||||
${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/
|
@${INSTALL_DATA} ${WRKDIR}/index.html ${WWWDIR}
|
||||||
|
@${INSTALL_DATA} ${WRKDIR}/speedtest.swf ${WWWDIR}
|
||||||
|
@${INSTALL_DATA} ${WRKDIR}/speedtest/random* ${WWWDIR}/speedtest
|
||||||
|
@${INSTALL_DATA} ${WRKDIR}/speedtest/swfobject.js ${WWWDIR}/speedtest
|
||||||
|
@${INSTALL_DATA} ${WRKDIR}/speedtest/upload.php ${WWWDIR}/speedtest
|
||||||
|
|
||||||
|
@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${WRKSRC}/.pkg-message
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
|
|
||||||
Speedtest Mini has been installed into:
|
Speedtest Mini has been installed into:
|
||||||
|
|
||||||
%%PREFIX%%/%%WWWDIR%%
|
%%WWWDIR%%
|
||||||
|
|
||||||
Please edit php.ini to suit your needs.
|
Please edit php.ini to suit your needs.
|
||||||
|
|
||||||
To make speedtest available through your web site, I suggest
|
To make speedtest available through your web site, I suggest
|
||||||
that you add something like the following to httpd.conf:
|
that you add something like the following to httpd.conf:
|
||||||
|
|
||||||
Alias /speedtest/ "%%PREFIX%%/%%WWWDIR%%/"
|
Alias /speedtest/ "%%WWWDIR%%/"
|
||||||
|
|
||||||
<Directory "%%PREFIX%%/%%WWWDIR%%/">
|
<Directory "%%WWWDIR%%/">
|
||||||
Options none
|
Options none
|
||||||
DirectoryIndex index.html
|
DirectoryIndex index.html
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
%%WWWDIR%%/crossdomain.xml
|
|
||||||
%%WWWDIR%%/index-asp.html
|
|
||||||
%%WWWDIR%%/index-aspx.html
|
|
||||||
%%WWWDIR%%/index-jsp.html
|
|
||||||
%%WWWDIR%%/index-php.html
|
|
||||||
%%WWWDIR%%/index.html
|
%%WWWDIR%%/index.html
|
||||||
%%WWWDIR%%/speedtest.swf
|
%%WWWDIR%%/speedtest.swf
|
||||||
%%WWWDIR%%/speedtest/latency.txt
|
|
||||||
%%WWWDIR%%/speedtest/random1000x1000.jpg
|
%%WWWDIR%%/speedtest/random1000x1000.jpg
|
||||||
%%WWWDIR%%/speedtest/random1500x1500.jpg
|
%%WWWDIR%%/speedtest/random1500x1500.jpg
|
||||||
%%WWWDIR%%/speedtest/random2000x2000.jpg
|
%%WWWDIR%%/speedtest/random2000x2000.jpg
|
||||||
|
@ -17,10 +11,6 @@
|
||||||
%%WWWDIR%%/speedtest/random500x500.jpg
|
%%WWWDIR%%/speedtest/random500x500.jpg
|
||||||
%%WWWDIR%%/speedtest/random750x750.jpg
|
%%WWWDIR%%/speedtest/random750x750.jpg
|
||||||
%%WWWDIR%%/speedtest/swfobject.js
|
%%WWWDIR%%/speedtest/swfobject.js
|
||||||
%%WWWDIR%%/speedtest/upload.asp
|
|
||||||
%%WWWDIR%%/speedtest/upload.aspx
|
|
||||||
%%WWWDIR%%/speedtest/upload.jsp
|
|
||||||
%%WWWDIR%%/speedtest/upload.php
|
%%WWWDIR%%/speedtest/upload.php
|
||||||
%%WWWDIR%%/troubleshooting.txt
|
|
||||||
@dirrm %%WWWDIR%%/speedtest
|
@dirrm %%WWWDIR%%/speedtest
|
||||||
@dirrm %%WWWDIR%%
|
@dirrm %%WWWDIR%%
|
||||||
|
|
Loading…
Reference in a new issue