security/zeronet: Update 0.6.5-25 -> 0.7.1

ZeroNet now supports python3.
ZeroNet is nothing less than the alternative model of the internet, where websites are hosted by users.
This commit is contained in:
Yuri Victorovich 2019-10-14 05:46:10 +00:00
parent ed17319e83
commit 882a402d76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514435
4 changed files with 533 additions and 792 deletions

View File

@ -3,9 +3,7 @@
PORTNAME= zeronet
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.5-25
DISTVERSIONSUFFIX= -gabb566e3
PORTREVISION= 2
DISTVERSION= 0.7.1
CATEGORIES= security net-p2p
MAINTAINER= yuri@FreeBSD.org
@ -16,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gevent>0:devel/py-gevent@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gevent-websocket>0:www/py-gevent-websocket@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
@ -25,7 +24,8 @@ PLIST_SUB= USER=${USER} GROUP=${GROUP}
# ZeroNet hasn't been ported to Python 3 yet
# https://github.com/HelloZeroNet/ZeroNet/issues/149
USES= python:2.7
USES= python:3.6+ shebangfix
SHEBANG_FILES= zeronet.py
USE_GITHUB= yes
GH_ACCOUNT= HelloZeroNet
GH_PROJECT= ZeroNet

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1553311262
SHA256 (HelloZeroNet-ZeroNet-v0.6.5-25-gabb566e3_GH0.tar.gz) = b75c36f62c1c5945d6bec2efc7f0c7ae75d6b5ebc99ec52090ce734ff3c30c4a
SIZE (HelloZeroNet-ZeroNet-v0.6.5-25-gabb566e3_GH0.tar.gz) = 2766998
TIMESTAMP = 1571030613
SHA256 (HelloZeroNet-ZeroNet-v0.7.1_GH0.tar.gz) = 78a27e1687d8e3699a854b77b516c95b30a8ba667f7ebbef0aabf7ec6ec7272d
SIZE (HelloZeroNet-ZeroNet-v0.7.1_GH0.tar.gz) = 1688250

View File

@ -1,18 +1,20 @@
--- src/Ui/UiServer.py.orig 2016-06-11 08:29:47 UTC
--- src/Ui/UiServer.py.orig 2019-09-04 18:16:57 UTC
+++ src/Ui/UiServer.py
@@ -107,7 +107,7 @@ class UiServer:
@@ -133,7 +133,7 @@ class UiServer:
from werkzeug.debug import DebuggedApplication
handler = DebuggedApplication(self.handleRequest, evalex=True)
except Exception, err:
except Exception as err:
- self.log.info("%s: For debugging please download Werkzeug (http://werkzeug.pocoo.org/)" % err)
+ self.log.info("%s: For debugging please enable the port option: DEBUG=on" % err)
from Debug import DebugReloader
self.log.write = lambda msg: self.log.debug(msg.strip()) # For Wsgi access.log
self.log.info("--------------------------------------")
@@ -155,4 +155,4 @@ class UiServer:
@@ -192,7 +192,7 @@ class UiServer:
self.server.socket.close()
self.server.stop()
- time.sleep(1)
\ No newline at end of file
- self.running = False
+ time.sleep(1)
time.sleep(1)
def updateWebsocket(self, **kwargs):

File diff suppressed because it is too large Load Diff