Replace PCRE with PCRE2 build dependencies

Now that libselinux defaults to PCRE2 and mcstrans has been ported,
update all documentation and scripts.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2021-11-23 19:32:49 +01:00 committed by James Carter
parent e0da140d82
commit 4ffe2dfc78
5 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ jobs:
# Install dependencies
- run: sudo apt-get update -qq
- run: sudo apt-get install -qq bison clang clang-tools flex gawk gettext libaudit-dev libcap-dev libcap-ng-dev libcunit1-dev libdbus-glib-1-dev libpcre3-dev python3-dev python-dev ruby-dev swig xmlto
- run: sudo apt-get install -qq bison clang clang-tools flex gawk gettext libaudit-dev libcap-dev libcap-ng-dev libcunit1-dev libdbus-glib-1-dev libpcre2-dev python3-dev python-dev ruby-dev swig xmlto
- run:
name: Setup environment variables

View File

@ -57,7 +57,7 @@ jobs:
libcap-ng-dev \
libcunit1-dev \
libdbus-glib-1-dev \
libpcre3-dev \
libpcre2-dev \
python3-dev \
python-dev \
ruby-dev \

View File

@ -26,7 +26,7 @@ using a custom policy please include it as well.
There are a number of dependencies required to build the userspace
tools/libraries. On a Fedora system you can install them with yum:
# yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
# yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre2-devel python-devel setools-devel swig ustr-devel
The tools and libraries can be built and installed under a private directory from the top level with make, e.g.

View File

@ -51,7 +51,7 @@ dnf install \
libcap-devel \
libcap-ng-devel \
pam-devel \
pcre-devel \
pcre2-devel \
xmlto
# For Python and Ruby bindings
@ -78,7 +78,7 @@ apt-get install --no-install-recommends --no-install-suggests \
libcap-ng-dev \
libcunit1-dev \
libglib2.0-dev \
libpcre3-dev \
libpcre2-dev \
pkgconf \
python3 \
python3-distutils \

View File

@ -36,7 +36,7 @@ dnf install -y \
libcap-devel \
libcap-ng-devel \
pam-devel \
pcre-devel \
pcre2-devel \
xmlto \
python3-devel \
ruby-devel \