summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2013-04-28 11:35:39 +0000
committerAndreas Schuerch <nativemad@gentoo.org>2013-04-28 11:35:39 +0000
commit3a035f407caa3a02c96ebdb2aae2a6cb0570a55c (patch)
treec48a010c74f5c998c6d8bce5b16f1b5304378474 /www-apps/guacamole
parentStable for amd64, wrt bug #466284 (diff)
downloadhistorical-3a035f407caa3a02c96ebdb2aae2a6cb0570a55c.tar.gz
historical-3a035f407caa3a02c96ebdb2aae2a6cb0570a55c.tar.bz2
historical-3a035f407caa3a02c96ebdb2aae2a6cb0570a55c.zip
new ebuild for 0.8.0
Package-Manager: portage-2.1.11.55/cvs/Linux i686 Manifest-Sign-Key: 0xC1DE54B2
Diffstat (limited to 'www-apps/guacamole')
-rw-r--r--www-apps/guacamole/ChangeLog7
-rw-r--r--www-apps/guacamole/Manifest11
-rw-r--r--www-apps/guacamole/guacamole-0.8.0.ebuild73
3 files changed, 86 insertions, 5 deletions
diff --git a/www-apps/guacamole/ChangeLog b/www-apps/guacamole/ChangeLog
index 463f44b54c9d..9c84d35eabd0 100644
--- a/www-apps/guacamole/ChangeLog
+++ b/www-apps/guacamole/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/guacamole
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/guacamole/ChangeLog,v 1.5 2013/04/28 08:25:59 nativemad Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/guacamole/ChangeLog,v 1.6 2013/04/28 11:35:31 nativemad Exp $
+
+*guacamole-0.8.0 (28 Apr 2013)
+
+ 28 Apr 2013; Andreas Schuerch <nativemad@gentoo.org> +guacamole-0.8.0.ebuild:
+ new ebuild for 0.8.0
28 Apr 2013; Andreas Schuerch <nativemad@gentoo.org> guacamole-0.6.2.ebuild,
guacamole-0.7.0.ebuild:
diff --git a/www-apps/guacamole/Manifest b/www-apps/guacamole/Manifest
index 5130fb81df0a..39ad1946c389 100644
--- a/www-apps/guacamole/Manifest
+++ b/www-apps/guacamole/Manifest
@@ -3,14 +3,17 @@ Hash: SHA256
DIST guacamole-0.6.2.tar.gz 97138 SHA256 e0cf64202f6d2ac4e82ceed52536c1da2bb50f9fa1cfc8143bc88ca20029a204 SHA512 b37ff09d8bd376338a5ec8230390c345f396702ee48578f485cb02493f1401288a4f80a96accf38d8cc684420c7b1d610850a4d7547a085b489537e46e70be2f WHIRLPOOL ecfa13096d44998c6c4594af937a95f90c93a19626b91c971b3f0c130c275dd72c76b9b4ce460954413cc9aecdcb3856f03974d80acb176f3e2329bb5e91f23c
DIST guacamole-0.7.0.tar.gz 99852 SHA256 01ee413933ae7e2117658f398cfe9fff0becea221b39d4f4759985c0dc4b3e08 SHA512 e28a192f076f92d6e42f8bad045cea2655adaab563a826cb5c9aa4bfa217c96fa59bc9f6fb92898d5e001fb27fbef3fcf78f25f7be6c2e5a187a69d2eda0c38a WHIRLPOOL 2f8b6b0b3ecb9dab6b4604549bb85303b7a64cfab4cdad962cc6f27a663dc7df1b0e58f5a7a58496aecaf88fa3cebb203243b630de982bcea214dc5da342759e
+DIST guacamole-0.8.0.tar.gz 132578 SHA256 536963392cac4448c6f1aae9faf0298aa14e4a93166efa56a384e3f73d000ed6 SHA512 16c24dc3d907d9531a462acd9c86b96d05e5140a46ea185008c5178cc51dd1daece9bcbcec0c2b651d0e536b12b474dad38125f835e1fc588b5ea214d4ff92c1 WHIRLPOOL 01dffd2282696e450c990cd8fed47350f499b2d0653629be783c2730c084660fc40b46bbbcb73daa6d953b552a5dedd5a15e1623b544b57b0fb654b0810a9d5a
+DIST guacamole-auth-mysql-0.8.0.tar.gz 24503 SHA256 9a4c5500acbe48a0bcd16f375a40778e7cb431447fdef76f68899fcdd45fbc08 SHA512 deaeddf2ee882a825d491bbf4de2a3d1d58e66750bd400b49a41f854588990d39de9e292038fe8720d847581de8568b24200d3150b6b2b120e160aa76e859e7b WHIRLPOOL 5daddef481d540fae236e9e9bacc553abd27530677f039dfc7639e7306f970c62ce64cfcf749920ff8b3b3d1fb89d7a3390fc3cc469d441f1afa745c717455c3
EBUILD guacamole-0.6.2.ebuild 1686 SHA256 c8a6e844247268366ce5de0d8e067ce556ab99847add37d348d1e61bc17356ee SHA512 183e7073f5156b19d37f9187f62a6aac7731cf498a6df7d2debd022c50a430dd75af316ac425ba283fcc80289c94201a821e57a27b65245a19a888abcf90da57 WHIRLPOOL 1205f34e23c4cae1e0f473047d671e6afd2d7122b6e1849d1d871a25c6544aea27c664643f63b21dcf24bea387bd04b9491f49da4c922acd759ff78691625ef3
EBUILD guacamole-0.7.0.ebuild 1863 SHA256 70b9c864e4d290cc9c419f79208bf13e2189f7d075f6a62ba06c0be688c2429a SHA512 0d13c0368ae4347036b4690cb84f359ea364b730eec859b8c7e8bf754d3d445067554c8216b7433f13ccf96750b81ca9529d671512dd8203ade41cfdf53bc96b WHIRLPOOL 93ce76246cb7002c301aa506efde216b4b269f913a8bb053d90d11aad63d80afa009cd9f0b7aa0b7031edb982423923678c2c7683972343cc4b80ce0824e9071
-MISC ChangeLog 967 SHA256 9529a171588072e0854a1d1ef13074015df4df9f7e7fb8617290b8db54e43745 SHA512 66c3cb7e6cd25edc89b619c68df49fb9447f9ff1b39fa550a58eade6a60786de7f3ee63dd429b8f49e279e320d94e8fa7ea9561db47f9d5da0993a4c7a2988b7 WHIRLPOOL 40e82dd54eae619a37c52a875b48475f4e95f337fd13173b5b39cef6c71aad32b99cd9f0c54d817960f90d19b317ecf8318f1e0d719107033ed01afc4c276559
+EBUILD guacamole-0.8.0.ebuild 3498 SHA256 3ef88190f0c064834f758a77d64fafd2096f60b279c816274f8ed05fc81cd2d6 SHA512 ae396389e501377abd6d49a6a74ff10e631ffeac89d93d6db4a30e7ab9d76bfcbd2ef4f8304f5ce755061e45d5c288ef6b372279a142f569253ac9702c31f097 WHIRLPOOL c92a95ac1cc356fab288c2792a362f5769363243388fc4b2039c71d70081ba42fc6f664a37981096b0a36d43cf13482b911119a4f4d16882b62cfd070cfa5744
+MISC ChangeLog 1103 SHA256 cc261b67aa30ebbc45cb07437405dab5cbe46a9722249c763343b96bf20cb8ef SHA512 e120924465cd0fed180cb495185af5aafebe075c0b10ababc00c4e7c2e3c3c489f829a6c697de98284236bd53f88f4038e59cc9999ff8bc022808b5814a35845 WHIRLPOOL 083800d37ef17c2a985157ffc2b7dc7b12de610d16214f4973668668374ad5e7e924c86854bef8a1794e08d90aa89e056692221b18c23727576d669ebc8c444b
MISC metadata.xml 641 SHA256 8da01a09b9826c5d47a704916466f320c7da31f5356db20874ebd7fc737bd51f SHA512 caef7a3e86f7e1cd1338e4abab0ee96c06690ab831f66260007a3ae732449fd4c87e98b97009b6a7f7be5f80746828b8bd0f49dde5c5a89717caedc6435b3773 WHIRLPOOL 45ddf48b13040a4f0fb36d7cd39fc030b0e087bb353b09d6d8c83ee8bb627cac82ee5d23181373675395394d8c4a3435855b4001d8a686557df701819a7f34bd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlF83QsACgkQakKUmsHeVLLeTACcDKK7tLipiDQk5kUjQSkVBM4b
-ypcAnRBpN0Pu1mMZT1cKcqPwS4D6MOx5
-=itYJ
+iEYEAREIAAYFAlF9CXgACgkQakKUmsHeVLJQJgCfa6h6Gm3qV21uGsp1mC5/d/Yk
+QswAn22g+seO2RUSpktkwz8RwQT1LUEq
+=tdn1
-----END PGP SIGNATURE-----
diff --git a/www-apps/guacamole/guacamole-0.8.0.ebuild b/www-apps/guacamole/guacamole-0.8.0.ebuild
new file mode 100644
index 000000000000..9d7f4d149df6
--- /dev/null
+++ b/www-apps/guacamole/guacamole-0.8.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/guacamole/guacamole-0.8.0.ebuild,v 1.1 2013/04/28 11:35:31 nativemad Exp $
+
+EAPI=4
+
+inherit eutils
+DESCRIPTION="Guacamole is a html5 vnc client as servlet"
+HOMEPAGE="http://guacamole.sourceforge.net/"
+#I know its terrible, but with the mirror url it always takes the wrong file with the same name...
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.8.0.tar.gz )"
+LICENSE="AGPL-3"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="vnc rdesktop mysql"
+
+DEPEND="dev-java/maven-bin"
+
+RDEPEND="${DEPEND}
+ www-servers/tomcat
+ >virtual/jre-1.6
+ net-misc/guacd
+ vnc? ( net-libs/libguac-client-vnc )
+ rdesktop? ( net-libs/libguac-client-rdp )
+ mysql? ( virtual/mysql )"
+
+src_compile() {
+ mkdir "${HOME}"/.m2
+ cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
+ sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
+ mvn -s "${S}"/settings.xml package
+}
+
+src_install() {
+ if use mysql; then
+ echo lib-directory: /var/lib/"${PN}"/classpath >>"${S}"/doc/example/"${PN}".properties
+ echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}"/doc/example/"${PN}".properties
+ echo mysql-hostname: localhost >>"${S}"/doc/example/"${PN}".properties
+ echo mysql-port: 3306 >>"${S}"/doc/example/"${PN}".properties
+ echo mysql-database: guacamole >>"${S}"/doc/example/"${PN}".properties
+ echo mysql-username: guacamole >>"${S}"/doc/example/"${PN}".properties
+ echo mysql-password: some_password >>"${S}"/doc/example/"${PN}".properties
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}"/doc/example/"${PN}".properties
+ insinto /var/lib/"${PN}"/classpath
+ doins "${WORKDIR}"/"${PN}"-auth-mysql-"${PV}"/lib/*.jar
+ insinto /usr/share/"${PN}"/schema
+ doins "${WORKDIR}"/"${PN}"-auth-mysql-"${PV}"/schema/*.sql
+ elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ fi
+ sed -e 's:/path/to:/etc/guacamole:g' -i "${S}"/doc/example/"${PN}".properties || die "properties sed failed"
+ insinto /etc/"${PN}"
+ doins "${S}"/doc/example/guacamole.properties
+ doins "${S}"/doc/example/user-mapping.xml
+ insinto /var/lib/"${PN}"
+ newins "${S}"/target/"${P}".war "${PN}".war
+ elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
+ elog "delete the old content first!"
+ elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
+ elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
+ elog "like this:"
+ elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
+ elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
+ elog "You will also need to define users and connectrions in /etc/guacamole/user-mapping.xml if mysql is not used!"
+}