From abe5c7e80eb2f7ec8378e319cece1543599e0ad0 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Thu, 11 Jan 2024 17:58:17 +0200 Subject: [PATCH] Add MacOS steps to README.md --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5e29637d..d75ab4cb 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ sudo systemctl restart postgresql.service ```json { - 'provider': 'file', - 'datafile': '/tmp/pgkeyring', + "provider": "file", + "datafile": "/tmp/pgkeyring" } ``` @@ -64,12 +64,18 @@ This setup is intended for developmenet, and stores the keys unencrypted in the ## Build from source -1. To build `pg_tde` from source code, you require the following on Ubuntu/Debian: +1. To build `pg_tde` from source code, you require the following: +* On Debian and Ubuntu: ```sh sudo apt install make gcc libjson-c-dev postgresql-server-dev-16 libcurl4-openssl-dev ``` +* On MacOS: +```sh +brew install automake curl json-c gettext postresql@16 +``` + 2. Install or build postgresql 16 [(see reference commit below)](#base-commit) 3. If postgres is installed in a non standard directory, set the `PG_CONFIG` environment variable to point to the `pg_config` executable