Skip to content

Commit

Permalink
Replace PCRE with PCRE2 build dependencies
Browse files Browse the repository at this point in the history
Now that libselinux defaults to PCRE2 and mcstrans has been ported,
update all documentation and scripts.

Signed-off-by: Christian Göttsche <[email protected]>
  • Loading branch information
cgzones authored and jwcart2 committed Dec 9, 2021
1 parent e0da140 commit 4ffe2df
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
libcap-ng-dev \
libcunit1-dev \
libdbus-glib-1-dev \
libpcre3-dev \
libpcre2-dev \
python3-dev \
python-dev \
ruby-dev \
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dnf install \
libcap-devel \
libcap-ng-devel \
pam-devel \
pcre-devel \
pcre2-devel \
xmlto

# For Python and Ruby bindings
Expand All @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/fedora-test-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dnf install -y \
libcap-devel \
libcap-ng-devel \
pam-devel \
pcre-devel \
pcre2-devel \
xmlto \
python3-devel \
ruby-devel \
Expand Down

0 comments on commit 4ffe2df

Please sign in to comment.