From owner-svn-ports-head@freebsd.org Sat Feb 6 20:59:31 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D83AA9F4A6; Sat, 6 Feb 2016 20:59:31 +0000 (UTC) (envelope-from pi@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 mx1.freebsd.org (Postfix) with ESMTPS id 614B4E41; Sat, 6 Feb 2016 20:59:31 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u16KxUqu077692; Sat, 6 Feb 2016 20:59:30 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u16KxTQW077683; Sat, 6 Feb 2016 20:59:29 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201602062059.u16KxTQW077683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 6 Feb 2016 20:59:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408311 - in head/www: . guacamole-client guacamole-client/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 20:59:31 -0000 Author: pi Date: Sat Feb 6 20:59:29 2016 New Revision: 408311 URL: https://svnweb.freebsd.org/changeset/ports/408311 Log: New port: www/guacamole-client guacamole-client is the superproject containing all Maven-based projects that make Guacamole, an HTML5 web application that provides access to your desktop using remote desktop protocols. guacamole-client is used to build the subprojects that make up Guacamole, and to provide a common central repository. Each project contained here is completely independent of guacamole-client and can be built separately, though the others may have to be built first. If all projects are built using guacamole-client, Maven will take care of the proper build order. WWW: https://github.com/glyptodon/guacamole-client PR: 202755 Submitted by: ultima1252@gmail.com Added: head/www/guacamole-client/ head/www/guacamole-client/Makefile (contents, props changed) head/www/guacamole-client/distinfo (contents, props changed) head/www/guacamole-client/files/ head/www/guacamole-client/files/guacamole.properties.sample (contents, props changed) head/www/guacamole-client/files/logback.xml.sample (contents, props changed) head/www/guacamole-client/files/pkg-message.in (contents, props changed) head/www/guacamole-client/files/user-mapping.xml.sample (contents, props changed) head/www/guacamole-client/pkg-descr (contents, props changed) head/www/guacamole-client/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Feb 6 18:51:01 2016 (r408310) +++ head/www/Makefile Sat Feb 6 20:59:29 2016 (r408311) @@ -246,6 +246,7 @@ SUBDIR += gstreamer1-plugins-neon SUBDIR += gtkhtml3 SUBDIR += gtkhtml4 + SUBDIR += guacamole-client SUBDIR += guile-www SUBDIR += gurlchecker SUBDIR += h2o Added: head/www/guacamole-client/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/Makefile Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,73 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= guacamole-client +PORTVERSION= 0.9.9 +CATEGORIES= www java +MASTER_SITES+= https://sourceforge.net/projects/distfiles/files/${PORTNAME}/:repo \ + http://sourceforge.net/projects/distfiles/files/${PORTNAME}/:repo +DISTNAME= ${PORTVERSION} +DISTFILES= ${PORTVERSION}_GH${EXTRACT_SUFX} \ + repository-${PORTVERSION}${EXTRACT_SUFX}:repo +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= ultima1252@gmail.com +COMMENT= HTML5 Clientless Remote Desktop + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/share/java/maven33/bin/mvn:${PORTSDIR}/devel/maven33 + +USE_GITHUB= yes +GH_ACCOUNT= glyptodon +GH_TAGNAME= ${PORTVERSION} + +MVN= mvn +MVN_ARGS= package -Duser.home=${WRKDIR} +USE_JAVA= yes +JAVA_VERSION= 1.8+ + +OPTIONS_DEFINE= MK_LINK SERVER TOMCAT +OPTIONS_DEFAULT= MK_LINK SERVER TOMCAT +OPTIONS_SUB= yes +MK_LINK_DESC= Make sybolic links +TOMCAT_RUN_DEPENDS= ${LOCALBASE}/apache-tomcat-8.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat8 +TOMCAT_DESC= Use Tomcat as your servlet + +SERVER_RUN_DEPENDS= guacd:${PORTSDIR}/net/guacamole-server +SERVER_DESC= Include Guacamole Server + +GUACAMOLE_CONF= ${PREFIX}/etc/guacamole +GUACAMOLE_DATA= ${PREFIX}/share/${PORTNAME} + +.include + +do-build: + cd ${WRKSRC} && ${MVN} ${MVN_ARGS} + +do-install: + @${MKDIR} ${STAGEDIR}${GUACAMOLE_DATA} + @${MKDIR} ${STAGEDIR}${GUACAMOLE_CONF} + + @${CP} ${WRKSRC}/guacamole/target/guacamole-${PORTVERSION}.war \ + ${STAGEDIR}${GUACAMOLE_DATA}/guacamole.war + @${CP} ${WRKSRC}/extensions/guacamole-auth-jdbc/target/guacamole-auth-jdbc-${PORTVERSION}.tar.gz \ + ${STAGEDIR}/${GUACAMOLE_DATA}/guacamole-auth-jdbc.tar.gz + @${CP} ${WRKSRC}/extensions/guacamole-auth-ldap/target/guacamole-auth-ldap-${PORTVERSION}.tar.gz \ + ${STAGEDIR}/${GUACAMOLE_DATA}/guacamole-auth-ldap.tar.gz + @${CP} ${WRKSRC}/extensions/guacamole-auth-noauth/target/guacamole-auth-noauth-${PORTVERSION}.tar.gz \ + ${STAGEDIR}/${GUACAMOLE_DATA}/guacamole-auth-noauth.tar.gz + +.if ${PORT_OPTIONS:MMK_LINK} + @${MKDIR} ${STAGEDIR}/root + @${MKDIR} ${STAGEDIR}${PREFIX}/apache-tomcat-8.0/webapps + @${LN} -s ${GUACAMOLE_CONF} ${STAGEDIR}/root/.guacamole + @${LN} -s ${GUACAMOLE_DATA}/guacamole.war \ + ${STAGEDIR}${PREFIX}/apache-tomcat-8.0/webapps/ +.endif + @${CP} ${FILESDIR}/user-mapping.xml.sample ${STAGEDIR}${GUACAMOLE_CONF}/ + @${CP} ${FILESDIR}/logback.xml.sample ${STAGEDIR}${GUACAMOLE_CONF}/ + @${CP} ${FILESDIR}/guacamole.properties.sample ${STAGEDIR}${GUACAMOLE_CONF}/ + +.include Added: head/www/guacamole-client/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/distinfo Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,4 @@ +SHA256 (guacamole-client/0.9.9_GH.tar.gz) = d6a1f824115c2dc87c9d611b4a6cbe2a489604a512227af5c79a832c2690783f +SIZE (guacamole-client/0.9.9_GH.tar.gz) = 1698262 +SHA256 (guacamole-client/repository-0.9.9.tar.gz) = 79bc3064fac3add03842d96f21d3eb24677dffcea19f6a72cdeb200734ad71f6 +SIZE (guacamole-client/repository-0.9.9.tar.gz) = 42806341 Added: head/www/guacamole-client/files/guacamole.properties.sample ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/files/guacamole.properties.sample Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,10 @@ +### +### guacamole.properties.sample +### + + +### The Host the Guacamole proxy daemon (guacd) is listening on. +# +guacd-host: localhost +guacd-port: 4822 +#guacd-ssl: true ### default is false Added: head/www/guacamole-client/files/logback.xml.sample ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/files/logback.xml.sample Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,20 @@ + + + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + Added: head/www/guacamole-client/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/files/pkg-message.in Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,8 @@ +### Guacamole-client requires authentecation to start. +### cp %%PREFIX%%/etc/guacamole/user-mapping.xml.sample \ +### %%PREFIX%%/etc/guacamole/user-mapping.xml +### +### Once tomcat8 and guacd are running +### http://localhost:8080/guacamole Only ssh is installed +### by default. To add more protocols, rebuild guacamole- +### server. Added: head/www/guacamole-client/files/user-mapping.xml.sample ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/files/user-mapping.xml.sample Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,39 @@ + + + + + + + + + + + ssh + localhost + 22 + monospace + + + ssh + none + 22 + monospace + + + + Added: head/www/guacamole-client/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/pkg-descr Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,12 @@ +guacamole-client is the superproject containing all Maven-based +projects that make Guacamole, an HTML5 web application that provides +access to your desktop using remote desktop protocols. + +guacamole-client is used to build the subprojects that make up +Guacamole, and to provide a common central repository. Each project +contained here is completely independent of guacamole-client and +can be built separately, though the others may have to be built +first. If all projects are built using guacamole-client, Maven will +take care of the proper build order. + +WWW: https://github.com/glyptodon/guacamole-client Added: head/www/guacamole-client/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/guacamole-client/pkg-plist Sat Feb 6 20:59:29 2016 (r408311) @@ -0,0 +1,9 @@ +%%MK_LINK%%/root/.guacamole +%%TOMCAT%%apache-tomcat-8.0/webapps/guacamole.war +etc/guacamole/guacamole.properties.sample +etc/guacamole/logback.xml.sample +etc/guacamole/user-mapping.xml.sample +%%DATADIR%%/guacamole-auth-jdbc.tar.gz +%%DATADIR%%/guacamole-auth-ldap.tar.gz +%%DATADIR%%/guacamole-auth-noauth.tar.gz +%%DATADIR%%/guacamole.war