Bug 204578 - [NEW PORT] www/etherpad-lite: Real-time collaborative document editing
Summary: [NEW PORT] www/etherpad-lite: Real-time collaborative document editing
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords: feature, needs-qa, patch
Depends on: 204577 204547 204772
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-16 02:08 UTC by Yuri Victorovich
Modified: 2018-05-08 17:45 UTC (History)
1 user (show)

See Also:


Attachments
shar archive (54.69 KB, application/octet-stream)
2015-11-16 02:11 UTC, Yuri Victorovich
no flags Details
shar archive (55.86 KB, application/octet-stream)
2015-11-17 06:44 UTC, Yuri Victorovich
no flags Details
compressed shar archive (56.02 KB, application/octet-stream)
2015-11-30 07:51 UTC, Yuri Victorovich
no flags Details
shar archive (compressed bz2) (56.38 KB, application/octet-stream)
2015-12-06 10:11 UTC, Yuri Victorovich
no flags Details
shar archive (compressed bz2) (51.37 KB, application/octet-stream)
2015-12-10 11:19 UTC, Yuri Victorovich
no flags Details
shar archive (compressed bz2) (51.38 KB, application/octet-stream)
2015-12-11 09:42 UTC, Yuri Victorovich
no flags Details
shar archive (compressed bz2) (50.89 KB, application/octet-stream)
2015-12-27 14:17 UTC, Yuri Victorovich
no flags Details
shar archive (173.75 KB, text/plain)
2015-12-28 06:39 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2015-11-16 02:08:50 UTC
This port builds/installs/works fine, but doesn't pass poudriere build.

There are currently two problems, both bugs in Node and related projects:
* Feature shrinkwrap in NodeJS is broken: https://github.com/npm/npm/issues/10406
* Feature nodedir in node-gyp is broken: https://github.com/nodejs/node-gyp/issues/812

I submit this bug report now because it in itself builds locally and runs fine, and is useful. It even has the webchat included, not sure if anything else in ports has the webchat.

To install and run:
* apply the patches from the dependency bug reports
* cd /usr/ports/www/etherpad-lite && make install clean
* As a regular user, run 'etherpad /some/directory PORTNO'
* surf to http://localhost:PORTNO

I hope that NodeJS issues will be resolved soon. Until then this bug report should stay as "New".

There is another similar project, EtherCalc, that I will also make a port for using the same framework. Please take both of them off the WantedPorts list.
Comment 1 Yuri Victorovich freebsd_committer 2015-11-16 02:11:32 UTC
Created attachment 163165 [details]
shar archive

Shar is compressed: etherpad-lite.shar.bz2
Comment 2 Yuri Victorovich freebsd_committer 2015-11-16 02:59:25 UTC
http://etherpad.org/
Comment 3 Yuri Victorovich freebsd_committer 2015-11-17 06:44:06 UTC
Created attachment 163233 [details]
shar archive
Comment 4 Yuri Victorovich freebsd_committer 2015-11-17 06:52:49 UTC
I added the service 'etherpad' that allows to start/stop etherpad instances automatically.
Comment 5 Yuri Victorovich freebsd_committer 2015-11-18 11:43:31 UTC
After an additional investigation I found that our www/npm port is pre-built on the port maintainer's machine. This is because of the same problem that npm builds connect to network. I created the request to specifically fix this:

https://github.com/npm/npm/issues/10452

(Before I thought this is only a problem with apps, like EtherPad)
Comment 6 Yuri Victorovich freebsd_committer 2015-11-30 07:51:17 UTC
Created attachment 163676 [details]
compressed shar archive

Update.

USES=nodejs currently only suffers from the first problem, but this port is fully functional and passes poudriere build.
Comment 7 Yuri Victorovich freebsd_committer 2015-12-06 10:11:55 UTC
Created attachment 163886 [details]
shar archive (compressed bz2)
Comment 8 Yuri Victorovich freebsd_committer 2015-12-10 11:19:23 UTC
Created attachment 164039 [details]
shar archive (compressed bz2)
Comment 9 Yuri Victorovich freebsd_committer 2015-12-11 09:42:40 UTC
Created attachment 164106 [details]
shar archive (compressed bz2)
Comment 10 Yuri Victorovich freebsd_committer 2015-12-27 14:17:46 UTC
Created attachment 164722 [details]
shar archive (compressed bz2)
Comment 11 Yuri Victorovich freebsd_committer 2015-12-28 06:39:54 UTC
Created attachment 164746 [details]
shar archive
Comment 12 w.schwarzenfeld freebsd_triage 2018-02-10 14:11:04 UTC
Status?
Comment 13 Yuri Victorovich freebsd_committer 2018-02-10 17:33:50 UTC
This is a very useful project, but it depends on USES=node.mk that isn't ready.
Comment 14 w.schwarzenfeld freebsd_triage 2018-02-10 17:50:40 UTC
Ok, thanks for reply.