pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/guacamole-server Add guacamole-server version 0.9....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dfffcea8711
branches:  trunk
changeset: 348119:6dfffcea8711
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jun 07 12:09:38 2016 +0000

description:
Add guacamole-server version 0.9.9 to pkgsrc.  From the DESCR:

Guacamole is an HTML5 web application that provides access to desktop
environments using remote desktop protocols (such as VNC or RDP).  Guacamole
is also the project that produces this web application, and provides an API
that drives it.  This API can be used to power other similar applications or
services.

As an API, Guacamole provides a common and efficient means of streaming text
data over a JavaScript-based tunnel using either HTTP or WebSocket, and a
client implementation which supports the Guacamole protocol and renders the
remote display when combined with a Guacamole protocol stream from the
tunnel.

This package provides the Guacamole server.

diffstat:

 net/guacamole-server/DESCR                                 |  15 +++
 net/guacamole-server/Makefile                              |  60 ++++++++++++++
 net/guacamole-server/PLIST                                 |  46 ++++++++++
 net/guacamole-server/distinfo                              |   7 +
 net/guacamole-server/files/guacd.conf                      |  15 +++
 net/guacamole-server/files/smf/manifest.xml                |  30 +++++++
 net/guacamole-server/patches/patch-src_libguac_socket-fd.c |  14 +++
 7 files changed, 187 insertions(+), 0 deletions(-)

diffs (215 lines):

diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/DESCR        Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,15 @@
+Guacamole is an HTML5 web application that provides access to desktop
+environments using remote desktop protocols (such as VNC or RDP).  Guacamole
+is also the project that produces this web application, and provides an API
+that drives it.  This API can be used to power other similar applications or
+services.
+
+As an API, Guacamole provides a common and efficient means of streaming text
+data over a JavaScript-based tunnel using either HTTP or WebSocket, and a
+client implementation which supports the Guacamole protocol and renders the
+remote display when combined with a Guacamole protocol stream from the
+tunnel.
+
+It provides cross-browser mouse and keyboard events, an XML-driven on-screen
+keyboard, and synchronized nestable layers with hardware-accelerated
+compositing.
diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/Makefile     Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1 2016/06/07 12:09:38 jperkin Exp $
+
+DISTNAME=      guacamole-server-0.9.9
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=guacamole/}
+
+MAINTAINER=    jperkin%joyent.com@localhost
+HOMEPAGE=      http://guacamole.incubator.apache.org/
+COMMENT=       Clientless remote desktop gateway
+LICENSE=       mit
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c99
+USE_TOOLS=     pkg-config
+
+EGDIR=                 ${PREFIX}/share/examples/guacamole
+PKG_SYSCONFSUBDIR=     guacamole
+SMF_NAME=              guacamole
+
+CONFIGURE_ARGS+=       --with-guacd-conf=${PKG_SYSCONFDIR}/guacd.conf
+CONFIGURE_ARGS+=       --with-pango
+CONFIGURE_ARGS+=       --with-pulse
+CONFIGURE_ARGS+=       --with-rdp
+CONFIGURE_ARGS+=       --with-ssh
+CONFIGURE_ARGS+=       --with-ssl
+CONFIGURE_ARGS+=       --with-telnet
+CONFIGURE_ARGS+=       --with-terminal
+CONFIGURE_ARGS+=       --with-vnc
+CONFIGURE_ARGS+=       --with-vorbis
+CONFIGURE_ARGS+=       --with-webp
+
+CFLAGS.SunOS+= -D__EXTENSIONS__        # getopt()
+
+SUBST_CLASSES+=                manpath
+SUBST_STAGE.manpath=   pre-configure
+SUBST_FILES.manpath=   src/guacd/man/guacd.conf.5
+SUBST_SED.manpath=     -e 's,/etc/guacamole,${PKG_SYSCONFDIR},g'
+
+INSTALLATION_DIRS=     share/examples/guacamole
+
+CONF_FILES=    ${EGDIR}/guacd.conf ${PKG_SYSCONFDIR}/guacd.conf
+
+post-install:
+       ${INSTALL_DATA} ${FILESDIR}/guacd.conf \
+           ${DESTDIR}${PREFIX}/share/examples/guacamole/guacd.conf
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../devel/ossp-uuid/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../net/freerdp/buildlink3.mk"
+.include "../../net/libtelnet/buildlink3.mk"
+.include "../../net/libvncserver/buildlink3.mk"
+.include "../../security/libssh2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/PLIST        Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/07 12:09:38 jperkin Exp $
+include/guacamole/audio-fntypes.h
+include/guacamole/audio-types.h
+include/guacamole/audio.h
+include/guacamole/client-constants.h
+include/guacamole/client-fntypes.h
+include/guacamole/client-types.h
+include/guacamole/client.h
+include/guacamole/error-types.h
+include/guacamole/error.h
+include/guacamole/hash.h
+include/guacamole/instruction-constants.h
+include/guacamole/instruction-types.h
+include/guacamole/instruction.h
+include/guacamole/layer-types.h
+include/guacamole/layer.h
+include/guacamole/object-types.h
+include/guacamole/object.h
+include/guacamole/plugin-constants.h
+include/guacamole/plugin-types.h
+include/guacamole/plugin.h
+include/guacamole/pool-types.h
+include/guacamole/pool.h
+include/guacamole/protocol-types.h
+include/guacamole/protocol.h
+include/guacamole/socket-constants.h
+include/guacamole/socket-fntypes.h
+include/guacamole/socket-types.h
+include/guacamole/socket.h
+include/guacamole/stream-types.h
+include/guacamole/stream.h
+include/guacamole/timestamp-types.h
+include/guacamole/timestamp.h
+include/guacamole/unicode.h
+lib/freerdp/guacdr.la
+lib/freerdp/guacsnd.la
+lib/freerdp/guacsvc.la
+lib/libguac-client-rdp.la
+lib/libguac-client-ssh.la
+lib/libguac-client-telnet.la
+lib/libguac-client-vnc.la
+lib/libguac.la
+man/man5/guacd.conf.5
+man/man8/guacd.8
+sbin/guacd
+share/examples/guacamole/guacd.conf
diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/distinfo     Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/06/07 12:09:38 jperkin Exp $
+
+SHA1 (guacamole-server-0.9.9.tar.gz) = a1ab3bf1e39291e318182b85055587fd98b39de1
+RMD160 (guacamole-server-0.9.9.tar.gz) = b399132ffc69125d20db7f036d0a018ed2f8d88f
+SHA512 (guacamole-server-0.9.9.tar.gz) = 9676f61fed2121f222a2051569419395d50e2fbc4e73a2b7a8e359c66927d8b2a25a246a174c9f1f5bef9c3a5599302c6ab08fb932a5b52ab8d3dcbf943a376f
+Size (guacamole-server-0.9.9.tar.gz) = 679797 bytes
+SHA1 (patch-src_libguac_socket-fd.c) = 9f0d497834acf2d2bc0a7eaa040174a2eb48b512
diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/files/guacd.conf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/files/guacd.conf     Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,15 @@
+#
+# Example configuration file for guacd.
+#
+
+#[server]
+#bind_host = HOSTNAME
+#bind_port = PORT
+
+#[daemon]
+#log_level = LEVEL
+#pid_file = FILE
+
+#[ssl]
+#server_certificate = CERTIFICATE FILE
+#server_key = KEY FILE
diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/files/smf/manifest.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/files/smf/manifest.xml       Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,30 @@
+<?xml version='1.0'?>
+<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
+<service_bundle type='manifest' name='export'>
+  <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='0'>
+    <create_default_instance enabled='false'/>
+    <single_instance/>
+    <dependency name='network' grouping='require_all' restart_on='error' type='service'>
+      <service_fmri value='svc:/milestone/network:default'/>
+    </dependency>
+    <dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
+      <service_fmri value='svc:/system/filesystem/local'/>
+    </dependency>
+    <method_context>
+      <method_environment>
+        <envvar name='PATH' value='@PREFIX@/sbin:@PREFIX@/bin:/sbin:/usr/sbin:/usr/bin'/>
+      </method_environment>
+    </method_context>
+    <exec_method type='method' name='start' exec='@PREFIX@/sbin/guacd' timeout_seconds='60'/>
+    <exec_method type='method' name='stop' exec=':kill' timeout_seconds='60'/>
+    <template>
+      <common_name>
+        <loctext xml:lang='C'>Guacamole proxy daemon</loctext>
+      </common_name>
+      <documentation>
+        <manpage title='guacd.conf' section='5' manpath='@PREFIX@/@PKGMANDIR@'/>
+        <manpage title='guacd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+      </documentation>
+    </template>
+  </service>
+</service_bundle>
diff -r 4145b168d5d5 -r 6dfffcea8711 net/guacamole-server/patches/patch-src_libguac_socket-fd.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/guacamole-server/patches/patch-src_libguac_socket-fd.c        Tue Jun 07 12:09:38 2016 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_libguac_socket-fd.c,v 1.1 2016/06/07 12:09:38 jperkin Exp $
+
+Include string.h for memset().
+
+--- src/libguac/socket-fd.c.orig       2016-01-07 20:07:47.000000000 +0000
++++ src/libguac/socket-fd.c
+@@ -28,6 +28,7 @@
+ #include <stddef.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+ 



Home | Main Index | Thread Index | Old Index