Merge remote-tracking branch 'origin/GP-5212_ghidra1_PostgresqlUpdate'

into patch (Closes #7084, Closes #6115)
This commit is contained in:
ghidra1 2024-12-20 18:20:52 -05:00
commit ff2dab8b15
6 changed files with 30 additions and 30 deletions

View file

@ -1,6 +1,6 @@
##MODULE IP: Oxygen Icons - LGPL 3.0 ##MODULE IP: Oxygen Icons - LGPL 3.0
MODULE FILE LICENSE: postgresql-15.3.tar.gz Postgresql License MODULE FILE LICENSE: postgresql-15.10.tar.gz Postgresql License
MODULE FILE LICENSE: lib/postgresql-42.6.2.jar PostgresqlJDBC License MODULE FILE LICENSE: lib/postgresql-42.7.3.jar PostgresqlJDBC License
MODULE FILE LICENSE: lib/json-simple-1.1.1.jar Apache License 2.0 MODULE FILE LICENSE: lib/json-simple-1.1.1.jar Apache License 2.0
MODULE FILE LICENSE: lib/commons-dbcp2-2.9.0.jar Apache License 2.0 MODULE FILE LICENSE: lib/commons-dbcp2-2.9.0.jar Apache License 2.0
MODULE FILE LICENSE: lib/commons-pool2-2.11.1.jar Apache License 2.0 MODULE FILE LICENSE: lib/commons-pool2-2.11.1.jar Apache License 2.0

View file

@ -26,13 +26,13 @@ import java.nio.file.Files
import org.gradle.util.GUtil import org.gradle.util.GUtil
// NOTE: fetchDependencies.gradle must be updated if postgresql version changes // 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 { dependencies {
api project(":Decompiler") api project(":Decompiler")
api project(":CodeCompare") 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 "com.googlecode.json-simple:json-simple:1.1.1"
api "org.apache.commons:commons-dbcp2:2.9.0" api "org.apache.commons:commons-dbcp2:2.9.0"
api "org.apache.commons:commons-pool2:2.11.1" api "org.apache.commons:commons-pool2:2.11.1"

View file

@ -1,28 +1,28 @@
#!/bin/bash #!/bin/bash
## ### ## ###
# IP: GHIDRA # IP: GHIDRA
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
## ##
# #
# This script builds the postgresql server and BSim extension within a # This script builds the postgresql server and BSim extension within a
# GHIDRA installation. # 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. # be placed in the BSim module directory prior to running this script.
# This file can be downloaded directly from the PostgreSQL website at: # 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 # Within development environments, this script will first check the
# ghidra.bin repo for this source file. # ghidra.bin repo for this source file.
@ -46,7 +46,7 @@
# #
# #
POSTGRES=postgresql-15.3 POSTGRES=postgresql-15.10
POSTGRES_GZ=${POSTGRES}.tar.gz POSTGRES_GZ=${POSTGRES}.tar.gz
POSTGRES_CONFIG_OPTIONS="--disable-rpath --with-openssl" POSTGRES_CONFIG_OPTIONS="--disable-rpath --with-openssl"

View file

@ -107,13 +107,13 @@
in the module directory <CODE>Ghidra/Features/BSim</CODE> that builds both the PostgreSQL in the module directory <CODE>Ghidra/Features/BSim</CODE> that builds both the PostgreSQL
server and the BSim extension from source and prepares the installation for use with server and the BSim extension from source and prepares the installation for use with
Ghidra. If not already included in the Ghidra installation, the source distribution Ghidra. 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 PostgreSQL
website at </P> website at </P>
<DIV class="informalexample"> <DIV class="informalexample">
<TABLE border="0" summary="Simple list" class="simplelist"> <TABLE border="0" summary="Simple list" class="simplelist">
<TR> <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> </CODE></TD>
</TR> </TR>
</TABLE> </TABLE>
@ -122,12 +122,12 @@
<P>The steps to build the PostgreSQL server with the BSim extension then are:</P> <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 <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"> <DIV class="informalexample">
<TABLE border="0" summary="Simple list" class="simplelist"> <TABLE border="0" summary="Simple list" class="simplelist">
<TR> <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> </CODE></TD>
</TR> </TR>
</TABLE> </TABLE>

View file

@ -89,9 +89,9 @@ ext.deps = [
destination: file("${DEPS_DIR}/GhidraServer") destination: file("${DEPS_DIR}/GhidraServer")
], ],
[ [
name: "postgresql-15.3.tar.gz", name: "postgresql-15.10.tar.gz",
url: "https://ftp.postgresql.org/pub/source/v15.3/postgresql-15.3.tar.gz", url: "https://ftp.postgresql.org/pub/source/v15.10/postgresql-15.10.tar.gz",
sha256: "086d38533e28747966a4d5f1e78ea432e33a78f21dcb9133010ecb5189fad98c", sha256: "173366605259a83dc189c4327ff4c37254afed65b4f866cbd8a5ef2ea449e8f3",
destination: file("${DEPS_DIR}/BSim") destination: file("${DEPS_DIR}/BSim")
], ],
[ [

View file

@ -1,7 +1,7 @@
PostgreSQL Database Management System PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95) (formerly known as Postgres, then as Postgres95)
Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
Portions Copyright (c) 1994, The Regents of the University of California Portions Copyright (c) 1994, The Regents of the University of California