Skip to content

Commit

Permalink
BSim: Update PostgreSQL (15.3->17.0) to fix SSL errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gemesa committed Oct 23, 2024
1 parent 64b70d8 commit 2d6ec1f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Ghidra/Features/BSim/Module.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##MODULE IP: Oxygen Icons - LGPL 3.0
MODULE FILE LICENSE: postgresql-15.3.tar.gz Postgresql License
MODULE FILE LICENSE: postgresql-17.0.tar.gz Postgresql License
MODULE FILE LICENSE: lib/postgresql-42.6.2.jar PostgresqlJDBC License
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
Expand Down
2 changes: 1 addition & 1 deletion Ghidra/Features/BSim/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import java.nio.file.Files
import 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-17.0.tar.gz"

dependencies {
api project(":Decompiler")
Expand Down
6 changes: 3 additions & 3 deletions Ghidra/Features/BSim/make-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
# 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-17.0.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/v17.0
#
# Within development environments, this script will first check the
# ghidra.bin repo for this source file.
Expand All @@ -46,7 +46,7 @@
#
#

POSTGRES=postgresql-15.3
POSTGRES=postgresql-17.0
POSTGRES_GZ=${POSTGRES}.tar.gz
POSTGRES_CONFIG_OPTIONS="--disable-rpath --with-openssl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ <H4 class="title"><A name="PostBuild"></A>Building the Server</H4>
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
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-17.0.tar.gz</CODE>, can be obtained from the PostgreSQL
website 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/v17.0
</CODE></TD>
</TR>
</TABLE>
Expand All @@ -122,12 +122,12 @@ <H4 class="title"><A name="PostBuild"></A>Building the Server</H4>
<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-17.0.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-17.0.tar.gz
</CODE></TD>
</TR>
</TABLE>
Expand Down
6 changes: 3 additions & 3 deletions gradle/support/fetchDependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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-17.0.tar.gz",
url: "https://ftp.postgresql.org/pub/source/v17.0/postgresql-17.0.tar.gz",
sha256: "bf81c0c5161e456a886ede5f1f4133f43af000637e377156a02e7e83569081ad",
destination: file("${DEPS_DIR}/BSim")
],
[
Expand Down

0 comments on commit 2d6ec1f

Please sign in to comment.