Hey,
attached is a update for net/onionshare. It updates onionshare to
version 1.3.1. (Changes:
https://github.com/micahflee/onionshare/releases/tag/v1.3.1)
+ license and readme.md files added.
--
fredl
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/onionshare/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 27 Jun 2018 21:04:00 -0000 1.2
+++ Makefile 8 Oct 2018 08:26:37 -0000
@@ -6,7 +6,7 @@ COMMENT-gui = graphical user interface
GH_ACCOUNT = micahflee
GH_PROJECT = onionshare
GH_TAGNAME = v${MODPY_EGG_VERSION}
-MODPY_EGG_VERSION = 1.3
+MODPY_EGG_VERSION = 1.3.1
PKGNAME-main = onionshare-${MODPY_EGG_VERSION}
PKGNAME-gui = onionshare-gui-${MODPY_EGG_VERSION}
@@ -37,5 +37,15 @@ RUN_DEPENDS-gui = ${RUN_DEPENDS} \
# XXX: not yet working
NO_TEST = Yes
+
+DOCDIR=${PREFIX}/share/doc/onionshare
+LICENSEDIR=${WRKSRC}/install/licenses
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${LICENSEDIR}/license-obfs4.txt ${DOCDIR}
+ ${INSTALL_DATA} ${LICENSEDIR}/license-onionshare.txt ${DOCDIR}
+ ${INSTALL_DATA} ${LICENSEDIR}/license-tor.txt ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DOCDIR}
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/onionshare/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 9 Mar 2018 23:36:42 -0000 1.1.1.1
+++ distinfo 8 Oct 2018 08:26:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (onionshare-1.3.tar.gz) = AIkUctiW5AWg9y36jq+D2uyj3DG+Uz1uLIbyxTkUz+0=
-SIZE (onionshare-1.3.tar.gz) = 431352
+SHA256 (onionshare-1.3.1.tar.gz) = h+H6llSCBk6MfIvDIyb1dI/QOPfSr29RBWRE2yLvA1c=
+SIZE (onionshare-1.3.1.tar.gz) = 436741
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/net/onionshare/pkg/PLIST-main,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-main
--- pkg/PLIST-main 9 Mar 2018 23:36:42 -0000 1.1.1.1
+++ pkg/PLIST-main 8 Oct 2018 08:26:37 -0000
@@ -20,6 +20,11 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/onionshare/strings.py
lib/python${MODPY_VERSION}/site-packages/onionshare/web.py
share/applications/
+share/doc/onionshare/
+share/doc/onionshare/README.md
+share/doc/onionshare/license-obfs4.txt
+share/doc/onionshare/license-onionshare.txt
+share/doc/onionshare/license-tor.txt
share/onionshare/
share/onionshare/html/
share/onionshare/html/404.html
@@ -42,7 +47,6 @@ share/onionshare/images/server_working.p
share/onionshare/images/settings.png
share/onionshare/images/web_file.png
share/onionshare/images/web_folder.png
-share/onionshare/license.txt
share/onionshare/locale/
share/onionshare/locale/cs.json
share/onionshare/locale/da.json