Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132655815
D19784.id55698.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
5 KB
Referenced Files
None
Subscribers
None
D19784.id55698.diff
View Options
Index: finance/Makefile
===================================================================
--- finance/Makefile
+++ finance/Makefile
@@ -25,6 +25,7 @@
SUBDIR += aqmoney
SUBDIR += beancount
SUBDIR += beanie
+ SUBDIR += bitcoinnodestats
SUBDIR += cbb
SUBDIR += cointop
SUBDIR += electrum
Index: finance/bitcoinnodestats/Makefile
===================================================================
--- /dev/null
+++ finance/bitcoinnodestats/Makefile
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME= bitcoinnodestats
+DISTVERSION= g20171121
+CATEGORIES= finance python
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Basic Bitcoin node status and statistics web application
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=2017.3:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-bitcoinlib>=0.8.0:finance/py-python-bitcoinlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django111>=1.11.7:www/py-django111@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-bootstrap3>=9.1.0:www/py-django-bootstrap3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-cron>=0.5.0:www/py-django-cron@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-debug-toolbar>=0:www/py-django-debug-toolbar@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsonfield>=2.0.2:www/py-jsonfield@${PY_FLAVOR}
+
+USES= python:3.3+ shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= bartromgens
+GH_TAGNAME= 5e8772d
+
+NO_ARCH= yes
+NO_BUILD= yes
+SHEBANGFILES= create_local_settings.py manage.py
+
+SUB_FILES= pkg-message
+SUB_LIST= DATADIR=${DATADIR} PYTHON_VER=${PYTHON_VER}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+.for _file in ${SHEBANGFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DATADIR}
+.endfor
+
+.for _dir in bitcoinnodestats nodedata
+ (cd ${WRKSRC}/${_dir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${_dir} "! -name '*.bak'")
+.endfor
+
+.include <bsd.port.mk>
Index: finance/bitcoinnodestats/distinfo
===================================================================
--- /dev/null
+++ finance/bitcoinnodestats/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1549669415
+SHA256 (bartromgens-bitcoinnodestats-g20171121-5e8772d_GH0.tar.gz) = 2dc24a1646701d602de07045bf1917e605adb194f3a775abb20864f6d8a9f937
+SIZE (bartromgens-bitcoinnodestats-g20171121-5e8772d_GH0.tar.gz) = 151550
Index: finance/bitcoinnodestats/files/pkg-message.in
===================================================================
--- /dev/null
+++ finance/bitcoinnodestats/files/pkg-message.in
@@ -0,0 +1,10 @@
+================================================================================
+
+Quick start instructions:
+
+# cd %%DATADIR%%
+# python%%PYTHON_VER%% create_local_settings.py
+# python%%PYTHON_VER%% manage.py migrate
+# python%%PYTHON_VER%% manage.py runserver
+
+================================================================================
Index: finance/bitcoinnodestats/pkg-descr
===================================================================
--- /dev/null
+++ finance/bitcoinnodestats/pkg-descr
@@ -0,0 +1,3 @@
+Bitcoin node status and statistics web interface based on Django.
+
+WWW: https://github.com/bartromgens/bitcoinnodestats
Index: finance/bitcoinnodestats/pkg-plist
===================================================================
--- /dev/null
+++ finance/bitcoinnodestats/pkg-plist
@@ -0,0 +1,49 @@
+%%DATADIR%%/create_local_settings.py
+%%DATADIR%%/manage.py
+%%DATADIR%%/bitcoinnodestats/__init__.py
+%%DATADIR%%/bitcoinnodestats/local_settings_example.py
+%%DATADIR%%/bitcoinnodestats/settings.py
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/css/bootstrap_cyborg.min.css
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/css/bootstrap_readable.min.css
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.eot
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.svg
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.ttf
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.woff
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.woff2
+%%DATADIR%%/bitcoinnodestats/static/css/custom.css
+%%DATADIR%%/bitcoinnodestats/static/css/plots.css
+%%DATADIR%%/bitcoinnodestats/static/js/daterangepicker.js
+%%DATADIR%%/bitcoinnodestats/static/js/plots.js
+%%DATADIR%%/bitcoinnodestats/static/media/readme.txt
+%%DATADIR%%/bitcoinnodestats/templates/base.html
+%%DATADIR%%/bitcoinnodestats/templates/footer.html
+%%DATADIR%%/bitcoinnodestats/templates/index.html
+%%DATADIR%%/bitcoinnodestats/templates/input.html
+%%DATADIR%%/bitcoinnodestats/templates/peer_table.html
+%%DATADIR%%/bitcoinnodestats/templates/plots.html
+%%DATADIR%%/bitcoinnodestats/templates/status_bar.html
+%%DATADIR%%/bitcoinnodestats/urls.py
+%%DATADIR%%/bitcoinnodestats/views.py
+%%DATADIR%%/bitcoinnodestats/wsgi.py
+%%DATADIR%%/nodedata/__init__.py
+%%DATADIR%%/nodedata/admin.py
+%%DATADIR%%/nodedata/apps.py
+%%DATADIR%%/nodedata/cronjobs.py
+%%DATADIR%%/nodedata/management/__init__.py
+%%DATADIR%%/nodedata/management/commands/__init__.py
+%%DATADIR%%/nodedata/management/commands/prune_data.py
+%%DATADIR%%/nodedata/migrations/0001_initial.py
+%%DATADIR%%/nodedata/migrations/0002_auto_20160510_1613.py
+%%DATADIR%%/nodedata/migrations/0003_rawnodedata_datetime_created.py
+%%DATADIR%%/nodedata/migrations/0004_rawnodedata_peerinfo_json.py
+%%DATADIR%%/nodedata/migrations/0005_rawnodedata_networkinfo_json.py
+%%DATADIR%%/nodedata/migrations/0006_peer.py
+%%DATADIR%%/nodedata/migrations/0007_auto_20160512_0240.py
+%%DATADIR%%/nodedata/migrations/0008_peer_peer_json.py
+%%DATADIR%%/nodedata/migrations/0009_rawnodedata_node_up.py
+%%DATADIR%%/nodedata/migrations/0010_remove_peer_peer_json.py
+%%DATADIR%%/nodedata/migrations/__init__.py
+%%DATADIR%%/nodedata/models.py
+%%DATADIR%%/nodedata/settings.py
+%%DATADIR%%/nodedata/tests.py
+%%DATADIR%%/nodedata/views.py
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 19, 7:32 PM (14 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23938699
Default Alt Text
D19784.id55698.diff (5 KB)
Attached To
Mode
D19784: New port: finance/bitcoinnodestats: Basic Bitcoin node status and statistics web application
Attached
Detach File
Event Timeline
Log In to Comment