git: 87ea15e683b9 - main - www/peersuite: New port: Peer to peer workspace

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Tue, 10 Jun 2025 00:54:58 UTC
The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=87ea15e683b9d20b4cf6462563ea7206447b06df

commit 87ea15e683b9d20b4cf6462563ea7206447b06df
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-06-10 00:50:50 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-06-10 00:54:13 +0000

    www/peersuite: New port: Peer to peer workspace
    
    Peersuite is a open source, decentralized, private alternative to
    apps like discord or slack. All data is sent only between clients
    through encrypted WebRTC channels. There is no server.
    
    The tools included are chat with file sending, collaboarative
    document editing, a kanban board, screen sharing, video calling,
    audio chat, and a shared whiteboard for drawing ideas.
    
    Approved by:    acm (mentor)
---
 www/Makefile                       |  1 +
 www/peersuite/Makefile             | 24 ++++++++++++++++++++++++
 www/peersuite/distinfo             |  3 +++
 www/peersuite/files/pkg-message.in |  5 +++++
 www/peersuite/pkg-descr            |  7 +++++++
 www/peersuite/pkg-plist            | 10 ++++++++++
 6 files changed, 50 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 5d3ac472cf76..fb150b446f62 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1420,6 +1420,7 @@
     SUBDIR += pecl-solr
     SUBDIR += pecl-yaf
     SUBDIR += pecl-yar
+    SUBDIR += peersuite
     SUBDIR += perlbal
     SUBDIR += persepolis
     SUBDIR += pglogd
diff --git a/www/peersuite/Makefile b/www/peersuite/Makefile
new file mode 100644
index 000000000000..8a0b4ab97a42
--- /dev/null
+++ b/www/peersuite/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	peersuite
+DISTVERSION=	0.0.3
+CATEGORIES=	www
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Peer to peer workspace
+WWW=		https://github.com/openconstruct/Peersuite
+
+LICENSE=	AGPLv3 MIT
+LICENSE_COMB=	multi
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	openconstruct
+GH_PROJECT=	Peersuite
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+SUB_FILES=	pkg-message
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} ${WRKSRC}/*.js ${WRKSRC}/*.html ${WRKSRC}/*.png ${STAGEDIR}${WWWDIR}
+
+.include <bsd.port.mk>
diff --git a/www/peersuite/distinfo b/www/peersuite/distinfo
new file mode 100644
index 000000000000..25613ad1aefc
--- /dev/null
+++ b/www/peersuite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749513945
+SHA256 (openconstruct-Peersuite-0.0.3_GH0.tar.gz) = 876007e1ffbaa22c919485a93a48efb797866b53761c6852ad41c06ff3ff4745
+SIZE (openconstruct-Peersuite-0.0.3_GH0.tar.gz) = 3484660
diff --git a/www/peersuite/files/pkg-message.in b/www/peersuite/files/pkg-message.in
new file mode 100644
index 000000000000..310c1ed00d92
--- /dev/null
+++ b/www/peersuite/files/pkg-message.in
@@ -0,0 +1,5 @@
+[
+{ type: install
+  message: "Please serve files in %%WWWDIR%% with a webserver of your choice. (eg. www/nginx)"
+}
+]
diff --git a/www/peersuite/pkg-descr b/www/peersuite/pkg-descr
new file mode 100644
index 000000000000..16d41bd645f8
--- /dev/null
+++ b/www/peersuite/pkg-descr
@@ -0,0 +1,7 @@
+Peersuite is a open source, decentralized, private alternative to
+apps like discord or slack. All data is sent only between clients
+through encrypted WebRTC channels. There is no server.
+
+The tools included are chat with file sending, collaboarative
+document editing, a kanban board, screen sharing, video calling,
+audio chat, and a shared whiteboard for drawing ideas.
diff --git a/www/peersuite/pkg-plist b/www/peersuite/pkg-plist
new file mode 100644
index 000000000000..6e744465c18a
--- /dev/null
+++ b/www/peersuite/pkg-plist
@@ -0,0 +1,10 @@
+%%WWWDIR%%/document.js
+%%WWWDIR%%/index.html
+%%WWWDIR%%/kanban.js
+%%WWWDIR%%/main.js
+%%WWWDIR%%/media.js
+%%WWWDIR%%/peer.png
+%%WWWDIR%%/peerspace.png
+%%WWWDIR%%/share.js
+%%WWWDIR%%/trystero-torrent.min.js
+%%WWWDIR%%/whiteboard.js