public inbox for [email protected]
help / color / mirror / Atom feedFrom: Khushboo Vashi <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAmin4][Patch] - Kerberos support for Windows Installer
Date: Thu, 21 Jan 2021 12:40:55 +0530
Message-ID: <CAFOhELd8YNNq5Ot-qUD0QOP_Of=iKadaTrC9trJVLENttErGsg@mail.gmail.com> (raw)
Hi,
Please find the attached patch to add the Kerberos support in the Windows
installer script.
Thanks,
Khushboo
Attachments:
[application/octet-stream] Kerberos_win_dep.patch (2.0K, 3-Kerberos_win_dep.patch)
download | inline diff:
diff --git a/Make.bat b/Make.bat
index b5d2901c1..5a8a686c8 100644
--- a/Make.bat
+++ b/Make.bat
@@ -55,6 +55,7 @@ REM Main build sequence Ends
ECHO Configuring the environment...
IF "%PGADMIN_PYTHON_DIR%" == "" SET "PGADMIN_PYTHON_DIR=C:\Python38"
IF "%PGADMIN_QT_DIR%" == "" SET "PGADMIN_QT_DIR=C:\Qt\5.14.2\msvc2017_64"
+ IF "%PGADMIN_KRB5_DIR%" == "" SET "PGADMIN_KRB5_DIR=C:\Program Files\MIT\Kerberos"
IF "%PGADMIN_POSTGRES_DIR%" == "" SET "PGADMIN_POSTGRES_DIR=C:\Program Files (x86)\PostgreSQL\12"
IF "%PGADMIN_INNOTOOL_DIR%" == "" SET "PGADMIN_INNOTOOL_DIR=C:\Program Files (x86)\Inno Setup 6"
IF "%PGADMIN_VCREDIST_DIR%" == "" SET "PGADMIN_VCREDIST_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Redist\MSVC\14.16.27012"
@@ -97,6 +98,7 @@ REM Main build sequence Ends
ECHO Python version: %PYTHON_MAJOR%.%PYTHON_MINOR%
ECHO.
ECHO Qt directory: %PGADMIN_QT_DIR%
+ ECHO KRB5 directory: %PGADMIN_KRB5_DIR%
ECHO PostgreSQL directory: %PGADMIN_POSTGRES_DIR%
ECHO.
ECHO VC++ redist directory: %PGADMIN_VCREDIST_DIR%
@@ -268,6 +270,15 @@ REM Main build sequence Ends
ECHO [Paths] > "%BUILDROOT%\runtime\qt.conf"
ECHO Plugins=plugins >> "%BUILDROOT%\runtime\qt.conf"
+ ECHO Staging Kerberos components...
+ IF "%ARCHITECTURE%" == "x64" (
+ COPY "%PGADMIN_KRB5_DIR%\bin\GSSAPI64.dll" "%BUILDROOT%\runtime" > nul || EXIT /B 1
+ COPY "%PGADMIN_KRB5_DIR%\bin\KRB5_64.dll" "%BUILDROOT%\runtime" > nul || EXIT /B 1
+ COPY "%PGADMIN_KRB5_DIR%\bin\COMERR64.dll" "%BUILDROOT%\runtime" > nul || EXIT /B 1
+ COPY "%PGADMIN_KRB5_DIR%\bin\K5SPRT64.dll" "%BUILDROOT%\runtime" > nul || EXIT /B 1
+ COPY "%PGADMIN_KRB5_DIR%\bin\WSHELP64.dll" "%BUILDROOT%\runtime" > nul || EXIT /B 1
+ )
+
ECHO Staging PostgreSQL components...
COPY "%PGADMIN_POSTGRES_DIR%\bin\libpq.dll" "%BUILDROOT%\runtime" > nul || EXIT /B 1
IF "%ARCHITECTURE%" == "x64" (
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAmin4][Patch] - Kerberos support for Windows Installer
In-Reply-To: <CAFOhELd8YNNq5Ot-qUD0QOP_Of=iKadaTrC9trJVLENttErGsg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox