Use pcre2 lib instead of old pcre

This commit is contained in:
Alexey Pustovalov 2022-01-22 17:44:37 +05:00
parent edd6d8fd46
commit 9b3826910e
49 changed files with 51 additions and 35 deletions

View File

@ -37,7 +37,7 @@ RUN set -eux && \
tzdata \ tzdata \
coreutils \ coreutils \
iputils \ iputils \
pcre \ pcre2 \
libcurl \ libcurl \
libmodbus \ libmodbus \
libldap" && \ libldap" && \

View File

@ -37,7 +37,7 @@ RUN set -eux && \
tini \ tini \
tzdata \ tzdata \
iputils \ iputils \
pcre \ pcre2 \
libcurl-minimal \ libcurl-minimal \
openssl-libs \ openssl-libs \
zlib" && \ zlib" && \

View File

@ -37,7 +37,7 @@ RUN set -eux && \
tini \ tini \
tzdata \ tzdata \
iputils \ iputils \
pcre \ pcre2 \
libcurl \ libcurl \
openssl-libs \ openssl-libs \
zlib" && \ zlib" && \

View File

@ -56,7 +56,7 @@ RUN set -eux && \
tzdata \ tzdata \
iputils \ iputils \
shadow-utils \ shadow-utils \
pcre \ pcre2 \
libcurl" && \ libcurl" && \
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \

View File

@ -40,6 +40,7 @@ RUN set -eux && \
libssl1.1 \ libssl1.1 \
libcurl4 \ libcurl4 \
libmodbus5 \ libmodbus5 \
libpcre2-8-0 \
libldap-2.4" && \ libldap-2.4" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \

View File

@ -35,7 +35,7 @@ RUN set -eux && \
INSTALL_PKGS="tini \ INSTALL_PKGS="tini \
tzdata \ tzdata \
bash \ bash \
pcre \ pcre2 \
coreutils \ coreutils \
smartmontools \ smartmontools \
sudo \ sudo \

View File

@ -37,7 +37,7 @@ RUN set -eux && \
tini \ tini \
tzdata \ tzdata \
iputils \ iputils \
pcre \ pcre2 \
libcurl-minimal \ libcurl-minimal \
smartmontools \ smartmontools \
sudo \ sudo \

View File

@ -37,7 +37,7 @@ RUN set -eux && \
tini \ tini \
tzdata \ tzdata \
iputils \ iputils \
pcre \ pcre2 \
libcurl \ libcurl \
smartmontools \ smartmontools \
sudo \ sudo \

View File

@ -56,7 +56,7 @@ RUN set -eux && \
tzdata \ tzdata \
iputils \ iputils \
shadow-utils \ shadow-utils \
pcre \ pcre2 \
smartmontools \ smartmontools \
sudo \ sudo \
libcurl" && \ libcurl" && \

View File

@ -40,6 +40,7 @@ RUN set -eux && \
sudo \ sudo \
libssl1.1 \ libssl1.1 \
libcurl4 \ libcurl4 \
libpcre2-8-0 \
libldap-2.4" && \ libldap-2.4" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \

View File

@ -34,7 +34,7 @@ RUN set -eux && \
openipmi-dev \ openipmi-dev \
openldap-dev \ openldap-dev \
openssl-dev \ openssl-dev \
pcre-dev \ pcre2-dev \
postgresql-dev \ postgresql-dev \
openjdk8 \ openjdk8 \
gettext \ gettext \

View File

@ -23,7 +23,7 @@ RUN set -eux && \
automake \ automake \
bash \ bash \
gcc \ gcc \
pcre-devel \ pcre2-devel \
libcurl-devel \ libcurl-devel \
libevent-devel \ libevent-devel \
libssh-devel \ libssh-devel \

View File

@ -22,7 +22,7 @@ RUN set -eux && \
automake \ automake \
bash \ bash \
gcc \ gcc \
pcre-devel \ pcre2-devel \
libcurl-devel \ libcurl-devel \
libevent-devel \ libevent-devel \
libssh-devel \ libssh-devel \

View File

@ -34,7 +34,7 @@ RUN set -eux && \
automake \ automake \
bash \ bash \
gcc \ gcc \
pcre-devel \ pcre2-devel \
libcurl-devel \ libcurl-devel \
libevent-devel \ libevent-devel \
libssh-devel \ libssh-devel \

View File

@ -30,7 +30,7 @@ RUN set -eux && \
libldap2-dev \ libldap2-dev \
libmysqlclient-dev \ libmysqlclient-dev \
libopenipmi-dev \ libopenipmi-dev \
libpcre3-dev \ libpcre2-dev \
libsnmp-dev \ libsnmp-dev \
libsqlite3-dev \ libsqlite3-dev \
libpq-dev \ libpq-dev \

View File

@ -62,6 +62,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libmodbus \ --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-mysql \ --with-mysql \
--with-net-snmp \ --with-net-snmp \

View File

@ -56,6 +56,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-mysql \ --with-mysql \
--with-net-snmp \ --with-net-snmp \

View File

@ -44,6 +44,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-mysql \ --with-mysql \
--with-net-snmp \ --with-net-snmp \

View File

@ -66,6 +66,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-mysql \ --with-mysql \
--with-net-snmp \ --with-net-snmp \

View File

@ -62,6 +62,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libmodbus \ --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-mysql \ --with-mysql \
--with-net-snmp \ --with-net-snmp \

View File

@ -62,6 +62,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libmodbus \ --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -56,6 +56,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -44,6 +44,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -62,6 +62,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libmodbus \ --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -60,6 +60,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libmodbus \ --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -54,6 +54,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -42,6 +42,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -64,6 +64,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
# --with-libmodbus \ # --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -60,6 +60,7 @@ RUN set -eux && \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libmodbus \ --with-libmodbus \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--with-net-snmp \ --with-net-snmp \
--with-openipmi \ --with-openipmi \

View File

@ -46,7 +46,7 @@ RUN set -eux && \
mariadb-connector-c \ mariadb-connector-c \
net-snmp-agent-libs \ net-snmp-agent-libs \
openipmi-libs \ openipmi-libs \
pcre \ pcre2 \
unixodbc \ unixodbc \
fping" && \ fping" && \
apk add \ apk add \

View File

@ -48,7 +48,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
zlib \ zlib \
unixODBC" && \ unixODBC" && \
dnf -y module enable mysql && \ dnf -y module enable mysql && \

View File

@ -48,7 +48,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
zlib \ zlib \
unixODBC" && \ unixODBC" && \
microdnf -y module enable mysql && \ microdnf -y module enable mysql && \

View File

@ -67,7 +67,7 @@ RUN set -eux && \
mysql-libs \ mysql-libs \
net-snmp-agent-libs \ net-snmp-agent-libs \
OpenIPMI-libs \ OpenIPMI-libs \
pcre \ pcre2 \
unixODBC" && \ unixODBC" && \
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \

View File

@ -43,7 +43,7 @@ RUN set -eux && \
libevent-2.1 \ libevent-2.1 \
libmysqlclient21 \ libmysqlclient21 \
libopenipmi0 \ libopenipmi0 \
libpcre3 \ libpcre2-8-0 \
libsnmp35 \ libsnmp35 \
libssh-4 \ libssh-4 \
libssl1.1 \ libssl1.1 \

View File

@ -44,7 +44,7 @@ RUN set -eux && \
libxml2 \ libxml2 \
net-snmp-agent-libs \ net-snmp-agent-libs \
openipmi-libs \ openipmi-libs \
pcre \ pcre2 \
sqlite-libs \ sqlite-libs \
unixodbc" && \ unixodbc" && \
apk add \ apk add \

View File

@ -45,7 +45,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
zlib \ zlib \
unixODBC" && \ unixODBC" && \
dnf -y install epel-release && \ dnf -y install epel-release && \

View File

@ -45,7 +45,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
zlib \ zlib \
unixODBC" && \ unixODBC" && \
microdnf -y install \ microdnf -y install \

View File

@ -64,7 +64,7 @@ RUN set -eux && \
libxml2 \ libxml2 \
net-snmp-agent-libs \ net-snmp-agent-libs \
OpenIPMI-libs \ OpenIPMI-libs \
pcre \ pcre2 \
sqlite-libs \ sqlite-libs \
unixODBC" && \ unixODBC" && \
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \

View File

@ -41,7 +41,7 @@ RUN set -eux && \
libcurl4 \ libcurl4 \
libevent-2.1 \ libevent-2.1 \
libopenipmi0 \ libopenipmi0 \
libpcre3 \ libpcre2-8-0 \
libsnmp35 \ libsnmp35 \
libsqlite3-0 \ libsqlite3-0 \
libssh-4 \ libssh-4 \

View File

@ -48,7 +48,7 @@ RUN set -eux && \
mariadb-connector-c \ mariadb-connector-c \
net-snmp-agent-libs \ net-snmp-agent-libs \
openipmi-libs \ openipmi-libs \
pcre \ pcre2 \
unixodbc" && \ unixodbc" && \
apk add \ apk add \
--no-cache \ --no-cache \

View File

@ -50,7 +50,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
zlib \ zlib \
unixODBC" && \ unixODBC" && \
dnf -y module enable mysql && \ dnf -y module enable mysql && \

View File

@ -51,7 +51,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
zlib \ zlib \
unixODBC" && \ unixODBC" && \
microdnf -y module enable mysql && \ microdnf -y module enable mysql && \

View File

@ -68,7 +68,7 @@ RUN set -eux && \
mysql-libs \ mysql-libs \
net-snmp-agent-libs \ net-snmp-agent-libs \
OpenIPMI-libs \ OpenIPMI-libs \
pcre \ pcre2 \
unixODBC" && \ unixODBC" && \
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \

View File

@ -46,7 +46,7 @@ RUN set -eux && \
libevent-2.1 \ libevent-2.1 \
libmysqlclient21 \ libmysqlclient21 \
libopenipmi0 \ libopenipmi0 \
libpcre3 \ libpcre2-8-0 \
libsnmp35 \ libsnmp35 \
libssh-4 \ libssh-4 \
libssl1.1 \ libssl1.1 \

View File

@ -47,7 +47,7 @@ RUN set -eux && \
libxml2 \ libxml2 \
net-snmp-agent-libs \ net-snmp-agent-libs \
openipmi-libs \ openipmi-libs \
pcre \ pcre2 \
postgresql-client \ postgresql-client \
postgresql-libs \ postgresql-libs \
unixodbc" && \ unixodbc" && \

View File

@ -49,7 +49,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
postgresql \ postgresql \
postgresql-libs \ postgresql-libs \
zlib \ zlib \

View File

@ -49,7 +49,7 @@ RUN set -eux && \
OpenIPMI-libs \ OpenIPMI-libs \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
postgresql \ postgresql \
postgresql-libs \ postgresql-libs \
zlib \ zlib \

View File

@ -46,7 +46,7 @@ RUN set -eux && \
libcurl4 \ libcurl4 \
libevent-2.1 \ libevent-2.1 \
libopenipmi0 \ libopenipmi0 \
libpcre3 \ libpcre2-8-0 \
libpq5 \ libpq5 \
libsnmp35 \ libsnmp35 \
libssh-4 \ libssh-4 \

View File

@ -44,7 +44,6 @@ RUN set -o xtrace && INSTALL_PKGS="OpenIPMI-libs \
curl \ curl \
fping \ fping \
java-1.8.0-openjdk-headless \ java-1.8.0-openjdk-headless \
pcre \
libcurl \ libcurl \
libssh \ libssh \
libevent \ libevent \
@ -55,7 +54,7 @@ RUN set -o xtrace && INSTALL_PKGS="OpenIPMI-libs \
nginx \ nginx \
openldap \ openldap \
openssl-libs \ openssl-libs \
pcre \ pcre2 \
php-bcmath \ php-bcmath \
php-fpm \ php-fpm \
php-gd \ php-gd \
@ -121,7 +120,7 @@ RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstr
libxml2-devel \ libxml2-devel \
make \ make \
mariadb-connector-c-devel \ mariadb-connector-c-devel \
pcre-devel \ pcre2-devel \
net-snmp-devel \ net-snmp-devel \
OpenIPMI-devel \ OpenIPMI-devel \
openldap-devel \ openldap-devel \
@ -147,6 +146,7 @@ RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstr
--with-mysql \ --with-mysql \
--with-ldap \ --with-ldap \
--with-libcurl \ --with-libcurl \
--with-libpcre2 \
--with-libxml2 \ --with-libxml2 \
--enable-java \ --enable-java \
--with-net-snmp \ --with-net-snmp \