Skip to content

Commit

Permalink
[#475] Remove description for RHEL 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperpedersen committed Oct 2, 2024
1 parent d613484 commit 091bdeb
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 197 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ See [Architecture](./doc/ARCHITECTURE.md) for the architecture of [**pgagroal**]

## Tested platforms

* [Fedora](https://getfedora.org/) 28+
* [RHEL](https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux) 7.x with
[EPEL](https://access.redhat.com/solutions/3358) and
[DevTools](https://developers.redhat.com/products/developertoolset/overview) 8+
* [RHEL](https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux) 8.x with
[AppStream](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/installing_managing_and_removing_user-space_components/using-appstream_using-appstream)
* [Fedora](https://getfedora.org/) 38+
* [RHEL 9.x](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9)
* [Rocky Linux 9.x](https://rockylinux.org/)

* [FreeBSD](https://www.freebsd.org/)
* [OpenBSD](http://www.openbsd.org/)
Expand Down
21 changes: 1 addition & 20 deletions doc/manual/02-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,6 @@ dnf install -y pgagroal
* [PostgreSQL YUM](https://yum.postgresql.org/howto/)
* [Linux downloads](https://www.postgresql.org/download/linux/redhat/)

## RHEL 8 / RockyLinux 8

```
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
```

and do the install via

```
dnf install -y pgagroal
```

## RHEL 9 / RockyLinux 9

```
Expand Down Expand Up @@ -96,15 +83,9 @@ Then install the EPEL repository,
dnf install epel-release
```

Then to enable powertools
Then to enable CodeReady Builder

``` sh
# On RHEL 8 / Rocky 8
dnf config-manager --set-enabled codeready-builder-for-rhel-8-rhui-rpms
dnf config-manager --set-enabled powertools
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

# On RHEL 9 / Rocky 9, PowerTools is called crb (CodeReady Builder)
dnf config-manager --set-enabled codeready-builder-for-rhel-9-rhui-rpms
dnf config-manager --set-enabled crb
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Expand Down
4 changes: 0 additions & 4 deletions src/libpgagroal/management.c
Original file line number Diff line number Diff line change
Expand Up @@ -1776,13 +1776,9 @@ write_ssl(SSL* ssl, void* buf, size_t size)
case SSL_ERROR_WANT_ACCEPT:
case SSL_ERROR_WANT_X509_LOOKUP:
#ifndef HAVE_OPENBSD
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
case SSL_ERROR_WANT_ASYNC:
case SSL_ERROR_WANT_ASYNC_JOB:
#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
case SSL_ERROR_WANT_CLIENT_HELLO_CB:
#endif
#endif
#endif
errno = 0;
keep_write = true;
Expand Down
8 changes: 0 additions & 8 deletions src/libpgagroal/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,13 +1402,9 @@ ssl_read_message(SSL* ssl, int timeout, struct message** msg)
case SSL_ERROR_WANT_ACCEPT:
case SSL_ERROR_WANT_X509_LOOKUP:
#ifndef HAVE_OPENBSD
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
case SSL_ERROR_WANT_ASYNC:
case SSL_ERROR_WANT_ASYNC_JOB:
#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
case SSL_ERROR_WANT_CLIENT_HELLO_CB:
#endif
#endif
#endif
keep_read = true;
break;
Expand Down Expand Up @@ -1486,13 +1482,9 @@ ssl_write_message(SSL* ssl, struct message* msg)
case SSL_ERROR_WANT_ACCEPT:
case SSL_ERROR_WANT_X509_LOOKUP:
#ifndef HAVE_OPENBSD
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
case SSL_ERROR_WANT_ASYNC:
case SSL_ERROR_WANT_ASYNC_JOB:
#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
case SSL_ERROR_WANT_CLIENT_HELLO_CB:
#endif
#endif
#endif
errno = 0;
keep_write = true;
Expand Down
Loading

0 comments on commit 091bdeb

Please sign in to comment.