From owner-svn-ports-all@freebsd.org Sat Nov 14 19:39:25 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 60B8A463DBF; Sat, 14 Nov 2020 19:39:25 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CYQdT2GHvz3rs9; Sat, 14 Nov 2020 19:39:25 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 40BB6771E; Sat, 14 Nov 2020 19:39:25 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AEJdPsU062847; Sat, 14 Nov 2020 19:39:25 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AEJdO3O062842; Sat, 14 Nov 2020 19:39:24 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <202011141939.0AEJdO3O062842@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Sat, 14 Nov 2020 19:39:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555138 - in head/www: . threema-web X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: in head/www: . threema-web X-SVN-Commit-Revision: 555138 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2020 19:39:25 -0000 Author: egypcio Date: Sat Nov 14 19:39:23 2020 New Revision: 555138 URL: https://svnweb.freebsd.org/changeset/ports/555138 Log: [NEW] www/threema-web: Threema Web application Threema's web client allows you to use Threema on the desktop without compromising security. * Complete synchronization: By scanning a QR code, desktop and mobile device are connected at once, and all conversations are fully accessible on the desktop. * Security and data restraint: All communication between phone and PC is fully end-to-end encrypted. After the session is terminated, all synchronized messages are immediately deleted in the browser. * Open Source: Threema Web is open source and uses open standards. It is also possible to host Threema Web on your own server. WWW: https://github.com/threema-ch/threema-web WWW: https://threema.ch/en/faq/web_info Added: head/www/threema-web/ head/www/threema-web/Makefile (contents, props changed) head/www/threema-web/distinfo (contents, props changed) head/www/threema-web/pkg-descr (contents, props changed) head/www/threema-web/pkg-message (contents, props changed) head/www/threema-web/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Nov 14 18:59:53 2020 (r555137) +++ head/www/Makefile Sat Nov 14 19:39:23 2020 (r555138) @@ -2165,6 +2165,7 @@ SUBDIR += templatelite SUBDIR += thirtybees SUBDIR += threejs + SUBDIR += threema-web SUBDIR += thttpd SUBDIR += thumbnail_index SUBDIR += thundercache Added: head/www/threema-web/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/threema-web/Makefile Sat Nov 14 19:39:23 2020 (r555138) @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= threema-web +PORTVERSION= 2.3.7 +CATEGORIES= www net-im +MASTER_SITES= https://github.com/threema-ch/${PORTNAME}/releases/download/v${PORTVERSION}/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-gh + +MAINTAINER= egypcio@FreeBSD.org +COMMENT= Threema Web application + +LICENSE= AGPLv3 + +NO_ARCH= yes +NO_BUILD= yes + +THREEMA_CREDENTIALS= Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB +THREEMA_PUBLICTURNS= ds-turn-{prefix}.threema.ch:443 + +THREEMA_ICE_CREDEN?= ${THREEMA_CREDENTIALS} +THREEMA_ICE_SERVER?= ${THREEMA_PUBLICTURNS} +THREEMA_SALTYRTC_HOST?= saltyrtc-{prefix}.threema.ch +THREEMA_SALTYRTC_PORT?= 443 +THREEMA_SALTYRTC_KEY?= b1337fc8402f7db8ea639e05ed05d65463e24809792f91eca29e88101b4a2171 + +post-patch: + ${REINPLACE_CMD} "s/${THREEMA_CREDENTIALS}/${THREEMA_ICE_CREDEN}/g" \ + ${WRKSRC}/*.bundle.js + ${REINPLACE_CMD} "s/${THREEMA_PUBLICTURNS}/${THREEMA_ICE_SERVER}/g" \ + ${WRKSRC}/*.bundle.js + ${REINPLACE_CMD} "s/SALTYRTC_HOST:\s*\"[^\"]*\",/SALTYRTC_HOST:\"${THREEMA_SALTYRTC_HOST}\",/g" \ + ${WRKSRC}/*.bundle.js + ${REINPLACE_CMD} "s/SALTYRTC_PORT:\s*[^,]*,/SALTYRTC_PORT:${THREEMA_SALTYRTC_PORT},/g" \ + ${WRKSRC}/*.bundle.js + ${REINPLACE_CMD} "s/SALTYRTC_SERVER_KEY:\s*\"[^\"]*\",/SALTYRTC_SERVER_KEY:\"${THREEMA_SALTYRTC_KEY}\",/g" \ + ${WRKSRC}/*.bundle.js + +do-install: + @${MKDIR} ${STAGEDIR}${WWWDIR} + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) + +.include Added: head/www/threema-web/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/threema-web/distinfo Sat Nov 14 19:39:23 2020 (r555138) @@ -0,0 +1,3 @@ +TIMESTAMP = 1605286933 +SHA256 (threema-web-2.3.7-gh.tar.gz) = 7356ec19ff3690f40425cad951b85070b5aef3da3853719e151305da4cb3ede3 +SIZE (threema-web-2.3.7-gh.tar.gz) = 21331904 Added: head/www/threema-web/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/threema-web/pkg-descr Sat Nov 14 19:39:23 2020 (r555138) @@ -0,0 +1,16 @@ +Threema's web client allows you to use Threema on the desktop without +compromising security. + + * Complete synchronization: By scanning a QR code, desktop and mobile + device are connected at once, and all conversations are fully accessible + on the desktop. + + * Security and data restraint: All communication between phone and PC is + fully end-to-end encrypted. After the session is terminated, all + synchronized messages are immediately deleted in the browser. + + * Open Source: Threema Web is open source and uses open standards. It is + also possible to host Threema Web on your own server. + +WWW: https://github.com/threema-ch/threema-web +WWW: https://threema.ch/en/faq/web_info Added: head/www/threema-web/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/threema-web/pkg-message Sat Nov 14 19:39:23 2020 (r555138) @@ -0,0 +1,37 @@ +[ +{ type: install + message: <