Bug 202754 - [NEW PORT] net/guacamole-server: HTML5 Clientless Remote Desktop
Summary: [NEW PORT] net/guacamole-server: HTML5 Clientless Remote Desktop
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kurt Jaeger
URL:
Keywords: feature, patch, patch-ready
Depends on:
Blocks: 202755
  Show dependency treegraph
 
Reported: 2015-08-29 16:59 UTC by Ultima
Modified: 2016-02-06 17:37 UTC (History)
2 users (show)

See Also:
Ultima1252: maintainer-feedback+


Attachments
Shar of port (6.39 KB, application/x-shar)
2015-08-29 16:59 UTC, Ultima
no flags Details
Shar of port version 9.8.0 (6.50 KB, application/x-shar)
2015-09-13 20:17 UTC, Ultima
no flags Details
10.2-RELEASE amd64 poudriere log (72.31 KB, text/x-log)
2015-09-13 20:19 UTC, Ultima
no flags Details
10.2-RELEASE i386 poudriere log (72.13 KB, text/x-log)
2015-09-13 20:21 UTC, Ultima
no flags Details
9.3-RELEASE amd64 poudriere log (73.04 KB, text/x-log)
2015-09-13 20:24 UTC, Ultima
no flags Details
9.3-RELEASE i386 poudriere log (72.58 KB, text/x-log)
2015-09-13 20:25 UTC, Ultima
no flags Details
guacamole-server.shar (6.24 KB, application/x-shar)
2015-10-30 03:38 UTC, Ultima
no flags Details
guacamole-server.diff (8.29 KB, patch)
2015-10-30 03:39 UTC, Ultima
Ultima1252: maintainer-approval+
Details | Diff
guacamole-server.diff (8.63 KB, patch)
2015-10-30 12:06 UTC, Ultima
Ultima1252: maintainer-approval+
Details | Diff
guacamole-server.diff (8.69 KB, patch)
2015-12-29 01:46 UTC, Ultima
Ultima1252: maintainer-approval+
Details | Diff
10.2-RELEASE amd64 poudriere log (46.23 KB, text/plain)
2015-12-29 01:52 UTC, Ultima
no flags Details
10.2-RELEASE i386 poudriere log (46.15 KB, text/plain)
2015-12-29 01:52 UTC, Ultima
no flags Details
9.3-RELEASE amd64 poudriere log (47.24 KB, text/plain)
2015-12-29 01:52 UTC, Ultima
no flags Details
9.3-RELEASE i386 poudriere log (47.05 KB, text/plain)
2015-12-29 01:53 UTC, Ultima
no flags Details
guacamole-server.diff (9.94 KB, patch)
2016-01-06 12:55 UTC, Ultima
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ultima 2015-08-29 16:59:13 UTC
Created attachment 160497 [details]
Shar of port

The guacamole-server package is a set of software which forms the basis of the
Guacamole stack. It consists of guacd, libguac, and several protocol support
libraries.

guacd is the Guacamole proxy daemon used by the Guacamole web application and
framework. As JavaScript cannot handle binary protocols (like VNC and remote
desktop) efficiently, a new test-based protocol was developed which would
contain a common superset of the operations needed for efficient remote desktop
access, but would be easy for JavaScript programs to process. guacd is the
proxy which translates between arbitrary protocols and the Guacamole protocol.
Comment 1 Ultima 2015-09-13 20:17:56 UTC
Created attachment 161005 [details]
Shar of port version 9.8.0
Comment 2 Ultima 2015-09-13 20:19:07 UTC
Created attachment 161006 [details]
10.2-RELEASE amd64 poudriere log
Comment 3 Ultima 2015-09-13 20:21:15 UTC
Created attachment 161009 [details]
10.2-RELEASE i386 poudriere log
Comment 4 Ultima 2015-09-13 20:24:10 UTC
Created attachment 161010 [details]
9.3-RELEASE amd64 poudriere log
Comment 5 Ultima 2015-09-13 20:25:41 UTC
Created attachment 161011 [details]
9.3-RELEASE i386 poudriere log
Comment 6 Ultima 2015-10-30 03:38:59 UTC
Created attachment 162584 [details]
guacamole-server.shar
Comment 7 Ultima 2015-10-30 03:39:26 UTC
Created attachment 162585 [details]
guacamole-server.diff
Comment 8 Ultima 2015-10-30 12:06:30 UTC
Created attachment 162596 [details]
guacamole-server.diff
Comment 9 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-21 21:55:53 UTC
It needs a CONFLICTS_BUILD with 

e2fsprogs-libuuid

because this port also provides a libuuid.so, but then fails to configure:

checking for uuid_make in -lossp-uuid... no
checking for uuid_make in -luuid... no
configure: error: "The OSSP UUID library is required"
Comment 10 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-22 07:59:55 UTC
The build also fails in poudriere:

cur [00:37:00] ====>> Error: Build failed in phase: lib-depends
93a [00:33:01] ====>> Error: Build failed in phase: lib-depends
10a [00:01:19] ====>> Error: Build failed in phase: lib-depends
10i [00:31:11] ====>> Error: Build failed in phase: lib-depends
Comment 11 Ultima 2015-11-27 02:13:25 UTC
(In reply to Kurt Jaeger from comment #9)

This will be added


(In reply to Kurt Jaeger from comment #10)

I'm not sure why. Has built perfectly for me in poudriere everytime. Ill take another look when I have more time.
Comment 12 Ultima 2015-12-29 01:46:48 UTC
Created attachment 164783 [details]
guacamole-server.diff

After Reviewing the comments, I am not receiving the errors you are suggesting, Can you please send more information?

portlint -AC: looks fine.

poudriere bulk -t C: 102amd64, 102i386, 93amd64, 93i386 builds fine.
Comment 13 Ultima 2015-12-29 01:52:04 UTC
Created attachment 164784 [details]
10.2-RELEASE amd64 poudriere log
Comment 14 Ultima 2015-12-29 01:52:23 UTC
Created attachment 164785 [details]
10.2-RELEASE i386 poudriere log
Comment 15 Ultima 2015-12-29 01:52:43 UTC
Created attachment 164786 [details]
9.3-RELEASE amd64 poudriere log
Comment 16 Ultima 2015-12-29 01:53:08 UTC
Created attachment 164787 [details]
9.3-RELEASE i386 poudriere log
Comment 17 Kurt Jaeger freebsd_committer freebsd_triage 2016-01-04 06:16:34 UTC
(In reply to Ultima from comment #12)

See
http://people.freebsd.org/~pi/logs/net__guacamole-server-cur-1451856210.txt

There's a LIB_DEPENDS on misc/ossp-uuid, and on ffmpeg, which can optionally depend on jackit, which brings a LIB_DEPENDS on misc/e2fsprogs-libuuid.

I'll retry with this JACK option disabled.
Comment 18 Kurt Jaeger freebsd_committer freebsd_triage 2016-01-04 06:39:54 UTC
(In reply to Kurt Jaeger from comment #17)

There's a LIB_DEPENDS on jackit in pulseaudio, as well.
Comment 19 Ultima 2016-01-05 05:14:36 UTC
Is this the proper way for defining option conflicts? Also, there are conflicting files so changing CONFLICTS_BUILD to CONFLICTS.

CONFLICTS=        e2fsprogs-libuuid-* pulseaudio-*+jack_* ffmpeg-*+jack_*


The reason I ask is in the desc it shows this "apache-*+ssl_*". I'm not sure what the Underscore represents. Is "ssl" supposed to be cap?
Comment 20 Ultima 2016-01-06 12:55:27 UTC
Created attachment 165156 [details]
guacamole-server.diff

* Updated to 0.9.9
* Added UID/GID guacamole


Portlint -AC: looks fine.

Poudriere bulk -t -C: Default options 102amd64-ok 102i386-ok 93amd64-ok 93i386-ok
All options 102amd64-ok 102i386-ok 93amd64-ok 93i386-ok
Comment 21 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-06 16:09:26 UTC
Testbuilds done.
Comment 22 commit-hook freebsd_committer freebsd_triage 2016-02-06 16:11:45 UTC
A commit references this bug:

Author: pi
Date: Sat Feb  6 16:11:35 UTC 2016
New revision: 408301
URL: https://svnweb.freebsd.org/changeset/ports/408301

Log:
  New port: net/guacamole-server

  The guacamole-server package is a set of software which forms the
  basis of the Guacamole stack. It consists of guacd, libguac, and
  several protocol support libraries.

  guacd is the Guacamole proxy daemon used by the Guacamole web
  application and framework. As JavaScript cannot handle binary
  protocols (like VNC and remote desktop) efficiently, a new test-based
  protocol was developed which would contain a common superset of the
  operations needed for efficient remote desktop access, but would
  be easy for JavaScript programs to process. guacd is the proxy which
  translates between arbitrary protocols and the Guacamole protocol.

  WWW: https://github.com/glyptodon/guacamole-server

  PR:		202754
  Submitted by:	Ultima1252@gmail.com

Changes:
  head/GIDs
  head/UIDs
  head/net/Makefile
  head/net/guacamole-server/
  head/net/guacamole-server/Makefile
  head/net/guacamole-server/distinfo
  head/net/guacamole-server/files/
  head/net/guacamole-server/files/guacd.in
  head/net/guacamole-server/pkg-descr
  head/net/guacamole-server/pkg-plist
Comment 23 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-06 16:12:52 UTC
Committed, thanks!