Ghidra is a software reverse engineering (SRE) framework
GP-5212 Updated to postgresql server 15.10 and JDBC driver 42.7.3
ghidra17cc781a59ceb
diff --git a/Ghidra/Features/BSim/Module.manifest b/Ghidra/Features/BSim/Module.manifestindex 60e6f9f424..455bebee67 100755--- a/Ghidra/Features/BSim/Module.manifest+++ b/Ghidra/Features/BSim/Module.manifest@@ -1,6 +1,6 @@##MODULE IP: Oxygen Icons - LGPL 3.0-MODULE FILE LICENSE: postgresql-15.3.tar.gz Postgresql License-MODULE FILE LICENSE: lib/postgresql-42.6.2.jar PostgresqlJDBC License+MODULE FILE LICENSE: postgresql-15.10.tar.gz Postgresql License+MODULE FILE LICENSE: lib/postgresql-42.7.3.jar PostgresqlJDBC LicenseMODULE FILE LICENSE: lib/json-simple-1.1.1.jar Apache License 2.0MODULE FILE LICENSE: lib/commons-dbcp2-2.9.0.jar Apache License 2.0MODULE FILE LICENSE: lib/commons-pool2-2.11.1.jar Apache License 2.0diff --git a/Ghidra/Features/BSim/build.gradle b/Ghidra/Features/BSim/build.gradleindex f573ad83d9..4b2a368579 100755--- a/Ghidra/Features/BSim/build.gradle+++ b/Ghidra/Features/BSim/build.gradle@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -26,13 +26,13 @@ import java.nio.file.Filesimport org.gradle.util.GUtil// NOTE: fetchDependencies.gradle must be updated if postgresql version changes-def postgresql_distro = "postgresql-15.3.tar.gz"+def postgresql_distro = "postgresql-15.10.tar.gz"dependencies {api project(":Decompiler")api project(":CodeCompare")- api "org.postgresql:postgresql:42.6.2"+ api "org.postgresql:postgresql:42.7.3"api "com.googlecode.json-simple:json-simple:1.1.1"api "org.apache.commons:commons-dbcp2:2.9.0"api "org.apache.commons:commons-pool2:2.11.1"diff --git a/Ghidra/Features/BSim/make-postgres.sh b/Ghidra/Features/BSim/make-postgres.shindex 9bdf7898b4..8ed4c91306 100755--- a/Ghidra/Features/BSim/make-postgres.sh+++ b/Ghidra/Features/BSim/make-postgres.sh@@ -1,28 +1,28 @@#!/bin/bash## ###-# IP: GHIDRA-#-# Licensed under the Apache License, Version 2.0 (the "License");-# you may not use this file except in compliance with the License.-# You may obtain a copy of the License at-#-# http://www.apache.org/licenses/LICENSE-2.0-#-# Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an "AS IS" BASIS,-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-# See the License for the specific language governing permissions and-# limitations under the License.+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.#### This script builds the postgresql server and BSim extension within a# GHIDRA installation.#-# The PostgreSQL source distribution file postgresql-15.3.tar.gz must+# The PostgreSQL source distribution file postgresql-15.10.tar.gz must# be placed in the BSim module directory prior to running this script.# This file can be downloaded directly from the PostgreSQL website at:#-# https://www.postgresql.org/ftp/source/v15.3+# https://www.postgresql.org/ftp/source/v15.10## Within development environments, this script will first check the# ghidra.bin repo for this source file.@@ -46,7 +46,7 @@##-POSTGRES=postgresql-15.3+POSTGRES=postgresql-15.10POSTGRES_GZ=${POSTGRES}.tar.gzPOSTGRES_CONFIG_OPTIONS="--disable-rpath --with-openssl"diff --git a/Ghidra/Features/BSim/src/main/help/help/topics/BSim/DatabaseConfiguration.html b/Ghidra/Features/BSim/src/main/help/help/topics/BSim/DatabaseConfiguration.htmlindex 9509130c56..4f5ac27aad 100644--- a/Ghidra/Features/BSim/src/main/help/help/topics/BSim/DatabaseConfiguration.html+++ b/Ghidra/Features/BSim/src/main/help/help/topics/BSim/DatabaseConfiguration.html@@ -107,13 +107,13 @@in the module directory <CODE>Ghidra/Features/BSim</CODE> that builds both the PostgreSQLserver and the BSim extension from source and prepares the installation for use withGhidra. If not already included in the Ghidra installation, the source distribution- file, currently <CODE>postgresql-15.3.tar.gz</CODE>, can be obtained from the PostgreSQL+ file, currently <CODE>postgresql-15.10.tar.gz</CODE>, can be obtained from the PostgreSQLwebsite at </P><DIV class="informalexample"><TABLE border="0" summary="Simple list" class="simplelist"><TR>- <TD><CODE class="computeroutput">https://www.postgresql.org/ftp/source/v15.3+ <TD><CODE class="computeroutput">https://www.postgresql.org/ftp/source/v15.10</CODE></TD></TR></TABLE>@@ -122,12 +122,12 @@<P>The steps to build the PostgreSQL server with the BSim extension then are:</P><P>1) If not already present, place the PostgreSQL source distribution file- <CODE>postgresql-15.3.tar.gz</CODE> in the Ghidra installation at</P>+ <CODE>postgresql-15.10.tar.gz</CODE> in the Ghidra installation at</P><DIV class="informalexample"><TABLE border="0" summary="Simple list" class="simplelist"><TR>- <TD><CODE class="computeroutput">$(ROOT)/Ghidra/Features/BSim/postgresql-15.3.tar.gz+ <TD><CODE class="computeroutput">$(ROOT)/Ghidra/Features/BSim/postgresql-15.10.tar.gz</CODE></TD></TR></TABLE>diff --git a/gradle/support/fetchDependencies.gradle b/gradle/support/fetchDependencies.gradleindex 9ee0b539ce..559326cdce 100644--- a/gradle/support/fetchDependencies.gradle+++ b/gradle/support/fetchDependencies.gradle@@ -89,9 +89,9 @@ ext.deps = [destination: file("${DEPS_DIR}/GhidraServer")],[- name: "postgresql-15.3.tar.gz",- url: "https://ftp.postgresql.org/pub/source/v15.3/postgresql-15.3.tar.gz",- sha256: "086d38533e28747966a4d5f1e78ea432e33a78f21dcb9133010ecb5189fad98c",+ name: "postgresql-15.10.tar.gz",+ url: "https://ftp.postgresql.org/pub/source/v15.10/postgresql-15.10.tar.gz",+ sha256: "173366605259a83dc189c4327ff4c37254afed65b4f866cbd8a5ef2ea449e8f3",destination: file("${DEPS_DIR}/BSim")],[diff --git a/licenses/Postgresql_License.txt b/licenses/Postgresql_License.txtindex 1681966945..548f346f46 100644--- a/licenses/Postgresql_License.txt+++ b/licenses/Postgresql_License.txt@@ -1,7 +1,7 @@PostgreSQL Database Management System(formerly known as Postgres, then as Postgres95)-Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group+Portions Copyright (c) 1996-2024, PostgreSQL Global Development GroupPortions Copyright (c) 1994, The Regents of the University of California