Sunday, October 21, 2018

Re: UPDATE: net/onionshare

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 21 Oct 2018 13:25:00 -0000
@@ -6,11 +6,10 @@ 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}
-REVISION-gui = 0

CATEGORIES = net

@@ -37,5 +36,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 21 Oct 2018 13:25:00 -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 21 Oct 2018 13:25:00 -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
On 10/21/18 1:51 PM, Grégoire Jadi wrote:
> fredl <mail@kwondratsch.com> writes:
>
>> Hey,
> Hello,
>
> Both cli and -gui works on amd64.

Hey,

thanks for your feedback!

>
> Thanks for the update. I think you need to drop the REVISION-gui (but
> I'm just a port-newb).
You are right, please find the new diff attached to this mail!

--
fredl

No comments:

Post a Comment