diff --git a/Changes b/Changes index 456245d..674514d 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,11 @@ Revision history for Perl extension PGXN::Manager 0.32.1 - Updated `doc/spec.txt` to v1.0.1, from it new home in https://github.com/pgxn/pgxn-meta-spec. + - Fixed import quoted version warning with Perl 5.40. + - Fixed validation of rsync URLs in the mirror editor. + - Added Content Security Policy notes to the README to ensure that + inline JavaScript works properly. + - Added a type about building Compress::Raw::Lzma to the README. 0.32.0 2024-02-17T17:25:24Z - Combined the pgxn_consumer PID number and file location into one diff --git a/README.md b/README.md index 5f4deb4..3e55355 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,14 @@ Installation ./Build installdeps + If Compress-Raw-Lzma fails to install because it cannot find `lzma.h`, + even with `PERL_MM_OPT` and `PERL_MB_OPT` pointing to the correct + directory, set `LIBLZMA_INCLUDE` instead: + + env LIBLZMA_INCLUDE=/opt/homebrew/include ./Build installdeps + # or + env LIBLZMA_INCLUDE=/opt/homebrew/include cpanm -v --notest Compress::Raw::Lzma + * Configure the PostgreSQL server to pre-load modules used by PL/Perl functions. Just add these lines to the end of your `postgresql.conf` file: @@ -230,6 +238,30 @@ Here's how to run PGXN::Manager behind a reverse proxy server: them. Also, be sure to disable `merge_slashes` or else the mirror management interface will not work. +* If the proxy service includes a [content security + policy](https://content-security-policy.com) header (a.k.a. CSP), it will + need the following configuration to allow any images, local JavaScript, + and specific inline JavaScript in `