Support PCRE2 or PCRE in `build-nginx`
nginx has supported PCRE2 since 1.21.5, so I’ve updated my build-nginx
script to enable support for it too.
You can use old PCRE or the newer PCRE2 and build-nginx
will do the right thing:
build-nginx -d https://ftp.exim.org/pub/pcre/pcre-8.44.tar.gz
will use the old PCRE library
build-nginx -d https://github.com/PCRE2Project/pcre2.git
will use the official PCRE2 github repo
build-nginx -d https://github.com/PCRE2Project/pcre2.git@pcre2-10.40
will build the PCRE2 release tagged pcre2-10.40
build-nginx -d https://sourceforge.net/projects/pcre/files/pcre2/10.37/pcre2-10.37.zip
will use the 10.37 zip at the unofficial sourceforge mirror
All links, in order of mention:
- supported PCRE2 since 1.21.5: https://nginx.org/en/CHANGES
- build-nginx: https://github.com/jaygooby/build-nginx
- PCRE: https://ftp.exim.org/pub/pcre
- PCRE2: https://github.com/PCRE2Project/pcre2
Recent posts:
- Patch for aarch64 (aka arm64) openssl 1.0.2 'relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P error'
- TIL: the `NO_COLOR` informal standard to suppress ANSI colour escape codes
- Copy the contents of a branch into an existing git branch without merging
- Adding search to a static Jekyll site using pagefind
- asdf, python and automatically enabling virtual envs