mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Bump Guacamole to Debian 13 (#8010)
This commit is contained in:
		@@ -11,7 +11,7 @@ var_disk="${var_disk:-4}"
 | 
				
			|||||||
var_cpu="${var_cpu:-1}"
 | 
					var_cpu="${var_cpu:-1}"
 | 
				
			||||||
var_ram="${var_ram:-2048}"
 | 
					var_ram="${var_ram:-2048}"
 | 
				
			||||||
var_os="${var_os:-debian}"
 | 
					var_os="${var_os:-debian}"
 | 
				
			||||||
var_version="${var_version:-12}"
 | 
					var_version="${var_version:-13}"
 | 
				
			||||||
var_unprivileged="${var_unprivileged:-1}"
 | 
					var_unprivileged="${var_unprivileged:-1}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
header_info "$APP"
 | 
					header_info "$APP"
 | 
				
			||||||
@@ -38,4 +38,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/guacamole${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/guacamole${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,7 +23,7 @@
 | 
				
			|||||||
        "ram": 2048,
 | 
					        "ram": 2048,
 | 
				
			||||||
        "hdd": 4,
 | 
					        "hdd": 4,
 | 
				
			||||||
        "os": "debian",
 | 
					        "os": "debian",
 | 
				
			||||||
        "version": "12"
 | 
					        "version": "13"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@ network_check
 | 
				
			|||||||
update_os
 | 
					update_os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Dependencies"
 | 
					msg_info "Installing Dependencies"
 | 
				
			||||||
$STD apt-get install -y \
 | 
					$STD apt install -y \
 | 
				
			||||||
  build-essential \
 | 
					  build-essential \
 | 
				
			||||||
  jq \
 | 
					  jq \
 | 
				
			||||||
  libcairo2-dev \
 | 
					  libcairo2-dev \
 | 
				
			||||||
@@ -22,7 +22,7 @@ $STD apt-get install -y \
 | 
				
			|||||||
  libtool-bin \
 | 
					  libtool-bin \
 | 
				
			||||||
  libossp-uuid-dev \
 | 
					  libossp-uuid-dev \
 | 
				
			||||||
  libvncserver-dev \
 | 
					  libvncserver-dev \
 | 
				
			||||||
  freerdp2-dev \
 | 
					  freerdp3-dev \
 | 
				
			||||||
  libssh2-1-dev \
 | 
					  libssh2-1-dev \
 | 
				
			||||||
  libtelnet-dev \
 | 
					  libtelnet-dev \
 | 
				
			||||||
  libwebsockets-dev \
 | 
					  libwebsockets-dev \
 | 
				
			||||||
@@ -56,8 +56,9 @@ mkdir -p /etc/guacamole/{extensions,lib}
 | 
				
			|||||||
RELEASE_SERVER=$(curl -fsSL https://api.github.com/repos/apache/guacamole-server/tags | jq -r '.[].name' | grep -v -- '-RC' | head -n 1)
 | 
					RELEASE_SERVER=$(curl -fsSL https://api.github.com/repos/apache/guacamole-server/tags | jq -r '.[].name' | grep -v -- '-RC' | head -n 1)
 | 
				
			||||||
curl -fsSL "https://api.github.com/repos/apache/guacamole-server/tarball/refs/tags/${RELEASE_SERVER}" | tar -xz --strip-components=1 -C /opt/apache-guacamole/server
 | 
					curl -fsSL "https://api.github.com/repos/apache/guacamole-server/tarball/refs/tags/${RELEASE_SERVER}" | tar -xz --strip-components=1 -C /opt/apache-guacamole/server
 | 
				
			||||||
cd /opt/apache-guacamole/server
 | 
					cd /opt/apache-guacamole/server
 | 
				
			||||||
 | 
					export CPPFLAGS="-Wno-error=deprecated-declarations"
 | 
				
			||||||
$STD autoreconf -fi
 | 
					$STD autoreconf -fi
 | 
				
			||||||
$STD ./configure --with-init-dir=/etc/init.d --enable-allow-freerdp-snapshots
 | 
					$STD ./configure --with-init-dir=/etc/init.d --enable-allow-freerdp-snapshots --disable-guaclog
 | 
				
			||||||
$STD make
 | 
					$STD make
 | 
				
			||||||
$STD make install
 | 
					$STD make install
 | 
				
			||||||
$STD ldconfig
 | 
					$STD ldconfig
 | 
				
			||||||
@@ -149,6 +150,6 @@ customize
 | 
				
			|||||||
msg_info "Cleaning up"
 | 
					msg_info "Cleaning up"
 | 
				
			||||||
rm -rf ~/mysql-connector-j-9.3.0{,.tar.gz}
 | 
					rm -rf ~/mysql-connector-j-9.3.0{,.tar.gz}
 | 
				
			||||||
rm -rf ~/guacamole-auth-jdbc-$RELEASE_SERVER{,.tar.gz}
 | 
					rm -rf ~/guacamole-auth-jdbc-$RELEASE_SERVER{,.tar.gz}
 | 
				
			||||||
$STD apt-get -y autoremove
 | 
					$STD apt -y autoremove
 | 
				
			||||||
$STD apt-get -y autoclean
 | 
					$STD apt -y autoclean
 | 
				
			||||||
msg_ok "Cleaned"
 | 
					msg_ok "Cleaned"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user