FreeBSD Bugzilla – Attachment 210353 Details for
Bug 242968
[NEW PORT] www/librespeed: Lightweight (self)hosted speedtest
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
librespeedv4.diff
librespeedv4.diff (text/plain), 6.76 KB, created by
Dries Michiels
on 2019-12-31 12:07:33 UTC
(
hide
)
Description:
librespeedv4.diff
Filename:
MIME Type:
Creator:
Dries Michiels
Created:
2019-12-31 12:07:33 UTC
Size:
6.76 KB
patch
obsolete
>Index: www/Makefile >=================================================================== >--- www/Makefile (revision 521491) >+++ www/Makefile (working copy) >@@ -296,6 +296,7 @@ > SUBDIR += libmicrohttpd > SUBDIR += libnghttp2 > SUBDIR += libresonic-standalone >+ SUBDIR += librespeed > SUBDIR += libwpe > SUBDIR += libwww > SUBDIR += lightsquid >Index: www/librespeed/Makefile >=================================================================== >--- www/librespeed/Makefile (nonexistent) >+++ www/librespeed/Makefile (working copy) >@@ -0,0 +1,53 @@ >+# $FreeBSD$ >+ >+PORTNAME= librespeed >+DISTVERSION= 5.1 >+CATEGORIES= www net >+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} >+ >+MAINTAINER= driesm.michiels@gmail.com >+COMMENT= Lightweight (self)hosted speedtest >+ >+LICENSE= LGPL3 >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= php:flavors,web >+ >+USE_GITHUB= YES >+GH_PROJECT= speedtest >+ >+NO_BUILD= YES >+NO_ARCH= YES >+ >+PLIST_SUB= LIBRESPEED_USERNAME=${WWWOWN} >+ >+OPTIONS_DEFINE= DOCS EXAMPLES >+ >+OPTIONS_RADIO= BACKEND >+OPTIONS_RADIO_BACKEND= MYSQL PGSQL SQLITE >+ >+MYSQL_USE= PHP=mysqli >+PGSQL_USE= PHP=pdo_pgsql >+SQLITE_USE= PHP=pdo_sqlite >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${WWWDIR} >+ ${CP} -a ${WRKSRC}/*.js ${WRKSRC}/favicon.ico ${STAGEDIR}${WWWDIR} >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/backend >+ cd ${WRKSRC}/backend && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/backend >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/results >+ cd ${WRKSRC}/results && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/results >+ ${INSTALL_DATA} ${WRKSRC}/results/telemetry_settings.php \ >+ ${STAGEDIR}${WWWDIR}/results/telemetry_settings.php.sample >+ ${INSTALL_DATA} ${WRKSRC}/backend/getIP_ipInfo_apikey.php \ >+ ${STAGEDIR}${WWWDIR}/backend/getIP_ipInfo_apikey.php.sample >+ >+post-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_MAN} ${WRKSRC}/doc.md ${STAGEDIR}${DOCSDIR} >+ >+post-install-EXAMPLES-on: >+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >+ ${CP} -a ${WRKSRC}/*.html ${STAGEDIR}${EXAMPLESDIR} >+ >+.include <bsd.port.mk> > >Property changes on: www/librespeed/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/librespeed/distinfo >=================================================================== >--- www/librespeed/distinfo (nonexistent) >+++ www/librespeed/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1577644470 >+SHA256 (librespeed-speedtest-5.1_GH0.tar.gz) = 8fd410e190acce7a8b169e3ae3610c38d8af50beea11215a060787a06b5fb929 >+SIZE (librespeed-speedtest-5.1_GH0.tar.gz) = 2120414 > >Property changes on: www/librespeed/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/librespeed/pkg-descr >=================================================================== >--- www/librespeed/pkg-descr (nonexistent) >+++ www/librespeed/pkg-descr (working copy) >@@ -0,0 +1,5 @@ >+LibreSpeed is a very lightweight Speedtest. >+LibreSpeed is implemented in Javascript, using XMLHttpRequest and Web Workers. >+It can be self hosted with the option to store results in a backend database. >+ >+WWW: https://github.com/librespeed/speedtest > >Property changes on: www/librespeed/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/librespeed/pkg-message >=================================================================== >--- www/librespeed/pkg-message (nonexistent) >+++ www/librespeed/pkg-message (working copy) >@@ -0,0 +1,16 @@ >+[ >+{ type: install >+ message: <<EOM >+You can mostly follow the guide on: https://fdossena.com/speedtest/qs_v5_ubuntu1904.webm >+For more advanced docs: https://github.com/librespeed/speedtest/blob/master/doc.md >+ >+Copy your prefered example from ${PREFIX}/share/examples/librespeed to ${PREFIX}/www/librespeed/index.html. >+To use the backend feature, be sure to copy a -full example and rebuild the port with backend support. >+ >+ cd ${PREFIX}/share/examples/librespeed >+ cp -a example-singleServer-full.html ${PREFIX}/www/librespeed/index.html >+ >+The next step is to install and setup a web server with PHP to serve the content. >+EOM >+} >+] > >Property changes on: www/librespeed/pkg-message >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/librespeed/pkg-plist >=================================================================== >--- www/librespeed/pkg-plist (nonexistent) >+++ www/librespeed/pkg-plist (working copy) >@@ -0,0 +1,29 @@ >+%%PORTDOCS%%%%DOCSDIR%%/doc.md >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-full.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-pretty.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-basic.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-chart.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-customSettings.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-full.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-gauges.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-pretty.html >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-progressBar.html >+@owner %%LIBRESPEED_USERNAME%% >+@dir %%WWWDIR%%/backend >+%%WWWDIR%%/backend/empty.php >+%%WWWDIR%%/backend/garbage.php >+%%WWWDIR%%/backend/getIP.php >+@sample %%WWWDIR%%/backend/getIP_ipInfo_apikey.php.sample >+@dir %%WWWDIR%%/results >+%%WWWDIR%%/results/OpenSans-Light.ttf >+%%WWWDIR%%/results/OpenSans-Semibold.ttf >+%%WWWDIR%%/results/idObfuscation.php >+%%WWWDIR%%/results/index.php >+%%WWWDIR%%/results/stats.php >+%%WWWDIR%%/results/telemetry.php >+%%WWWDIR%%/results/telemetry_mysql.sql >+%%WWWDIR%%/results/telemetry_postgresql.sql >+@sample %%WWWDIR%%/results/telemetry_settings.php.sample >+%%WWWDIR%%/favicon.ico >+%%WWWDIR%%/speedtest.js >+%%WWWDIR%%/speedtest_worker.js > >Property changes on: www/librespeed/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242968
:
210311
|
210312
|
210313
|
210353
|
213197