Commit Graph

48 Commits

Author SHA1 Message Date
Akshay Joshi
227f047810 Revert last commit as attr not working. 2024-06-24 19:08:33 +05:30
Khushboo Vashi
95ce9e976e Set the pgAdmin executable file permissions to 755 for the web rpm build. 2024-06-24 18:20:19 +05:30
Khushboo Vashi
4a645343a9 Give the proper file/directory permissions to the pgAdmin installation directory on RHEL-8. This is the only platform that has write permission for the executable files after installation which is fixed. 2024-06-24 17:09:28 +05:30
Khushboo Vashi
a60cbf00c8 Do not change the file permission for the Redhat installation directory. 2024-06-20 17:11:23 +05:30
Khushboo Vashi
2b45a1f7d5 Fix Redhat installation directory permission. 2024-06-20 10:39:24 +05:30
Khushboo Vashi
ac50b4d80b Another attempt to fix rpm build failure for SBOM. 2023-08-04 15:37:13 +05:30
Khushboo Vashi
2c4b479f50 Fix the rpm build failure for SBOM. 2023-08-04 15:05:06 +05:30
Khushboo Vashi
48bfc66048 Generate software bill of materials as part of the package builds. #3702 2023-08-03 16:08:59 +05:30
Akshay Joshi
290e160e13 Added backslash to quote $ variable substitution in preinst script. 2023-04-11 10:42:19 +05:30
Akshay Joshi
af13d6da16 One more attempt to fix preinst script for RPM and Debian 2023-04-10 19:36:29 +05:30
Akshay Joshi
6b31fc4552 Change the logic to prevent the config_local.py from deletion on RPM and Debian. 2023-04-10 16:56:55 +05:30
Akshay Joshi
96450fee63 Prevent deletion of 'config_local.py' for RPM and Debian 2023-04-06 19:15:01 +05:30
Akshay Joshi
fdf7a459eb Added pre-installation steps to remove venv and web folder for RPM and Debian. 2023-04-04 18:28:59 +05:30
Khushboo Vashi
01ef5c664f Make sure pgadmin4-server package pulls libpq5 instead of libpq. 2023-03-30 16:05:03 +05:30
Ashesh Vashi
c78904501d 1) Correct the name of the python binary to use with mod_wsgi.
2) Remove logic for Ubuntu 18 as we remove the support for it.
2023-03-28 11:20:04 +05:30
Akshay Joshi
f9fee9103b
Use correct python binary for Ubuntu 18 and EL-8. 2023-03-17 17:47:53 +05:30
Khushboo Vashi
89a2e427f3 Added libpq5 and libpq5-dev to the Redhat build script. 2023-02-28 17:58:58 +05:30
Dave Page
c53c966222
Revert to using postgresql-libs
The libpq5 package currently has a dependency on libzstd, which is only in EPEL on EL7.
Use postgresql-libs instead for now. 
We need to change this back to libpq5 if/when the RPM is fixed, so we can include the -devel package.
2023-01-06 09:33:03 +00:00
Dave Page
94d6b85d72
Include libpq development packages in the repos. (#5667)
While we're at it:
- Automatically find the latest PostgreSQL installation on EL/Fedora
- Use libpq5 on EL/Fedora, not postgresql-libs.

Fixes #5650
2022-12-22 16:51:21 +05:30
Dave Page
45aa274a9e Fix path. 2022-12-15 10:45:54 +00:00
Dave Page
8ecdfb4298 We should be using PostgreSQL 15 libs. 2022-12-15 10:31:46 +00:00
Dave Page
626681c5ba Yet more Sonarqube fixes. 2022-08-10 17:01:31 +01:00
Dave Page
5e4d3cc535 More sonarqube fixes for Linux 2022-08-10 11:34:40 +01:00
Dave Page
f6e7221359 Remove unnecessary variable. 2022-08-10 10:44:06 +01:00
Dave Page
0747329575 Don't strip binaries when packaging them in the server RPM as this might break cpython modules.
Fixes #7231
2022-04-08 15:27:34 +01:00
Dave Page
f8df935404 Disable RPATH checking, as it will fail with some of the paths in the Python virtualenv, in particular Pillow.libs. 2022-03-01 13:55:00 +00:00
Khushboo Vashi
0fa4609220 1) Fixed API test cases for Utilities.
2) Try to fix Jenkins build for __pycache__.
2022-02-14 17:26:27 +05:30
Dave Page
c8109beaa7 Fix a couple of places missed in the mod_wsgi update. 2021-12-13 10:29:01 +00:00
Dave Page
42d2a18b91 Fix a couple of places missed in the mod_wsgi update. 2021-12-13 10:28:13 +00:00
Dave Page
43176a8c6f Don't generate build-id links in RPMs. Fixes #7013
We don't ship debuginfo RPMs so they're of no use, and can cause conflicts.
2021-11-23 10:57:20 +00:00
Akshay Joshi
7d5668141d Updated PostgreSQL version from 13 to 14, to get the latest utility files. 2021-10-04 16:12:45 +05:30
Dave Page
0c20466f2c Assume yes to prompts. 2021-08-19 17:09:58 +01:00
Dave Page
649ca2eeac Make the error messages on exit show something useful. 2021-05-04 14:12:13 +01:00
Akshay Joshi
c1ba645dce 'xdg-util' has been added to the server mode instead of desktop mode in the previous patch, corrected it.
refs #6338
2021-04-02 14:01:17 +05:30
Fahar Abbas
811ac6eb6c Added missing dependency 'xdg-utils' for the desktop packages in RPM and Debian. Fixes #6338 2021-04-02 13:53:05 +05:30
Dave Page
9c69c1a277 Mark the Apache HTTPD config file as such in the web DEB and RPM packages. Fixes #6356 2021-03-29 10:35:50 +01:00
Dave Page
df7de2ef71 Ensure RPMs & DEBs depend on matching versions of each other. Fixes #6250 2021-02-19 10:09:41 +00:00
Akshay Joshi
102ffd141c Implemented runtime using NWjs to open pgAdmin4 in a standalone window
instead of the system tray and web browser. Used NWjs to get rid of QT
and C++. Fixes #5967

Use cheroot as the default production server for pgAdmin4. Fixes #5017
2021-01-29 13:38:27 +05:30
Khushboo Vashi
c71315f8cd 1) Added RPM/DEB dependency for Kerberos to the server package.
2) Handle the OSError while importing the gssapi, it fixes the Windows error.

refs #5457
2021-01-20 18:09:07 +05:30
Khushboo Vashi
c0ef0a893d 1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457
2) Fixed incorrect log information for AUTHENTICATION_SOURCES. Fixes #5829
2021-01-18 16:32:10 +05:30
Dave Page
3f817494f8 Use PostgreSQL 13 libs. 2020-09-30 09:49:59 +01:00
Dave Page
4a0efc0e86 Fix message. 2020-06-02 13:19:46 +01:00
Dave Page
9e67a0b0e7 Include postgresql-libs in our Yum repos. 2020-06-02 11:30:07 +01:00
Dave Page
60a0b66414 Conflict with postgresql-libs 9.2 and below as there won't be a suitable libpq.
Per discussion with Devrim.
2020-06-01 09:42:18 +01:00
Dave Page
ccb39bea1a Require postgresql >= 9.5, and don't bother with Recommends. Per discussion with Devrim. 2020-05-28 16:26:44 +01:00
Dave Page
becb453e7d Use the correct architecture for web packages on Redhat. 2020-03-20 15:48:00 +00:00
Dave Page
8812a7db69 Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
Dave Page
f156696339 Add support for building RHEL/CentOS 8 RPMs. 2020-03-18 08:51:11 -04:00