Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/guacamole/, profiles/
Date: Sun, 19 Aug 2018 08:56:47
Message-Id: 1534668981.60256bbc436a5f6a9cdb7afe6f263028dc608c4c.mgorny@gentoo
1 commit: 60256bbc436a5f6a9cdb7afe6f263028dc608c4c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 19 08:55:19 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 19 08:56:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60256bbc
7
8 www-apps/guacamole: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/608540
11
12 profiles/package.mask | 5 --
13 www-apps/guacamole/Manifest | 18 ----
14 www-apps/guacamole/guacamole-0.9.0.ebuild | 92 ---------------------
15 www-apps/guacamole/guacamole-0.9.2.ebuild | 92 ---------------------
16 www-apps/guacamole/guacamole-0.9.3.ebuild | 92 ---------------------
17 www-apps/guacamole/guacamole-0.9.7.ebuild | 132 ------------------------------
18 www-apps/guacamole/guacamole-0.9.8.ebuild | 125 ----------------------------
19 www-apps/guacamole/guacamole-0.9.9.ebuild | 126 ----------------------------
20 www-apps/guacamole/metadata.xml | 22 -----
21 9 files changed, 704 deletions(-)
22
23 diff --git a/profiles/package.mask b/profiles/package.mask
24 index 0508903578e..dc8a271b23e 100644
25 --- a/profiles/package.mask
26 +++ b/profiles/package.mask
27 @@ -167,11 +167,6 @@ dev-python/wxpython:2.8
28 =virtual/perl-threads-2.220.0
29 =virtual/perl-version-0.992.300
30
31 -# Andreas Schuerch <nativemad@g.o> (10 Jul 2018)
32 -# Packages have open bugs and mayor component is not working since years
33 -# Removal in 30 days. Bug 608540
34 -www-apps/guacamole
35 -
36 # Brian Dolbec <dolsen@g.o> (4 July 2018)
37 # No longer needed, newer gpg-2 versions have simple cli options
38 # for generating new keys and doing key maintenance. Removal in a month
39
40 diff --git a/www-apps/guacamole/Manifest b/www-apps/guacamole/Manifest
41 deleted file mode 100644
42 index be145bb0939..00000000000
43 --- a/www-apps/guacamole/Manifest
44 +++ /dev/null
45 @@ -1,18 +0,0 @@
46 -DIST guacamole-auth-jdbc-0.9.7.tar.gz 2997194 BLAKE2B a1e3f8e6813f4883031b8e01fcededfb30d63b6791ac85971e12e6b7bfae49e362904bbe516cb82dd5b66f3cb2b4a51876346d6fc6c55128767d2e5ce70a87de SHA512 0bfa920fed4b5baabc6f5541d9a5badc0a88c51e95675f00889d9d6f7a2069b07f0bee4ed628b82a4c243dd0a8fb1646a5ba6f822ca5704b1f60b49f3a2fd698
47 -DIST guacamole-auth-jdbc-0.9.8.tar.gz 7018542 BLAKE2B 3d12b4a813e29132dc25836a9f7cafcae20081cc7ab27f9616d883ca4766dca41f7c810319941536719c85a6c86978fd529c77aa39f39bfeb227123dfd6772ba SHA512 c1c1a4f0f33a46108a45c826ad075825846838ad05205579024820f4737db6c96e35c5be3d20c78a0e088cecc08738369bdcf00c6efd43307848a71c710aa394
48 -DIST guacamole-auth-ldap-0.9.0.tar.gz 382885 BLAKE2B 0e343918f2543fa3de3a10e712b3b3583fc390196bb7d6afe5e5b8d5230488460e879c279904f675ae2d0f03925b5f740f4b226a751310dd7c5f13aae2998e72 SHA512 caf228029a4e69ac1ac1f252c761167c1676eadbb362877753710aa28d274f76ed8091102f5a142b871dc7a7e22f98d113c18fa06e46dfbf6ec57c3ea92b435b
49 -DIST guacamole-auth-ldap-0.9.2.tar.gz 382892 BLAKE2B e682763332d96969c4471d8c6fd7f9a9e90a3a4315dba457da8fb8fe5170456c15b6461a23caeafbfad78b4ae4e41c99056f9c3e6597c587d5e8304b014212f3 SHA512 7ff6ed8aeac872aebfe654992208342370f991eabd141ac102ea553cc94b8c69c382344b5c8419745bcdc8f83b77d9b72577c8ddef9e2d000549a5fb1ae70617
50 -DIST guacamole-auth-ldap-0.9.3.tar.gz 382919 BLAKE2B 1d1178d29b01081e234d13881a9f81870a00210dc2c394fad1a9367ac4bd48677bf53c2092889988f5cb25bad7fa80a637d1c17593c08d55758735d1cd813e35 SHA512 e3eebeafd841d304f4c2beb21c1d54327bf0af2201794685c008d1812f05e70c8389888eec1e417c7e08600ebaf6f7f7330cddcf5176c9a12c987ba516155ebe
51 -DIST guacamole-auth-ldap-0.9.7.tar.gz 384154 BLAKE2B 4bba6252479e5e000a1eacce34ae7f408acbf49caa58ad277dcc41e9b88b4b9fc8bd5e775408bb7f50e1bf9520c580a2050b4f1d40787f4b23943dfdae20ed1f SHA512 e750a89059a247ac17c7d137f8b7e03f43673a82559b91a39d0d1e69c94bb8212f7a17c335ec69f3c7d892c8ad0aaa746f50dfd247202468fc6c880e9126f1d2
52 -DIST guacamole-auth-ldap-0.9.8.tar.gz 1055810 BLAKE2B e1d4ed52c720641c776611575e961afd2ba45b82d76e2181267876af8c398640f41a2319f738db32927cb0d842676ed9801751b6000ca601932259263d4e29cd SHA512 b13947581dfad5b25a423369867c1a98327fd9a6a2124c12fe16c68700caefec217f18d01a1436419cb60dd43bb7f2126f5e47f3aebd069b2ce6a46759c0b402
53 -DIST guacamole-auth-mysql-0.9.0.tar.gz 2104231 BLAKE2B 700a4364ba7823041304df95954b237a2d2601f4124bf739f7a3ce111ee9d93a7bf88f3b51794de077b16e41d4a320c337aecb4ccf6dd5b4960eb3ff6a953b55 SHA512 00cc09e75f8c977a2465759b97022007fe34ba9272f9b9004eec404419a68b8c0b301fc385b4f09af07bde82510a6f5b808585c78a61b26cabd98529a5b1c4fa
54 -DIST guacamole-auth-mysql-0.9.2.tar.gz 2104317 BLAKE2B 6dfc07060404186c5404740a70fb6147b1e3f90311f5f9b1c1725ef7522a1442d5f5ccebc0754be89c0fdf4b90379de64cc1de42993c586dc383cf0a2c58e7eb SHA512 4422358b1ced34ca468f130807da6f8d7c65f39a0c3e1c7eecf004803ca62ccccda07b5a7a2b72f4b4e8337ad60783e5514af6318c2cc38f37397ba14cd2f552
55 -DIST guacamole-auth-mysql-0.9.3.tar.gz 2104479 BLAKE2B 3b648d799780cd033e82f7fd26368b07569cae404e5e4356c0fec962c6ca1488d36372636e8aa08052f77b000ccb16b67a74fa113c8330909b4d94e7611778fb SHA512 b33e1228b261e3857c385260a15f7b3b6088bdcaf2785f837b9525c5469a7af6560610c8064614b438160d98e349487037d78c11737dbef6a83be6b41bd37e4c
56 -DIST guacamole-auth-noauth-0.9.7.tar.gz 5810 BLAKE2B 2bf85134b01e9e6124ad2cb75652b143e5269294f5fedaef076c08e1946870365c099939fbfbfbbea22ee177c985ed8afe884346eb57ba9a840b4f7ef506b911 SHA512 1f5e6f0b9e035c75edc556ff47a73e8e6e047369306e00e1281a97ac4896c7563b41dfbd66c89926d972e01a5aee3fdd9c0214d91cb84a83f177a4e3df05d537
57 -DIST guacamole-auth-noauth-0.9.8.tar.gz 6011 BLAKE2B 216f6f9148376fd21f2894862ee5cdc63e5e4eb3637e11cd3dd5d093489347cdf8d2d98d982085db8d98125d4d47a5ff9ae21740a3e01171373be3a58cfab34e SHA512 481f7ee88cbc7989734afb23cb9807d2cab71846ecdd17475f0e24afab5d3cd82040d5f448abe3eb01bfd828b9d834a753e0f0ec573b8b8c863fe5e2718ad1a2
58 -DIST guacamole-client-0.9.0.tar.gz 314566 BLAKE2B a95d29b8bb452aaf74ac3bf50bf26126a557ebb6c193492eac2514396fb81b0632d1ed44b036df3b90cb4d2f95f71ecaf5664604c7873d3c063f6d12601f6286 SHA512 33dd583cde9188066f0254fe9a531886be79110ef9f0e62fc60771d2751a927f783eb484e5484760e4ed3bc2aaa1f2000f43f953b78122cbdc2b0f19d8141457
59 -DIST guacamole-client-0.9.2.tar.gz 386263 BLAKE2B cff50d36179a386b7c049f3f916b2ed0276849ee9608742c211cc165cc853734bb45e05c616d0e440449d14fd9d6370e2ef23cd49383cc9ba9bb061021bb95c3 SHA512 e9e73b23b64883c64a1bd0908ecc9e685dc23308c3d44bd2c9c691e43fe383424bfc14816d0248b0f2a693da473a3a780a2d2469024aae53587b67f78d0b0af6
60 -DIST guacamole-client-0.9.3.tar.gz 396313 BLAKE2B 1696160120a9ea728004fff3b6aee6d059e43cff8e0eb0f33594c5e8ff1d79e93a83833a2a21f747b9188caed6f94e165b669b648408b4fd7d7f88ad1685874b SHA512 4ec3ec74b1175ce6b3cde4b9669a3f54f21b45c489c592ea3cabd2af670bf0ec9449f8a368d416640ed7348e77c23ad05243b4fdff083a120f432053642f7727
61 -DIST guacamole-client-0.9.7.tar.gz 1580766 BLAKE2B fda61241f9bcafcff16b99583d2841482b51989b0412dc2edb0a7bf89f7aa22f76cddc79859c02f942d4e7a39c0284961ba1eec8a11429790bdba19ec6064cf9 SHA512 eb9d9be14e9a55192c2e341fbd9b07d3cf1b3f4f06dbe97cdb5ca5d624362a895a6369100859716d9cf65562fa251424c9b3a36c2a7d4812bfb2814ab96dc5c3
62 -DIST guacamole-client-0.9.8.tar.gz 1685223 BLAKE2B d7ff0558d79227a896dfada2a6d745e0d137aed2ac5a668dc1660079643233dd73e1513ba38a03c044ee14830428c4d63d706b5715669fc78894681f7b58a2e9 SHA512 e8152a10c8c51b0adff93ee476287e3c264ddae4de4b581a43009d8613e8cc2276ddd1ff5a53e84d74ff19901ec82433321d176e1335b4445dcbed04afe6f9f8
63 -DIST guacamole-client-0.9.9.tar.gz 1725944 BLAKE2B 97d8253531880f44c68e16766cab741a9e6424487469f40cd0a172cb622cb3a3473299640f7e9df8e2c10c7fa94fdb5e99eec0c6afe012b1d541e272125842d3 SHA512 109fe04fd9c072f6abfd31ba64c91b79dc6ef56562086bfb0db5d05feda436917eaf4d01b3b6e542bf2c6e1a56ab395a215fd0a1611cc0c2f87db925a14cf0e5
64
65 diff --git a/www-apps/guacamole/guacamole-0.9.0.ebuild b/www-apps/guacamole/guacamole-0.9.0.ebuild
66 deleted file mode 100644
67 index fa765ea1ee9..00000000000
68 --- a/www-apps/guacamole/guacamole-0.9.0.ebuild
69 +++ /dev/null
70 @@ -1,92 +0,0 @@
71 -# Copyright 1999-2014 Gentoo Foundation
72 -# Distributed under the terms of the GNU General Public License v2
73 -
74 -EAPI=5
75 -
76 -inherit eutils
77 -DESCRIPTION="Guacamole is a html5 vnc client as servlet"
78 -HOMEPAGE="http://guacamole.sourceforge.net/"
79 -SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
80 - mysql? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.9.0.tar.gz )
81 - ldap? ( https://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.9.0.tar.gz )"
82 -S="${WORKDIR}/${PN}-client-${PV}"
83 -
84 -LICENSE="AGPL-3"
85 -
86 -SLOT="0"
87 -
88 -KEYWORDS="~x86"
89 -
90 -IUSE="ldap mysql"
91 -
92 -DEPEND="dev-java/maven-bin"
93 -
94 -RDEPEND="${DEPEND}
95 - www-servers/tomcat
96 - >virtual/jre-1.6
97 - net-misc/guacamole-server
98 - mysql? ( virtual/mysql )
99 - ldap? ( net-nds/openldap )"
100 -
101 -src_compile() {
102 - mkdir "${HOME}"/.m2
103 - cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
104 - sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
105 - mvn -s "${S}"/settings.xml package
106 -}
107 -
108 -src_install() {
109 - if use mysql; then
110 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
111 - echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
112 - echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
113 - echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
114 - echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
115 - echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
116 - echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
117 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
118 - insinto "/var/lib/${PN}/classpath"
119 - find "${WORKDIR}/${PN}-auth-mysql-0.9.0/lib/" -name '*.jar' -exec doins '{}' +
120 - insinto "/usr/share/${PN}/schema"
121 - find "${WORKDIR}/${PN}-auth-mysql-0.9.0/schema/" -name '*.sql' -exec doins '{}' +
122 - insinto "/usr/share/${PN}/schema/upgrade"
123 - find "${WORKDIR}/${PN}-auth-mysql-0.9.0/schema/upgrade/" -name '*.sql' -exec doins '{}' +
124 - elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
125 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
126 - elog "The default user and it's password is \"guacadmin\"."
127 - elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
128 - elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
129 - elog "-"
130 - fi
131 - if use ldap; then
132 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
133 - echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
134 - echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
135 - echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
136 - echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
137 - echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
138 - echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
139 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
140 - insinto "/var/lib/${PN}/classpath"
141 - find "${WORKDIR}/${PN}-auth-ldap-0.9.0/lib/" -name '*.jar' -exec doins '{}' +
142 - insinto "/usr/share/${PN}/schema"
143 - doins "${WORKDIR}/${PN}-auth-ldap-0.9.0/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.9.0/schema/guacConfigGroup.schema"
144 - elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
145 - elog "There is also an example .lidf file for creating the users."
146 - elog "-"
147 - fi
148 - sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
149 - insinto /etc/"${PN}"
150 - doins "${S}/${PN}/doc/example/guacamole.properties"
151 - doins "${S}/${PN}/doc/example/user-mapping.xml"
152 - insinto "/var/lib/${PN}"
153 - newins "${S}/${PN}/target/${P}.war" "${PN}.war"
154 - elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
155 - elog "delete the old content first!"
156 - elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
157 - elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
158 - elog "like this:"
159 - elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
160 - elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
161 - elog "You will also need to define users and connections in /etc/guacamole/user-mapping.xml if mysql is not used!"
162 -}
163
164 diff --git a/www-apps/guacamole/guacamole-0.9.2.ebuild b/www-apps/guacamole/guacamole-0.9.2.ebuild
165 deleted file mode 100644
166 index bbb158af9e3..00000000000
167 --- a/www-apps/guacamole/guacamole-0.9.2.ebuild
168 +++ /dev/null
169 @@ -1,92 +0,0 @@
170 -# Copyright 1999-2014 Gentoo Foundation
171 -# Distributed under the terms of the GNU General Public License v2
172 -
173 -EAPI=5
174 -
175 -inherit eutils
176 -DESCRIPTION="Guacamole is a html5 vnc client as servlet"
177 -HOMEPAGE="http://guac-dev.org/"
178 -SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
179 - mysql? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.9.2.tar.gz )
180 - ldap? ( https://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.9.2.tar.gz )"
181 -S="${WORKDIR}/${PN}-client-${PV}"
182 -
183 -LICENSE="AGPL-3"
184 -
185 -SLOT="0"
186 -
187 -KEYWORDS="~x86"
188 -
189 -IUSE="ldap mysql"
190 -
191 -DEPEND="dev-java/maven-bin"
192 -
193 -RDEPEND="${DEPEND}
194 - www-servers/tomcat
195 - >virtual/jre-1.6
196 - net-misc/guacamole-server
197 - mysql? ( virtual/mysql )
198 - ldap? ( net-nds/openldap )"
199 -
200 -src_compile() {
201 - mkdir "${HOME}"/.m2
202 - cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
203 - sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
204 - mvn -s "${S}"/settings.xml package
205 -}
206 -
207 -src_install() {
208 - if use mysql; then
209 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
210 - echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
211 - echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
212 - echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
213 - echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
214 - echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
215 - echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
216 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
217 - insinto "/var/lib/${PN}/classpath"
218 - find "${WORKDIR}/${PN}-auth-mysql-0.9.2/lib/" -name '*.jar' -exec doins '{}' +
219 - insinto "/usr/share/${PN}/schema"
220 - find "${WORKDIR}/${PN}-auth-mysql-0.9.2/schema/" -name '*.sql' -exec doins '{}' +
221 - insinto "/usr/share/${PN}/schema/upgrade"
222 - find "${WORKDIR}/${PN}-auth-mysql-0.9.2/schema/upgrade/" -name '*.sql' -exec doins '{}' +
223 - elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
224 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
225 - elog "The default user and it's password is \"guacadmin\"."
226 - elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
227 - elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
228 - elog "-"
229 - fi
230 - if use ldap; then
231 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
232 - echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
233 - echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
234 - echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
235 - echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
236 - echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
237 - echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
238 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
239 - insinto "/var/lib/${PN}/classpath"
240 - find "${WORKDIR}/${PN}-auth-ldap-0.9.2/lib/" -name '*.jar' -exec doins '{}' +
241 - insinto "/usr/share/${PN}/schema"
242 - doins "${WORKDIR}/${PN}-auth-ldap-0.9.2/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.9.2/schema/guacConfigGroup.schema"
243 - elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
244 - elog "There is also an example .lidf file for creating the users."
245 - elog "-"
246 - fi
247 - sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
248 - insinto /etc/"${PN}"
249 - doins "${S}/${PN}/doc/example/guacamole.properties"
250 - doins "${S}/${PN}/doc/example/user-mapping.xml"
251 - insinto "/var/lib/${PN}"
252 - newins "${S}/${PN}/target/${P}.war" "${PN}.war"
253 - elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
254 - elog "delete the old content first!"
255 - elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
256 - elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
257 - elog "like this:"
258 - elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
259 - elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
260 - elog "You will also need to define users and connections in /etc/guacamole/user-mapping.xml if mysql or ldap is not used!"
261 -}
262
263 diff --git a/www-apps/guacamole/guacamole-0.9.3.ebuild b/www-apps/guacamole/guacamole-0.9.3.ebuild
264 deleted file mode 100644
265 index 4388582a470..00000000000
266 --- a/www-apps/guacamole/guacamole-0.9.3.ebuild
267 +++ /dev/null
268 @@ -1,92 +0,0 @@
269 -# Copyright 1999-2014 Gentoo Foundation
270 -# Distributed under the terms of the GNU General Public License v2
271 -
272 -EAPI=5
273 -
274 -inherit eutils
275 -DESCRIPTION="Guacamole is a html5 vnc client as servlet"
276 -HOMEPAGE="http://guac-dev.org/"
277 -SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
278 - mysql? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.9.3.tar.gz )
279 - ldap? ( https://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.9.3.tar.gz )"
280 -S="${WORKDIR}/${PN}-client-${PV}"
281 -
282 -LICENSE="AGPL-3"
283 -
284 -SLOT="0"
285 -
286 -KEYWORDS="~x86"
287 -
288 -IUSE="ldap mysql"
289 -
290 -DEPEND="dev-java/maven-bin"
291 -
292 -RDEPEND="${DEPEND}
293 - www-servers/tomcat
294 - >virtual/jre-1.6
295 - net-misc/guacamole-server
296 - mysql? ( virtual/mysql )
297 - ldap? ( net-nds/openldap )"
298 -
299 -src_compile() {
300 - mkdir "${HOME}"/.m2
301 - cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
302 - sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
303 - mvn -s "${S}"/settings.xml package
304 -}
305 -
306 -src_install() {
307 - if use mysql; then
308 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
309 - echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
310 - echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
311 - echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
312 - echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
313 - echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
314 - echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
315 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
316 - insinto "/var/lib/${PN}/classpath"
317 - find "${WORKDIR}/${PN}-auth-mysql-0.9.3/lib/" -name '*.jar' -exec doins '{}' +
318 - insinto "/usr/share/${PN}/schema"
319 - find "${WORKDIR}/${PN}-auth-mysql-0.9.3/schema/" -name '*.sql' -exec doins '{}' +
320 - insinto "/usr/share/${PN}/schema/upgrade"
321 - find "${WORKDIR}/${PN}-auth-mysql-0.9.3/schema/upgrade/" -name '*.sql' -exec doins '{}' +
322 - elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
323 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
324 - elog "The default user and it's password is \"guacadmin\"."
325 - elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
326 - elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
327 - elog "-"
328 - fi
329 - if use ldap; then
330 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
331 - echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
332 - echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
333 - echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
334 - echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
335 - echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
336 - echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
337 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
338 - insinto "/var/lib/${PN}/classpath"
339 - find "${WORKDIR}/${PN}-auth-ldap-0.9.3/lib/" -name '*.jar' -exec doins '{}' +
340 - insinto "/usr/share/${PN}/schema"
341 - doins "${WORKDIR}/${PN}-auth-ldap-0.9.3/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.9.3/schema/guacConfigGroup.schema"
342 - elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
343 - elog "There is also an example .lidf file for creating the users."
344 - elog "-"
345 - fi
346 - sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
347 - insinto /etc/"${PN}"
348 - doins "${S}/${PN}/doc/example/guacamole.properties"
349 - doins "${S}/${PN}/doc/example/user-mapping.xml"
350 - insinto "/var/lib/${PN}"
351 - newins "${S}/${PN}/target/${P}.war" "${PN}.war"
352 - elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
353 - elog "delete the old content first!"
354 - elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
355 - elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
356 - elog "like this:"
357 - elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
358 - elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
359 - elog "You will also need to define users and connections in /etc/guacamole/user-mapping.xml if mysql or ldap is not used!"
360 -}
361
362 diff --git a/www-apps/guacamole/guacamole-0.9.7.ebuild b/www-apps/guacamole/guacamole-0.9.7.ebuild
363 deleted file mode 100644
364 index 95687d83bf2..00000000000
365 --- a/www-apps/guacamole/guacamole-0.9.7.ebuild
366 +++ /dev/null
367 @@ -1,132 +0,0 @@
368 -# Copyright 1999-2015 Gentoo Foundation
369 -# Distributed under the terms of the GNU General Public License v2
370 -
371 -EAPI=5
372 -
373 -inherit eutils
374 -DESCRIPTION="Guacamole is a html5 vnc client as servlet"
375 -HOMEPAGE="http://guac-dev.org/"
376 -SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
377 - mysql? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
378 - postgres? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
379 - noauth? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-noauth-${PV}.tar.gz )
380 - ldap? ( https://sourceforge.net/projects/guacamole/files/current/extensions/${PN}-auth-ldap-${PV}.tar.gz )"
381 -S="${WORKDIR}/${PN}-client-${PV}"
382 -
383 -LICENSE="MIT"
384 -
385 -SLOT="0"
386 -
387 -KEYWORDS="~x86 ~amd64"
388 -
389 -IUSE="ldap mysql postgres noauth"
390 -REQUIRED_USE="ldap? ( !mysql !postgres !noauth )
391 - mysql? ( !ldap !postgres !noauth )
392 - postgres? ( !ldap !mysql !noauth )
393 - noauth? ( !ldap !mysql !noauth )"
394 -
395 -DEPEND="dev-java/maven-bin:*"
396 -
397 -RDEPEND="${DEPEND}
398 - www-servers/tomcat[websockets]
399 - >virtual/jre-1.6
400 - net-misc/guacamole-server
401 - mysql? ( virtual/mysql )
402 - postgres? ( dev-db/postgresql )
403 - ldap? ( net-nds/openldap )"
404 -
405 -src_compile() {
406 - mkdir "${HOME}"/.m2
407 - cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
408 - sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
409 - mvn -s "${S}"/settings.xml package
410 -}
411 -
412 -src_install() {
413 - echo guacd-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
414 - echo guacd-port: 4822 >>"${S}/${PN}/doc/example/${PN}.properties"
415 - echo basic-user-mapping: /etc/guacamole/user-mapping.xml >>"${S}/${PN}/doc/example/${PN}.properties"
416 - if use noauth; then
417 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
418 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
419 - echo auth-provider: net.sourceforge.guacamole.net.auth.noauth.NoAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
420 - echo noauth-config: /etc/guacamole/noauth-config.xml >>"${S}/${PN}/doc/example/${PN}.properties"
421 - insinto "/var/lib/${PN}/classpath"
422 - find "${WORKDIR}/${PN}-auth-noauth-${PV}/" -name '*.jar' -exec doins '{}' +
423 - insinto "/etc/guacamole"
424 - find "${WORKDIR}/${PN}-auth-noauth-${PV}/doc/example/" -name '*.xml' -exec doins '{}' +
425 - elog "Warning: Setting No Athentication is obviously very insecure! Only use it if you know what you are doing!"
426 - elif use mysql; then
427 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
428 - echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
429 - echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
430 - echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
431 - echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
432 - echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
433 - echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
434 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
435 - insinto "/var/lib/${PN}/classpath"
436 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/" -name '*.jar' -exec doins '{}' +
437 - insinto "/usr/share/${PN}/schema"
438 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/schema/" -name '*.sql' -exec doins '{}' +
439 - insinto "/usr/share/${PN}/schema/upgrade"
440 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/schema/upgrade/" -name '*.sql' -exec doins '{}' +
441 - elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
442 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
443 - elog "The default user and it's password is \"guacadmin\"."
444 - elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
445 - elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
446 - elog "-"
447 - elif use postgres; then
448 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
449 - echo auth-provider: net.sourceforge.guacamole.net.auth.postgresql.PostgreSQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
450 - echo postgresql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
451 - echo postgresql-port: 5432 >>"${S}/${PN}/doc/example/${PN}.properties"
452 - echo postgresql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
453 - echo postgresql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
454 - echo postgresql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
455 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
456 - insinto "/var/lib/${PN}/classpath"
457 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/" -name '*.jar' -exec doins '{}' +
458 - insinto "/usr/share/${PN}/schema"
459 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/schema/" -name '*.sql' -exec doins '{}' +
460 - insinto "/usr/share/${PN}/schema/upgrade"
461 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/schema/upgrade/" -name '*.sql' -exec doins '{}' +
462 - elog "Please add a postgresql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
463 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
464 - elog "The default user and it's password is \"guacadmin\"."
465 - elog "You will also need to download the postgresql-connector from here https://jdbc.postgresql.org/download.html#current"
466 - elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
467 - elog "-"
468 - elif use ldap; then
469 - echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
470 - echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
471 - echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
472 - echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
473 - echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
474 - echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
475 - echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
476 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
477 - insinto "/var/lib/${PN}/classpath"
478 - find "${WORKDIR}/${PN}-auth-ldap-${PV}/lib/" -name '*.jar' -exec doins '{}' +
479 - insinto "/usr/share/${PN}/schema"
480 - doins "${WORKDIR}/${PN}-auth-ldap-${PV}/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-${PV}/schema/guacConfigGroup.schema"
481 - elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
482 - elog "There is also an example .lidf file for creating the users."
483 - elog "-"
484 - else
485 - insinto "/etc/${PN}"
486 - doins "${WORKDIR}/${PN}-client-${PV}/${PN}/doc/example/user-mapping.xml"
487 - fi
488 - insinto "/etc/${PN}"
489 - doins "${S}/${PN}/doc/example/guacamole.properties"
490 - doins "${S}/${PN}/doc/example/user-mapping.xml"
491 - insinto "/var/lib/${PN}"
492 - newins "${S}/${PN}/target/${P}.war" "${PN}.war"
493 - elog "If it is an update, please make sure to delete the old webapp in /var/lib/tomcat-7/webapps/ first!"
494 - elog "To deploy guacamole with tomcat, you will need to link the war file and create the configuration!"
495 - elog "ln -sf /var/lib/${PN}/${PN}.war /var/lib/tomcat-7/webapps/ && mkdir /var/lib/tomcat-7/webapps/.${PN}"
496 - elog "You will also need to create a configuration in /var/lib/tomcat-7/webapps/.${PN}/${PN}.properties"
497 - elog "See http://guac-dev.org/doc/0.9.7/gug/configuring-guacamole.html#initial-setup for a basic setup"
498 - elog "or http://guac-dev.org/doc/0.9.7/gug/jdbc-auth.html for a database for authentication and host definitions."
499 -}
500
501 diff --git a/www-apps/guacamole/guacamole-0.9.8.ebuild b/www-apps/guacamole/guacamole-0.9.8.ebuild
502 deleted file mode 100644
503 index 9dd62ab6a65..00000000000
504 --- a/www-apps/guacamole/guacamole-0.9.8.ebuild
505 +++ /dev/null
506 @@ -1,125 +0,0 @@
507 -# Copyright 1999-2015 Gentoo Foundation
508 -# Distributed under the terms of the GNU General Public License v2
509 -
510 -EAPI=5
511 -
512 -inherit eutils
513 -DESCRIPTION="Guacamole is a html5 vnc client as servlet"
514 -HOMEPAGE="http://guac-dev.org/"
515 -SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
516 - mysql? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
517 - postgres? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
518 - noauth? ( https://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-noauth-${PV}.tar.gz )
519 - ldap? ( https://sourceforge.net/projects/guacamole/files/current/extensions/${PN}-auth-ldap-${PV}.tar.gz )"
520 -S="${WORKDIR}/${PN}-client-${PV}"
521 -
522 -LICENSE="MIT"
523 -
524 -SLOT="0"
525 -
526 -KEYWORDS="~x86 ~amd64"
527 -
528 -IUSE="ldap mysql postgres noauth"
529 -
530 -DEPEND="dev-java/maven-bin:*"
531 -
532 -RDEPEND="${DEPEND}
533 - www-servers/tomcat[websockets]
534 - >virtual/jre-1.6
535 - net-misc/guacamole-server
536 - mysql? ( virtual/mysql )
537 - postgres? ( dev-db/postgresql )
538 - ldap? ( net-nds/openldap )"
539 -
540 -src_compile() {
541 - mkdir "${HOME}"/.m2
542 - cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
543 - sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
544 - mvn -s "${S}"/settings.xml package
545 -}
546 -
547 -src_install() {
548 - echo guacd-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
549 - echo guacd-port: 4822 >>"${S}/${PN}/doc/example/${PN}.properties"
550 - echo basic-user-mapping: /etc/guacamole/user-mapping.xml >>"${S}/${PN}/doc/example/${PN}.properties"
551 - if use noauth; then
552 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
553 - echo noauth-config: /etc/guacamole/noauth-config.xml >>"${S}/${PN}/doc/example/${PN}.properties"
554 - insinto "/etc/${PN}/extensions"
555 - find "${WORKDIR}/${PN}-auth-noauth-${PV}/" -name '*.jar' -exec doins '{}' +
556 - insinto "/etc/guacamole"
557 - find "${WORKDIR}/${PN}-auth-noauth-${PV}/doc/example/" -name '*.xml' -exec doins '{}' +
558 - elog "Warning: Setting No Authentication is obviously very insecure! Only use it if you know what you are doing!"
559 - fi
560 - if use mysql; then
561 - echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
562 - echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
563 - echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
564 - echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
565 - echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
566 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
567 - insinto "/etc/${PN}/extensions"
568 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/" -name '*.jar' -exec doins '{}' +
569 - insinto "/usr/share/${PN}/schema"
570 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/schema/" -name '*.sql' -exec doins '{}' +
571 - insinto "/usr/share/${PN}/schema/upgrade"
572 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/schema/upgrade/" -name '*.sql' -exec doins '{}' +
573 - elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
574 - elog "If this is an update, then you will need to apply the appropriate update script in the location above."
575 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
576 - elog "The default user and it's password is \"guacadmin\"."
577 - elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
578 - elog "and put the contained .jar file into /etc/guacamole/lib!"
579 - elog "-"
580 - fi
581 - if use postgres; then
582 - echo postgresql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
583 - echo postgresql-port: 5432 >>"${S}/${PN}/doc/example/${PN}.properties"
584 - echo postgresql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
585 - echo postgresql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
586 - echo postgresql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
587 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
588 - insinto "/etc/${PN}/extensions"
589 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/" -name '*.jar' -exec doins '{}' +
590 - insinto "/usr/share/${PN}/schema"
591 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/schema/" -name '*.sql' -exec doins '{}' +
592 - insinto "/usr/share/${PN}/schema/upgrade"
593 - find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/schema/upgrade/" -name '*.sql' -exec doins '{}' +
594 - elog "Please add a postgresql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
595 - elog "If this is an update, then you will need to apply the appropriate update script in the location above."
596 - elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
597 - elog "The default user and it's password is \"guacadmin\"."
598 - elog "You will also need to download the postgresql-connector from here https://jdbc.postgresql.org/download.html#current"
599 - elog "and put the contained .jar file into /etc/guacamole/lib!"
600 - elog "-"
601 - fi
602 - if use ldap; then
603 - echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
604 - echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
605 - echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
606 - echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
607 - echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
608 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
609 - insinto "/etc/${PN}/extensions"
610 - find "${WORKDIR}/${PN}-auth-ldap-${PV}" -name '*.jar' -exec doins '{}' +
611 - insinto "/usr/share/${PN}/schema"
612 - doins "${WORKDIR}/${PN}-auth-ldap-${PV}/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-${PV}/schema/guacConfigGroup.schema"
613 - elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
614 - elog "There is also an example .lidf file for creating the users."
615 - elog "-"
616 - fi
617 - insinto "/etc/${PN}"
618 - doins "${WORKDIR}/${PN}-client-${PV}/${PN}/doc/example/user-mapping.xml"
619 - insinto "/etc/${PN}"
620 - doins "${S}/${PN}/doc/example/guacamole.properties"
621 - echo "GUACAMOLE_HOME=/etc/guacamole" >98guacamole
622 - doenvd 98guacamole
623 - insinto "/var/lib/${PN}"
624 - newins "${S}/${PN}/target/${P}.war" "${PN}.war"
625 - elog "If it is an update, please make sure to delete the old webapp in /var/lib/tomcat-7/webapps/ first!"
626 - elog "To deploy guacamole with tomcat, you will need to link the war file and create the configuration!"
627 - elog "ln -sf /var/lib/${PN}/${PN}.war /var/lib/tomcat-7/webapps/"
628 - elog "You will also need to adjust the configuration in /etc/${PN}/${PN}.properties"
629 - elog "See http://guac-dev.org/doc/${PV}/gug/configuring-guacamole.html#initial-setup for a basic setup"
630 - elog "or http://guac-dev.org/doc/${PV}/gug/jdbc-auth.html for a database for authentication and host definitions."
631 -}
632
633 diff --git a/www-apps/guacamole/guacamole-0.9.9.ebuild b/www-apps/guacamole/guacamole-0.9.9.ebuild
634 deleted file mode 100644
635 index 7d5b5095920..00000000000
636 --- a/www-apps/guacamole/guacamole-0.9.9.ebuild
637 +++ /dev/null
638 @@ -1,126 +0,0 @@
639 -# Copyright 1999-2016 Gentoo Foundation
640 -# Distributed under the terms of the GNU General Public License v2
641 -
642 -EAPI=5
643 -
644 -inherit eutils
645 -DESCRIPTION="Guacamole is a html5 vnc client as servlet"
646 -HOMEPAGE="http://guac-dev.org/"
647 -SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz"
648 -S="${WORKDIR}/${PN}-client-${PV}"
649 -
650 -LICENSE="MIT"
651 -
652 -SLOT="0"
653 -
654 -KEYWORDS="~x86 ~amd64"
655 -
656 -IUSE="ldap mysql noauth postgres"
657 -
658 -REQUIRED_USE="|| ( ldap mysql noauth postgres )"
659 -
660 -DEPEND="dev-java/maven-bin:*"
661 -
662 -RDEPEND="${DEPEND}
663 - || ( www-servers/tomcat:7[websockets] www-servers/tomcat )
664 - >virtual/jre-1.6
665 - net-misc/guacamole-server
666 - mysql? ( virtual/mysql dev-java/jdbc-mysql )
667 - postgres? ( dev-db/postgresql dev-java/jdbc-postgresql )
668 - ldap? ( net-nds/openldap )"
669 -
670 -src_compile() {
671 - mkdir "${HOME}"/.m2
672 - cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
673 - sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
674 - mvn -s "${S}"/settings.xml package
675 -}
676 -
677 -src_install() {
678 - echo guacd-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
679 - echo guacd-port: 4822 >>"${S}/${PN}/doc/example/${PN}.properties"
680 - echo basic-user-mapping: /etc/guacamole/user-mapping.xml >>"${S}/${PN}/doc/example/${PN}.properties"
681 - if use mysql || use postgres; then
682 - insinto "/etc/${PN}/extensions"
683 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-jdbc/modules/${PN}-auth-jdbc-base/" -name '*.jar' -exec doins '{}' +
684 - fi
685 - if use noauth; then
686 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
687 - echo noauth-config: /etc/guacamole/noauth-config.xml >>"${S}/${PN}/doc/example/${PN}.properties"
688 - insinto "/etc/${PN}/extensions"
689 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-noauth/" -name '*.jar' -exec doins '{}' +
690 - insinto "/etc/guacamole"
691 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-noauth/doc/example/" -name '*.xml' -exec doins '{}' +
692 - elog "Warning: Setting No Authentication is obviously very insecure! Only use it if you know what you are doing!"
693 - fi
694 - if use mysql; then
695 - echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
696 - echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
697 - echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
698 - echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
699 - echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
700 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
701 - insinto "/etc/${PN}/extensions"
702 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-jdbc/modules/${PN}-auth-jdbc-mysql/" -name '*.jar' -exec doins '{}' +
703 - insinto "/usr/share/${PN}/schema/mysql"
704 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-jdbc/modules/${PN}-auth-jdbc-mysql/schema/" -name '*.sql' -exec doins '{}' +
705 - elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
706 - elog "If this is an update, then you will need to apply the appropriate update script in the location above."
707 - elog "You will also need to adjust the DB properties in /etc/guacamole.properties!"
708 - elog "The default user and it's password is \"guacadmin\"."
709 - elog "You also have to enable jdbc-mysql in tomcat!"
710 - elog "For tomcat under openrc this can be done in /etc/conf.d/tomcat-7 with TOMCAT_EXTRA_JARS=jdbc-mysql"
711 - elog "Another way is to add /usr/share/jdbc-mysql/lib/jdbc-mysql.jar to the classpath."
712 - elog "-"
713 - fi
714 - if use postgres; then
715 - echo postgresql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
716 - echo postgresql-port: 5432 >>"${S}/${PN}/doc/example/${PN}.properties"
717 - echo postgresql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
718 - echo postgresql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
719 - echo postgresql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
720 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
721 - insinto "/etc/${PN}/extensions"
722 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-jdbc/modules/${PN}-auth-jdbc-postgresql/" -name '*.jar' -exec doins '{}' +
723 - insinto "/usr/share/${PN}/schema/postgres"
724 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-jdbc/modules/${PN}-auth-jdbc-postgresql/schema/" -name '*.sql' -exec doins '{}' +
725 - elog "Please add a postgresql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
726 - elog "If this is an update, then you will need to apply the appropriate update script in the location above."
727 - elog "You will also need to adjust the DB properties in /etc/guacamole.properties!"
728 - elog "The default user and it's password is \"guacadmin\"."
729 - elog "You also have to enable jdbc-postgresql in tomcat!"
730 - elog "For tomcat under openrc this can be done in /etc/conf.d/tomcat-7 with TOMCAT_EXTRA_JARS=jdbc-postgresql"
731 - elog "Another way is to add /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar to the classpath."
732 - elog "-"
733 - fi
734 - if use ldap; then
735 - echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
736 - echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
737 - echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
738 - echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
739 - echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
740 - sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
741 - insinto "/etc/${PN}/extensions"
742 - find "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-ldap" -name '*.jar' -exec doins '{}' +
743 - insinto "/usr/share/${PN}/schema"
744 - doins "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-ldap/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-client-${PV}/extensions/${PN}-auth-ldap/schema/guacConfigGroup.schema"
745 - elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
746 - elog "There is also an example .lidf file for creating the users."
747 - elog "-"
748 - fi
749 - insinto "/etc/${PN}"
750 - doins "${WORKDIR}/${PN}-client-${PV}/${PN}/doc/example/user-mapping.xml"
751 - insinto "/etc/${PN}"
752 - doins "${S}/${PN}/doc/example/guacamole.properties"
753 - echo "GUACAMOLE_HOME=/etc/guacamole" >98guacamole
754 - doenvd 98guacamole
755 - insinto "/var/lib/${PN}"
756 - newins "${S}/${PN}/target/${P}.war" "${PN}.war"
757 - elog "If it is an update, please make sure to delete the old webapp in /var/lib/tomcat-8/webapps/ first!"
758 - elog "To deploy guacamole with tomcat, you will need to link the war file and create the configuration!"
759 - elog "ln -sf /var/lib/${PN}/${PN}.war /var/lib/tomcat-8/webapps/"
760 - elog "You will also need to adjust the configuration in /etc/${PN}/${PN}.properties"
761 - elog "With systemd make sure that the var GUACAMOLE_HOME is set to /etc/guacamole. for example via /etc/conf/tomcat."
762 - elog "See http://guac-dev.org/doc/${PV}/gug/configuring-guacamole.html#initial-setup for a basic setup"
763 - elog "or http://guac-dev.org/doc/${PV}/gug/jdbc-auth.html for a database for authentication and host definitions."
764 -}
765
766 diff --git a/www-apps/guacamole/metadata.xml b/www-apps/guacamole/metadata.xml
767 deleted file mode 100644
768 index 19457e20ff5..00000000000
769 --- a/www-apps/guacamole/metadata.xml
770 +++ /dev/null
771 @@ -1,22 +0,0 @@
772 -<?xml version="1.0" encoding="UTF-8"?>
773 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
774 -<pkgmetadata>
775 - <maintainer type="person">
776 - <email>nativemad@g.o</email>
777 - <name>Andreas Schuerch</name>
778 - </maintainer>
779 - <longdescription>
780 - Guacamole is an HTML5 web application that provides access to desktop
781 - environments using remote desktop protocols such as VNC or RDP.
782 - A centralized server acts as a tunnel and proxy, allowing access to
783 - multiple desktops through a web browser. No plugins are needed:
784 - the client requires nothing more than a web browser supporting
785 - HTML5 and AJAX.
786 - </longdescription>
787 - <use>
788 - <flag name="noauth">enable support for leaving out any authentication on the webinterface</flag>
789 - </use>
790 - <upstream>
791 - <remote-id type="sourceforge">guacamole</remote-id>
792 - </upstream>
793 -</pkgmetadata>